Search completed in 0.93 seconds.
flex-grow - CSS: Cascading Style Sheets
the flex-
grow css property sets the flex
grow factor of a flex item main size.
... syntax /* <number> values */ flex-
grow: 3; flex-
grow: 0.6; /* global values */ flex-
grow: inherit; flex-
grow: initial; flex-
grow: unset; the flex-
grow property is specified as a single <number>.
... description this property specifies how much of the remaining space in the flex container should be assigned to the item (the flex
grow factor).
...And 5 more matches
WebAssembly.Memory.prototype.grow() - JavaScript
the
grow() protoype method of the memory object increases the size of the memory instance by a specified number of webassembly pages.
... syntax memory.
grow(number); parameters number the number of webassembly pages you want to
grow the memory by (each one is 64kib in size).
... examples using
grow the following example creates a new webassembly memory instance with an initial size of 1 page (64kib), and a maximum size of 10 pages (640kib).
...And 3 more matches
WebAssembly.Table.prototype.grow() - JavaScript
the
grow() prototype method of the webassembly.table object increases the size of the table instance by a specified number of elements.
... syntax table.
grow(number); parameters number the number of elements you want to
grow the table by.
... exceptions if the
grow() operation fails for whatever reason, a rangeerror is thrown.
...And 3 more matches
Controlling Ratios of Flex Items Along the Main Axis - CSS: Cascading Style Sheets
in this guide we will be exploring the three properties that are applied to flex items, which enable us to control the size and flexibility of the items along the main axis — flex-
grow, flex-shrink, and flex-basis.
... fully understanding how these properties work with
growing and shrinking items is the real key to mastering flexbox.
... a first look our three properties control the following aspects of a flex item's flexibility: flex-
grow: how much of the positive free space does this item get?
...And 21 more matches
Basic concepts of flexbox - CSS: Cascading Style Sheets
we do this by way of three properties: flex-
grow flex-shrink flex-basis we will take a brief look at these properties in this overview, and you can gain a fuller understanding in the guide controlling ratios of flex items on the main axis.
... if we instead would like the items to
grow and fill the space, then we need to have a method of distributing the leftover space between the items.
... the flex-
grow property with the flex-
grow property set to a positive integer, flex items can
grow along the main axis from their flex-basis.
...And 18 more matches
Element Positioning - Archive of obsolete content
recall that flexible elements
grow and shrink to fit the available space.
...the first button is the only flexible element, but it will not
grow wider.
...an inflexible element never changes size even when space is available, so the button can't
grow either.
...And 14 more matches
Typical use cases of Flexbox - CSS: Cascading Style Sheets
we either display the space outside of the items — therefore spacing them out with white space between or around them — or we absorb the extra space inside the items and therefore need a method of allowing the items to
grow and take up this space.
...in this case we would use the flex properties to allow items to
grow and shrink in proportion to one another as described in controlling ratios of flex items along the main axis.
... if i wanted all of my navigation items to have equal width, then i might use flex: auto, which is the shorthand for flex: 1 1 auto — all items
grow and shrink from a flex-basis of auto.
...And 13 more matches
JS_GetGCParameter
typedef enum jsgcparamkey { jsgc_max_bytes, jsgc_max_malloc_bytes, jsgc_max_nursery_bytes, jsgc_bytes, jsgc_number, jsgc_mode, jsgc_unused_chunks, jsgc_total_chunks, jsgc_slice_time_budget, jsgc_mark_stack_limit, jsgc_high_frequency_time_limit, jsgc_high_frequency_low_limit, jsgc_high_frequency_high_limit, jsgc_high_frequency_heap_
growth_max, jsgc_high_frequency_heap_
growth_min, jsgc_low_frequency_heap_
growth, jsgc_dynamic_heap_
growth, jsgc_dynamic_mark_slice, jsgc_allocation_threshold, jsgc_min_empty_chunk_count, jsgc_max_empty_chunk_count, jsgc_compaction_enabled, jsgc_allocation_threshold_factor, jsgc_allocation_threshold_factor_avoid_interrupt, jsgc_nursery_free_threshold_for_idle...
... jsgc_max_nursery_bytes / "maxnurserybytes" maximum size the nursery may
grow to, or 0 to disable generational gc.
... jsgc_mark_stack_limit / "markstacklimit" maximum size the gc mark stack can
grow to (units: entries).
...And 7 more matches
flex - CSS: Cascading Style Sheets
the flex css shorthand property sets how a flex item will
grow or shrink to fit the space available in its flex container.
... constituent properties this property is a shorthand for the following css properties: flex-
grow flex-shrink flex-basis syntax /* keyword values */ flex: auto; flex: initial; flex: none; /* one value, unitless number: flex-
grow */ flex: 2; /* one value, width/height: flex-basis */ flex: 10em; flex: 30%; flex: min-content; /* two values: flex-
grow | flex-basis */ flex: 1 30px; /* two values: flex-
grow | flex-shrink */ flex: 2 2; /* three values: flex-
grow | flex-shrink | flex-basis */ flex: 2 2 10%; /* global values */ flex: inherit; flex: initial; flex: u...
... two-value syntax: the first value must be a <number> and it is interpreted as <flex-
grow>.
...And 7 more matches
MMgc - Archive of obsolete content
by making them rcobjects, the gc is able to reclaim them much faster and limit memory
growth.
...the memory profiler use srtti and stack traces to get information by location and type: class avmplus::
growablebuffer - 24.9% - 3015 kb 514 items, avg 6007b 98.9% - 2983 kb - 512 items - poolobject.cpp:29 abcparser.cpp:948 … 0.8% - 24 kb - 1 items - poolobject.cpp:29 abcparser.cpp:948 … class avmplus::string - 13.2% - 1602 kb 15675 items, avg 104b 65.6% - 1051 kb - 14397 items - stringobject.cpp:46 avmcore.cpp:2300 … 20.4% - 326 kb - 10439 items - avmcore.cpp:2300 abcparser.
...leaks that
grow over time.
...And 3 more matches
Using Spacers - Archive of obsolete content
its most useful ability is that it can
grow or shrink as the user resizes the window.
...if you place a spacer directly inside a window, the spacer will
grow in size when the size of the window is changed.
...not only did the find button
grow in size but some space has appeared between the main label and the button.
...And 3 more matches
Legacy layout methods - Learn web development
if we instead decided to lay out our design on a grid with columns that
grow and shrink according to browser width, we would need to calculate percentage widths for the columns and gutters between them.
...we really want a flexible (fluid) grid that will
grow and shrink with the available space in the browser viewport.
... on .col we set the flex property's first value (flex-
grow) to 1 so our items can
grow, the second value (flex-shrink) to 1 so the items can shrink, and the third value (flex-basis) to auto.
...And 3 more matches
Using the Web Animations API - Web APIs
let’s take a look at pausing and playing animations in the
growing/shrinking alice game (check out the full code on codepen): in this game, alice has an animation that causes her to go from small to big which we control via a bottle and a cupcake.
...we can achieve this via the following function: var
growalice = function() { // play alice's animation.
... nommingcake.play(); } when a user holds their mouse down or presses their finger on the cake on a touch screen, we can now call
growalice to make all the animations play: cake.addeventlistener("mousedown",
growalice, false); cake.addeventlistener("touchstart",
growalice, false); other useful methods in addition to pausing and playing, we can use the following animation methods: animation.finish() skips to the end of the animation.
...And 3 more matches
box-flex - CSS: Cascading Style Sheets
the -moz-box-flex and -webkit-box-flex css properties specify how a -moz-box or -webkit-box
grows to fill the box that contains it, in the direction of the containing box's layout.
...if the value is 0, the box does not
grow.
... if it is greater than 0, the box
grows to fill a proportion of the available space.
...And 3 more matches
Mastering Wrapping of Flex Items - CSS: Cascading Style Sheets
in the next example i have ten items all with a flex-basis of 160px and the ability to
grow and shrink.
...as the items can
grow, they will expand larger than 160 px in order to fill each row completely.
... single-dimensional layout explained as we have seen from the above examples if our items are allowed to
grow and shrink, when there are fewer items in the last row or column then those items
grow to fill the available space.
...And 2 more matches
Splitters - Archive of obsolete content
this attribute can also be set to
grow, in which case the elements to the right of the splitter do not change size when the splitter is dragged, but instead the entire box changes size.
... </tabbox> <iframe src="results.html"/> <splitter collapse="before" resizeafter="
grow"> <grippy/> </splitter> <hbox> here, a splitter and an iframe have been added to the dialog.
... the resizeafter attribute has been set to
grow so that the elements after the splitter push themselves down when the splitter is dragged down.
... this results in the content of the frame
growing to any size.
Animation.play() - Web APIs
return value undefined example in the
growing/shrinking alice game example, clicking or tapping the cake causes alice's
growing animation (alicechange) to play forward, causing her to get bigger, as well as triggering the cake's animation.
...nommingcake.pause(); // this function will play when ever a user clicks or taps var
growalice = function() { // play alice's animation.
... nommingcake.play(); } // when a user holds their mouse down or taps, call
growalice to make all the animations play.
... cake.addeventlistener("mousedown",
growalice, false); cake.addeventlistener("touchstart",
growalice, false); specifications specification status comment web animationsthe definition of 'play()' in that specification.
Cross-browser Flexbox mixins - CSS: Cascading Style Sheets
value: any integer (0 is the default) spec: https://drafts.csswg.org/css-flexbox/#order-property @mixin order($int: 0) { -webkit-box-ordinal-group: $int + 1; -moz-box-ordinal-group: $int + 1; -webkit-order: $int; -ms-flex-order: $int; order: $int; } flexbox
grow the flex-
grow property sets the flex
grow factor.
... value: any integer (0 is the default) spec: https://drafts.csswg.org/css-flexbox/#flex-
grow-property @mixin flex-
grow($int: 1) { -webkit-box-flex: $int; -moz-box-flex: $int; -webkit-flex-
grow: $int; -ms-flex: $int; flex-
grow: $int; } flexbox shrink the flex-shrink property sets the flex shrink factor.
... values: see the flex-basis reference (the default is auto) spec: https://drafts.csswg.org/css-flexbox/#flex-basis-property @mixin flex-basis($value: auto) { -webkit-flex-basis: $value; flex-basis: $value; } flexbox "flex" (shorthand) the flex property specifies the components of a flexible length; flex-
grow factor, flex-shrink factor, and the flex-basis.
... values: see the flex reference for values and default spec: https://drafts.csswg.org/css-flexbox/#flex-property @mixin flex($fg: 1, $fs: 0, $fb: auto) { // set a variable to be used by box-flex properties $fg-boxflex: $fg; // box-flex only supports a flex-
grow value so lets grab the // first item in the list and just return that.
Understanding WebAssembly text format - WebAssembly
according to webassembly, memory is just a large array of bytes that can
grow over time.
... memory instances can also
grow, for example via the memory.
grow() method in javascript.
... when
growth occurs, since arraybuffers can’t change size, the current arraybuffer is detached and a new arraybuffer is created to point to the newer, bigger memory.
... mutating tables and dynamic linking because javascript has full access to function references, the table object can be mutated from javascript using the
grow(), get() and set() methods.
widget - Archive of obsolete content
var data = require("sdk/self").data; require("sdk/widget").widget({ id: "my-widget", label: "my widget", contenturl: data.url("my-content.html") }); this widget contains an entire web page: require("sdk/widget").widget({ id: "hello-display", label: "my hello widget", content: "hello!", width: 50 }); widgets are quite small by default, so this example used the width property to
grow it in order to show all the text.
...widgets.widget({ id: "auto-update-widget", label: "widget that updates content on a timer", content: "0", contentscript: 'settimeout(function() {' + ' document.body.innerhtml++;' + '}, 2000)', contentscriptwhen: "ready" }); // a widget created with a specified width, that
grows.
... var mywidget = widgets.widget({ id: "widget-effect", label: "wide widget that
grows wider on a timer", content: "i'm getting longer.", width: 50, }); require("sdk/timers").setinterval(function() { mywidget.width += 10; }, 1000); // a widget communicating bi-directionally with a content script.
Chapter 3: Introduction to XUL—How to build a more intuitive UI - Archive of obsolete content
flex takes a positive integer as a value, which is a
growth multiple on the axis of the parent element's orient attribute.
... <hbox> <label value="label1" flex="1" style="border: 1px solid;"/> <label value="label2" flex="2" style="border: 1px solid;"/> </hbox> listing 4:
growing with flex figure 3: output of listing 4 ordinal within a xul box, elements will ordinarily be laid out following their order of appearance in the source code (laid out left to right or top to bottom).
...if you are creating elements that can
grow using the flex attribute, you can also set minimums and maximums using minwidth, minheight, maxwidth, and maxheight.
Trees - Archive of obsolete content
making a tree flexible is quite commonly done, as it is often the case that the data in the tree is the most significant information displayed, so it makes sense to make the tree
grow to fit.
...if your tree is flexible, it doesn't need a rows attribute since it will
grow to fit the available space.
...abel="filename" flex="1"/> <treecol id="location" label="location" flex="2"/> <treecol id="size" label="size" flex="1"/> </treecols> <treechildren> <treeitem> <treerow> <treecell label="mozilla"/> <treecell label="/usr/local"/> <treecell label="2520 bytes"/> </treerow> </treeitem> </treechildren> </tree> <splitter collapse="before" resizeafter="
grow"/> we've added a tree with three columns for the filename, the location and the file size.
Responsive design - Learn web development
using a very simple technique of setting the max-width property to 100%, images would scale down smaller if their containing column became narrower than the image's intrinsic size, but never
grow larger.
... this enables an image to scale down to fit in a flexibly-sized column, rather than overflow it, but not
grow larger and become pixellated if the column becomes wider than the image.
...by changing the values for flex-
grow and flex-shrink you can indicate how you want the items to behave when they encounter more or less space around them.
Package management basics - Learn web development
although the list
grows by the month, there are three main offerings for tools that generate bundles from our source code: webpack, rollup, and parcel.
... there's a lot of tools available and the javascript package ecosystem is
growing at an unprecedented rate, which has pros and cons.
... the list will
grow over time, but at time of writing, the following main package managers are available: npm at npmjs.org pnpm at pnpm.js.org yarn at yarnpkg.com npm and pnpm are similar from a command line point of view — in fact pnpm aims to have full parity over the argument options that npm offers.
IAccessibleTable
n([out] iunknown accessible ); [propget] hresult childindex([in] long rowindex, [in] long columnindex, [out] long cellindex ); [propget] hresult columndescription([in] long column, [out] bstr description ); [propget] hresult columnextentat([in] long row, [in] long column, [out] long ncolumnsspanned ); [propget] hresult columnheader([out] iaccessibletable accessibletable, [out] long startin
growindex ); [propget] hresult columnindex([in] long cellindex, [out] long columnindex ); [propget] hresult iscolumnselected([in] long column, [out] boolean isselected ); [propget] hresult isrowselected([in] long row, [out] boolean isselected ); [propget] hresult isselected([in] long row, [in] long column, [out] boolean isselected ); [propget] hresult modelchange([out] ia2tablemodelchange mo...
...[propget] hresult columnheader( [out] iaccessibletable accessibletable, [out] long startin
growindex ); parameters accessibletable the column header.
... startin
growindex the 0 based row index where the header starts, usually 0.
mozIStorageConnection
tional] in mozistoragestatementcallback acallback ); void executesimplesql(in autf8string asqlstatement); boolean indexexists(in autf8string aindexname); void preload(); obsolete since gecko 1.9 void removefunction(in autf8string afunctionname); mozistorageprogresshandler removeprogresshandler(); void rollbacktransaction(); void set
growthincrement(in print32 aincrement, in autf8string adatabasename); mozistorageprogresshandler setprogresshandler(in print32 agranularity, in mozistorageprogresshandler ahandler); boolean tableexists(in autf8string atablename); attributes attribute type description connectionready boolean indicates if the connection is open and ready to use.
... set
growthincrement() lets you set the amount by which the sqlite database file is
grown or shrunk when resizing is necessary.
... void set
growthincrement( in print32 aincrement, in autf8string adatabasename ); parameters aincrement the number of bytes at a time the database file should
grow by.
Animation.playbackRate - Web APIs
examples in the
growing/shrinking alice game example, clicking or tapping the bottle causes alice's
growing animation (alicechange) to reverse, causing her to shrink: var shrinkalice = function() { alicechange.playbackrate = -1; alicechange.play(); } // on tap or click, alice will shrink.
... bottle.addeventlistener("mousedown", shrinkalice, false); bottle.addeventlistener("touchstart", shrinkalice, false); contrariwise, clicking on the cake causes her to "
grow," playing alicechange forwards again: var
growalice = function() { alicechange.playbackrate = 1; alicechange.play(); } // on tap or click, alice will
grow.
... cake.addeventlistener("mousedown",
growalice, false); cake.addeventlistener("touchstart",
growalice, false); in another example, the red queen's race game, alice and the red queen are constantly slowing down: setinterval( function() { // make sure the playback rate never falls below .4 if (redqueen_alice.playbackrate > .4) { redqueen_alice.playbackrate *= .9; } }, 3000); but clicking or tapping on them causes them to speed up by multiplying their playbackrate: var gofaster = function() { redqueen_alice.playbackrate *= 1.1; } document.addeventlistener("click", gofaster); document.addeventlistener("touchstart", gofaster); specifications specification status comment web animationsthe definition of 'animation.playbackrate' in that specification...
CSS Flexible Box Layout - CSS: Cascading Style Sheets
in the flex layout model, the children of a flex container can be laid out in any direction, and can “flex” their sizes, either
growing to fill unused space or shrinking to avoid overflowing the parent.
... reference css properties flex flex-basis flex-direction flex-flow flex-
grow flex-shrink flex-wrap order alignment properties the properties align-content, align-self, align-items and justify-content initially appeared in the flexbox specification, but are now defined in box alignment.
... controlling ratios of flex items along the main axis explaining the flex-
grow, flex-shrink and flex-basis properties.
Functions - JavaScript
this.age = 0; setinterval(function
growup() { // in nonstrict mode, the
growup() function defines `this` // as the global object, which is different from the `this` // defined by the person() constructor.
... self.age = 0; setinterval(function
growup() { // the callback refers to the `self` variable of which // the value is the expected object.
... self.age++; }, 1000); } alternatively, a bound function could be created so that the proper this value would be passed to the
growup() function.
Arrow function expressions - JavaScript
this.age = 0; setinterval(function
growup() { // in non-strict mode, the
growup() function defines `this` // as the global object (because it's where
growup() is executed.), // which is different from the `this` // defined by the person() constructor.
... function person() { var that = this; that.age = 0; setinterval(function
growup() { // the callback refers to the `that` variable of which // the value is the expected object.
... that.age++; }, 1000); } alternatively, a bound function could be created so that a preassigned this value would be passed to the bound target function (the
growup() function in the example above).
Using the WebAssembly JavaScript API - WebAssembly
growing memory a memory instance can be
grown by calls to memory.prototype.
grow(), where again the argument is specified in units of webassembly pages: memory.
grow(1); if a maximum value was supplied upon creation of the memory instance, attempts to
grow past this maximum will throw a webassembly.rangeerror exception.
... note: since an arraybuffer’s bytelength is immutable, after a successful memory.prototype.
grow() operation the buffer getter will return a new arraybuffer object (with the new bytelength) and any previous arraybuffer objects become “detached”, or disconnected from the underlying memory they previously pointed to.
... tables can be mutated via table.prototype.set(), which updates one of the values in a table, and table.prototype.
grow(), which increases the number of values that can be stored in a table.
The Box Model - Archive of obsolete content
as their names should make clear, you can control the flexibility boundaries of elements, thus preventing them from
growing or shrinking too much.
...similarly as with wrapping, cropping will only occur is there is no room for the text to
grow, so you'll need to restrict the width using css.
Mozilla Application Framework in Detail - Archive of obsolete content
as personal connectivity expands from the desktop computer to new web-enabled products and devices, gecko is a browser engine that has been designed from the ground up to power a new generation of desktop browsers and browsing devices and to accelerate the
growth and development of the next-generation internet.
...by meeting the needs of developers and companies who are working to provide consumers with new interactive applications, solutions and services, gecko will become a key catalyst for new
growth and innovation and for delivering anytime, anywhere access to millions of new users.
tree - Archive of obsolete content
attributes disablekeynavigation, disabled, editable, enablecolumndrag, flags, hidecolumnpicker, onselect, rows, seltype, statedatasource, tabindex, treelines properties accessibletype, builderview, columns, contentview, currentindex, disablekeynavigation, disabled, editingcolumn, editin
grow, enablecolumndrag, firstordinalcolumn, inputfield, seltype, selstyle, tabindex, treeboxobject, view examples a tree with several columns <tree flex="1" rows="2"> <treecols> <treecol id="sender" label="sender" flex="1"/> <treecol id="subject" label="subject" flex="2"/> </treecols> <treechildren> <treeitem> <treerow> <treecell label="joe@somewhere.com"/> ...
... editin
grow type: integer the row index of the tree cell currently being edited, or -1 if there is no cell currently being edited.
Threats - Archive of obsolete content
website malware is a
growing problem.
... the volume and strength of ddos attacks are
growing as hackers try to bring organizations offline or steal their data by flooding websites and networks with spurious traffic.
ArrayBuffer.transfer() - Archive of obsolete content
description the arraybuffer.transfer() method allows you to
grow and detach arraybuffer objects.
... the ability to
grow an arraybuffer without copying has the advantage of being much faster for large buffers (similar to realloc).
Game promotion - Game development
grow your fanbase by talking to them, sharing tips, offering discounts, giving away prizes in competitions, or just complaining at the weather or buggy browser you have to deal with.
... fostering the community you can help community
grow and promote yourself and your games at the same time.
Flex - MDN Web Docs Glossary: Definitions of Web-related terms
the flex property is a shorthand for the flexbox properties flex-
grow, flex-shrink and flex-basis.
... learn more property reference align-content align-items align-self flex flex-basis flex-direction flex-flow flex-
grow flex-shrink flex-wrap justify-content order further reading css flexible box layout module level 1 specification css flexbox guide: basic concepts of flexbox css flexbox guide: relationship of flexbox to other layout methods css flexbox guide: aligning items in a flex container css flexbox guide: ordering flex items css flexbox guide: controlling ratios of flex items along the main axis css flexbox guide: mastering wrapping of flex items css flexbox guide: typical use cases of flexbox ...
Flexbox - MDN Web Docs Glossary: Definitions of Web-related terms
the key feature of flexbox is the fact that items in a flex layout can
grow and shrink.
... learn more property reference align-content align-items align-self flex flex-basis flex-direction flex-flow flex-
grow flex-shrink flex-wrap justify-content order further reading css flexible box layout module level 1 specification css flexbox guide: basic concepts of flexbox css flexbox guide: relationship of flexbox to other layout methods css flexbox guide: aligning items in a flex container css flexbox guide: ordering flex items css flexbox guide: controlling ratios of flex items along the main axis css flexbox guide: ...
Sizing items in CSS - Learn web development
the box will always be at least this height, but will then
grow taller if there is more content than the box has space for at its minimum height.
...the box on the left is 150 pixels tall; the box on the right has content that needs more room, and so it has
grown taller than 150 pixels.
Test your skills: sizing - Learn web development
the first should be sized so that the height will be at least 100 pixels tall, even if there is less content than would cause it to
grow to that height, however, the content should not overflow if there is more content than fits in 100 pixels.
...if you imagine that the box is responsive and therefore could
grow and shrink, which property would you apply to the image so that the large image shrinks down into the box but the small image does not stretch.
HTML table basics - Learn web development
every cell we add makes the row
grow longer.
... to stop this row from
growing and start placing subsequent cells on a second row, we need to use the <tr> element ('tr' stands for 'table row').
Mozilla Development Tools
it is our home-
grown web-based tool for watching the up-to-the-minute goings-on in our cvs repository (viewing checkins and log messages, reading diffs, etc.) tinderbox tinderbox is for knowing when the tree is in flames.
... it is our home-
grown web-based tool for watching the progress of the continuous builds that we run on multiple platforms.
JS_MakeStringImmutable
description a string's characters can never be changed, but spidermonkey uses two string optimization techniques behind the scenes: a
growable string (see js_new
growablestring ) has a buffer that the javascript engine can reallocate so that concatenating it with another string is much faster.
... a dependent string (see js_newdependentstring) is a substring of another (
growable, dependent, or immutable) string.
nsIAlertsService
however, certain notification systems (such as
growl on mac os x) allow the user to disable alerts by name.
... exceptions thrown ns_error_not_available unable to display the notification; this may happen, for example, on mac os x if
growl is not installed.
nsIServerSocket
abacklog the maximum length to which the queue of pending connections may
grow.
... abacklog the maximum length the queue of pending connections may
grow to.
HTMLTextAreaElement - Web APIs
examples auto
growing textarea example make a textarea auto
grow while typing: javascript function auto
grow (ofield) { if (ofield.scrollheight > ofield.clientheight) { ofield.style.height = ofield.scrollheight + "px"; } } css textarea.noscrollbars { overflow: hidden; width: 300px; height: 100px; } html <form> <fieldset> <legend>your comments</legend> <p><textarea class="noscrollbars" o...
...nkeyup="auto
grow(this);"></textarea></p> <p><input type="submit" value="send" /></p> </fieldset> </form> insert html tags example insert some html tags or smiles or any custom text in a textarea.
Intersection Observer API - Web APIs
as the web has matured, the need for this kind of information has
grown.
...this set of values serves to
grow or shrink each side of the root element's bounding box before computing intersections.
Window.resizeBy() - Web APIs
syntax window.resizeby(xdelta, ydelta) parameters xdelta is the number of pixels to
grow the window horizontally.
... ydelta is the number of pixels to
grow the window vertically.
Grid wrapper - CSS: Cascading Style Sheets
for the central columns with a maximum width we can set a minimum value of 0 or greater and a maximum value that specifies the maximum size the column tracks will
grow to.
... using a numeric unit (pixels, ems, rems) will create a fixed maximum size for the central wrapper, whereas using percentage values or viewport units will mean this wrapper
grows or shrinks in response to its context.
Sticky footers - CSS: Cascading Style Sheets
the 1fr track will take up all available space and so
grows to fill the gap.
...then we set our main content to flex-
grow: 1 and the other two elements to flex-shrink: 0 — this prevents them from shrinking smaller when content fills the main area.
WebKit CSS extensions - CSS: Cascading Style Sheets
ebkit-box-shadow -webkit-box-sizing c -webkit-clip-path -webkit-column-count -webkit-column-fill -webkit-column-gap -webkit-column-rule -webkit-column-rule-color -webkit-column-rule-style -webkit-column-rule-width -webkit-column-span -webkit-column-width -webkit-columns f -webkit-filter -webkit-flex -webkit-flex-basis -webkit-flex-direction -webkit-flex-flow -webkit-flex-
grow -webkit-flex-shrink -webkit-flex-wrap -webkit-font-feature-settings -webkit-font-kerning -webkit-font-variant-ligatures g-j -webkit-grid -webkit-grid-area -webkit-grid-auto-columns -webkit-grid-auto-flow -webkit-grid-auto-rows -webkit-grid-column -webkit-grid-column-end -webkit-grid-column-gap -webkit-grid-column-start -webkit-grid-gap -webkit-grid-row -webkit-grid-row-end -...
...ius -webkit-border-image -webkit-border-radius -webkit-box-align**, *** -webkit-box-direction**, *** -webkit-box-flex**, *** -webkit-box-orient**, *** -webkit-box-pack**, *** -webkit-box-shadow -webkit-box-sizing -webkit-border-top-left-radius -webkit-border-top-right-radius f -webkit-filter -webkit-flex -webkit-flex-basis -webkit-flex-direction -webkit-flex-flow -webkit-flex-
grow -webkit-flex-shrink -webkit-flex-wrap j -webkit-justify-content m -webkit-mask -webkit-mask-clip -webkit-mask-composite* -webkit-mask-image -webkit-mask-origin -webkit-mask-position -webkit-mask-position-x** -webkit-mask-position-y** -webkit-mask-repeat -webkit-mask-size o-p -webkit-order -webkit-perspective -webkit-perspective-origin t -webkit-text-fill-color** ...
WebAssembly.Memory - JavaScript
instance methods memory.prototype.
grow() increases the size of the memory instance by a specified number of webassembly pages (each one is 64kb in size).
... 52notes notes disabled in the firefox 52 extended support release (esr).opera android full support 43safari ios full support 11samsung internet android full support 7.0nodejs full support 8.0.0
growchrome full support 57edge full support 16firefox full support 52notes full support 52notes notes disabled in the firefox 52 extended support release (esr).ie no support noop...
WebAssembly.Table - JavaScript
table.prototype.
grow() increases the size of the table instance by a specified number of elements.
... 52notes notes disabled in the firefox 52 extended support release (esr).opera android full support 43safari ios full support 11samsung internet android full support 7.0nodejs full support 8.0.0
growchrome full support 57edge full support 16firefox full support 52notes full support 52notes notes disabled in the firefox 52 extended support release (esr).ie no support noop...
Compiling an Existing C Module to WebAssembly - WebAssembly
depending on the size of your image, you might run into an error where wasm can't
grow the memory enough to accommodate both the input and the output image: luckily, the solution to this problem is in the error message.
... you just need to add -s allow_memory_
growth=1 to your compilation command.
2015 MDN Fellowship Program - Archive of obsolete content
github: chrisdavidmills twitter: @chrisdavidmills why increase the reach and impact of your expertise
grow your skills beyond coding and managing to educating and communicating build something used by hundreds of thousands (or more) developers worldwide directly impact and
grow the value of the open web when application deadline: april 1, 2015 orientation: early june (dates tbd) graduation: august 11-12, 2015 where orientation: a mozilla location (tbd).
Alerts and Notifications - Archive of obsolete content
this works on windows, linux and (if
growl is installed) mac os x: function popup(title, text) { try { components.classes['@mozilla.org/alerts-service;1'] .getservice(components.interfaces.nsialertsservice) .showalertnotification(null, title, text, false, '', null); } catch(e) { // prevents runtime error on platforms that don't implement nsialertsservice } } if you need to display a comparable alert on a platform that doesn't support nsialertsservice, you can do this: function popup(title, msg) { var image = null; var win = components.classes['@mozilla.org/embedco...
Creating custom Firefox extensions with the Mozilla build system - Archive of obsolete content
p_srcdir@ srcdir = @srcdir@ vpath = @srcdir@ include $(depth)/config/autoconf.mk module = myextension dirs = base advanced xpi_name = myextension install_extension_id = myextension@mycompany.com xpi_pkgname = myextension dist_files = install.rdf include $(topsrcdir)/config/rules.mk seriously complex extensions at some point, even a single module may
grow to the point where you want to divide it further into submodules.
Chapter 1: Introduction to Extensions - Archive of obsolete content
this lowers the threshold both to using and to developing extensions; that fact, combined with firefox's rapidly
growing popularity, has created a positive feedback loop, with the number of extension users and extension developers
growing explosively—there are now more than 7000 extensions and themes published at the firefox add-ons site (https://addons.mozilla.org).
The new nsString class implementation (1999) - Archive of obsolete content
static void ensurecapacity(nsstrimpl& astring,pruint32 anewlength); static void
growcapacity(nsstrimpl& astring,pruint32 anewlength); static void append(nsstrimpl& adest,const nsstrimpl& asource,pruint32 anoffset,print32 acount); static void appendcstring(nsstrimpl& adest,const char* asource,pruint32 anoffset,print32 acount); static void assign(nsstrimpl& adest,const nsstrimpl& asource,pruint32 anoffset,print32 acount); static void assigncstring(nsstrimpl& adest,const c...
resizeafter - Archive of obsolete content
grow the elements to the right or below the splitter do not change size (unless they are flexible) when the splitter is dragged, but instead the entire container changes size.
Property - Archive of obsolete content
ion currentpage currentpane currentset currenturi customtoolbarcount database datasources date dateleadingzero datevalue decimalplaces decimalsymbol defaultbutton defaultvalue description dir disableautocomplete disableautocomplete disableautoselect disabled disablekeynavigation dlgtype docshell documentcharsetinfo editable editingcolumn editin
grow editingsession editor editortype emptytext deprecated since gecko 2 enablecolumndrag eventnode firstordinalcolumn firstpermanentchild flex focused focuseditem forcecomplete group handlectrlpageupdown handlectrltab hasuservalue height hidden hideseconds highlightnonmatches homepage hour hourleadingzero id ignoreblurwhilesearching image increm...
Things I've tried to do with XUL - Archive of obsolete content
resize event problems going with the inability to obtain the clientwidth/clientheight of xul elements, it's impossible to handle the "resize" event yourself to
grow/shrink content as needed -- as you
grow the content, when you shrink the window, the content will simply be clipped (because now it has a bigger size than the window).
Document Object Model - Archive of obsolete content
<splitter id="splitbar" resizeafter="
grow" hidden="true"/> <hbox> <progressmeter id="progmeter" value="50%" style="margin: 4px;" hidden="true"/> we've added the hidden attribute and set the value to true.
Grids - Archive of obsolete content
the flex attribute has also been added to the grid element so that the entire grid is flexible, otherwise it would only
grow in one direction.
Localization - Archive of obsolete content
el="&results.location;" flex="2"/> <treecol id="size" label="&results.size;" flex="1"/> </treecols> <treechildren> <treeitem> <treerow> <treecell label="mozilla"/> <treecell label="/usr/local"/> <treecell label="&bytes.before;2520&bytes.after;"/> </treerow> </treeitem> </treechildren> </tree> <splitter id="splitbar" resizeafter="
grow" style="display: none;"/> <spacer class="titlespace"/> <hbox> <progressmeter id="progmeter" value="50%" style="display: none;"/> <spacer flex="1"/> <button id="find-button" label="&button.find;" oncommand="dofind()"/> <button id="cancel-button" label="&button.cancel;" oncommand="window.close();"/> </hbox> </vbox> </window> each text string has been replac...
XML - Archive of obsolete content
like all really good technologies, xul and its xp cousins are already being used in ways not imagined by their creators and
growing propitiously out of control.
splitter - Archive of obsolete content
grow the elements to the right or below the splitter do not change size (unless they are flexible) when the splitter is dragged, but instead the entire container changes size.
XForms Custom Controls - Archive of obsolete content
type advanced xforms controls - you need your controls to be able to do more things than traditional xforms controls can do new host language - you'd like to support xforms in host languages other than xhtml or xul custom presentation the mozilla xforms extension cannot anticipate all of the possible use cases that will evolve in web applications and web pages as xforms matures and the user base
grows.
The Business Benefits of Web Standards - Archive of obsolete content
while some browsers have quirks that cause different behavior by platform, mozilla-based browsers are designed to behave identically on all supported platforms (mac, linux, unix, windows...) web content is increasingly being accessed by a
growing number of user agents other than browsers, or by browsers on different platforms - for example mobile telephones.
Main Axis - MDN Web Docs Glossary: Definitions of Web-related terms
learn more property reference flex-basis flex-direction flex-
grow flex-shrink justify-content flex further reading css flexbox guide: basic concepts of flexbox css flexbox guide: aligning items in a flex container css flexbox guide: controlling ratios of flex items along the main axis ...
Fundamental CSS comprehension - Learn web development
float the image to the right so that it sticks to the right hand side of the main business card contents, and give it a max-height of 100% (a clever trick that ensures that it will
grow/shrink to stay the same height as its parent container, regardless of what height it becomes.) beware!
How do I start to design my website? - Learn web development
(for example, should i learn how to do all this myself, ask someone to do it for me, or use third-party services?) conclusion as you can see, the simple idea "i want to make a website" generates a long to-do list, which only
grows longer as you think about it.
UI pseudo-classes - Learn web development
the advantage of using a transform rather than transitioning width/height is that you can use transform-origin to make it
grow from the center of the circle, rather than having it appear to
grow from the circle's corner.
Video and audio content - Learn web development
if the aspect ratio is not maintained by the sizes you set, the video will
grow to fill the space horizontally, and the unfilled space will just be given a solid background color by default.
Software accessibility: Where are we today?
te typing on a keyboard or selecting with a mouse by speaking into the computer screen magnification software, which allows a low-vision computer user to more easily read portions of the screen comprehension software, which allows a dyslexic or learning disabled computer user to see and hear text as it is manipulated on the computer screen in fact, the entire adaptive technology industry has
grown up around these issues.
Debugging Internet Explorer
to run internet explorer in a single process add a dword registry value to hkey_current_user\software\microsoft\internet explorer\main called tabproc
growth and set it to 0.
Embedding the editor
one editor per window limitation the current composer window xul/c++ architecture has
grown up with the assumption that there can be just one <editor> tag per window.
Infallible memory allocation
be warned that any allocation that's controlled by the user or web content may
grow bigger than you expect; people and pages do surprising things all the time!
Investigating leaks using DMD heap scan mode
block_analyzer.py will return a series of entries that look like this (with the [...] indicating where i have removed things): 0x7f089306b000 size = 4096 bytes at byte offset 2168 nsattrandchildarray::
growby[...] nsattrandchildarray::insertchildat[...] [...] 0x7f089306b000 is the address of the block that contains $leakaddr.
Leak-hunting strategies and tips
mac any build leak tools for debugging memory
growth that is cleaned up on shutdown diffbloatdump (part of tracemalloc) all allocations linux only?
TraceMalloc
detecting memory usage
growth in a running process to do this, dump the existing allocations to a file by calling the function tracemallocdumpallocations from javascript.
Overview of NSS
nss comes with an extensive and
growing set of documentation, including introductory material, api references, man pages for command-line tools, and sample code.
Python binding for NSS
this is primarily so the developers can make changes to the api as experiece
grows with it.
NSS functions
nssrwlock_new mxr 3.2 and later nssrwlock_unlockread mxr 3.2 and later nssrwlock_unlockwrite mxr 3.2 and later nsssmime_versioncheck mxr 3.2.1 and later port_alloc mxr 3.2 and later port_arenaalloc mxr 3.2 and later port_arena
grow mxr 3.2 and later port_arenamark mxr 3.2 and later port_arenarelease mxr 3.2 and later port_arenastrdup mxr 3.2 and later port_arenaunmark mxr 3.2 and later port_arenazalloc mxr 3.2 and later port_free mxr 3.2 and later...
sslfnc.html
the set of available ssl cipher suites may
grow from release to release of nss.
TLS Cipher Suite Discovery
the number of well-defined cipher suites
grows with time, and no tls implementation offers all known cipher suites at all times.
Utility functions
nssrwlock_new mxr 3.2 and later nssrwlock_unlockread mxr 3.2 and later nssrwlock_unlockwrite mxr 3.2 and later nsssmime_versioncheck mxr 3.2.1 and later port_alloc mxr 3.2 and later port_arenaalloc mxr 3.2 and later port_arena
grow mxr 3.2 and later port_arenamark mxr 3.2 and later port_arenarelease mxr 3.2 and later port_arenastrdup mxr 3.2 and later port_arenaunmark mxr 3.2 and later port_arenazalloc mxr 3.2 and later port_free mxr 3.2 and later...
Necko Architecture
these locations are represented in the form we have all
grown to know and love as uris.
Tracing JIT
if that pc has itself
grown hot, the monitor will immediately transition to recording mode starting with the exiting pc.
JSAPI Cookbook
// javascript throw new error("failed to
grow " + varietal + ": too many greenflies."); /* jsapi */ js_reporterror(cx, "failed to
grow %s: too many greenflies.", varietal); return false; to internationalize your error messages, and to throw other error types, such as syntaxerror or typeerror, use js_reporterrornumber instead.
JSAPI User Guide
by default, the javascript engine performs garbage collection when it has no other choice except to
grow the process.
JS_ForgetLocalRoot
calling it successively on other than the most recently allocated gc-thing will tend to average the time inefficiency, and may risk o(n2)
growth rate, but in any event, you shouldn't allocate too many local roots if you can root as you go (build a tree of objects from the top down, forgetting each latest-allocated gc-thing immediately upon linking it to its parent).
JS_ReportOutOfMemory
when a script tries to
grow an array beyond 230-1 elements, for example, or concatenate strings such that the result is more than 229-1 characters long, the javascript engine reports an error as though by calling this function.
JS_SetThreadStackLimit
description js_setthreadstacklimit sets the maximum (if stack
grows upward) or minimum (downward) legal stack byte address in limitaddr for the thread or process stack used by cx.
JSAPI reference
1.8.5 js_putescapedstring added in spidermonkey 1.8.5 js_putescapedflatstring added in spidermonkey 1.8.5 js_forget_string_flatness added in spidermonkey 1.8.5 js_stringisflat added in spidermonkey 38 js_assert_string_is_flat added in spidermonkey 1.8.5 js_flattenstring added in spidermonkey 1.8.5 typedef jschar obsolete since jsapi 35 js_newstring obsolete since jsapi 1.8.5 js_new
growablestring obsolete since jsapi 27 js_getstringbytes obsolete since jsapi 1.8.5 js_getstringbytesz obsolete since jsapi 1.8.5 js_getstringchars obsolete since jsapi 1.8.5 js_getstringcharsz obsolete since jsapi 33 js_getstringcharsandlength added in jsapi 1.8.5 obsolete since jsapi 33 js_getstringcharsz added in spidermonkey 1.8.5 obsolete since jsapi 33 js_getstringcharszandlength added in...
SpiderMonkey 1.8.5
jsautorequest jsautosuspendrequest jsautocheckrequest jsautoentercompartment js::anchor<> js::call obsolete apis js_clearnewbornroots js_enterlocalrootscope js_leavelocalrootscope js_leavelocalrootscopewithresult js_forgetlocalroot js_new
growablestring deleted apis js_addnamedroot – use js_add*root js_addnamedrootrt – use js_add*root js_addroot – use js_add*root js_clearnewbornroots – no longer needed js_clearoperationcallback js_clearregexproots js_decompilescript js_destroyscript js_enterlocalrootscope js_executescriptpart js_forgetlocalroot js_getfunctionname js_getoperationlimit js_getscriptobject js_getst...
SpiderMonkey 1.8.7
jsautorequest jsautosuspendrequest jsautocheckrequest jsautoentercompartment js::anchor<> js::call obsolete apis js_clearnewbornroots js_enterlocalrootscope js_leavelocalrootscope js_leavelocalrootscopewithresult js_forgetlocalroot js_new
growablestring deleted apis js_getscopechain use js_getglobalforscopechain api changes operation callback js_setoperationcallback was introduced in js 1.8.0, replacing the branch callback, in anticipation of the addition of the tracing jit (tracemonkey).
SpiderMonkey 31
obsolete apis js_convertarguments "j" type deleted apis js_new
growablestring (can be replaced with js_newucstring) js_isconstructing (can be replaced with callargs::isconstructing or callreceiver::isconstructing) js_valuetoboolean (replaced by js::toboolean) js_valuetonumber (can be replaced with js::tonumber) js_valuetoint64 (replaced by js::toint64) js_valuetouint64 (replaced by js::touint64) js_valuetoecmauint32 (replaced by js::touint32) js_valuetoecm...
Shell global objects
the name is one of: maxbytes maxmallocbytes gcbytes gcnumber mode unusedchunks totalchunks slicetimebudget markstacklimit highfrequencytimelimit highfrequencylowlimit highfrequencyhighlimit highfrequencyheap
growthmax highfrequencyheap
growthmin lowfrequencyheap
growth dynamicheap
growth dynamicmarkslice allocationthreshold minemptychunkcount maxemptychunkcount compactingenabled refreshframeslicesenabled relazifyfunctions(...) perform a gc and allow relazification of functions.
WebReplayRoadmap
while the supported features will
grow over time, the ui needs to be improved so that features which aren't supported are not shown or are shown in a disabled state.
Redis Tips
related commands - an ever-
growing list of related commands is given on the right-hand side of the page.
The Rust programming language
rust and the future of systems programming unlocking the power of parallelism with rust rust for web developers safe systems programming with rust
growing the rust community putting rust into production at mozilla ...
Handling Mozilla Security Bugs
we expect that the mozilla security bug group will initially be significantly larger than the core group of module owners and peers, and that it may
grow further over time.
Starting WebLock
a linear search through the data in the white list may not be terribly bad if the number of urls is under a couple of dozen, but it decays as the list
grows.
Index
the mozilla javascript engine will perform garbage collection automatically when the javascript heap
grows beyond a certain size.
Components.utils.forceGC
the mozilla javascript engine will perform garbage collection automatically when the javascript heap
grows beyond a certain size.
Language bindings
the mozilla javascript engine will perform garbage collection automatically when the javascript heap
grows beyond a certain size.
nsICookieService
this typically happens because they have either expired or because the cookie list has
grown too large.
nsIMutableArray
any of these methods may throw ns_error_out_of_memory when the array must
grow to complete the call, but the allocation fails.
xptcall FAQ
the
growing list: porting status where can i find other resources?
Index
we will add a categorization system as the link list
grows.
libmime content type handlers
libmime has a home
grown object system written in c, and since the content type handler plugins need to exist in this module, a description of the libmime object system should be reviewed and understood.
Plug-in Basics - Plugins
plug-ins like these are now available: multimedia viewers such as adobe flash and adobe acrobat utilities that provide object embedding and compression/decompression services applications that range from personal information managers to games the range of possibilities for using plug-in technology seems boundless, as shown by the
growing numbers of independent software vendors who are creating new and innovative plug-ins.
CSS Flexbox Inspector: Examine Flexbox layouts - Firefox Developer Tools
if you click on the item, the display shifts to show details about that element: this view shows information about the calculations for the size of the selected flex item: a diagram visualizing the sizing of the flex item content size - the size of the component without any restraints imposed on it by its parent flexibility - how much a flex item grew or shrunk based on its flex-
grow value when there is extra free space or its flex-shrink value when there is not enough space minimum size (only appears when an item is clamped to its minimum size) - the minimum content size of a flex item when there is no more free space in the flex container final size - the size of the flex item after all sizing constraints imposed on it have been applied (based on the values of flex-
grow, ...
Animation.onfinish - Web APIs
examples animation.onfinish is used several times in the alice in web animations api land
growing/shrinking alice game.
Animation.pause() - Web APIs
example animation.pause() is used many times in the alice in web animations api land
growing/shrinking alice game, largely because animations created with the element.animate() method immediately start playing and must be paused manually if you want to avoid that: // animation of the cupcake slowly getting eaten up var nommingcake = document.getelementbyid('eat-me_sprite').animate( [ { transform: 'translatey(0)' }, { transform: 'translatey(-80%)' } ], { fill: 'forwards', e...
Animation.reverse() - Web APIs
return value undefined example in the
growing/shrinking alice game example, clicking or tapping the bottle causes alice's
growing animation (alicechange) to play backwards, causing her to get smaller.
Applying styles and colors - Web APIs
if you specify a miterlimit value below 4.2 in this demo, none of the visible corners will join with a miter extension, but only with a small bevel near the blue lines; with a miterlimit above 10, most corners in this demo should join with a miter far away from the blue lines, and whose height is decreasing between corners from left to right because they connect with
growing angles; with intermediate values, the corners on the left side will only join with a bevel near the blue lines, and the corners on the right side with a miter extension (also with a decreasing height).
HTMLDetailsElement: toggle event - Web APIs
</details> </section> css body { display: flex; flex-direction: row-reverse; } #log { flex-shrink: 0; padding-left: 3em; } #summaries { flex-
grow: 1; } javascript function logitem(e) { const item = document.queryselector(`[data-id=${e.target.id}]`); item.toggleattribute('hidden'); } const chapters = document.queryselectorall('details'); chapters.foreach((chapter) => { chapter.addeventlistener('toggle', logitem); }); result specifications specification status comment html living standardthe definiti...
IntersectionObserver - Web APIs
intersectionobserver.rootmargin read only an offset rectangle applied to the root's bounding box when calculating intersections, effectively shrinking or
growing the root for calculation purposes.
MouseEvent.relatedTarget - Web APIs
html <body id="body"> <div id="outer"> <div id="red"></div> <div id="blue"></div> </div> <p id="log"></p> </body> css #outer { width: 250px; height: 125px; display: flex; } #red { flex-
grow: 1; background: red; } #blue { flex-
grow: 1; background: blue; } #log { max-height: 120px; overflow-y: scroll; } javascript const mouseoutlog = document.getelementbyid('log'), red = document.getelementbyid('red'), blue = document.getelementbyid('blue'); red.addeventlistener('mouseover', overlistener); red.addeventlistener('mouseout', outlistener); blue.addeventlistener(...
Lifetime of a WebRTC session - Web APIs
it’s so big that years ago, smart people saw how big it was, how fast it was
growing, and the limitations of the 32-bit ip addressing system, and realized that something had to be done before we ran out of addresses to use, so they started working on designing a new 64-bit addressing system.
XRViewport.y - Web APIs
note: although other web apis typically consider the y axis to begin at the top and
grow larger progressing downward, webgl reverses this, with y
growing larger as it goes upward on the screen.
Keyboard-navigable JavaScript widgets - Accessibility
in the dotted border case you will need to make sure those elements have an invisible 1px border to start with, so that the element doesn't
grow when the border style is applied (borders take up space, and ie doesn't implement css outlines).
Auto-placement in CSS Grid Layout - CSS: Cascading Style Sheets
ng: 1em; color: #d9480f; } <div class="wrapper"> <div>one</div> <div>two</div> <div>three</div> <div>four</div> <div>five</div> </div> .wrapper { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 10px; grid-auto-rows: 100px; } you can use minmax() in your value for grid-auto-rows enabling the creation of rows that are a minimum size but then
grow to fit content if it is taller.
Animatable CSS properties - CSS: Cascading Style Sheets
-radius border-top border-top-color border-top-left-radius border-top-right-radius border-top-width border-width bottom box-shadow caret-color clip clip-path color column-count column-gap column-rule column-rule-color column-rule-width column-width columns filter flex flex-basis flex-
grow flex-shrink font font-size font-size-adjust font-stretch font-variation-settings font-weight gap grid-column-gap grid-gap grid-row-gap grid-template-columns grid-template-rows height inline-size inset inset-block inset-block-end inset-block-start inset-inline inset-inline-end inset-inline...
Card - CSS: Cascading Style Sheets
useful fallbacks or alternative methods flexbox could be used to lay out the card, in which case you should make the content area
grow, and other items not
grow.
CSS reference - CSS: Cascading Style Sheets
irdirection:disableddisplay<display-box><display-inside><display-internal><display-legacy><display-listitem><display-outside>dpcmdpidppxdrop-shadow()eelement()ellipse()em:emptyempty-cells:enabledenv()exffallback (@counter-style)filter<filter-function>:first:first-child::first-letter (:first-letter)::first-line (:first-line):first-of-typefit-content()<flex>flexflex-basisflex-directionflex-flowflex-
growflex-shrinkflex-wrapfloat:focusfont@font-facefont-familyfont-family (@font-face)font-feature-settingsfont-feature-settings (@font-face)@font-feature-valuesfont-kerningfont-language-overridefont-optical-sizingfont-sizefont-size-adjustfont-stretchfont-stretch (@font-face)font-stylefont-style (@font-face)font-synthesisfont-variantfont-variant (@font-face)font-variant-alternatesfont-variant-capsfont-v...
animation-fill-mode - CSS: Cascading Style Sheets
html <p>move your mouse over the gray box!</p> <div class="demo"> <div class="
growsandstays">this
grows and stays big.</div> <div class="
grows">this just
grows.</div> </div> css .demo { border-top: 100px solid #ccc; height: 300px; } @keyframes
grow { 0% { font-size: 0; } 100% { font-size: 40px; } } .demo:hover .
grows { animation-name:
grow; animation-duration: 3s; } .demo:hover .
growsandstays { animation-name:
grow; animation-duration: 3s; animation-fil...
clamp() - CSS: Cascading Style Sheets
note that using clamp() for font sizes, as in these examples, allows you to set a font-size that
grows with the size of the viewport, but doesn't go below a minimum font-size or above a maximum font-size.
font-style - CSS: Cascading Style Sheets
f'); font-family:'amstelvaralpha'; font-style: normal; } label { font: 1rem monospace; } .container { max-height: 150px; overflow: scroll; } .sample { font: 2rem 'amstelvaralpha', sans-serif; } html, body { max-height: 100vh; max-width: 100vw; overflow: hidden; } body { display: flex; flex-direction: column; } header { margin-bottom: 1.5rem; } .container { flex-
grow: 1; } .container > p { margin-top: 0; margin-bottom: 0; } javascript let slantlabel = document.queryselector('label[for="slant"]'); let slantinput = document.queryselector('#slant'); let sampletext = document.queryselector('.sample'); function update() { let slant = `oblique ${slantinput.value}deg`; slantlabel.textcontent = `font-style: ${slant};`; sampletext.style.fontstyle = sla...
font-weight - CSS: Cascading Style Sheets
normal; } label { font: 1rem monospace; white-space: nowrap; } .container { max-height: 150px; overflow-y: auto; } .sample { text-transform: uppercase; font: 1.5rem 'mutatorsans', sans-serif; } html, body { max-height: 100vh; max-width: 100vw; overflow: hidden; } body { display: flex; flex-direction: column; } header { margin-bottom: 1.5rem; } .container { flex-
grow: 1; } .container > p { margin-top: 0; margin-bottom: 0; } javascript let weightlabel = document.queryselector('label[for="weight"]'); let weightinput = document.queryselector('#weight'); let sampletext = document.queryselector('.sample'); function update() { weightlabel.textcontent = `font-weight: ${weightinput.value};`; sampletext.style.fontweight = weightinput.value; } weightinpu...
justify-content - CSS: Cascading Style Sheets
the alignment is done after the lengths and auto margins are applied, meaning that, if in a flexbox layout there is at least one flexible element, with flex-
grow different from 0, it will have no effect as there won't be any available space.
max() - CSS: Cascading Style Sheets
formal syntax max( <calc-sum># )where <calc-sum> = <calc-product> [ [ '+' | '-' ] <calc-product> ]*where <calc-product> = <calc-value> [ '*' <calc-value> | '/' <number> ]*where <calc-value> = <number> | <dimension> | <percentage> | ( <calc-sum> ) examples setting a minimum size for a font another use case for css functions is allow a font size to
grow while ensuring it is at least a mimum size, enabling responsive font sizes while ensuring legibility.
scale - CSS: Cascading Style Sheets
syntax /* keyword values */ scale: none; /* single values */ /* values of more than 1 make the element
grow */ scale: 2; /* values of less than 1 make the element shrink */ scale: 0.5; /* two values */ scale: 2 0.5; /* three values */ scale: 2 0.5 2; values single number value a <number> specifying a scale factor to make the affected element scale by the same factor along both the x and y axes.
A hybrid approach - Developer guides
so far there is not much to see for mobile, since things are still in the formative stages of development, but you can always watch the new mozilla.org
grow up on github.
HTTP caching - HTTP
the revision version added to revved resources doesn't need to be a classical revision string like 1.1.3, or even a monotonously
growing suite of number.
Function.prototype.apply() - JavaScript
if your value array might
grow into the tens of thousands, use a hybrid strategy: apply your function to chunks of the array at a time: function minofarray(arr) { let min = infinity; let quantum = 32768; for (var i = 0, len = arr.length; i < len; i += quantum) { var submin = math.min.apply(null, arr.slice(i, math.min(i+quantum, len))); min = math.min(submin, min); } return m...