Search completed in 1.38 seconds.
If-None-Match - HTTP
For GET and HEAD methods, the server will send back the requested resource, with a 200 status, only if it doesn't have an ETag matching the given ones. For other methods, the request will be processed only if the eventually existing resource's ETag doesn't match any of the values listed. When the condition fails for GET and HEAD methods, then the server must return HTTP status code 304 (Not Modified). For methods that apply server-side changes, the status code 412 (Precondition Failed) is used. ...
...tion, Date, ETag, Expires, and Vary. The comparison with the stored ETag uses the weak comparison algorithm, meaning two files are considered identical if the content is equivalent -- they don't have to be identical byte for byte. For example, two pages that differ by the date of generation in the footer would still be considered as identical. ...
...for byte. For example, two pages that differ by the date of generation in the footer would still be considered as identical. When used in combination with If-Modified-Since, If-
None-Match has precedence (if the server supports it). There are two common use cases: For GET and HEAD methods, to update a cached entity that has an associated ETag. For other methods, and in particular for PUT, If-
None-Match used with the * value can be used to save a file not known to exist, guaranteeing that another upload didn't happen before, losing the data of the previous put; this problem is a variation of the lost update problem. Header type Request header Forbidden header name no Syntax If-
None-Match: "<etag_value>" If-
None-Match: "<etag_value>", "<etag_value>", ... If...
...And 5 more matches
Using Feature Policy - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Specifying your policy Feature Policy provides two ways to specify policies to control features: The Feature-Policy HTTP header. The allow attribute on <iframe>s. The primary difference between the HTTP header and the allow attribute is that the allow attribute only controls features within an iframe. The header control...
...ge. The Feature-Policy HTTP header You can send the Feature-Policy HTTP header with the response of a page. The value of this header is a policy to be enforced by the browser for the given page. It has the following structure. ...
...And 14 more matches
stroke-linejoin - SVG: Scalable Vector Graphics
applied to any element but it has effect only on the following nine elements: <altGlyph>, <path>, <polygon>, <polyline>, <rect>, <text>, <textPath>, <tref>, and <tspan> html,body,svg { height:100% } <svg viewBox="0 0 18 12" xmlns="http://www.w3.org/2000/svg"> <!-- Upper left path: Effect of the "miter" value --> <path d="M1,5 a2,2 0,0,0 2,-3 a3,3 0 0 1 2,3.5" stroke="black" fill="
none" stroke-linejoin="miter" /> <!-- Center path: Effect of the "round" value --> <path d="M7,5 a2,2 0,0,0 2,-3 a3,3 0 0 1 2,3.5" stroke="black" fill="
none" stroke-linejoin="round" /> <!-- Upper right path: Effect of the "bevel" value --> <path d="M13,5 a2,2 0,0,0 2,-3 a3,3 0 0 1 2,3.5" stroke="black" fill="
none" stroke-linejoin="bevel" /> <!-- Bo...
... stroke-linejoin="round" /> <!-- Upper right path: Effect of the "bevel" value --> <path d="M13,5 a2,2 0,0,0 2,-3 a3,3 0 0 1 2,3.5" stroke="black" fill="
none" stroke-linejoin="bevel" /> <!-- Bottom left path: Effect of the "miter-clip" value with fallback to "miter" if not supported. --> <path d="M3,11 a2,2 0,0,0 2,-3 a3,3 0 0 1 2,3.5" stroke="black" fill="
none" stroke-linejoin="miter-clip" /> <!-- Bottom right path: Effect of the "arcs" value with fallback to "miter" if not supported. ...
...om left path: Effect of the "miter-clip" value with fallback to "miter" if not supported. --> <path d="M3,11 a2,2 0,0,0 2,-3 a3,3 0 0 1 2,3.5" stroke="black" fill="
none" stroke-linejoin="miter-clip" /> <!-- Bottom right path: Effect of the "arcs" value with fallback to "miter" if not supported. ...
...And 13 more matches
Table Layout Regression Tests - Archive of obsolete content
7,4872,600 Node 1: TableOuter(table)(144) 0x10004 0,26437,4824,600, |null attr|-16777216|left: 0[0x0]tw top: 0[0x0]tw right: 0[0x0]tw bottom: 0[0x0]tw left: 0[0x0]tw top: 0[0x0]tw right: 0[0x0]tw bottom: 0[0x0]tw left: 1[0x1]enum top: 1[0x1]enum right: 1[0x1]enum bottom: 1[0x1]enum left: Null top: Null right: Null bottom: Null left: Null top: Null right: Null bottom: Null 1[0x1]enum 0|1 1 [
none]|left: Auto top: Auto right: Auto bottom: Auto Auto 0[0x0]tw Null Auto 0[0x0]tw Null 0 Auto |0 0 0 Normal Normal 0[0x0]tw Normal |0 8 1,000000 0 0 0 0 0 0 0 0 0 0 0 [
none]|0 0 0 -1 1 |0 0 0 Null Node 2: TableOuter(table)(144) 0x10004 0,26437,4872,600, |null attr|-16777216|left: 0[0x0]tw top: 0[0x0]tw right: 0[0x0]tw bottom: 0[0x0]tw left: 0[0x0]tw top: 0[0x0]tw right: 0[0x0]tw bott...
...0,0,4872,600 Node 1: Table(table)(144) 0x10004 0,0,4824,600, |null attr|-16777216|left: Null top: 0[0x0]tw right: Null bottom: 0[0x0]tw left: Null top:...
...right: 0[0x0]tw bottom: 0[0x0]tw left: 1[0x1]enum top: 1[0x1]enum right: 1[0x1]enum bottom: 1[0x1]enum left: Null top: Null right: Null bottom: Null left: Null top: Null right: Null bottom: Null 1[0x1]enum 0|1 1 [
none]|left: Auto top: Auto right: Auto bottom: Auto Auto 0[0x0]tw Null Auto 0[0x0]tw Null 0 Auto |0 0 0 Normal Normal 0[0x0]tw Normal |0 8 1,000000 0 0 0 0 0 0 0 0 0 0 0 [
none]|0 0 0 -1 1 |0 0 0 Null frame bbox mismatch: 0,0,4824,600 vs. 0,0,4872,600 Node 1: Table(table)(144) 0x10004 0,0,4824,600, |null attr|-16777216|left: Null top: 0[0x0]tw right: Null bottom: 0[0x0]tw left: Null top: Null right: Null bottom: Null left: 1[0x1]enum top: 1[0x1]enum right: 1[0x1]enum bottom: 1[0x1]enum left: Null top: Null right: Null bottom: Null left: Null top: Null right: Null ...
...And 12 more matches
Index - Web APIs
dowClient objects from methods such as Clients.matchAll() and Clients.get(). 625 Client.frameType API, Client, Experimental, NeedsExample, Property, Reference, Service Workers, ServiceWorker, frameType The frameType read-only property of the Client interface indicates the type of browsing context of the current Client. This value can be one of auxiliary, top-level, nested, or
none. 626 Client.id API, Client, Experimental, NeedsExample, Property, Reference, Service Workers, ServiceWorker, id The id read-only property of the Client interface returns the universally unique identifier of the Client object. 627 Client.postMessage() API, Client, Experimental, Method, Reference, Service Workers, Service worker API, ServiceWorker, postMessage ...
...API. 706 DOMException() API, Constructor, DOMException, Reference The DOMException() constructor returns a DOMException object with a specified message and name. 707 DOMException.code API, Code, DOMException, Property, Reference The code read-only property of the DOMException interface returns a short that contains one of the error code constants, or 0 if
none match. This field is used for historical reasons. New DOM exceptions don't use this anymore: they put this info in the DOMException.name attribute. 708 DOMException.message API, DOMException, Property, Reference, message The message read-only property of the DOMException interface returns a DOMString representing a message or description associated with the given error name. ...
...ment, Property, Reference The Document.currentScript property returns the <script> element whose script is currently being processed and isn't a JavaScript module. (For modules use import.meta instead.) 896 Document.defaultView API, Document, HTML DOM, Property, Reference In browsers, document.defaultView returns the window object associated with a document, or null if
none is available. 897 Document.designMode API, Document, HTML DOM, NeedsContent, NeedsSpecTable, Property, Reference, editor document.designMode controls whether the entire document is editable. Valid values are "on" and "off". According to the specification, this property is meant to default to "off". Firefox follows this standard. The earlier versions of Chrome and IE default t...
...And 12 more matches
Box-shadow generator - CSS: Cascading Style Sheets
out) */ } /* GRID COLUMN SETUP * ========================================================================== */ .col { display: block; float:left; margin: 1% 0 1% 1.6%; } .col:first-child { margin-left: 0; } /* all browsers except IE6 and lower */ /* * UI Slider */ .slidergroup { height: 20px; margin: 10px 0; font-family: "Segoe UI", Arial, Helvetica, sans-serif; -moz-user-select:
none; user-select:
none; } .slidergroup * { float: left; height: 100%; line-height: 100%; } /* Slider */ .ui-slider { height: 10px; width: 200px; margin: 4px 10px; display: block; border: 1px solid #999; border-radius: 3px; background: #EEE; } .ui-slider:hover { cursor: pointer; } .ui-slider-name { width: 90px; padding: 0 10px 0 0; text-align: right; text-transform: lowercase; } ...
...: pointer; } .ui-slider-input > input { margin: 0 10px; padding: 0; width: 50px; text-align: center; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } /* * UI Button */ /* Checkbox */ .ui-checkbox { text-align: center; font-size: 16px; font-family: "Segoe UI", Arial, Helvetica, sans-serif; line-height: 1.5em; color: #FFF; -moz-user-select:
none; -webkit-user-select:
none; -ms-user-select:
none; user-select:
none; } .ui-checkbox > input { display:
none; } .ui-checkbox > label { font-size: 12px; padding: 0.333em 1.666em 0.5em; height: 1em; line-height: 1em; background-color: #888; background-image: url("https://mdn.mozillademos.org/files/5683/disabled.png"); background-position: center center; background-repeat: no-repeat;...
...put:checked + label { background-image: url("https://mdn.mozillademos.org/files/5681/checked.png"); background-color: #379B4A; } /* * BOX SHADOW GENERATOR TOOL */ body { max-width: 1000px; height: 800px; margin: 20px auto 0; font-family: "Segoe UI", Arial, Helvetica, sans-serif; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -moz-user-select:
none; -webkit-user-select:
none; -ms-user-select:
none; } #container { width: 100%; padding: 2px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } /* container with shadows stacks */ #stack_container { height: 400px; overflow: hidden; position: relative; border: 1px solid #CCC; border-radius: 3px; -moz-box-sizing: border-box; -webkit-box-sizing:...
...And 12 more matches
Advanced form styling - Learn web development
ox all support the -webkit- prefixed version (-webkit-appearance). Firefox settled on this because web developers mostly seemed to be using the -webkit- prefixed version, so it was better for compatibility. If you look at the reference page you'll see a lot of different possible values listed for -webkit-appearance, however by far the most helpful value, and probably the only one you'll use, is
none. This stops any control you apply it to from using system-level styling, as much as possible, and lets you build up the styles yourself using CSS. For example, let's take the following controls: <form> <p> <label for="search">search: </label> <input id="search" name="search" type="search"> </p> <p> <label for="text">text: </label> <input id="text" name="text" type="text"> ...
...el for="radio">radio: </label> <input id="radio" name="radio" type="radio"> </p> <p> <label for="checkbox">checkbox: </label> <input id="checkbox" name="checkbox" type="checkbox"> </p> <p><input type="submit" value="submit"></p> <p><input type="button" value="button"></p> </form> Applying the following CSS to them removes system-level styling. input { -webkit-appearance:
none; appearance:
none; } Note: It is a good idea to always include both declarations -- prefixed and unprefixed -- when using a prefixed property. Prefixed usually means "work in progress", so in the future browser vendors may come to a consensus to drop the prefix. The above code is good for future-proofing against such an eventuality. The following live example shows you what they look like i...
...ind it here also if you want to test it on other systems). In most cases, the effect is to remove the stylized border, which makes CSS styling a bit easier, but isn't really essential. In a couple of cases -- search and radio buttons/checkboxes, it becomes way more useful. We'll look at those now. Taming search boxes <input type="search"> is basically just a text input, so why is appearance:
none; useful here? The answer is that in Chromium-based browsers on macOS, search boxes have some styling restrictions -- you can't adjust their height or font-size freely, for example. This is because non-macOS Chrome browsers no longer use the WebKit rendering engine, which enabled Aqua appearance by default for certain form controls. With Aqua enabled, some form controls are not scalable. This ca...
...And 11 more matches
filter - CSS: Cascading Style Sheets
rl("filters.svg#filter-id"); /* <filter-function> values */ filter: blur(5px); filter: brightness(0.4); filter: contrast(200%); filter: drop-shadow(16px 16px 20px blue); filter: grayscale(50%); filter: hue-rotate(90deg); filter: invert(75%); filter: opacity(25%); filter: saturate(30%); filter: sepia(60%); /* Multiple filters */ filter: contrast(175%) brightness(3%); /* Use no filter */ filter:
none; /* Global values */ filter: inherit; filter: initial; filter: unset; With a function, use the following: filter: <filter-function> [<filter-function>]* |
none For a reference to an SVG <filter> element, use the following: filter: url(file.svg#filter-element-id) Interpolation If both the beginning and end filters have a function list of the same length without <url>, each of their filte...
... filters have a function list of the same length without <url>, each of their filter functions is interpolated according to its specific rules. If they have different lengths, the missing equivalent filter functions from the longer list are added to the end of the shorter list using their lacuna values, then all filter functions are interpolated according to their specific rules. If one filter is
none, it is replaced with the filter functions list of the other one using the filter function default values, then all filter functions are interpolated according to their specific rules. Otherwise, discrete interpolation is used. Functions The filter property is specified as
none or one or more of the functions listed below. If the parameter for any function is invalid, the function returns
none. ...
... overflow:hidden; } #img2 { width:100%; height:auto; -webkit-filter:blur(5px); -ms-filter:blur(5px); filter:blur(5px); } table.standard-table { border: 1px solid rgb(187, 187, 187); border-collapse: collapse; border-spacing: 0; margin: 0 0 1.286em; height: 100%; width: 85%; } table.standard-table th { border: 1px solid rgb(187, 187, 187); padding: 0px 5px; background:
none repeat scroll 0% 0% rgb(238, 238, 238); text-align: left; font-weight: bold; } table.standard-table td { padding: 5px; border: 1px solid rgb(204, 204, 204); text-align: left; vertical-align: top; width:25%; height:auto; } #img3 { height:100%; } <svg style="position: absolute; top: -99999px" xmlns="http://www.w3.org/2000/svg"> <filter id="svgBlur" x="-5%" y="-5%" width="110%...
...And 11 more matches
d - SVG: Scalable Vector Graphics
bute defines a path to be drawn. A path definition is a list of path commands where each command is composed of a command letter and numbers that represent the command parameters. The commands are detailed below. ...
... { height:100% } <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"> <path fill="
none" stroke="red" d="M 10,30 A 20,20 0,0,1 50,30 A 20,20 0,0,1 90,30 Q 90,60 50,90 Q 10,60 10,30 z" /> </svg> path For <path>, d is a string containing a series of path commands that define the path to be drawn. Value <string> Default value
none Animatable Yes glyph Warning: As of SVG2 <glyph> is deprecated and shouldn't be used. For <glyph>, d is a string containing a series of path commands that define the outline shape of the glyph. ...
...However the <glyph> element has its origin in the bottom left corner of its letterbox. ...
...And 11 more matches
Index - Archive of obsolete content
tes Add-ons, Extensions In order to complete this tutorial you need to have and know how to use the following programs on your computer: 397 Specifying the appearance Add-ons, Extensions Now that we have defined a panel in which to display an icon, we use CSS to specify which icon to display. For this we have to first create four icons, one for each tinderbox state (
none, success, test failed, and busted), then create a set of CSS rules that displays the icon corresponding to the current tinderbox state: 398 Tinderbox Add-ons, Extensions Tinderbox is a web tool for tracking the status of the Mozilla source code. It consists of a set of client machines that continuously build and test Mozilla and report their results back to a server that make...
...Thanks t...
...s This document may be distributed and modified freely. No guarantee of factuality in this FAQ is made, and it is maintained by Pat Gunn, who is not affiliated with Netscape. Various other people have contributed to this FAQ. 3438 Newsgroup summaries No summary! 3439 Format No summary! 3440 Mozilla.dev.apps.firefox-2006-09-29
None this week. 3441 Mozilla.dev.apps.firefox-2006-10-06
None this week. 3442 mozilla-dev-accessibility No summary! 3443 2006-10-06 No summary! 3444 2006-11-10 No summary! 3445 2006-11-22 No summary! 3446 mozilla-dev-apps-calendar No summary! 3447 2006-09-29 ...
...And 9 more matches
source-editor.jsm
he event, call removeEventListener(). void addEventListener( String aEventType, Function aCallback ); Parameters aEventType The name of the event type to listen for; see Event name constants for possible values. aCallback The function to call when the specified event occurs. canRedo() Determines whether or not there are changes that can be redone. Boolean canRedo(); Parameters
None. Return value true if there are changes that can be redone, otherwise false. canUndo() Determines whether or not there are changes that can be undone. Boolean canUndo(); Parameters
None. Return value true if there are changes that can be undone, otherwise false. destroy() Destroys the editor, releasing resource it's allocated and removing event handlers it's installed. You should call...
...do() Determines whether or not there are changes that can be undone. Boolean canUndo(); Parameters
None. Return value true if there are changes that can be undone, otherwise false. destroy() Destroys the editor, releasing resource it's allocated and removing event handlers it's installed. You should call this method when you're done using the editor object. void destroy(); Parameters
None. dropSelection() Deselects the currently selected text. void dropSelection(); Parameters
None. endCompoundChange() Ends a compound change that was previously started by calling startCompoundChange(). All changes made to the text between the two calls is considered to be a single edit for the purposes of undo operations. void endCompoundChange(); Parameters
None. find() Finds a strin...
... findNext( Boolean aWrap }; Parameters aWrap If true, the search operation will wrap around to the end of the text. Otherwise, the search stops if the beginning of the text is reached. Return value The offset into the text at which the next occurrence of the string begins, or -1 if the string isn't found. focus() Makes the editor the focus for user input. void focus(); Parameters
None. getBreakpoints Returns an array of all of the breakpoints currently set on the code in the editor instance. Array getBreakpoints(); Parameters
None. Return value An Array of all of the breakpoints in the editor instance. Each breakpoint is an Object with the following properties: Property Type Description line Number The 0-based line number on which the bre...
...And 9 more matches
Border-radius generator - CSS: Cascading Style Sheets
D COLUMN SETUP * ========================================================================== */ .col { display: block; float:left; margin: 1% 0 1% 1.6%; } .col:first-child { margin-left: 0; } /* all browsers except IE6 and lower */ /* * UI Component */ .ui-input-slider-container { height: 20px; margin: 10px 0; font-family: "Segoe UI", Arial, Helvetica, sans-serif; -moz-user-select:
none; user-select:
none; } .ui-input-slider-container * { float: left; height: 100%; line-height: 100%; } /* Input Slider */ .ui-input-slider > input { margin: 0; padding: 0; width: 50px; text-align: center; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } .ui-input-slider-info { width: 90px; padding: 0px 10px 0px 0px; text-align: right; text-t...
...lor: #2C9FC9; border-radius: 5px; color: #FFF; font-weight: bold; line-height: 14px; text-align: center; } .ui-input-slider-btn-set:hover { background-color: #379B4A; cursor: pointer; } /* * UI Component */ /* Checkbox */ .ui-checkbox { text-align: center; font-size: 16px; font-family: "Segoe UI", Arial, Helvetica, sans-serif; line-height: 1.5em; color: #FFF; -moz-user-select:
none; -webkit-user-select:
none; -ms-user-select:
none; user-select:
none; } .ui-checkbox > input { display:
none; } .ui-checkbox > label { font-size: 12px; padding: 0.333em 1.666em 0.5em; height: 1em; line-height: 1em; background-color: #888; background-image: url("https://mdn.mozillademos.org/files/5683/disabled.png"); background-position: center center; background-repeat: no-repeat;...
...box > label:hover { cursor: pointer; } .ui-checkbox > input:checked + label { background-image: url("https://mdn.mozillademos.org/files/5681/checked.png"); background-color: #379B4A; } body { max-width: 1000px; margin: 0 auto; font-family: "Segoe UI", Arial, Helvetica, sans-serif; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -moz-user-select:
none; -webkit-user-select:
none; -ms-user-select:
none; user-select:
none; } #container { width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } /******************************************************************************/ /******************************************************************************/ /* * Preview Area */ #preview { height...
...And 9 more matches
Color picker tool - CSS: Cascading Style Sheets
div> <div id="canvas" data-tutorial="drop"> <div id="zindex" class="ui-input-slider" data-topic="z-index" data-info="z-index" data-max="20" data-sensivity="10"></div> </div> </div> CSS /* * COLOR PICKER TOOL */ .ui-color-picker { width: 420px; margin: 0; border: 1px solid #DDD; background-color: #FFF; display: table; -moz-user-select:
none; -webkit-user-select:
none; -ms-user-select:
none; user-select:
none; } .ui-color-picker .picking-area { width: 198px; height: 198px; margin: 5px; border: 1px solid #DDD; position: relative; float: left; display: table; } .ui-color-picker .picking-area:hover { cursor: default; } /* HSV format - Hue-Saturation-Value(Brightness) */ .ui-color-picker .picking-area { background: url('ht...
...name { height: 20px; width: 30px; text-align: center; font-size: 14px; line-height: 18px; float: left; } .ui-color-picker .input input { width: 30px; height: 18px; margin: 0; padding: 0; border: 1px solid #DDD; text-align: center; float: right; -moz-user-select: text; -webkit-user-select: text; -ms-user-select: text; } .ui-color-picker .input[data-topic="lightness"] { display:
none; } .ui-color-picker[data-mode='HSL'] .input[data-topic="value"] { display:
none; } .ui-color-picker[data-mode='HSL'] .input[data-topic="lightness"] { display: block; } .ui-color-picker .input[data-topic="alpha"] { margin-top: 10px; width: 93px; } .ui-color-picker .input[data-topic="alpha"] > .name { width: 60px; } .ui-color-picker .input[data-topic="alpha"] > input { float: right; } .
...y: block; } .ui-color-picker .input[data-topic="alpha"] { margin-top: 10px; width: 93px; } .ui-color-picker .input[data-topic="alpha"] > .name { width: 60px; } .ui-color-picker .input[data-topic="alpha"] > input { float: right; } .ui-color-picker .input[data-topic="hexa"] { width: auto; float: right; margin: 6px 8px 0 0; } .ui-color-picker .input[data-topic="hexa"] > .name { display:
none; } .ui-color-picker .input[data-topic="hexa"] > input { width: 90px; height: 24px; padding: 2px 0; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } /* Preview color */ .ui-color-picker .preview { width: 95px; height: 53px; margin: 5px; margin-top: 10px; border: 1px solid #DDD; background-image: url("https://mdn.mozillademos.org/files/5705/alpha.
...And 9 more matches
user-select - CSS: Cascading Style Sheets
The user-select CSS property controls whether the user can select text. This doesn't have any effect on content loaded as chrome, except in textboxes. ...
...user-select CSS property controls whether the user can select text. This doesn't have any effect on content loaded as chrome, except in textboxes. ...
...ent loaded as chrome, except in textboxes. ...
...And 9 more matches
xlink:href - SVG: Scalable Vector Graphics
ern>, <radialGradient>, <script>, <set>, <textPath>, <tref>, and <use>} html, body, svg { height: 100%; } <svg viewBox="0 0 160 40" xmlns="http://www.w3.org/2000/svg"> <a xlink:href="https://developer.mozilla.org/"><text x="10" y="25">MDN Web Docs</text></a> </svg> a For <a>, xlink:href defines the location of the referenced object. Value <iri> Default value
None Animatable Yes altGlyph For <altGlyph>, xlink:href defines the reference either to a <glyph> element in an SVG document fragment or to an <altGlyphDef> element. If the reference is to a <glyph> element and that glyph is available, then that glyph is rendered instead of the characters that are inside of the <altGlyph> element. If the reference is to an <altGlyphDef> eleme...
...lyph is rendered instead of the characters that are inside of the <altGlyph> element. If the reference is to an <altGlyphDef> element, then if an appropriate set of alternate glyphs is located from processing the <altGlyphDef> element, then those alternate glyphs are rendered instead of the characters that are inside of the <altGlyph> element. Value <iri> Default value
None Animatable No animate, animateColor, animateMotion, animateTransform, set For <animate>, <animateColor>, <animateMotion>, <animateTransform>, and <set>, xlink:href defines the reference to the element which is the target of this animation and which therefore will be modified over time. The target element must be part of the current SVG document fragment. The value must point...
...capable of being the target of the given animation. If the xlink:href attribute is not provided, the target element will be the immediate parent element of the current animation element. Refer to the descriptions of the individual animation elements for any restrictions on what types of elements can be targets of particular types of animations. ...
...And 9 more matches
Index
case is an image map where each area is associated with multiple actions, for example an image map of smart tags. In this case you would have to implement two levels of accessible hyperlinks. The first level hyperlinks would only implement anchor() and anchorTarget(). The anchors would all reference the image object. The anchorTargets would reference the second level accessible hyperlink objects.
None of the IAccessibleAction methods would be implemented on the first level hyperlink objects. The second level hyperlink objects would implement the IAccessibleAction methods. Their anchors would also reference the image object and their anchorTargets would reference URLs or the objects that would be activated. This use case demonstrates that in some cases there is no need for IAccessibleHyperlink ...
...cessibleSelectable Accessibility, Interfaces, Interfaces:Scriptable, XPCOM, XPCOM API Reference, XPCOM Interface Reference Adds the specified accessible child of the object to the object's selection. If the specified object is already selected, then it does nothing. 313 nsIAccessibleStateChangeEvent Interfaces, Interfaces:Scriptable, XPCOM, XPCOM Interface Reference
None. 314 nsIAccessibleStates Accessibility, Interfaces, Interfaces:Scriptable, XPCOM, XPCOM Interface Reference Prior to Gecko 1.9, these constants were implemented in nsIAccessible. 315 nsIAccessibleTable Accessibility, Interfaces, Interfaces:Scriptable, NeedsContent, XPCOM, XPCOM API Reference Return the accessible object at the specified row and column in ...
...erence Return the accessible object at the specified row and column in the table. If both row and column index are valid then the corresponding accessible object is returned that represents the requested cell regardless of whether the cell is currently visible (on the screen). 316 nsIAccessibleTableCell Interfaces, Interfaces:Scriptable, XPCOM, XPCOM Interface Reference
None. 317 nsIAccessibleTableChangeEvent No summary! 318 nsIAccessibleText Accessibility, Interfaces, Interfaces:Scriptable, NeedsContent, XPCOM Interface Reference Get the accessible and start/end offsets around the given offset. This accessible get return the DOM node and layout frame with the uniform attributes for this range of text. 319 nsIAcce...
...And 8 more matches
imgIContainer
of this image (one of the TYPE_* values above). Read only. width PRInt32 The width of the container rectangle. In the case of any error, zero is returned, and an exception will be thrown. Read only. Constants Constant Value Description TYPE_RASTER 0 Enumerated values for the 'type' attribute (below). TYPE_VECTOR 1 FLAG_
NONE 0x0 Flags for imgIContainer operations. Meanings: FLAG_
NONE: Lack of flags. FLAG_SYNC_DECODE: Forces synchronous/non-progressive decode of all available data before the call returns. It is an error to pass this flag from a call stack that originates in a decoder (that is, from a decoder observer event). FLAG_DECODE_NO_PREMULTIPLY_ALPHA: Do not premultiply alpha if it is...
... aPaletteDepth Missing Description imageData Missing Description imageLength Missing Description paletteData Missing Description paletteLength Missing Description Exceptions thrown Missing Exception Missing Description clear() Obsolete since Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0) void clear(); Parameters
None. Exceptions thrown Missing Exception Missing Description Native code only!copyCurrentFrame Obsolete since Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. Create and return a new copy of the current frame that you can write ...
...yCurrentFrame Obsolete since Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. Create and return a new copy of the current frame that you can write to and otherwise inspect the pixels of. gfxImageSurface copyCurrentFrame(); Parameters
None. Return value Missing Description Exceptions thrown Missing Exception Missing Description Native code only!copyFrame Create and return a new copy of the given frame that you can write to and otherwise inspect the pixels of. gfxImageSurface copyFrame( in PRUint32 aWhichFrame, in PRUint32 aFlags ); Parameters aWhichFrame Frame specifier of the FRAME_* variety. aFlags ...
...And 8 more matches
nsIVariant
wstring getAsWString(); Native code only! void getAsWStringWithSize(out PRUint32 size, [size_is(size), retval] out wstring str); Native code only! Attributes Attribute Type Description dataType PRUint16 Read only. Native code only! Methods Native code only!getAsACString ACString getAsACString(); Parameters
None. Return value The value is converted to an 8-bit string in the ISO-8859-1 character set. If the value was UTF16 then the high bits are lost. If the value was UTF8 then it is converted to UTF16 and the high bits are discarded. Arrays and interface pointers cannot be converted to a string. Violates the XPCOM interface guidelines getAsArray() nsresult getAsArray( out PRUint16 type, out nsI...
... The type of the array elements. iid The IID of the array elements, if they are interface pointers. count The number of elements in the array. ptr A copy of the array of underlying elements. (Reference counted elements are not cloned, but their reference count is increased.) Return value Native code only!getAsAString AString getAsAString(); Parameters
None. Return value The internal value is converted to a UTF16 string. Arrays and interface pointers cannot be converted to a string. Native code only!getAsAUTF8String AUTF8String getAsAUTF8String(); Parameters
None. Return value The internal value is converted to a UTF8 string. An ISO-8859-1 string is widened to a UTF16 string first. Arrays and interface pointers cannot be converted to a string. Nati...
...16 string. Arrays and interface pointers cannot be converted to a string. Native code only!getAsAUTF8String AUTF8String getAsAUTF8String(); Parameters
None. Return value The internal value is converted to a UTF8 string. An ISO-8859-1 string is widened to a UTF16 string first. Arrays and interface pointers cannot be converted to a string. Native code only!getAsBool PRBool getAsBool(); Parameters
None. Return value If possible, the internal value is converted to a double, which is then compared to zero. Native code only!getAsChar char getAsChar(); Parameters
None. Return value If the internal value is a string, it is first converted to a double, if possible. If it is of a numeric type, it is cast directly to char. Native code only!getAsDOMString DOMString getAsDOMString(); Parameters
None. R...
...And 8 more matches
HTMLTableElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...And 8 more matches
nsIHTMLEditor
tagname. Special input value for Links: Use "href" to get a link node (an "A" tag with the "href" attribute set) Return value The new element created. decreaseFontSize() Decrease font size for text in selection by 1 HTML unit All existing text is scanned for existing <FONT SIZE> attributes so they will be decreased instead of inserting new <FONT> tag. void decreaseFontSize(); Parameters
None. doDrag() Transfers the relevant data (as appropriate) to a transferable so it can later be dropped. void doDrag( in nsIDOMEvent aEvent ); Parameters aEvent getAlignment() Returns what alignment is in the selection. void getAlignment( out boolean aMixed, out short aAlign ); Parameters aMixed true if there is more than one type of list item, or if there is some list and ...
...ne type of list item, or if there is some list and non-list. aAlign Enum value for first encountered alignment (left/center/right) getBackgroundColorState() getFontColorState() returns what font face is in the selection. AString getBackgroundColorState( out boolean aMixed ); Parameters aMixed true if there is more than one font color. Return value Color string. "" is returned for
none. getElementOrParentByTagName() Return the input node or a parent matching the given aTagName, starting the search at the supplied node. An example of use is for testing if a node is in a table cell given a selection anchor node. nsIDOMElement getElementOrParentByTagName( in AString aTagName, in nsIDOMNode aNode ); Parameters aTagName The HTML tagname Special input values: Use "href" ...
.... If it is null, the anchor node of the current selection is used. Return value NS_EDITOR_ELEMENT_NOT_FOUND if an element is not found (passes NS_SUCCEEDED macro) getFontColorState() Returns what font face is in the selection. AString getFontColorState( out boolean aMixed ); Parameters aMixed true if there is more than one font color. Return value Color string. "" is returned for
none. getFontFaceState() Returns what font face is in the selection. AString getFontFaceState( out boolean aMixed ); Parameters aMixed true if there is more than one font face. Return value Name of face. Note: "tt" is returned for tt tag. "" is returned for
none. getHeadContentsAsHTML() Output the contents of the <HEAD> section as text/HTML format. AString getHeadContentsAsHTML(); P...
...And 7 more matches
border-inline-end - CSS: Cascading Style Sheets
order-block-start, border-block-end, and border-inline-start, which define the other borders of the element. ...
...r-block-end, and border-inline-start, which define the other borders of the element. ...
...nline-start, which define the other borders of the element. ...
...And 7 more matches
nsIDOMWindowUtils
Methods activateNativeMenuItemAt() See nsIWidget.ActivateNativeMenuItemAt(). Cannot be accessed from unprivileged context (not content-accessible) Will throw a DOM security error if called without UniversalXPConnect privileges. void activateNativeMenuItemAt( in AString indexString ); Parameters indexString clearMozAfterPaintEvents() void clearMozAfterPaintEvents(); Parameters
None. compareCanvases() Compare the two canvases, returning the number of differing pixels and the maximum difference in a channel. This will throw an error if the dimensions of the two canvases are different. This method requires UniversalXPConnect privileges. PRUint32 compareCanvases( in nsIDOMHTMLCanvasElement aCanvas1, in nsIDOMHTMLCanvasElement aCanvas2, out unsigned long aMaxDifference...
... the root scroll frame when retrieving the element. If false, this method returns null for coordinates outside of the viewport. aFlushLayout Flushes layout if true. Otherwise, no flush occurs. Return value enterModalState() Put the window into a state where scripts are frozen and events suppressed, for use when the window has launched a modal prompt. void enterModalState(); Parameters
None. findElementWithViewId() Given a view ID from the compositor process, return the corresponding DOM element object. nsIDOMElement findElementWithViewId( in nsViewID aId ); Parameters aId The ID of the view for which to retrieve the corresponding nsIDOMElement object. Return value The nsIDOMElement object for the HTML element drawn by the specified view ID. Note: For scrollable frame...
...eges in non-debug builds. Available to all callers in debug builds. void garbageCollect( in nsICycleCollectorListener aListener Optional ); Parameters aListener Optional Listener that receives information about the CC graph (see @mozilla.org/cycle-collector-logger;1 for a logger component) getCursorType() Get current cursor type from this window. short getCursorType(); Parameters
None. Return value The current value of nsCursor. getDocumentMetadata() Function to get metadata associated with the window's current document. Will throw a DOM security error if called without UniversalXPConnect privileges. AString getDocumentMetadata( in AString aName ); Parameters aName The name of the metadata. This should be all lowercase. Return value The value of the metadata, ...
...And 6 more matches
nsIFile
File. This string must not contain a path separator character. This string must be encoded using the native character encoding. Exceptions thrown NS_ERROR_FILE_UNRECOGNIZED_PATH Indicates that aNode incorrectly contains a path separator character. clone() This method creates a clone of the nsIFile. (It does NOT clone the file itself; see the copy methods.) nsIFile clone(); Parameters
None. Return value A new nsIFile instance that corresponds to the same file or directory as this nsIFile. contains() This method tests whether or not the path represented by the specified nsIFile instance is a descendant of the path represented by this nsIFile. This nsIFile should point to a directory, while the specified argument can point to a file or directory. boolean contains( in nsIFile i...
...X-style file permissions value. For example, the octal value 0600 may be used to limit read and write access to the current user of the system. This parameter may be ignored on systems that do not support file permissions. Exceptions thrown NS_ERROR_FILE_UNKNOWN_TYPE Indicates that the value of "type" does not correspond to a known type. NS_ERROR_FILE_TOO_BIG Indicates that the search for
nonexistent files was unsuccessful because all of the attempted leaf name variants already exist. equals() This method tests whether or not two nsIFile instances correspond to the same file or directory. boolean equals( in nsIFile inFile ); Parameters inFile The nsIFile to compare this nsIFile against. Return value true if "inFile" is equivalent to this nsIFile. exists() This method t...
...iants already exist. equals() This method tests whether or not two nsIFile instances correspond to the same file or directory. boolean equals( in nsIFile inFile ); Parameters inFile The nsIFile to compare this nsIFile against. Return value true if "inFile" is equivalent to this nsIFile. exists() This method tests whether or not this nsIFile exists. boolean exists() Parameters
None. Return value true if the file or directory exists. Otherwise it returns false. isDirectory() This method tests whether or not this nsIFile corresponds to a directory. boolean isDirectory(); Parameters
None. Return value true if this nsIFile corresponds to a directory. Otherwise it returns false. isExecutable() This method tests whether or not this nsIFile corresponds to a file that m...
...And 6 more matches
animation - CSS: Cascading Style Sheets
th: 1.5em; height: 1.5em; } button { width: 27px; height: 27px; background-size: 16px; background-position: center; background-repeat: no-repeat; border-radius: 3px; cursor: pointer; } button.play { background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cstyle%3Epath%20%7Bdisplay%3A
none%7D%20path%3Atarget%7Bdisplay%3Ablock%7D%3C%2Fstyle%3E%3Cpath%20id%3D%22play%22%20d%3D%22M3%2C3%20L3%2C13%20L13%2C8%20Z%22%20%2F%3E%3Cpath%20id%3D%22pause%22%20d%3D%22M5%2C4%20L7%2C4%20L7%2C13%20L5%2C13%20Z%20M9%2C4%20L11%2C4%20L11%2C13%20L9%2C13%20Z%22%20%2F%3E%3Cpath%20id%3D%22restart%22%20d%3D%22M13%2C9%20A5%2C5%2C1%2C1%2C1%2C8%2C4%20L8%2C2%20L12%2C5%20L8%2C8%20L8%2C6%20A3%2C3%2C1%2C1%2C0%2C11%...
...d%3D%22restart%22%20d%3D%22M13%2C9%20A5%2C5%2C1%2C1%2C1%2C8%2C4%20L8%2C2%20L12%2C5%20L8%2C8%20L8%2C6%20A3%2C3%2C1%2C1%2C0%2C11%2C9%20A1%2C1%2C1%2C1%2C1%2C13%2C9%20z%22%20%2F%3E%3C%2Fsvg%3E#play'); } button.pause { background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cstyle%3Epath%20%7Bdisplay%3A
none%7D%20path%3Atarget%7Bdisplay%3Ablock%7D%3C%2Fstyle%3E%3Cpath%20id%3D%22play%22%20d%3D%22M3%2C3%20L3%2C13%20L13%2C8%20Z%22%20%2F%3E%3Cpath%20id%3D%22pause%22%20d%3D%22M5%2C4%20L7%2C4%20L7%2C13%20L5%2C13%20Z%20M9%2C4%20L11%2C4%20L11%2C13%20L9%2C13%20Z%22%20%2F%3E%3Cpath%20id%3D%22restart%22%20d%3D%22M13%2C9%20A5%2C5%2C1%2C1%2C1%2C8%2C4%20L8%2C2%20L12%2C5%20L8%2C8%20L8%2C6%20A3%2C3%2C1%2C1%2C0%2C11%...
...D%22restart%22%20d%3D%22M13%2C9%20A5%2C5%2C1%2C1%2C1%2C8%2C4%20L8%2C2%20L12%2C5%20L8%2C8%20L8%2C6%20A3%2C3%2C1%2C1%2C0%2C11%2C9%20A1%2C1%2C1%2C1%2C1%2C13%2C9%20z%22%20%2F%3E%3C%2Fsvg%3E#pause'); } button.restart { background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cstyle%3Epath%20%7Bdisplay%3A
none%7D%20path%3Atarget%7Bdisplay%3Ablock%7D%3C%2Fstyle%3E%3Cpath%20id%3D%22play%22%20d%3D%22M3%2C3%20L3%2C13%20L13%2C8%20Z%22%20%2F%3E%3Cpath%20id%3D%22pause%22%20d%3D%22M5%2C4%20L7%2C4%20L7%2C13%20L5%2C13%20Z%20M9%2C4%20L11%2C4%20L11%2C13%20L9%2C13%20Z%22%20%2F%3E%3Cpath%20id%3D%22restart%22%20d%3D%22M13%2C9%20A5%2C5%2C1%2C1%2C1%2C8%2C4%20L8%2C2%20L12%2C5%20L8%2C8%20L8%2C6%20A3%2C3%2C1%2C1%2C0%2C11%...
...And 6 more matches
border - CSS: Cascading Style Sheets
le | color */ border: outset #f33; /* width | style | color */ border: medium dashed green; /* Global values */ border: inherit; border: initial; border: unset; The border property may be specified using one, two, or three of the values listed below. The order of the values does not matter. Note: The border will be invisible if its style is not defined. This is because the style defaults to
none. Values <line-width> Sets the thickness of the border. Defaults to medium if absent. See border-width. <line-style> Sets the style of the border. Defaults to
none if absent. See border-style. <color> Sets the color of the border. Defaults to currentcolor if absent. See border-color. Description As with all shorthand properties, any omitted sub-values will be set to their initial valu...
... The border shorthand is especially useful when you want all four borders to be the same. To make them different from each other, however, you can use the longhand border-width, border-style, and border-color properties, which accept different values for each side. ...
...According to the spec, outlines don't have to be rectangular, although they usually are. Formal definition Initial valueas each of the properties of the shorthand:border-width: as each of the properties of the shorthand:border-top-width: mediumborder-right-width: mediumborder-bottom-width: mediumborder-left-width: mediumborder-style: as each of the properties of the shorthand:border-top-style:
noneborder-right-style:
noneborder-bottom-style:
noneborder-left-style:
noneborder-color: as each of the properties of the shorthand:border-top-color: currentcolorborder-right-color: currentcolorborder-bottom-color: currentcolorborder-left-color: currentcolorApplies toall elements. It also applies to ::first-letter.InheritednoComputed valueas each of the properties of the shorthand:border-width: as ea...
...And 6 more matches
flex - CSS: Cascading Style Sheets
this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
... | flex-basis */ flex: 2 2 10%; /* Global values */ flex: inherit; flex: initial; flex: unset; The flex property may be specified using one, two, or three values. One-value syntax: the value must be one of: a <number>: In this case it is interpreted as flex: <number> 1 0; the <flex-shrink> value is assumed to be 1 and the <flex-basis> value is assumed to be 0. one of the keywords:
none, auto, or initial. Two-value syntax: the first value must be a <number> and it is interpreted as <flex-grow>. The second value must be one of: a <number>: then it is interpreted as <flex-shrink>. a valid value for width: then it is interpreted as <flex-basis>. Three-value syntax: the values must be in the following order: a <number> for <flex-grow>. a <number> for <f...
...to its minimum size to fit the container, but does not grow to absorb any extra free space in the flex container. This is equivalent to setting "flex: 0 1 auto". auto The item is sized according to its width and height properties, but grows to absorb any extra free space in the flex container, and shrinks to its minimum size to fit the container. This is equivalent to setting "flex: 1 1 auto".
none The item is sized according to its width and height properties. It is fully inflexible: it neither shrinks nor grows in relation to the flex container. This is equivalent to setting "flex: 0 0 auto". <'flex-grow'> Defines the flex-grow of the flex item. Negative values are considered invalid. Defaults to 1 when omitted. <'flex-shrink'> Defines the flex-shrink of the flex item. Negative value...
...And 6 more matches
Enumerability and ownership of properties - JavaScript
ies, with the chart showing below which are available. Some sample code follows which demonstrates how to obtain the missing categories. ...
...ich are available. Some sample code follows which demonstrates how to obtain the missing categories. ...
... Detection Enumerable
Nonenumerable Enumerable and
Nonenumerable propertyIsEnumerable hasOwnProperty hasOwnProperty - filtered to exclude enumerables using propertyIsEnumerable hasOwnProperty Enumerable
Nonenumerable Enumerable and
Nonenumerable Not available without extra code Not available without extra code in Not available without extra code Retrieval Enumerable
Nonenumerable Enumerable and
Nonenumerable Object.keys g...
...And 6 more matches
href - SVG: Scalable Vector Graphics
ient>, <script>, <set>, <textPath>, and <use> html, body, svg { height: 100%; } <svg viewBox="0 0 160 40" xmlns="http://www.w3.org/2000/svg"> <a href="https://developer.mozilla.org/"><text x="10" y="25">MDN Web Docs</text></a> </svg> In SVG a For <a>, href defines the location of the referenced object, expressed as a URL reference. Value <url> Default value
None Animatable Yes animate, animateMotion, animateTransform, set For the <animate>, <animateMotion>, <animateTransform>, and <set>, href defines a URL referring to the element which is the target of this animation element and which therefore will be modified over time. The URL must point to exactly one target element which is capable of being the target of the given animation ele...
...dual animation elements for any restrictions on what types of elements can be targets of particular types of animations. Except for any SVG-specific rules explicitly mentioned in this specification, the normative definition for this attribute is the SMIL Animation specification. In particular, see SMIL Animation: Specifying the animation target. Value <url> Default value
None Animatable No discard For <discard>, href defines a URL referring the target element to discard. See the definition of href on animation elements for details on identifying a target element. Note: Unlike other animation elements, the <discard> element does not support the deprecated xlink:href attribute. Note that if the target element is not part of the current SVG docume...
... not support the deprecated xlink:href attribute. Note that if the target element is not part of the current SVG document fragment, then whether the target element will be removed or not is defined by the host language. If the href attribute is not provided, then the target element will be the immediate parent element of the <discard> element. Value <url> Default value
None Animatable No feImage For <feImage>, href defines a URL referring to an image resource or to an element. If both, the xlink:href and the href attribute are specified, the latter overrides the former. Value <url> Default value
None Animatable Yes image For <image>, href defines a URL referring to the image to render. Value ...
...And 6 more matches
nsIContentViewer
.0 / SeaMonkey 2.7), this attribute was part of nsIDocumentViewer. previousViewer nsIContentViewer The previous content viewer, which has been closed but not destroyed. Native code only! sticky boolean Methods clearHistoryEntry() Clears the current history entry. This is used to clear out the saved presentation state. void clearHistoryEntry(); Parameters
None. close() All users of a content viewer are responsible for calling both close() and destroy(), in that order. close() should be called when the load of a new page for the next content viewer begins, and destroy() should be called when the next content viewer replaces this one. Note: If the document is currently being printed, it will not be saved in session history. void close( in nsISHEntry ...
...ull, the document will not be destroyed, and the following actions will happen when destroy() is called: Sanitize() will be called on the viewer's document The content viewer will set the contentViewer property on the history entry, and release its reference (ownership reversal). Hide() will be called, and no further destruction will happen. destroy() void destroy(); Parameters
None. findContainerView() Finds the view to use as the container view for MakeWindow. Note: Prior to Gecko 10.0 (Firefox 10.0 / Thunderbird 10.0 / SeaMonkey 2.7), this attribute was part of nsIDocumentViewer. [noscript,notxpcom,nostdcall] nsIViewPtr findContainerView(); Parameters
None. Return value The container view, or null if this content viewer is the root of a view manager hierarchy. Note: ...
...ger hierarchy (that is, this method returns null), and mParentWidget is also null, then this document should not even be displayed. Native code only!getBounds void getBounds( in nsIntRectRef aBounds ); Parameters aBounds Missing Description getDocument() Returns the DOM document object (as an nsIDocument without addrefing. [noscript,notxpcom] nsIDocumentPtr getDocument(); Parameters
None. Return value The DOM document object. hide() void hide(); Parameters
None. Native code only!init Initializes the content viewer. void init( in nsIWidgetPtr aParentWidget, [const] in nsIntRectRef aBounds ); Parameters aParentWidget Missing Description aBounds Missing Description loadComplete() void loadComplete( in unsigned long aStatus ); Parameters aStatus Mi...
...And 5 more matches
nsIEditorSpellCheck
void UninitSpellChecker(); void UpdateCurrentDictionary(); Methods AddWordToDictionary() Adds the specified word to the current personal dictionary. void AddWordToDictionary( in wstring word ); Parameters word The word to add to the current personal dictionary. canSpellCheck() Determines whether or not spell checking can be enabled. boolean canSpellCheck(); Parameters
None. Return value Returns true if spell checking can be enabled. If there are no available dictionaries, the return value is false. checkCurrentDictionary() Call this after any change in installed dictionaries to ensure that the spell checker is not using a current dictionary which is no longer available. If the current dictionary is no longer available, pick another dictionary. void checkCurrentDict...
... true if spell checking can be enabled. If there are no available dictionaries, the return value is false. checkCurrentDictionary() Call this after any change in installed dictionaries to ensure that the spell checker is not using a current dictionary which is no longer available. If the current dictionary is no longer available, pick another dictionary. void checkCurrentDictionary(); Parameters
None. CheckCurrentWord() Checks a given word. In spite of the name, this function checks the word you give it, returning true if the word is misspelled. If the word is misspelled, it will compute the suggestions which you can get from GetSuggestedWord(). boolean CheckCurrentWord( in wstring suggestedWord ); Parameters suggestedWord Missing Description Return value true if the specified wo...
...from previous calls to CheckCurrentWord(), so there may be suggestions, but they will be invalid. boolean CheckCurrentWordNoSuggest( in wstring suggestedWord ); Parameters suggestedWord The word to check. Return value true if the word is misspelled; otherwise false. GetCurrentDictionary() Returns the name of the dictionary currently in use. AString GetCurrentDictionary(); Parameters
None. Return value The name of the dictionary currently in use. Typically, this is an ISO language code, such as "en-US". GetDictionaryList() Retrieves a list of the currently available dictionaries. The strings will typically be language IDs, such as "en-US". void GetDictionaryList( [array, size_is(count)] out wstring dictionaryList, out PRUint32 count ); Parameters dictionaryList An ar...
...And 5 more matches
MailNews fakeserver
someone writing a new test may have to take into account a new handler. A handler will contain the following methods: <caption> Handler methods </caption> Name Arguments Returns Notes [command] rest of sent line Server's response The name is normalized to be uppercase. onError command, rest of sent line Server's response Called if handler does not define the command function. onStartup
none Server's response Called when a connection is made. onMultiline sent line Server's response or nothing Called when in multi-line mode. postCommand Server object
none Called after every command. The server is smart about the responses and will normalize all occurrences of '\n' (but not '\r') to '\r\n' for you, as well as append the '\r\n' to the response if not present. It will also properl...
... not '\r') to '\r\n' for you, as well as append the '\r\n' to the response if not present. It will also properly queue all messages sent in pipelining mode and will present lines without any EOL characters. In addition, it uses UTF-8 as the transmission medium. The server presents the following API to the handler: <caption> Server API </caption> Name Arguments Returns Description closeSocket
none nothing Closes the socket and stops the test. setMultiline the new value of multiline nothing The value is a boolean, with true invoking multiline mode. It is off by default. Extending a handler to provide different mechanisms is a process not defined here; please check the documentation of the corresponding handler for instructions. Using fakeserver in xpcshell tests Since there are three ...
...o keep a persistent connection past a test, requiring connections to be closed, possibly forcibly. Alternatively, one can wait for the timeout, which occurs after 3 minutes, so not closing connections would make the tests take unbearably long. ...
...And 5 more matches
EventTarget.addEventListener() - Web APIs
ent this bindings. While anonymous (and all traditional JavaScript functions) create their own this bindings, arrow functions inherit the this binding of the containing function. That means that the variables and constants available to the containing function are also available to the event handler when using an arrow function. ...
...tions) create their own this bindings, arrow functions inherit the this binding of the containing function. That means that the variables and constants available to the containing function are also available to the event handler when using an arrow function. ...
...arrow function. ...
...And 5 more matches
appearance (-moz-appearance, -webkit-appearance) - CSS: Cascading Style Sheets
ship with the Mozilla platform. Starting with Gecko/Firefox 80, these uses were changed to -moz-default-appearance, which should never be used outside of internal stylesheets. Compatibility note: If you wish to use this property on websites, you should test it very carefully. Although it is supported in most modern browsers, its implementation varies widely. ...
...you should test it very carefully. Although it is supported in most modern browsers, its implementation varies widely. In older browsers, even the keyword
none does not have the same effect on all form elements across different browsers, and some do not support it at all. The differences are smaller in the newest browsers. ...
...This is the default. auto div{ color: black; -moz-appearance: auto; -webkit-appearance: auto; appearance:auto; } <div>Lorem</div>
None The user agent select...
...And 5 more matches
border-style - CSS: Cascading Style Sheets
le is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
... When one value is specified, it applies the same style to all four sides. ...
...en three values are specified, the first style applies to the top, the second to the left and right, the third to the bottom. When four values are specified, the styles apply to the top, right, bottom, and left in that order (clockwise). Each value is a keyword chosen from the list below. Values <line-style> Describes the style of the border. It can have the following values:
none Like the hidden keyword, displays no border. Unless a background-image is set, the computed value of the same side's border-width will be 0, even if the specified value is something else. In the case of table cell and border collapsing, the
none value has the lowest priority: if any other conflicting border is set, it will be displayed. hidden L...
...And 5 more matches
clip-path - CSS: Cascading Style Sheets
gion that sets what part of an element should be shown. Parts that are inside the region are shown, while those outside are hidden. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
...g box as the reference box. view-box Uses the nearest SVG viewport as the reference box. If a viewBox attribute is specified for the element creating the SVG viewport, the reference box is positioned at the origin of the coordinate system established by the viewBox attribute and the dimension of the size of the reference box is set to the width and height values of the viewBox attribute. ...
...s the reference box. If a viewBox attribute is specified for the element creating the SVG viewport, the reference box is positioned at the origin of the coordinate system established by the viewBox attribute and the dimension of the size of the reference box is set to the width and height values of the viewBox attribute.
none No clipping path is created. ...
...And 5 more matches
grid-template - CSS: Cascading Style Sheets
eractive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
...There are no named grid areas. Rows and columns will be implicitly generated; their size will be determined by the grid-auto-rows and grid-auto-columns properties. <'grid-template-rows'> / <'grid-template-columns'> Sets grid-template-rows and grid-template-columns to the specified values, and sets ...
... "b b b"; grid-template: "a a a" 20% "b b b" auto; grid-template: [header-top] "a a a" [header-bottom] [main-top] "b b b" 1fr [main-bottom] / auto 1fr auto; /* Global values */ grid-template: inherit; grid-template: initial; grid-template: unset; Values
none Is a keyword that sets all three longhand properties to
none, meaning there is no explicit grid. There are no named grid areas. Rows and columns will be implicitly generated; their size will be determined by the grid-auto-rows and grid-auto-columns properties. <'grid-template-rows'> / <'grid-template-columns'> Sets grid-template-rows and grid-template-columns to the specified values, and sets grid-template-areas to
none. [ <line-names>? <string> <track-...
...And 5 more matches
hyphens - CSS: Cascading Style Sheets
termined by the lang attribute, and browsers will hyphenate only if this attribute is present and the appropriate hyphenation dictionary is available. In XML, the xml:lang attribute must be used. Note: The rules defining how hyphenation is performed are not explicitly defined by the specification, so the exact hyphenation may vary from browser to browser. Syntax /* Keyword values */ hyphens:
none; hyphens: manual; hyphens: auto; /* Global values */ hyphens: inherit; hyphens: initial; hyphens: unset; The hyphens property is specified as a single keyword value chosen from the list below. Values
none Words are not broken at line breaks, even if characters inside the words suggest line break points. Lines will only wrap at whitespace. manual Words are broken for line-wrapping only w...
...hyphen. This character is not rendered visibly; instead, it marks a place where the browser should break the word if hyphenation is necessary. In HTML, use ­ to insert a soft hyphen. When the HTML <wbr> element leads to a line break, no hyphen is added. ...
...hyphen. When the HTML <wbr> element leads to a line break, no hyphen is added. Formal definition Initial valuemanualApplies toall elementsInheritedyesComputed valueas specifiedAnimation typediscrete Formal syntax
none | manual | auto Examples Specifying text hyphenation This example uses three classes, one for each possible configuration of the hyphens property. ...
...And 5 more matches
pointer-events - CSS: Cascading Style Sheets
under what circumstances (if any) a particular graphic element can become the target of pointer events. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
... /* SVG only */ /* Global values */ pointer-events: inherit; pointer-events: initial; pointer-events: unset; The pointer-events property is specified as a single keyword chosen from the list of values below. Values auto The element behaves as it would if the pointer-events property were not specified. In SVG content, this value and the value visiblePainted have the same effect.
none The element is never the target of pointer events; however, pointer events may target its descendant elements if those descendants have pointer-events set to some other value. In these circumstances, pointer events will trigger event listeners on this parent element as appropriate on their way to/from the descendant during the event capture/bubble phases. SVG only (experimental for HTML) vi...
...ate on their way to/from the descendant during the event capture/bubble phases. SVG only (experimental for HTML) visiblePainted SVG only (experimental for HTML). The element can only be the target of a pointer event when the visibility property is set to visible and e.g. when a mouse cursor is over the interior (i.e., 'fill') of the element and the fill property is set to a value other than
none, or when a mouse cursor is over the perimeter (i.e., 'stroke') of the element and the stroke property is set to a value other than
none. visibleFill SVG only. The element can only be the target of a pointer event when the visibility property is set to visible and when e.g. a mouse cursor is over the interior (i.e., fill) of the element. The value of the fill property does not affect event proce...
...And 5 more matches
Styling links - Learn web development
a link is being activated, it is also being hovered over. If you put these in the wrong order, things won't work properly. To remember the order, you could try using a mnemonic like LoVe Fears HAte. ...
..., it is also being hovered over. If you put these in the wrong order, things won't work properly. To remember the order, you could try using a mnemonic like LoVe Fears HAte. ...
...output.innerHTML = htmlInput.value; styleElem.textContent = cssInput.value; } reset.addEventListener("click", function() { htmlInput.value = htmlCode; cssInput.value = cssCode; drawOutput(); }); solution.addEventListener("click", function() { htmlInput.value = htmlCode; cssInput.value = 'p {\n font-size: 1.2rem;\n font-family: sans-serif;\n line-height: 1.4;\n}\n\na {\n outline:
none;\n text-decoration:
none;\n padding: 2px 1px 0;\n}\n\na:link {\n color: #265301;\n}\n\na:visited {\n color: #437A16;\n}\n\na:focus {\n border-bottom: 1px solid;\n background: #BAE498;\n}\n\na:hover {\n border-bottom: 1px solid;\n background: #CDFEAA;\n}\n\na:active {\n background: #265301;\n color: #CDFEAA;\n}'; drawOutput(); }); htmlInput.addEventListener("input", drawOutput); cssIn...
...And 4 more matches
CSS property compatibility table for form controls - Learn web development
y doesn't work or is so inconsistent that it's not reliable. n.a. The property has no meaning for this type of widget. Rendering For each property there are two possible renderings: N (Normal) Indicates that the property is applied as it is T (Tweaked) Indicates that the property is applied with the extra rule below: * { /* Turn off the native look and feel */ -webkit-appearance:
none; appearance:
none; /* for Internet Explorer */ background:
none; } Compatibility tables Global behaviors Some behaviors are common to many browsers at a global level: border, background, border-radius, height Using one of these properties can partially or fully turn off the native look & feel of widgets on some browsers. Be careful when you use them. line-height This property is sup...
...gets and IE9 does not support it at all. Text fields See the text, search, and password input types. Property N T Note CSS box model width Yes Yes height Partial[1][2] Yes WebKit browsers (mostly on Mac OSX and iOS) use the native look & feel for the search fields. ...
... CSS box model width Yes Yes height Partial[1][2] Yes WebKit browsers (mostly on Mac OSX and iOS) use the native look & feel for the search fields. Therefore, it's required to use -webkit-appearance:
none to be able to apply this property to search fields. On Windows 7, Internet Explorer 9 does not apply the border unless background:
none is applied. border Partial[1][2] Yes WebKit browsers (mostly on Mac OSX and iOS) use the native look & feel for the search fields. Therefore, it's required to use -webkit-appearance:
none to be able to apply this property to search fields. On Windows 7, Internet Explorer 9 does not apply the border unless background:
none is applied. marg...
...And 4 more matches
nsIClipboardCommands
Return value true if an image is selected, false otherwise. canCopyLinkLocation() R...
...n(); boolean canCopySelection(); boolean canCutSelection(); boolean canPaste(); void copyImageContents(); void copyImageLocation(); void copyLinkLocation(); void copySelection(); void cutSelection(); void paste(); void selectAll(); void select
None(); Methods canCopyImageContents() Returns whether we can copy an image's contents. boolean canCopyImageContents(); Parameters
None. Return value true if an image is selected, false otherwise. canCopyImageLocation() Returns whether we can copy an image location. boolean canCopyImageLocation(); Parameters
None. Return value true if an image is selected, false otherwise. canCopyLinkLocation() Returns whether we can copy a link location. boolean canCopyLinkLocation(); Parameters
None. Return value true if a link is selected, f...
...Return value true if the current selection can be cut, false otherwise. ...
...And 4 more matches
nsIDocShell
tting this attribute, a NS_ERROR_NOT_IMPLEMENTED error may be returned by implementations not supporting zoom. Implementations not supporting zoom should return 1.0 all the time for the Get operation. 1.0 by the way is the default of zoom. This means 100% of normal scaling or in other words normal size no zoom. Constants Constant Value Description INTERNAL_LOAD_FLAGS_
NONE 0x0 Used as a placeholder when you don't want to explicitly specify flags. INTERNAL_LOAD_FLAGS_INHERIT_OWNER 0x1 Used to indicate that it may be safe to inherit the owner of a javascript: or data: URL from the existing document. INTERNAL_LOAD_FLAGS_DONT_SEND_REFERRER 0x2 Used to indicate that the load was caused by a meta refresh and the current document URI sh...
...of the appType attribute. APP_TYPE_MAIL 1 This is the value of the appType attribute used by Thunderbird and SeaMonkey to indicate that email messages are displayed in this window. APP_TYPE_EDITOR 2 This is the value of the appType attribute used by Thunderbird and SeaMonkey to indicate that email messages or web pages are composed in this window. BUSY_FLAGS_
NONE 0 Returned by the busyFlags attribute when the nsIDocShell is not loading a document. BUSY_FLAGS_BUSY 1 Returned by the busyFlags attribute when the nsIDocShell is loading a document from the network. BUSY_FLAGS_BEFORE_PAGE_LOAD 2 Returned by the busyFlags attribute when the nsIDocShell has started loading a document from the network, but no data has been recei...
...o( out nsIDocShellLoadInfo loadInfo ); Parameters loadInfo The new nsIDocShellLoadInfo object. Violates the XPCOM interface guidelines DetachEditorFromWindow() Disconnects this docshell's editor from its window, and stores the editor data in the open document's session history entry. This should be called only during page transitions. void DetachEditorFromWindow(); Parameters
None. finishRestore() Finish firing WebProgressListener notifications and DOM events for restoring a page presentation. This should only be called via beginRestore(). void finishRestore(); Parameters
None. Native code only!firePageHideNotification Notify the associated content viewer and all child docshells that they are about to be hidden. If isUnload is true, then the document is being unloaded as...
...And 4 more matches
SVGTSpanElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 4 more matches
SVGTextElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 4 more matches
ARIA: row role - Accessibility
ader, within a grid, table or treegrid, and optionally within a rowgroup. ...
...grid, indicating the position, or index, of each row. For example, if a table has 1,500 rows, but only the header and rows 47 and 52 are in the DOM, aria-rowindex="1" would be set on the header row, and aria-rowindex="47" and aria-rowindex="52" would be set on the 47th and 52nd row, respectively. If all the rows are present in the DOM, this attribute is not necessary. Keyboard Interactions
None Required JavaScript features
None. For sortable columns, see the columnheader aria role. The first rule of ARIA use is you can use a native feature with the semantics and behavior you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so. Employ the HTML <table> element instead of the ARIA role of table whe...
...Employ the HTML <table> element instead of the ARIA role of table whenever possible. ...
...And 4 more matches
ARIA: rowgroup role - Accessibility
d cells, column headers, or row headers within a grid, table or treegrid. ...
...aining data arranged in rows and columns, similar to the native <table> HTML element. role="treegrid" Similar to a grid, but with rows that can be expanded and collapsed in the same manner as for a tree. Descendant roles role="row" A row of cells within a tabular structure. A row contains one or more cells, gridcell, or column headers, and sometimes a row header. Keyboard interactions
None Required JavaScript features
None. The first rule of ARIA use is if you can use a native feature with the semantics and behavior you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so. Employ the HTML <table> element instead of the ARIA role of table whenever possible. Examples <div role="table" aria-lab...
...Employ the HTML <table> element instead of the ARIA role of table whenever possible. ...
...And 4 more matches
any-pointer - CSS: Cascading Style Sheets
The any-pointer CSS media feature tests whether the user has any pointing device (such as a mouse), and if so, how accurate it is. Note: If you want to test the accuracy of the primary pointing device, use pointer instead. Syntax The any-pointer feature is specified as a keyword value chosen from the list below.
none No pointing device is available. coarse At least one input mechanism includes a pointing device of limited accuracy. fine At least one input mechanism includes an accurate pointing device. Note: More than one value can match if the available devices have different characteristics, although
none only matches when
none of them are pointing devices. Examples This example creates a small checkbox for users with at least one fine pointer and a large checkbox for use...
...users with at least one fine pointer and a large checkbox for users with at least one coarse pointer. The big checkbox takes precedence because it is declared after the small one. ...
...ointer and a large checkbox for users with at least one coarse pointer. The big checkbox takes precedence because it is declared after the small one. ...
...And 4 more matches
Linear-gradient Generator - CSS: Cascading Style Sheets
</div> <div id="output"> <div class="css-property"> <span class="property">background:</span> <span class="value"></span> </div> </div> </div> CSS Content /* * COLOR PICKER TOOL */ .ui-color-picker { width: 420px; margin: 0; border: 1px solid #DDD; background-color: #FFF; display: table; -moz-user-select:
none; -webkit-user-select:
none; -ms-user-select:
none; user-select:
none; } .ui-color-picker .picking-area { width: 198px; height: 198px; margin: 5px; border: 1px solid #DDD; position: relative; float: left; display: table; } .ui-color-picker .picking-area:hover { cursor: default; } /* HSV format - Hue-Saturation-Value(Brightness) */ .ui-color-picker .picking-area { background: url("im...
...name { height: 20px; width: 30px; text-align: center; font-size: 14px; line-height: 18px; float: left; } .ui-color-picker .input input { width: 30px; height: 18px; margin: 0; padding: 0; border: 1px solid #DDD; text-align: center; float: right; -moz-user-select: text; -webkit-user-select: text; -ms-user-select: text; } .ui-color-picker .input[data-topic="lightness"] { display:
none; } .ui-color-picker[data-mode='HSL'] .input[data-topic="value"] { display:
none; } .ui-color-picker[data-mode='HSL'] .input[data-topic="lightness"] { display: block; } .ui-color-picker .input[data-topic="alpha"] { margin-top: 10px; width: 93px; } .ui-color-picker .input[data-topic="alpha"] > .name { width: 60px; } .ui-color-picker .input[data-topic="alpha"] > input { float: right; } .
...y: block; } .ui-color-picker .input[data-topic="alpha"] { margin-top: 10px; width: 93px; } .ui-color-picker .input[data-topic="alpha"] > .name { width: 60px; } .ui-color-picker .input[data-topic="alpha"] > input { float: right; } .ui-color-picker .input[data-topic="hexa"] { width: auto; float: right; margin: 6px 8px 0 0; } .ui-color-picker .input[data-topic="hexa"] > .name { display:
none; } .ui-color-picker .input[data-topic="hexa"] > input { width: 90px; height: 24px; padding: 2px 0; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } /* Preview color */ .ui-color-picker .preview { width: 95px; height: 53px; margin: 5px; margin-top: 10px; border: 1px solid #DDD; background-image: url("images/alpha.png"); float: left; position: r...
...And 4 more matches
content - CSS: Cascading Style Sheets
The content CSS property replaces an element with a generated value. Objects inserted using the content property are anonymous replaced elements. ...
... <string> Specifies the "alt text" for the element. This value can be any number of text characters. Non-La...
... <string> Specifies the "alt text" for the element. ...
...And 4 more matches
font - CSS: Cascading Style Sheets
f. */ p { font: bold italic large serif } /* Use the same font as the status bar of the window */ p { font: status-bar } Live sample HTML <p> Change the radio buttons below to see the generated shorthand and it's effect. ...
... window */ p { font: status-bar } Live sample HTML <p> Change the radio buttons below to see the generated shorthand and it's effect. ...
...w */ p { font: status-bar } Live sample HTML <p> Change the radio buttons below to see the generated shorthand and it's effect. ...
...And 4 more matches
text-size-adjust - CSS: Cascading Style Sheets
The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property. /* Keyword values */ text-size-adjust:
none; text-size-adjust: auto; /* <percentage> value */ text-size-adjust: 80%; /* Global values */ text-size-adjust: inherit; text-size-adjust: initial; text-size-adjust: unset; Because many websites have not been developed with small devices in mind, mobile browsers differ from desktop browsers in the way they render web pages. Instead of laying out pages at the width of the device screen, they lay them out using a viewport that is much wider, usually 800 or 1000 pixels. To map the extra-wide layout back to the original device size, they either show only part of the whole render or scale th...
... algorithm to enlarge the text to make it more readable. When an element containing text uses 100% of the screen's width, the algorithm increases its text size, but without modifying the layout. The text-size-adjust property allows web authors to disable or modify this behavior, as web pages designed with small screens in mind do not need it. Syntax The text-size-adjust property is specified as
none, auto, or a <percentage>. Values
none Disables the browser's inflation algorithm. auto Enables the browser's inflation algorithm. This value is used to cancel a
none value previously set with CSS. <percentage> Enables the browser's inflation algorithm, specifying a percentage value with which to increase the font size. Formal definition Initial valueauto for smartphone browsers suppor...
...rcentage>. Values
none Disables the browser's inflation algorithm. auto Enables the browser's inflation algorithm. This value is used to cancel a
none value previously set with CSS. <percentage> Enables the browser's inflation algorithm, specifying a percentage value with which to increase the font size. ...
...And 4 more matches
Link types - HTML: Hypertext Markup Language
n that case, it is better to lead to a page containing a contact form. Although recognized, the rev attribute on <a>, <area> or<link> elements with a link type of made is incorrect and should be replaced by the rel attribute with this link type. <a>, <area>, <link> <form> bookmark Indicates that the hyperlink is a permalink for the nearest ancestor <article> element. If
none, it is a permalink for the section that the element is most closely associated to. This allows for bookmarking a single article in a page containing multiple articles, such as on a monthly summary blog page, or a blog aggregator. <a>, <area> <link>, <form> canonical From Wikipedia, the free encyclopedia: Canonical_link_element A canonical link element is an HTML ele...
...voided. <a>, <area>, <link> <form> help If the element is <a> or <area>, it indicates that the hyperlink leads to a resource giving further help about the parent of the element, and its descendants. If the element is <link> it indicates that the hyperlink leads to a resource giving further help about the page as a whole. <a>, <area>, <form>, <link>
None. icon Defines a resource for representing the page in the user interface, usually an icon (auditory or visual). In the browser, it is usually referred to as the favicon. If there are multiple <link rel="icon">s, the browser uses their media, type, and sizes attributes to select the most appropriate icon. If several icons are equally appropriate, the last one is used. If the m...
...yperlink leads to a document describing the licensing information. If not inside the <head> element, the standard doesn't distinguish between a hyperlink applying to a specific part of the document or to the document as a whole. Only the data on the page can indicate this. Note: Although recognized, the synonym copyright is incorrect and must be avoided. <a>, <area>, <form>, <link>
None. manifest Indicates that the linked file is a Web App Manifest. <link> <a>, <area>, <form> modulepreload Initiates early (and high-priority) loading of module scripts. <link> <a>, <area>, <form> next Indicates that the hyperlink leads to the next resource of the sequence the current page is in. Note: Other link types related to linking reso...
...And 4 more matches
SVG Presentation Attributes - SVG: Scalable Vector Graphics
lows repositioning of the dominant-baseline relative to the dominant-baseline of the parent text content element. Value: auto|baseline|super|sub|<percentage>|<length>|inherit; Animatable: Yes clip Deprecated It defines what portion of an element is visible. Value: auto|<shape()>|inherit; Animatable: Yes clip-path It binds the element it is applied to with a given <clipPath> element. Value:
none|<FuncIRI>|inherit; Animatable: Yes clip-rule It indicates how to determine what side of a path is inside a shape in order to know how a <clipPath> should clip its target. Value:
nonezero|evenodd|inherit; Animatable: Yes color It provides a potential indirect value (currentcolor) for the fill, stroke, stop-color, flood-color and lighting-color presentation attributes. Value: <color>|inherit;...
...pacity It specifies the opacity of the color or the content the current object is filled with. Value: <number>|<percentage>; Animatable: Yes fill-rule It indicates how to determine what side of a path is inside a shape. Value: nonzero|evenodd|inherit; Animatable: Yes filter It defines the filter effects defined by the <filter> element that shall be applied to its element. Value: <FuncIRI>|
none|inherit; Animatable: Yes flood-color It indicates what color to use to flood the current filter primitive subregion defined through the <feFlood> or <feDropShadow> element. Value: <color>; Animatable: Yes flood-opacity It indicates the opacity value to use across the current filter primitive subregion defined through the <feFlood> or <feDropShadow> element. Value: <number>|<percentage>; Ani...
...es font-family It indicates which font family will be used to render the text of the element. Value: see css font-family; Animatable: Yes font-size It specifies the size of the font. Value: see css font-size; Animatable: Yes font-size-adjust It specifies that the font size should be chosen based on the height of lowercase letters rather than the height of capital letters. Value: <number>|
none|inherit; Animatable: Yes font-stretch It selects a normal, condensed, or expanded face from a font. Value: see css font-stretch; Animatable: Yes font-style It specifies whether a font should be styled with a normal, italic, or oblique face from its font-family. Value: normal|italic|oblique; Animatable: Yes font-variant It specifies whether a font should be used with some of their variatio...
...And 4 more matches
treecol - Archive of obsolete content
default. If targeting Firefox for Mac OS X, be sure to use these styles but include your own checkbox image. However, chrome://global/skin/checkbox/cbox-check.gif is available in SeaMonkey on Mac OS X.. treechildren::-moz-tree-checkbox { /* unchecked checkbox treecells. This style MUST come before treechildren::-moz-tree-checkbox(checked) otherwise it won't take effect. */ list-style-image:
none; } treechildren::-moz-tree-checkbox(checked){ /* css for checked cells. cbox-check.gif isn't available in Firefox 1, 2, and 3 on Mac OS X, so you should specify a URL to an image in your extension or elsewhere. */ list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif"); } For example: Create a CSS file. Copy and paste the code above and link the CSS file to your XUL ...
...n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...And 3 more matches
Client-side form validation - Learn web development
Note: You can find this example live on GitHub as full-example.html (see also the source code.) Validating forms using JavaScript You must use JavaScript if you want to take control over the look and feel of nati...
...bubbles, and allows us to instead display the custom error messages in the DOM in some manner of our own choosing. ...
...us to instead display the custom error messages in the DOM in some manner of our own choosing. ...
...And 3 more matches
Example 1 - Learn web development
<li class="option">Cherry</li> <li class="option">Lemon</li> <li class="option">Banana</li> <li class="option">Strawberry</li> <li class="option">Apple</li> </ul> </div> CSS /* --------------- */ /* Required Styles */ /* --------------- */ .select { position: relative; display : inline-block; } .select.active, .select:focus { box-shadow: 0 0 3px 1px #227755; outline:
none; } .select .optList { position: absolute; top : 100%; left : 0; } .select .optList.hidden { max-height: 0; visibility: hidden; } /* ------------ */ /* Fancy Styles */ /* ------------ */ .select { font-size : 0.625em; /* 10px */ font-family : Verdana, Arial, sans-serif; -moz-box-sizing : border-box; box-sizing : border-box; padding : 0.1em 2.5em 0.2em 0.5em; /* 1...
... content : "?"; position: absolute; z-index : 1; height : 100%; width : 2em; /* 20px */ top : 0; right : 0; padding-top : .1em; -moz-box-sizing : border-box; box-sizing : border-box; text-align : center; border-left : .2em solid #000; border-radius: 0 .1em .1em 0; background-color : #000; color : #FFF; } .select .optList { z-index : 2; list-style:
none; margin : 0; padding: 0; background: #f0f0f0; border: .2em solid #000; border-top-width : .1em; border-radius: 0 0 .4em .4em; box-shadow: 0 .2em .4em rgba(0,0,0,.4); box-sizing : border-box; min-width : 100%; max-height: 10em; /* 100px */ overflow-y: auto; overflow-x: hidden; } .select .option { padding: .2em .3em; } .select .highlight { background: #000; color...
...<li class="option">Cherry</li> <li class="option">Lemon</li> <li class="option">Banana</li> <li class="option">Strawberry</li> <li class="option">Apple</li> </ul> </div> CSS /* --------------- */ /* Required Styles */ /* --------------- */ .select { position: relative; display : inline-block; } .select.active, .select:focus { box-shadow: 0 0 3px 1px #227755; outline:
none; } .select .optList { position: absolute; top : 100%; left : 0; } .select .optList.hidden { max-height: 0; visibility: hidden; } /* ------------ */ /* Fancy Styles */ /* ------------ */ .select { font-size : 0.625em; /* 10px */ font-family : Verdana, Arial, sans-serif; box-sizing : border-box; padding : 0.1em 2.5em 0.2em 0.5em; /* 1px 25px 2px 5px */ width : 1...
...And 3 more matches
Cooperative asynchronous JavaScript: Timeouts and intervals - Learn web development
} rotateCount = (timestamp - startTime) / 3; if(rotateCount > 359) { rotateCount %= 360; } spinner.style.transform = 'rotate(' + rotateCount + 'deg)'; rAF = requestAnimationFrame(draw); } Now it is time to set up the initial state of the app when the page first loads. ...
...startTime) / 3; if(rotateCount > 359) { rotateCount %= 360; } spinner.style.transform = 'rotate(' + rotateCount + 'deg)'; rAF = requestAnimationFrame(draw); } Now it is time to set up the initial state of the app when the page first loads. Add the following two lines, which simply hide the results paragraph and spinner container using display:
none;. ...
...{ rotateCount %= 360; } spinner.style.transform = 'rotate(' + rotateCount + 'deg)'; rAF = requestAnimationFrame(draw); } Now it is time to set up the initial state of the app when the page first loads. Add the following two lines, which simply hide the results paragraph and spinner container using display:
none;. ...
...And 3 more matches
Download
cancel() method was called but the cancellation process has not finished yet, this method waits for the cancellation to finish, then restarts the download immediately. Note: If you need to start a new download from the same source, rather than restarting a failed or canceled one, you should create a separate Download object with the same source as the current one. Promise start(); Parameters
None. Promise resolves to undefined when the download has finished successfully and you can access the target file. Promise can be rejected with DownloadError if the download failed. launch() Opens or executes the target file after download has completed. If the launcherPath property is null, the file will be opened with the default application for the MIME type specified in the contentType pro...
...d. If the launcherPath property is null, the file will be opened with the default application for the MIME type specified in the contentType property. If the content type is not available, an attempt will be made to obtain it from the extension of the target file. If the launcherPath property is set, the file will be opened with the specified custom application. Promise launch(); Parameters
None. Promise resolves to undefined when the instruction to launch the file has been successfully given to the operating system. Note that the OS might still take a while until the file is actually launched. showContainingDirectory() Shows the folder containing the target file, or where the target file will be saved. This may be called at any time, even if the download failed or is currently in pr...
...launch the file has been successfully given to the operating system. Note that the OS might still take a while until the file is actually launched. showContainingDirectory() Shows the folder containing the target file, or where the target file will be saved. This may be called at any time, even if the download failed or is currently in progress. Promise showContainingDirectory(); Parameters
None. Promise resolves to undefined when the instruction to open the containing folder has been successfully given to the operating system. Note that the OS might still take a while until the folder is actually opened. cancel() Cancels the download. The cancellation request is asynchronous. Until the cancellation process finishes, temporary files or part files may still exist even if they are exp...
...And 3 more matches
Index
reate certificate, key, and module security database files. The tasks associated with security module database management are part of a process that typically also involves managing key databases and certificate databases. Options Running modutil always requires one (and only one) option to specify the type of module operation. Each option may take arguments, anywhere from
none to multiple arguments. Options -add modulename Add the named PKCS #11 module to the database. Use this option with the -libfile, -ciphers, and -mechanisms arguments. -changepw tokenname Change the password on the named token. If the token has not been initialized, this option initializes the password. Use this option with the -p...
... token it is loaded on. ...
... Status: Enabled Token Name: NSS Generic Crypto Services Token Manufacturer: Mozilla Foundation Token Model: NSS 3 Token Serial Number: 0000000000000000 Token Version: 4.0 Token Firmware Version: 0.0 Access: Write Protected Login Type: Public (no login required) User Pin: NOT Initialized Slot: NSS User Private Key and Certificate Services Slot Mechanism Flags:
None Manufacturer: Mozilla Foundation Type: Software Version Number: 3.11 Firmware Version: 0.0 Status: Enabled Token Name: NSS Certificate DB Token Manufacturer: Mozilla Foundation Token Model: NSS 3 Token Serial Number: 0000000000000000 Token Version: 8.3 Token Firmware Version: 0.0 Access: NOT Write Protected Login Type: Login required User Pin: Initialized...
...And 3 more matches
nsIAppStartup
application will be restarted with the same profile and an empty command line. eRestartNotSameProfile 0x100 Restart the application after quitting. The application will be restarted with an empty command line and the normal profile selection process will take place on startup. Methods createHiddenWindow() Create the hidden window. void createHiddenWindow(); Parameters
None. createStartupState() Obsolete since Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0) Creates the initial state of the application by launching tasks specfied by "general.startup.*" prefs. Note: SIZE_TO_CONTENT may be used for width or height. boolean createStartupState( in long aWindowWidth, in long aWindowHeight ); Parameters aWindowWidth The w...
...ong aWindowWidth, in long aWindowHeight ); Parameters aWindowWidth The width to make the initial window(s) opened. aWindowHeight The height to make the initial window(s) opened. Return value TRUE if a window was opened. destroyHiddenWindow() Destroys the hidden window. This will have no effect if the hidden window has not yet been created. void destroyHiddenWindow(); Parameters
None. doProfileStartup() Obsolete since Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0) Starts up the profile manager with the given arguments. void doProfileStartup( in nsICmdLineService aCmdLineService, in boolean canInteract ); Parameters aCmdLineService The arguments given to the program. canInteract If FALSE and UI is needed, will fail. ...
...CmdLineService ); Parameters aCmdLineService The command line from which startup args can be read. enterLastWindowClosingSurvivalArea() Serves for situations when all application windows will be closed but we don't want to take this as a signal to quit the application. Bracket the code where the last window could close with these. void enterLastWindowClosingSurvivalArea(); Parameters
None. exitLastWindowClosingSurvivalArea() This method serves for situations when all application windows will be closed but we don't want to take this as a signal to quit the application. Bracket the code where the last window could close with these. void exitLastWindowClosingSurvivalArea(); Parameters
None. getStartupInfo() Returns a JavaScript object with events from startup and the timestam...
...And 3 more matches
nsIDOMEvent
ormation the value of timeStamp may be not available for all events. When not available, a value of 0 will be returned. Examples of epoch time are the time of the system start or 0:0:0 UTC 1st January 1970. Read only. type DOMString The name of the event (case-insensitive). The name must be an XML name. Read only. Constants Constant Value Description
NONE 0 The event is not being dispatched. CAPTURING_PHASE 1 The current event phase is the capturing phase. AT_TARGET 2 The event is currently being evaluated at the target EventTarget. BUBBLING_PHASE 3 The current event phase is the bubbling phase. MOUSEDOWN 0x00000001 MOUSEUP 0x00000002 MOUSEOVER 0x000000...
... CONTROL_MASK 0x00000002 SHIFT_MASK 0x00000004 META_MASK 0x00000008 Methods Violates the XPCOM interface guidelines Deserialize() boolean Deserialize( in ConstIPCMessagePtr aMsg, out voidPtr aIter ); Parameters aMsg aIter Return value Native code only!duplicatePrivateData void duplicatePrivateData(); Parameters
None. Violates the XPCOM interface guidelines GetInternalNSEvent() nsEventPtr GetInternalNSEvent(); Parameters
None. Return value getPreventDefault() Note: Use the defaultPrevented attribute instead. This method will be removed in future releases, see bug 691151. boolean getPreventDefault(); Parameters
None. Return value initEvent() This method is used to initialize the v...
...rd parties adding their own events use their own prefix to avoid confusion and lessen the probability of conflicts with other new events. canBubbleArg Specifies whether or not the event can bubble. cancelableArg Specifies whether or not the event's default action can be prevented. Violates the XPCOM interface guidelines IsDispatchStopped() boolean IsDispatchStopped(); Parameters
None. Return value preventBubble() Note: Use stopPropagation() instead. void preventBubble(); Parameters
None. preventCapture() Note: Use stopPropagation() instead. void preventCapture(); Parameters
None. preventDefault() If an event is cancelable, the preventDefault method is used to signify that the event is to be canceled, meaning any default action normally taken by the implem...
...And 3 more matches
nsIMsgIncomingServer
gFolder Read only. searchScope nsMsgSearchScopeValue Read only. serverBusy boolean serverRequiresPasswordForBiff boolean Read only. serverURI ACString Read only. socketType long spamFilterPlugin nsIMsgFilterPlugin Read only. spamSettings nsISpamSettings spam settings. Read only. supportsDiskSpace boolean Read only. type ACString protocol type, that is "pop3", "imap", "nntp", "
none", and so on. used to construct URLs. username ACString userid to log into the server. useSecAuth boolean valid boolean Constants Constant Value Description defaultSocket 0 tryTLS 1 alwaysUseTLS 2 useSSL 3 keepDups 0 deleteDups 1 moveDupsToTrash 2 markDupsRead 3 Methods clearAllValues() this is really dangerous. this destroys all pref values do not call t...
...to the server. useSecAuth boolean valid boolean Constants Constant Value Description defaultSocket 0 tryTLS 1 alwaysUseTLS 2 useSSL 3 keepDups 0 deleteDups 1 moveDupsToTrash 2 markDupsRead 3 Methods clearAllValues() this is really dangerous. this destroys all pref values do not call this unless you know what you're doing! void clearAllValues(); Parameters
None. Exceptions thrown Missing Exception Missing Description clearTemporaryReturnReceiptsFilter() If Sent folder pref is changed we need to clear the temporary return receipt filter so that the new return receipt filter can be recreated (by ConfigureTemporaryReturnReceiptsFilter()). void clearTemporaryReturnReceiptsFilter(); Parameters
None. Exceptions thrown Missing Exception Missing Description...
...raryReturnReceiptsFilter() If Sent folder pref is changed we need to clear the temporary return receipt filter so that the new return receipt filter can be recreated (by ConfigureTemporaryReturnReceiptsFilter()). void clearTemporaryReturnReceiptsFilter(); Parameters
None. Exceptions thrown Missing Exception Missing Description closeCachedConnections() void closeCachedConnections(); Parameters
None. Exceptions thrown Missing Exception Missing Description configureTemporaryFilters() for mail, this configures both the MDN filter, and the server-side spam filter filters, if needed. If we have set up to filter return receipts into our Sent folder, this utility method creates a filter to do that, and adds it to our filterList if it doesn't exist. If it does, it will enable it. this is not used...
...And 3 more matches
nsISHEntry
hell restores a saved presentation. Append a child shell to the end of our list. void addChildShell( in nsIDocShellTreeItem shell ); Parameters shell childShellAt() nsIDocShellTreeItem childShellAt( in long index ); Parameters index The child shell at index; null if index is out of bounds. Return value clearChildShells() Clear the child shell list. void clearChildShells(); Parameters
None. clone() nsISHEntry clone(); Parameters
None. Return value Native code only!create Additional ways to create an entry. void create( in nsIURI URI, in AString title, in nsIInputStream inputStream, in nsILayoutHistoryState layoutHistoryState, in nsISupports cacheKey, in ACString contentType, in nsISupports owner, in unsigned long long docshellID, in boolean dynamicCreation ); P...
...n dynamicCreation ); Parameters URI title inputStream layoutHistoryState cacheKey contentType owner docshellID dynamicCreation Violates the XPCOM interface guidelines forgetEditorData() Gets the owning pointer to the editor data assosicated with this shistory entry. This forgets its pointer, so free it when you're done. nsDocShellEditorDataPtr forgetEditorData(); Parameters
None. Return value getAnyContentViewer() Return any content viewer present in or below this node in the nsSHEntry tree. This will differ from contentViewer in the case where a child nsSHEntry has the content viewer for this tree. nsIContentViewer getAnyContentViewer( out nsISHEntry ownerEntry ); Parameters ownerEntry Return value getScrollPosition() void getScrollPosition( out long x, out ...
... long y ); Parameters x y Native code only!getViewerBounds Saved position and dimensions of the content viewer; we must adjust the root view's widget accordingly if this has changed when the presentation is restored. void getViewerBounds( in nsIntRect bounds ); Parameters bounds Violates the XPCOM interface guidelines hasDetachedEditor() boolean hasDetachedEditor(); Parameters
None. Return value true if this shistory entry is storing a detached editor. hasDynamicallyAddedChild() boolean hasDynamicallyAddedChild(); Parameters
None. Return value true if any of the child entries returns true when isDynamicallyAdded() is called on it. isDynamicallyAdded() Returns true if the related docshell was added because of dynamic addition of an iframe/frame. boolean isDynamicallyAdded()...
...And 3 more matches
nsITransactionManager
r to add. beginBatch() Turns on the transaction manager's batch mode, forcing all transactions executed by the transaction manager's doTransaction() method to be aggregated together until EndBatch() is called. This mode allows an application to execute and group together several independent transactions so they can be undone with a single call to undoTransaction(). void beginBatch(); Parameters
None. clear() Clears the undo and redo stacks. void clear(); Parameters
None. doTransaction() Calls a transaction's nsITransaction.doTransaction() method, then pushes it on the undo stack. This method calls the transaction's nsITransaction.AddRef() method. The transaction's nsITransaction.Release() method will be called when the undo or redo stack is pruned or when the transaction manager is destroye...
...lls the transaction's nsITransaction.AddRef() method. The transaction's nsITransaction.Release() method will be called when the undo or redo stack is pruned or when the transaction manager is destroyed. void doTransaction( in nsITransaction aTransaction ); Parameters aTransaction The nsITransaction to do. endBatch() Turns off the transaction manager's batch mode. void endBatch(); Parameters
None. getRedoList() Returns the list of nsITransaction on the redo stack. Note that the transaction at the top of the redo stack will actually be at the index n-1 in the list, where n is the number of items in the list. nsITransactionList getRedoList(); Parameters
None. Return value A list of nsITransaction on the redo stack. getUndoList() Returns the list of nsITransaction on the undo stack. Note th...
...e number of items in the list. nsITransactionList getRedoList(); Parameters
None. Return value A list of nsITransaction on the redo stack. getUndoList() Returns the list of nsITransaction on the undo stack. Note that the transaction at the top of the undo stack will actually be at the index n-1 in the list, where n is the number of items in the list. nsITransactionList getUndoList(); Parameters
None. Return value A list of nsITransaction on the undo stack. peekRedoStack() Returns an AddRef'd pointer to the nsITransaction at the top of the redo stack. Callers should be aware that this method could return a null in some implementations if there is a batch at the top of the redo stack. nsITransaction peekRedoStack(); Parameters
None. Return value An AddRef'd pointer to the nsITransaction at th...
...And 3 more matches
EffectTiming.fill - Web APIs
The Web Animations API's EffectTiming dictionary's fill property specifies a fill mode, which defines how the element to which the animation is applied should look when the animation sequence is not actively running, such as before the time specified by iterationStart or after animation's end time. For example, setting fill to "
none" means the animation's effects are not applied to the element if the current time is outside the range of times during which the animation is running, while "forwards" ensures that once the animation's end time has been passed, the element will continue to be drawn in the state it was in at its last rendered frame. Note that authors are discouraged from using fill modes to persist the effect of an animation indefinitely. See the alternatives to fill mo...
...animation indefinitely. See the alternatives to fill modes section below for approaches that are simpler and more performant. Element.animate(), and KeyframeEffect() accept an object of timing properties including fill. The value of fill corresponds directly to fill in EffectTiming objects returned by getTiming() in AnimationEffect and KeyframeEffect. Syntax var timingProperties = { fill: "
none" | "forwards" | "backwards" | "both" | "auto" } Value A DOMString indicating the fill type to use in order to properly render an affected element when outside the animation's active interval (that is, when it's not actively animating). The default is "auto". "
none" The animation's effects are only visible while the animation is iterating or its playhead is positioned over an iteration. The...
...wards and backwards: The animation's effects should be reflected by the element(s) state prior to playing and retained after the animation has completed playing, in spite of and during any endDelay, delay and/or pending or finished playState. "auto" If the animation effect the fill mode is being applied to is a keyframe effect (KeyframeEffect or KeyframeEffectReadOnly), "auto" is equivalent to "
none". Otherwise, the result is "both". Examples Here are a few examples. Fill mode:
none HTML content The HTML is pretty simple. We have a <div> named "main" which is a container for the element we'll be animating, which is a <div> with the ID "box". Below that, another <div> serves as a button that will trigger the animation to begin. <div class="main"> <div id="box"> <div id="text">Loo...
...And 3 more matches
HTMLInputElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...And 3 more matches
HTMLMediaElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...And 3 more matches
HTMLTextAreaElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...And 3 more matches
SVGCircleElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 3 more matches
SVGEllipseElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 3 more matches
SVGLineElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 3 more matches
SVGPathElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 3 more matches
SVGPolygonElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 3 more matches
SVGPolylineElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 3 more matches
SVGRectElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 3 more matches
SVGTextPathElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 3 more matches
SVGTextPositioningElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 3 more matches
ARIA: cell role - Accessibility
w of the first header would likely have aria-rowindex="1" set, and cells in row 47 would have aria-rowindex="47", if aria-rowindex were needed due to not all rows being in the DOM. If the rows that are visible are contiguous, and there are no cells with a colspan or rowspan greater than one, this property can be added to the parent rows instead of all the rows' cells. Keyboard interactions
None Required JavaScript features The first rule of ARIA use is if you can use a native feature with the semantics and behavior you require already built in, instead of repurposing an element and adding an ARIA role, state or property to make it accessible, then do so. Employ the HTML <td> element instead of the ARIA role of cell whenever possible. Examples <div role="table" aria-label="Semanti...
... so. Employ the HTML <td> element instead of the ARIA role of cell whenever possible. ...
... Examples <div role="table" aria-label="Semantic Elements" aria-describedby="semantic_elements_table_desc" aria-rowcount="81"> <div id="semantic_elements_table_desc">Semantic Elements to use instead of ARIA's roles</div> <div role="rowgroup"> <div role="row"> <span role="columnheader" aria-sort="
none" aria-rowindex="1">ARIA Role</span> <span role="columnheader" aria-sort="
none" aria-rowindex="1">Semantic Element</span> </div> </div> <div role="rowgroup"> <div role="row"> <span role="cell" aria-rowindex="11">header</span> <span role="cell" aria-rowindex="11">h1</span> </div> <div role="row"> <span role="cell" aria-rowindex="16">header</span> <span role="cell" aria-rowindex="16">h6</span> </div> <div role="row"> ...
...And 3 more matches
ARIA: table role - Accessibility
ructure containing data arranged in rows and columns, similar to the native <table> HTML element. ...
...he native <table> HTML element. ...
...unt="-1". aria-rowcount attribute This attribute is only required if the rows are not present in the DOM all the time, such as scrollable tables that reuse rows to minimize the number of DOM nodes. It provides an explicit indication of the number of rows in the full table. Set the value to the total number of rows in the full table. If unknown, set aria-colcount="-1". Keyboard interactions
None Required JavaScript features
None. For sortable columns, see the columnheader aria role. The first rule of ARIA use is if you can use a native feature with the semantics and behavior you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so. Employ the HTML <table> element instead of the ARIA role of table ...
...And 3 more matches
Border-image generator - CSS: Cascading Style Sheets
r hasLayout) */ } /* GRID COLUMN SETUP * ========================================================================== */ .col { display: block; float:left; margin: 1% 0 1% 1.6%; } .col:first-child { margin-left: 0; } /* all browsers except IE6 and lower */ /* * UI Component */ .ui-input-slider { height: 20px; font-family: "Segoe UI", Arial, Helvetica, sans-serif; -moz-user-select:
none; user-select:
none; } .ui-input-slider * { float: left; height: 100%; line-height: 100%; } /* Input Slider */ .ui-input-slider > input { margin: 0; padding: 0; width: 50px; text-align: center; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } .ui-input-slider-info { width: 90px; padding: 0px 10px 0px 0px; text-align: right; text-transform: ...
...dth: 120px; font-family: "Segoe UI", Arial, Helvetica, sans-serif; font-size: 12px; background-image: url("https://mdn.mozillademos.org/files/6037/drop_arrow_icon.png"); background-position: right center; background-repeat: no-repeat; background-color: #359740; position: relative; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -moz-user-select:
none; -webkit-user-select:
none; -ms-user-select:
none; user-select:
none; } .ui-dropdown:hover { cursor: pointer; background-color: #208B20; } /* Dropdown Select Button */ .ui-dropdown-select { height: inherit; padding: 0 0.75em; color: #FFF; line-height: 2em; } /* Dropdown List */ .ui-dropdown-list { width: 100%; height: 150px; max-height: 150px; margin: 0; padding: 0 0.3em; bor...
...cursor: pointer; } /*************************************************************************************/ /*************************************************************************************/ /* * UI Button */ /* Checkbox */ .ui-checkbox { text-align: center; font-size: 16px; font-family: "Segoe UI", Arial, Helvetica, sans-serif; line-height: 1.5em; color: #FFF; -moz-user-select:
none; -webkit-user-select:
none; -ms-user-select:
none; user-select:
none; } .ui-checkbox > input { display:
none; } .ui-checkbox > label { font-size: 12px; padding: 0.333em 1.666em 0.5em; height: 1em; line-height: 1em; background-color: #888; background-image: url("https://mdn.mozillademos.org/files/5683/disabled.png"); background-position: center center; background-repeat: no-repeat;...
...And 3 more matches
Realizing common layouts using CSS Grid Layout - CSS: Cascading Style Sheets
bar, and a block into which I am intending to place advertising. ...
...ith the same markup as used for the grid template areas example. ...
...I want them never to become smaller than 200 pixels, and then to share any available remaining space equally - so we always get equal width column tracks. We ach...
...And 3 more matches
border-top-style - CSS: Cascading Style Sheets
tyle of an element's top border. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. The specification doesn't define how borders of different styles connect in the corners. ...
...-style: solid; border-top-style: double; border-top-style: groove; border-top-style: ridge; border-top-style: inset; border-top-style: outset; /* Global values */ border-top-style: inherit; border-top-style: initial; border-top-style: unset; The border-top-style property is specified as a single keyword chosen from those available for the border-style property. ...
...top-style: inherit; border-top-style: initial; border-top-style: unset; The border-top-style property is specified as a single keyword chosen from those available for the border-style property. Formal definition Initial value
noneApplies toall elements. ...
...And 3 more matches
display - CSS: Cascading Style Sheets
t "unusual elements" -- elements that aren't rendered purely by CSS box concepts such as replaced elements. See Appendix B: Effects of display: contents on Unusual Elements for more details. Due to a bug in browsers this will currently remove the element from the accessibility tree -- screen readers will not look at what's inside. See the Accessibility concerns section below for more details.
none Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off. To have an element take up the space that it would normally take, but without actually rendering anything, use the visibility property instead. Legacy <display-legacy> CSS 2 used a single-keyword ...
...This will cause the element and all its descendant elements to no longer be announced by screen reading technology. If you want to visually hide the element, a more accessible alternative is to use a combination of properties to remove it visually from the screen but keep it parseable by assistive technology...
...This will cause the element and all its descendant elements to no longer be announced by screen reading technology. If you want to visually hide the element, a more accessible alternative is to use a combination of properties to remove it visually from the screen but keep it parseable by assistive technology such as screen readers. displ...
...And 3 more matches
grid - CSS: Cascading Style Sheets
roperties you don't specify are set to their initial value, as normal for shorthands. Also, the gutter properties are NOT reset by this shorthand. ...
...l values */ grid: inherit; grid: initial; grid: unset; Values <'grid-template'> Defines the grid-template including grid-template-columns, grid-template-rows and grid-template-areas. <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? Sets up an auto-flow by setting the row tracks explicitly via the grid-template-rows property (and the grid-template-columns property to
none) and specifying how to auto-repeat the column tracks via grid-auto-columns (and setting grid-auto-rows to auto). grid-auto-flow is also set to column accordingly, with dense if it's specified. All other grid sub-properties are reset to their initial values. [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'> Sets up an auto-flow by setting the column tracks explicitly via...
...(and setting grid-auto-rows to auto). grid-auto-flow is also set to column accordingly, with dense if it's specified. All other grid sub-properties are reset to their initial values. ...
...And 3 more matches
list-style - CSS: Cascading Style Sheets
If list-style-type and list-style-image are both set, then list-style-type is used as a fallback if the image is unavailable. Values list-style-type See list-style-type. list-style-image See list-style-image. list-style-posi...
...e: inherit; list-style: initial; list-style: unset; The list-style property is specified as one, two, or three keywords in any order. If list-style-type and list-style-image are both set, then list-style-type is used as a fallback if the image is unavailable. Values list-style-type See list-style-type. list-style-image See list-style-image. list-style-position See list-style-position.
none No list style is used. Accessibility concerns Safari has an issue whereby unordered lists with a list-style value of
none applied to them will not be recognized as a list in the accessibility tree. To address this, add a zero-width space as pseudo-content before each list item to ensure the list is recognized properly. This ensures the design is unaffected by the bug fix and that list items a...
... Safari has an issue whereby unordered lists with a list-style value of
none applied to them will not be recognized as a list in the accessibility tree. To address this, add a zero-width space as pseudo-content before each list item to ensure the list is recognized properly. This ensures the design is unaffected by the bug fix and that list items are not improperly described. ...
...And 3 more matches
max-height - CSS: Cascading Style Sheets
is interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. max-height overrides height, but min-height overrides max-height. Syntax /* <length> value */ max-height: 3.5em; /* <percentage> value */ max-height: 75%; /* Keyword values */ max-height:
none; max-height: max-content; max-height: min-content; max-height: fit-content(20em); /* Global values */ max-height: inherit; max-height: initial; max-height: unset; Values <length> Defines the max-height as an absolute value. <percentage> Defines the max-height as a percentage of the containing block's height. auto The browser will calculate and select a max-height for the specified elem...
...height: max-content; max-height: min-content; max-height: fit-content(20em); /* Global values */ max-height: inherit; max-height: initial; max-height: unset; Values <length> Defines the max-height as an absolute value. <percentage> Defines the max-height as a percentage of the containing block's height. auto The browser will calculate and select a max-height for the specified element.
none No limit on the size of the box. max-content The intrinsic preferred max-height. min-content The intrinsic minimum max-height. fit-content(<length-percentage>) Uses the fit-content formula with the available space replaced by the specified argument, i.e. min(max-content, max(min-content, argument)). Accessibility concerns Ensure that elements set with a max-height are not truncated and...
...e specified argument, i.e. min(max-content, max(min-content, argument)). Accessibility concerns Ensure that elements set with a max-height are not truncated and/or do not obscure other content when the page is zoomed to increase text size. ...
...And 3 more matches
object-fit - CSS: Cascading Style Sheets
io while filling the element's entire content box. If the object's aspect ratio does not match the aspect ratio of its box, then the object will be clipped to fit. fill The replaced content is sized to fill the element's content box. The entire object will completely fill the box. If the object's aspect ratio does not match the aspect ratio of its box, then the object will be stretched to fit. ...
...s not match the aspect ratio of its box, then the object will be clipped to fit. fill The replaced content is sized to fill the element's content box. The entire object will completely fill the box. If the object's aspect ratio does not match the aspect ratio of its box, then the object will be stretched to fit.
none The replaced content is not resized. ...
...ratio of its box, then the object will be stretched to fit.
none The replaced content is not resized. scale-down The content is sized as if
none or contain were specified, whichever would result in a smaller concrete object size. ...
...And 3 more matches
shape-outside - CSS: Cascading Style Sheets
ide provides a way to customize this wrapping, making it possible to wrap text around complex objects rather than simple boxes. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
...*/ shape-outside: linear-gradient(45deg, rgba(255, 255, 255, 0) 150px, red 150px); /* Global values */ shape-outside: initial; shape-outside: inherit; shape-outside: unset; The shape-outside property is specified using the values from the list below, which define the float area for float elements. The float area determines the shape around which inline content (float elements) wrap. Values
none The float area is unaffected. Inline content wraps around the element's margin box, like usual. <shape-box> The float area is computed according to the shape of a float element's edges (as defined by the CSS box model). This can be margin-box, border-box, padding-box, or content-box. The shape includes any curvature created by the border-radius property (behavior which is similar to background...
...gents must use the potentially CORS-enabled fetch method defined by the HTML5 specification for all URLs in a shape-outside value. When fetching, user agents must use "Anonymous" mode, set the referrer source to the stylesheet's URL, and set the origin to the URL of the containing document. If this results in network errors such that there is no valid fallback image, the effect is as if the value
none had been specified. Interpolation When animating between one <basic-shape> and a second, the rules below are applied. The values in the shape functions interpolate as a simple list. The list values interpolate as <length>, <percentage>, or calc() where possible. If list values are not one of those types but are identical (such as finding nonzero in the same list position in both lists), thos...
...And 3 more matches
display - SVG: Scalable Vector Graphics
The display attribute lets you control the rendering of graphical or container elements. A value of display="
none" indicates that the given element and its children will not be rendered. Any value other than
none or inherit indicates that the given element will be rendered by the browser. When applied to a container element, setting display to
none causes the container and all of its children to be invisible; thus, it acts on groups of elements as a group. This means that any child of an element with display="
none" will never be rendered even if the child has a value for display other than
none. When the display attribute is set to
none, then the given element does not become part of the rendering tree. It has implications for the <tspan>, <tref>, and <altGlyph> elements, event processing,...
...ement with display="
none" will never be rendered even if the child has a value for display other than
none. When the display attribute is set to
none, then the given element does not become part of the rendering tree. It has implications for the <tspan>, <tref>, and <altGlyph> elements, event processing, for bounding box calculations and for calculation of clipping paths: If display is set to
none on a <tspan>, <tref>, or <altGlyph> element, then the text string is ignored for the purposes of text layout. Regarding events, if display is set to
none, the element receives no events. The geometry of a graphics element with display set to
none is not included in bounding box and clipping paths calculations. The display attribute only affects the direct rendering of a given element, whereas...
...text layout. Regarding events, if display is set to
none, the element receives no events. The geometry of a graphics element with display set to
none is not included in bounding box and clipping paths calculations. The display attribute only affects the direct rendering of a given element, whereas it does not prevent elements from being referenced by other elements. For example, setting it to
none on a <path> element will prevent that element from getting rendered directly onto the canvas, but the <path> element can still be referenced by a <textPath> element; furthermore, its geometry will be used in text-on-a-path processing even if the <path> has a display value of
none. This attribute also affects direct rendering into offscreen canvases, such as occurs with masks or clip paths. Thus,...
...And 3 more matches
pathLength - SVG: Scalable Vector Graphics
he length of the path. stroke-dasharray, for example, will assume the start of the path being 0 and the end point the value defined in the pathLength attribute. Seven elements are using this attribute: <circle>, <ellipse>, <line>, <path>, <polygon>, <polyline>, and <rect> html,body,svg { height:100% } <svg viewBox="0 0 100 60" xmlns="http://www.w3.org/2000/svg"> <style> path { fill:
none; stroke: black; stroke-width: 2; stroke-dasharray: 10; } </style> <!-- No pathLength, the real length of the path is used. In that case, 100 user units --> <path d="M 0,10 h100"/> <!-- compute everything like if the path length was 90 user units long --> <path d="M 0,20 h100" pathLength="90"/> <!-- compute everything like if the path length was 50 user units long --...
...- compute everything like if the path length was 30 user units long --> <path d="M 0,40 h100" pathLength="30"/> <!-- compute everything like if the path length was 10 user units long --> <path d="M 0,50 h100" pathLength="10"/> </svg> circle For <circle>, pathLength lets authors specify a total length for the circle, in user units. ...
...path d="M 0,50 h100" pathLength="10"/> </svg> circle For <circle>, pathLength lets authors specify a total length for the circle, in user units. Value <number> Default value
none Animatable Yes ellipse For <ellipse>, pathLength lets authors specify a total length for the ellipse, in user units. Value <number> Default value
none Animatable Yes line For <line>, pathLength lets authors specify a total length for the line, in user units. ...
...And 3 more matches
SVG and CSS - SVG: Scalable Vector Graphics
="0" r="200" gradientUnits="userSpaceOnUse"> <stop id="fade-stop-1" offset="33%"/> <stop id="fade-stop-2" offset="95%"/> </radialGradient> </defs> <text id="heading" x="-280" y="-270">SVG demonstration</text> <text id="caption" x="-280" y="-250">Move your mouse pointer over the flower.</text> <g id="flower"> <circle id="overlay" cx="0" cy="0" r="200" stroke="
none" fill="url(#fade)"/> <g id="outer-petals"> <g class="quadrant"> <g class="segment"> <path class="segment-fill" d="M0,0 v-200 a40,40 0 0,0 -62,10 z"/> <path class="segment-edge" d="M0,-200 a40,40 0 0,0 -62,10"/> </g> <g class="segment" transform="rotate(18)"> <path class="segment-fill" d="M0,0 v-200 a40,40 0 0,0 -62,10 z"/> ...
...-hover); } .segment-edge { fill: var(--segment-edge-fill); stroke: var(--segment-edge-stroke); stroke-width: var(--segment-edge-stroke-width); } .segment-edge:hover { stroke: var(--segment-edge-stroke-hover); } /* outer petals */ #outer-petals { opacity: .75; --segment-fill-fill: azure; --segment-fill-stroke: lightsteelblue; --segment-fill-stroke-width: 1; --segment-edge-fill:
none; --segment-edge-stroke: deepskyblue; --segment-edge-stroke-width: 3; --segment-fill-fill-hover: plum; --segment-fill-stroke-hover:
none; --segment-edge-stroke-hover: slateblue; } /* Non-standard way of styling elements referenced via <use> elements, supported by some older browsers */ #outer-petals .segment-fill { fill: azure; stroke: lightsteelblue; stroke-width: 1; } #outer-...
...skyblue; --segment-edge-stroke-width: 3; --segment-fill-fill-hover: plum; --segment-fill-stroke-hover:
none; --segment-edge-stroke-hover: slateblue; } /* Non-standard way of styling elements referenced via <use> elements, supported by some older browsers */ #outer-petals .segment-fill { fill: azure; stroke: lightsteelblue; stroke-width: 1; } #outer-petals .segment-edge { fill:
none; stroke: deepskyblue; stroke-width: 3; } #outer-petals .segment:hover > .segment-fill { fill: plum; stroke:
none; } #outer-petals .segment:hover > .segment-edge { stroke: slateblue; } /* inner petals */ #inner-petals { --segment-fill-fill: yellow; --segment-fill-stroke: yellow; --segment-fill-stroke-width: 1; --segment-edge-fill:
none; --segment-edge-stroke: yellowgreen; ...
...And 3 more matches
Microsummary XML grammar reference - Archive of obsolete content
ines how to transform pages into their microsummaries. <pages> (required) Identifies the set of pages that the generator is able to summarize. <update> (optional) Specifies how frequently Firefox should update the microsummaries. The <template> element The <template> element contains the XSLT stylesheet which transforms web pages into their microsummaries. Attributes:
None. Child Elements: <stylesheet> or <transform> (required) The XSLT stylesheet which performs the transformation. Per XSLT, you may specify the stylesheet child element using either the <stylesheet> or the <transform> tag, which are interchangeable. Note: Although the <template> element must be in the microsummaries namespace (http://www.mozilla.org/microsummaries/0.1), its <style...
...sform> tag, which are interchangeable. Note: Although the <template> element must be in the microsummaries namespace (http://www.mozilla.org/microsummaries/0.1), its <stylesheet>/<transform> child element must be in the XSLT namespace (http://www.w3.org/1999/XSL/Transform). The <pages> element The <pages> element identifies the set of pages that the generator is able to summarize. Attributes:
None. Child Elements: <include> (optional) A regular expression matching the URLs of pages that the generator is able to summarize. <exclude> (optional) A regular expression matching the URLs of pages that the generator is not able to summarize. The <pages> element can contain zero or more <include> and <exclude> child elements, each of which must contain a valid JavaScri...
.... It must not contain any other elements, and it does not have any attributes. When a generator is examined to determine whether or not it is able to summarize a page, the regular expressions provided by the child elements are evaluated against the URL of the page. A generator is considered to be able to summarize a page if at least one of the <include> expressions matches the URL of the page and
none of the <exclude> expressions match the URL of the page. The order in which child elements appear within the <pages> element is not significant. White space between the child element tags and the regular expressions they contain is also not significant; it is not considered part of the regular expression, and it does not affect evaluation of the expressions. The following example identifies a gene...
...And 2 more matches
menu - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. ...
...And 2 more matches
menuitem - Archive of obsolete content
to the id of a command element that is being observed by the element. closemenu Type: one of the values below Indicates if the menu closes when the menuitem is activated. auto This, the default value if the closemenu attribute is not specified, closes up the menu and all parent menus. single The menu the item is contained within is closed, but the parent menus remain open.
none No menus are closed. crop Type: one of the values below If the label of the element is too big to fit in its given space, the text will be cropped on the side specified by the crop attribute. An ellipsis will be used in place of the cropped text. If the box direction is reversed, the cropping is reversed. start The text will be ...
...n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...And 2 more matches
Overview of Mozilla embedding APIs
ity within the WebBrowser (such as a right-click on a hypertext link). Saving Documents Notification Interfaces which the embedding application should implement nsFile Public Interfaces nsISupports Base Component Object Model interface. This interface provides runtime interface discovery and a reference counted memory model fashioned after the Microsoft COM IUnknown interface. Interface status...
none Interface definition: nsISupportsUtils.h nsIInterfaceRequestor This Interface provides an interface discovery mechanism which does not imply aggregation. Interface status...
none Interface definition: nsIInterfaceRequestor.idl nsIWeakReference This interface is used to retern a proxy reference to a component. Interface status... being reviewed Interface definition: nsIWeakReference.idl nsISimp...
...nterface is used to retern a proxy reference to a component. Interface status... being reviewed Interface definition: nsIWeakReference.idl nsISimpleEmunerator This interface provides a simple enumeration abstraction. Interface status... being reviewed Interface definition: nsISimpleEnumerator.idl nsIServiceManager This interface allows access to global services within mozilla. Interface status... ...
... a simple enumeration abstraction. Interface status... being reviewed Interface definition: nsISimpleEnumerator.idl nsIServiceManager This interface allows access to global services within mozilla. Interface status...
none Interface definition: nsIServiceManager.h nsIShutdownListener This interface is used to receive notifications when the Service Manager is being shutdown. Interface status...
none Interface definition: nsIServiceManager.h nsIComponentManager This interface allows new instances of registered XPCOM components to be instantiated. Interface status...
none Interface definition: nsIComponentManager.idl nsIFactory This interface is used by the Component Manager to create new instances of a particular XPCOM component. Each component must provide a factory implementation for ...
...And 2 more matches
Dict.jsm
which to initialize the dictionary. Return value A newly created dictionary object implementing the methods described in this article. Methods copy() Returns a shallow copy of the dictionary; that is, a copy of the dictionary including the items immediately included within the dictionary; however, any objects referenced by those top-level objects are not copied. Dict copy(); Parameters
None. Return value A new dictionary object containing the same top-level items as the original dictionary on which the copy() method was called. del() Deletes a key/value pair from the dictionary, given a key. boolean del( String aKey ); Parameters aKey The key for the item to delete from the dictionary. Return value true if an entry was found and removed; false if no match was found. ...
...specified key exists in the dictionary. boolean has( String aKey ); Parameters aKey The key for which to determine existence in the dictionary. Return value true if the specified key is in the dictionary, otherwise false. listitems() Returns an array of the key/value pairs in the dictionary. Note: The order in which items are returned is arbitrary. Array listitems(); Parameters
None. Return value An array of the key/value pairs in the dictionary. listkeys() Returns an array of the keys in the dictionary. Note: The order in which items are returned is arbitrary. Array listkeys(); Parameters
None. Return value An array of the keys in the dictionary. listvalues() Returns an array of the values in the dictionary. Note: The order in which items are returned is arbit...
...e pairs in the dictionary. listkeys() Returns an array of the keys in the dictionary. Note: The order in which items are returned is arbitrary. Array listkeys(); Parameters
None. Return value An array of the keys in the dictionary. listvalues() Returns an array of the values in the dictionary. Note: The order in which items are returned is arbitrary. Array listvalues(); Parameters
None. Return value An array of the values in the dictionary. set() Sets the value for a given key, adding a new key to the dictionary if necessary. ...
...And 2 more matches
MathML Torture Test
ttps://udn.realityripple.com/samples/b8/da4a50ea34.png" width="30" height="17" alt="TeXbook, 16.2-16.3" /></td> <td> <math display="block"> <!-- <mrow> <msub><mi></mi><mn>2</mn></msub> <msub><mi>F</mi><mn>3</mn></msub> </mrow> --> <mrow> <mmultiscripts> <mi>F</mi> <mn>3</mn><
none/> <mprescripts/> <mn>2</mn><
none/> </mmultiscripts> </mrow> </math> </td></tr> <tr> <td>3</td> <td><img src="https://udn.realityripple.com/samples/8a/1d0e6e073c.png" width="58" height="47" alt="TeXbook, 17-17.1" /></td> <td> <math display="block"> <mrow> <mfrac> <mrow> <mi>x</mi> ...
... <mn>?</mn> </msup> </mrow> </math> </td></tr> <tr> <td>2</td> <td> <math dir="rtl" display="block"> <!-- <mrow> <msub><mi></mi><mn>?</mn></msub> <msub><mi>F</mi><mn>?</mn></msub> </mrow> --> <mrow> <mmultiscripts> <mi>F</mi> <mn>?</mn><
none/> <mprescripts/> <mn>?</mn><
none/> </mmultiscripts> </mrow> </math> </td> <td> <math dir="rtl" display="block"> <!-- <mrow> <msub><mi></mi><mn>?</mn></msub> <msub><mi>F</mi><mn>?</mn></msub> </mrow> --> <mrow> <mmultiscripts> <mi>F</mi...
...ts/> <mn>?</mn><
none/> </mmultiscripts> </mrow> </math> </td> <td> <math dir="rtl" display="block"> <!-- <mrow> <msub><mi></mi><mn>?</mn></msub> <msub><mi>F</mi><mn>?</mn></msub> </mrow> --> <mrow> <mmultiscripts> <mi>F</mi> <mn>?</mn><
none/> <mprescripts/> <mn>?</mn><
none/> </mmultiscripts> </mrow> </math> </td> <td> <math display="block"> <!-- <mrow> <msub><mi></mi><mn>?</mn></msub> <msub><mi>F</mi><mn>?</mn></msub> </mrow> --> <mrow> <mmultiscripts> <mi>F</mi> ...
...And 2 more matches
Animated PNG graphics
ancillary chunks. The first 'fcTL' chunk must contain sequence number 0, and the sequence numbers in the remaining 'fcTL' and 'fdAT' chunks must be in order, with no gaps or duplicates. The tables below illustrates the use of sequence numbers for images with more than one frame and more than one 'fdAT' chunk. ...
...ce number 0, and the sequence numbers in the remaining 'fcTL' and 'fdAT' chunks must be in order, with no gaps or duplicates. The tables below illustrates the use of sequence numbers for images with more than one frame and more than one 'fdAT' chunk. ...
... ... Decoders must treat out-of-order APNG chunks as an error. APNG-aware PNG editors should restore them to correct order using the sequence numbers. ...
...And 2 more matches
imgIRequest
otten from the channel the image was loaded from. Read only. imageStatus unsigned long Status flags of the STATUS_* variety. Read only. mimeType string Read only. URI nsIURI The URI the image load was started with. Note that this might not be the actual URI for the image (for example if HTTP redirects happened during the load). Read only. Constants Constant Value Description STATUS_
NONE 0x0 Nothing to report. STATUS_SIZE_AVAILABLE 0x1 We received enough image data from the network or filesystem that we know the width and height of the image, and have thus called SetSize() on the container. STATUS_LOAD_PARTIAL 0x2 Used internally by imgRequest to flag that a request is being cancelled as a result of a failure of a proxy holder and not an internal failure. At least I think t...
...it should either go away or become a private state flag within imgRequest. Do not rely on it. STATUS_LOAD_COMPLETE 0x4 The data has been fully loaded to memory, but not necessarily fully decoded. STATUS_ERROR 0x8 An error occurred loading the image. STATUS_FRAME_COMPLETE 0x10 The first frame has been completely decoded. STATUS_DECODE_COMPLETE 0x20 The whole image has been decoded. CORS_
NONE 1 CORS modes images can be loaded with. By default, all images are loaded with CORS_
NONE and cannot be used cross-origin in context like WebGL. If an HTML img element has the crossorigin attribute set, the imgIRequest will be validated for cross-origin usage with CORS, and, if successful, will have its CORS mode set to the relevant type. CORS_ANONYMOUS 2 CORS_USE_CREDENTIALS 3 Methods ...
.... aObserver will be notified synchronously (before the clone call returns) with all the notifications that have already been dispatched for this image load. imgIRequest clone( in imgIDecoderObserver aObserver ); Parameters aObserver Return value decrementAnimationConsumers() Tell the image it can forget about a request that the image animate. void decrementAnimationConsumers(); Parameters
None. getStaticRequest() If this request is for an animated image, the method creates a new request which contains the current frame of the image. Otherwise returns the same request. imgIRequest getStaticRequest(); Parameters
None. Return value incrementAnimationConsumers() Requests that the image animate (if it has an animation). void incrementAnimationConsumers(); Parameters
None. lockImage() Loc...
...And 2 more matches
mozIStorageConnection
) routine will be called once the connection is closed. Exceptions thrown NS_ERROR_UNEXPECTED Thrown if the method was called on a thread other than the one that opened the connection. beginTransaction() Starts a new transaction DEFERRED transaction. This is the same as calling mozIStorageConnection with mozIStorageConnection.TRANSACTION_DEFERRED. void beginTransaction(); Parameters
None. beginTransactionAs() This method starts a new transaction of the given transaction type. See the SQLite documentation on transactions for more details. In JavaScript, managing transactions can be difficult when you are using the same connection on different threads, or are using a combination of asynchronous and synchronous statement execution. The best way to deal with this is to only execut...
...ction. Exceptions thrown NS_ERROR_UNEXPECTED The connection is to a memory database. close() Closes a database connection. Before closing the connection, you need to finalize all statements created for the connection. Note: You must not call this method if any asynchronous statements have been executed on the connection. Instead, you should call asyncClose(). void close(); Parameters
None. Exceptions thrown NS_ERROR_UNEXPECTED Thrown if any statement has been executed asynchronously on the connection, or if the method was called on a thread other than the one that opened the connection. commitTransaction() This method commits the current transaction. void commitTransaction(); Parameters
None. createAggregateFunction() This method creates a new aggregate function tha...
... a transaction open on the connection, or have a transaction open on another connection that shares the same pager cache. This cached data will go away when the transaction is closed. This preload operation can dramatically speed up read operations because the data is loaded as one large block. Normally, pages are read in on demand, which can cause many disk seeks. void preload(); Parameters
None. removeFunction() Deletes a custom SQL function that was created with either mozIStorageConnection.createFunction() or mozIStorageConnection.createAggregateFunction(). void removeFunction( in AUTF8String aFunctionName ); Parameters aFunctionName The name of the function to remove. removeProgressHandler() Removes the progress handler that was registered with mozIStorageConnection.
...And 2 more matches
nsIBinaryInputStream
_is(aLength), retval] out PRUint8 aBytes); void readBytes(in PRUint32 aLength, [size_is(aLength), retval] out string aString); ACString readCString(); double readDouble(); float readFloat(); AString readString(); void setInputStream(in nsIInputStream aInputStream); Methods read8() Reads from the stream. PRUint8 read8(); Parameters
None. Return value An 8-bit integer read from the stream. read16() Reads from the stream. PRUint16 read16(); Parameters
None. Return value A 16-bit integer read from the stream. read32() Reads from the stream. PRUint32 read32(); Parameters
None. Return value A 32-bit integer read from the stream. read64() Reads from the stream. Warning: This method is available from JavaScript; ho...
... Return value A 64-bit integer read from the stream. readArrayBuffer() Read opaque bytes from the stream, storing the results in an ArrayBuffer. unsigned long readArrayBuffer(in PRUint32 aLength, in jsval aArrayBuffer); Parameters aLength The number of bytes that should be read. aArrayBuffer The arraybuffer in which to store the results. ...
...er. unsigned long readArrayBuffer(in PRUint32 aLength, in jsval aArrayBuffer); Parameters aLength The number of bytes that should be read. aArrayBuffer The arraybuffer in which to store the results. Return value The number of bytes actually read into aArrayBuffer. readBoolean() Reads an 8-bit value from the stream, treating it as a Boolean value. PRBool readBoolean(); Parameters
None. Return value A boolean value read from the stream. readByteArray() Reads an opaque byte array from the stream, storing the results as an array of PRUint8s. void readByteArray( in PRUint32 aLength, [array, size_is(aLength), retval] out PRUint8 aBytes ); Parameters aLength The number of bytes that must be read. aBytes An array containing the bytes read from the stream. Exception...
...And 2 more matches
nsISelectionPrivate
value is to be cached. See bug 35296 and bug 199412 Native code only! interlinePosition boolean type short Returns the type of the selection (see nsISelectionController for available constants). Read only. ...
... TABLESELECTION_COLUMN 3 TABLESELECTION_TABLE 4 TABLESELECTION_ALLCELLS 5 Methods addSelectionListener() void addSelectionListener( in nsISelectionListener newListener ); Parameters newListener endBatchChanges() Will resume User Interface updates after a previous call to startBatchChanges(). void endBatchChanges(); Parameters
None. Native code only!getCachedFrameOffset Returns cached value for nsTextFrame::GetPointFromOffset. void getCachedFrameOffset( in nsIFrame aFrame, in PRInt32 inOffset, in nsPointRef aPoint ); Parameters aFrame inOffset aPoint getEnumerator() nsIEnumerator getEnumerator(); Parameters
None. Return value Native code only!getFrameSelection nsFrameSelection getFrameS...
... Return value A reference to the frame selection associated with this selection. ...
...And 2 more matches
nsITreeView
rows in the tree (including the offscreen rows). Read only. selection nsITreeSelection The selection for this view. ...
...ws). Read only. selection nsITreeSelection The selection for this view. Constants Constant Value Description PROGRESS_NORMAL 1 Note: Renamed from progressNormal in Gecko 1.8 PROGRESS_UNDETERMINED 2 Note: Renamed from progressUndetermined in Gecko 1.8 PROGRESS_
NONE 3 Note: Renamed from progress
None in Gecko 1.8 DROP_BEFORE -1 DROP_ON 0 DROP_AFTER 1 inDropBefore 0 Obsolete since Gecko 1.8 inDropOn 1 Obsolete since Gecko 1.8 inDropAfter 2 Obsolete since Gecko 1.8 Methods canDrop() Methods used by the drag feedback code to determine if a drag is allowable at the current location. To get th...
...wisty is actually drawn; that's left up to isContainerEmpty. For very simple tree views, such as those without multi-level data, you might want to consider using something simpler than a tree view, such as a listbox. For tree views with multi-level data, it's advisable to distinguish between a row which is an empty container (i.e., a row with the potential to hold children but that currently has
none), and a non-empty container (i.e., a row that positively does currently have children). The tree frame code that handles drag and drop, for example, uses this method to determine how to interpret the drop position. Note: nsITreeView implementations must be prepared to handle a call to toggleOpenState for any row index which returns true for a call to isContainer, even if isContainerEmpty returns...
...And 2 more matches
nsIZipWriter
hrown NS_ERROR_NOT_INITIALIZED If no zip file has been opened. file nsIFile The Zip file being written to. Read only. inQueue boolean true if operations are being performed in the background queue, or false if background operations are not in progress. Read only. Constants Constant Value Description COMPRESSION_
NONE 0 Do not compress the file. COMPRESSION_FASTEST 1 Use the fastest compression method when adding the file to the archive. COMPRESSION_DEFAULT 6 Use the default compression method when adding the file to the archive. COMPRESSION_BEST 9 Use the best compression method when adding the file to the archive. Methods addEntryChannel() Adds data...
...If saveInZipAs was equal to "add this file.txt" then in the zip file it will also be named "add this file.txt" Further Detail: This example gives fut...
...il on the importance of forward slashes var fileToAddToZip = FileUtils.File('C:\\add this file.txt'); var saveInZipAs = 'sub folder/blah.txt'; //DO NOT USE BACKWARD SLASH for example do not do: 'sub folder\\blah.txt'. Using backward slash will not throw any errors but if this was an xpi file, firefox would not be able to read it properly. zw.addEntryFile(saveInZipAs, Ci.nsIZipWriter.COMPRESSION_
NONE, fileToAddToZip, false); This example creates a folder in the zip called "sub folder" and then adds "C:\add this file.txt" to it, but it will be called "blah.txt". aModTime The modification time of the entry in microseconds. aQueue If true, the operation is queued for later execution. If false, the operation is performed immediately. Will be performed when processQueue() is called. Ex...
...And 2 more matches
FileSystemEntrySync - Web APIs
olean True if FileSystemEntrySync is a directory. isFile readonly boolean True if the FileSystemEntrySync is a file. name readonly DOMString The name of the entry, excluding the path leading to it. Methods getMetadata() Look up metadata about this entry. [ todo: specify what kind of metadata ] Metadata getMetada () raises (FileException); Parameter
None Returns Metadata Exceptions This method can raise a FileException with the following codes: Exception Description NOT_FOUND_ERR The entry does not exist. INVALID_STATE_ERR The FileSystemSync is no longer valid for some reason besides being deleted. moveTo() Move an entry to a different location on the file system. Moving a file over an exis...
...g like: filesystem:http://example.com/temporary/lolcat.png. The file system URL does not expire. Because the method describes a location on disk, the URL is valid for as long as that location exists. You can delete the file and recreate it, and it's all good. You can supply the mimeType to simulate the optional MIME type header associated with HTTP downloads. DOMString toURL (); Parameter
None. ...
...rary/lolcat.png. The file system URL does not expire. Because the method describes a location on disk, the URL is valid for as long as that location exists. You can delete the file and recreate it, and it's all good. You can supply the mimeType to simulate the optional MIME type header associated with HTTP downloads. DOMString toURL (); Parameter
None. Returns DOMString Exceptions
None remove() Deletes a file or directory. ...
...And 2 more matches
HTMLAudioElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...And 2 more matches
HTMLButtonElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...And 2 more matches
HTMLFieldSetElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...And 2 more matches
HTMLLinkElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...And 2 more matches
HTMLOptionElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...And 2 more matches
HTMLStyleElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...And 2 more matches
HTMLTrackElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...And 2 more matches
HTMLVideoElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...And 2 more matches
SVGAnimateElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGAnimateMotionElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGAnimateTransformElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGDefsElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGFEConvolveMatrixElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGFEFuncAElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGFEFuncBElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGFEFuncGElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGFEFuncRElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGFEGaussianBlurElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGForeignObjectElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGGElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGGeometryElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGImageElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGLinearGradientElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGRadialGradientElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGSVGElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGSetElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGSwitchElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGTextContentElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
SVGUseElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
...And 2 more matches
animation-timing-function - CSS: Cascading Style Sheets
on-timing-function: linear; animation-timing-function: step-start; animation-timing-function: step-end; /* Function values */ animation-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1); animation-timing-function: steps(4, end); /* Steps Function keywords */ animation-timing-function: steps(4, jump-start); animation-timing-function: steps(10, jump-end); animation-timing-function: steps(20, jump-
none); animation-timing-function: steps(5, jump-both); animation-timing-function: steps(6, start); animation-timing-function: steps(8, end); /* Multiple animations */ animation-timing-function: ease, step-start, cubic-bezier(0.1, 0.7, 1.0, 0.1); /* Global values */ animation-timing-function: inherit; animation-timing-function: initial; animation-timing-function: unset; Timing functions may be spec...
...Instead, holding at both the 0% mark and the 100% mark, each for 1/n of the duration. jump-both Includes pauses at both the 0% and 100% marks, effectively adding a step during the animation iteration. start Same as jump-start. end Same as jump-end. step-start Equal to steps(1, jump-start) step-end Equal to steps(1, jump-end) Note: When you ...
...multipliers to transform them as a single component">[0,1]>, <number>, <number <a href="/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>)<step-timing-function> = step-start | step-end | steps(<integer>[, <step-position>]?)where <step-position> = jump-start | jump-end | jump-
none | jump-both | start | end Examples Cubic-Bezier examples <div class="parent"> <div class="ease">ease</div> <div class="easein">ease-in</div> <div class="easeout">ease-out</div> <div class="easeinout">ease-in-out</div> <div class="linear">linear</div> <div class="cb">cubic-bezier(0.2,-2,0.8,2)</div> </div> .parent > div[class] { animation-name: changeme; animation-duratio...
...And 2 more matches
background-image - CSS: Cascading Style Sheets
the user. The borders of the element are then drawn on top of them, and the background-color is drawn beneath them. How the images are drawn relative to the box and its borders is defined by the background-clip and background-origin CSS properties. If a specified image cannot be drawn (for example, when the file denoted by the specified URI cannot be loaded), browsers handle it as they would a
none value. Note: Even if the images are opaque and the color won't be displayed in normal circumstances, web developers should always specify a background-color. If the images cannot be loaded--for instance, when the network is down--the background color will be used as a fallback. Syntax Each background image is specified either as the keyword
none or as an <image> value. To specify multiple bac...
... <image> Is an <image> denoting the image to display. There can be several of them, separated by commas, as multiple backgrounds are supported. ...
...ers, as a screen reader will not announce its presence and therefore convey nothing to its users. If the image contains information critical to understanding the page's overall purpose, it is better to describe it semantically in the document. ...
...And 2 more matches
border-block-start - CSS: Cascading Style Sheets
e style of the border. See border-style. <'color'> The color of the border. See color. ...
...ee border-style. <'color'> The color of the border. See color. ...
...'> The color of the border. See color. ...
...And 2 more matches
border-bottom-style - CSS: Cascading Style Sheets
element's bottom border. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Note: The specification doesn't define how borders of different styles connect in the corners. ...
...m-style: double; border-bottom-style: groove; border-bottom-style: ridge; border-bottom-style: inset; border-bottom-style: outset; /* Global values */ border-bottom-style: inherit; border-bottom-style: initial; border-bottom-style: unset; The border-bottom-style property is specified as a single keyword chosen from those available for the border-style property. ...
...: inherit; border-bottom-style: initial; border-bottom-style: unset; The border-bottom-style property is specified as a single keyword chosen from those available for the border-style property. Formal definition Initial value
noneApplies toall elements. ...
...And 2 more matches
border-image - CSS: Cascading Style Sheets
"/images/border.png") 27 space; /* source | slice | width */ border-image: linear-gradient(red, blue) 27 / 35px; /* source | slice | width | outset | repeat */ border-image: url("/images/border.png") 27 23 / 50px 30px / 1rem round space; The border-image property may be specified with anywhere from one to five of the values listed below. Note: If the computed value of border-image-source is
none, or if the image cannot be displayed, the border-style will be displayed instead. Values <'border-image-source'> The source image. See border-image-source. <'border-image-slice'> The dimensions for slicing the source image into regions. Up to four values may be specified. See border-image-slice. <'border-image-width'> The width of the border image. Up to four values may be specified. Se...
...chnology cannot parse border images. If the image contains information critical to understanding the page's overall purpose, it is better to describe it semantically in the document. MDN Understanding WCAG, Guideline 1.1 explanations Understanding Success Criterion 1.1.1 | Understanding WCAG 2.0 Formal definition Initial valueas each of the properties of the shorthand:border-image-source:
noneborder-image-slice: 100%border-image-width: 1border-image-outset: 0border-image-repeat: stretchApplies toall elements, except internal table elements when border-collapse is collapse. It also applies to ::first-letter.InheritednoPercentagesas each of the properties of the shorthand:border-image-slice: refer to the size of the border imageborder-image-width: refer to the width or height of the bord...
.../ <'border-image-outset'> ]? | <'border-image-repeat'> Examples Bitmap In this example, we will apply a diamond pattern to ...
...And 2 more matches
border-inline-start - CSS: Cascading Style Sheets
e style of the border. See border-style. <'color'> The color of the border. See color. ...
...ee border-style. <'color'> The color of the border. See color. ...
...'> The color of the border. See color. ...
...And 2 more matches
border-left-style - CSS: Cascading Style Sheets
f an element's left border. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Note: The specification doesn't define how borders of different styles connect in the corners. ...
...olid; border-left-style: double; border-left-style: groove; border-left-style: ridge; border-left-style: inset; border-left-style: outset; /* Global values */ border-left-style: inherit; border-left-style: initial; border-left-style: unset; The border-left-style property is specified as a single keyword chosen from those available for the border-style property. ...
...-style: inherit; border-left-style: initial; border-left-style: unset; The border-left-style property is specified as a single keyword chosen from those available for the border-style property. Formal definition Initial value
noneApplies toall elements. ...
...And 2 more matches
border-right-style - CSS: Cascading Style Sheets
an element's right border. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Note: The specification doesn't define how borders of different styles connect in the corners. ...
...der-right-style: double; border-right-style: groove; border-right-style: ridge; border-right-style: inset; border-right-style: outset; /* Global values */ border-right-style: inherit; border-right-style: initial; border-right-style: unset; The border-right-style property is specified as a single keyword chosen from those available for the border-style property. ...
...yle: inherit; border-right-style: initial; border-right-style: unset; The border-right-style property is specified as a single keyword chosen from those available for the border-style property. Formal definition Initial value
noneApplies toall elements. ...
...And 2 more matches
font-size-adjust - CSS: Cascading Style Sheets
The font-size-adjust CSS property sets the size of lower-case letters relative to the current font size (which defines the size of upper-case letters). /* Use the specified font size */ font-size-adjust:
none; /* Use a font size that makes lowercase letters half the specified font size */ font-size-adjust: 0.5; /* Global values */ font-size-adjust: inherit; font-size-adjust: initial; font-size-adjust: unset; The property is useful since the legibility of fonts, especially at small sizes, is determined more by the size of lowercase letters than by the size of capital letters. Legibility can become an issue when the first-choice font-family is unavailable and its replacement has a significantly different aspect ratio (the ratio of the size of lowercase letters to the size of the ...
...roperty should generally be the aspect ratio of the first choice font. For example, a style sheet that specifies: font-size: 14px; font-size-adjust: 0.5; ... is really specifying that the lowercase letters of the font should be 7px high (0.5 x 14px). This will still produce reasonable results in browsers that do not support font-size-adjust, where a 14px font will be used. Syntax Values
none Choose the size of the font based only on the font-size property. <number> Choose the size of the font so that its lowercase letters (as determined by the x-height of the font) are the specified number times the font-size. The number specified should generally be the aspect ratio (ratio of x-height to font size) of the first choice font-family. This means that the first-choice font, when a...
... font) are the specified number times the font-size. The number specified should generally be the aspect ratio (ratio of x-height to font size) of the first choice font-family. This means that the first-choice font, when available, will appear the same size in browsers, whether or not they support font-size-adjust. 0 yields text of zero height (hidden text). ...
...And 2 more matches
font-variant-ligatures - CSS: Cascading Style Sheets
the elements it applies to. This leads to more harmonized forms in the resulting text. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
... font-variant-ligatures: initial; font-variant-ligatures: unset; The font-variant-ligatures property is specified as one of the keyword values listed below. Values normal This keyword leads to the activation of the usual ligatures and contextual forms needed for correct rendering. The ligatures and forms activated depend on the font, language and kind of script. This is the default value.
none This keyword specifies that all ligatures and contextual forms are disabled, even common ones. <common-lig-values> These values control the most common ligatures, like for fi, ffi, th or similar. They correspond to the OpenType values liga and clig. Two values are possible: common-ligatures activating these ligatures. Note that the keyword normal activates these ligatures. no-common-liga...
...lues are possible: contextual specifies that the contextual alternates are to be used. Note that the keyword normal usually activates these ligatures too. no-contextual prevents their use. Formal definition Initial valuenormalApplies toall elements. ...
...And 2 more matches
grid-template-rows - CSS: Cascading Style Sheets
The grid-template-rows CSS property defines the line names and track sizing functions of the grid rows. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
...Any rows will be implicitly generated and their size will be determined by the grid-auto-rows property. <length> Is a non-negative length. <percentage> Is a non-negative <percentage> value, relative to the block size of the grid container. If the size of the grid con...
...0px) 100px; grid-template-rows: [linename1 linename2] 100px repeat(auto-fit, [linename1] 300px) [linename3]; /* Global values */ grid-template-rows: inherit; grid-template-rows: initial; grid-template-rows: unset; This property may be specified as: either the keyword value
none or a <track-list> value or an <auto-track-list> value. Values
none Is a keyword meaning that there is no explicit grid. Any rows will be implicitly generated and their size will be determined by the grid-auto-rows property. <length> Is a non-negative length. <percentage> Is a non-negative <percentage> value, relative to the block size of the grid container. If the size of the grid container depends on the size of its tracks, then the percentage must be trea...
...And 2 more matches
list-style-image - CSS: Cascading Style Sheets
roject, please clone https://github.com/mdn/interactive-examples and send us a pull request. Note: This property is applied to list items, i.e. elements with display: list-item; by default this includes <li> elements. Because this property is inherited, it can be set on the parent element (normally <ol> or <ul>) to let it apply to all list items. ...
...e this property is inherited, it can be set on the parent element (normally <ol> or <ul>) to let it apply to all list items. Syntax /* Keyword values */ list-style-image:
none; /* <url> values */ list-style-image: url('starsolid.gif'); /* Global values */ list-style-image: inherit; list-style-image: initial; list-style-image: unset; Values <url> Location of image to use as the marker.
none Specifies that no image is used as the marker. If this value is set, the marker defined in list-style-type will be used instead. ...
...age:
none; /* <url> values */ list-style-image: url('starsolid.gif'); /* Global values */ list-style-image: inherit; list-style-image: initial; list-style-image: unset; Values <url> Location of image to use as the marker.
none Specifies that no image is used as the marker. If this value is set, the marker defined in list-style-type will be used instead. ...
...And 2 more matches
list-style-type - CSS: Cascading Style Sheets
Note that: Some types require a suitable font installed to display as expected. The cjk-ideographic is identical to trad-chinese-informal; it exists for...
... Note that: Some types require a suitable font installed to display as expected. The cjk-ideographic is identical to trad-chinese-informal; it exists for legacy reasons. ...
...: Some types require a suitable font installed to display as expected. The cjk-ideographic is identical to trad-chinese-informal; it exists for legacy reasons. Values <custom-ident> A identifier matching the value of a @counter-style or one of the predefined styles: symbols() Defines an anonymous style of the list. <string> The specified string will be used as the item's marker.
none No item marker is shown. disc A filled circle (default value) circle A hollow circle square A filled square decimal Decimal numbers Beginning with 1 cjk-decimal Han decimal numbers E.g. ?, ?, ?, ..., ??, ??, ??? decimal-leading-zero Decimal numbers Padded by initial zeros E.g. 01, 02, 03, ... 98, 99 lower-roman ...
...And 2 more matches
offset-path - CSS: Cascading Style Sheets
The offset-path CSS property specifies a motion path for an element to follow and defines the element's positioning within the parent container or SVG coordinate system. ...
...l gradient size values from closest-side to farthest-corner, and the keyterm contain. url() References the ID of an SVG shape -- circle, ellipse, line, path, polygon, polyline, or rect -- using the shape's geometry as the path. <basic-shape> Specifies a CSS shape including circle(), ellipse(), inset(), polygon(), or path(). path() A path string defined with SVG coordinate syntax.
none Specifies no motion path at all. Description This property defines a path an animated element can follow. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. The element's exact position on the offset path is determined by the offset-distance property. Each shape or path must define an initial position for the computed value o...
...et-distance property. Each shape or path must define an initial position for the computed value of 0 for offset-distance and an initial direction which specifies the rotation of the object to the initial position. Early versions of the spec called this property motion-path. It was changed to offset-path because the property describes static positions, not motion. ...
...And 2 more matches
perspective - CSS: Cascading Style Sheets
CSS property determines the distance between the z=0 plane and the user in order to give a 3D-positioned element some perspective. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Syntax /* Keyword value */ perspective:
none; /* <length> values */ perspective: 20px; perspective: 3.5em; /* Global values */ perspective: inherit; perspective: initial; perspective: unset; Values
none Indicates that no perspective transform is to be applied. <length> A <length> giving the distance from the user to the z=0 plane. It is used to apply a perspective transform to the element and its content. If the value is 0 or a ne...
...mined by the value of this property. The parts of the 3D elements that are behind the user -- i.e. their z-axis coordinates are greater than the value of the perspective CSS property -- are not drawn. The vanishing point is by default placed at the center of the element, but its position can be changed using the perspective-origin property. ...
...erty -- are not drawn. The vanishing point is by default placed at the center of the element, but its position can be changed using the perspective-origin property. Using this property with a value different than 0 and
none creates a new stacking context. Also, in that case, the object will act as a containing block for position: fixed elements that it contains. Formal definition Initial value
noneApplies totransformable elementsInheritednoComputed valuethe absolute length or
noneAnimation typea lengthCreates stacking contextyes Formal syntax
none | <length> Examples Setting perspective This example shows a cube with the perspective set at different positions. How quick the cube shrinks is defined by the perspective property. The smaller its value is, the deeper the perspective is. HT...
...And 2 more matches
scroll-snap-type - CSS: Cascading Style Sheets
this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Specifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent. ...
... x The scroll container snaps to snap positions in its horizontal axis only. y The scroll container snaps to snap positions in its vertical axis only. block The scroll container snaps to snap positions in its block axis only. ...
...oll offset will be adjusted to maintain the resting on that snap point. proximity The visual viewport of this scroll container may come to rest on a snap point if it isn't currently scrolled considering the user agent's scroll parameters. If content is added, moved, deleted or resized the scroll offset may be adjusted to maintain the resting on that snap point. Formal definition Initial value
noneApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax
none | [ x | y | block | inline | both ] [ mandatory | proximity ]? Examples Snapping in different axes HTML <div class="holster"> <div class="container x mandatory-scroll-snapping" dir="ltr"> <div>X Mand. LTR</div> <div>2</div> <div>3</div> <div>4</div> <div>5</div> </div> <div class="...
...And 2 more matches
text-decoration-line - CSS: Cascading Style Sheets
his interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. When setting multiple line-decoration properties at once, it may be more convenient to use the text-decoration shorthand property instead. ...
... underline Each line of text has a decorative line beneath it. overline Each line of text has a decorative line above it. line-through Each line of text has a decorative line going through its middle. blink The text blinks (alternates between visible and invisible). Conforming user a...
...tion-line: underline overline; /* Two decoration lines */ text-decoration-line: overline underline line-through; /* Multiple decoration lines */ /* Global values */ text-decoration-line: inherit; text-decoration-line: initial; text-decoration-line: unset; The text-decoration-line property is specified as
none, or one or more space-separated values from the list below. Values
none Produces no text decoration. underline Each line of text has a decorative line beneath it. overline Each line of text has a decorative line above it. line-through Each line of text has a decorative line going through its middle. blink The text blinks (alternates between visible and invisible). Conforming user agents may simply not blink the text. This value is deprecated in favor of CS...
...And 2 more matches
text-transform - CSS: Cascading Style Sheets
e cases, a hyphen is also removed upon uppercasing: an t-uisce transforms to AN tUISCE (and the hyphen is correctly reinserted by text-transform: lowercase). The language is defined by the lang HTML attribute or the xml:lang XML attribute. Note: Support for language-specific cases varies between browsers, so check the browser compatibility table. Syntax /* Keyword values */ text-transform:
none; text-transform: capitalize; text-transform: uppercase; text-transform: lowercase; text-transform: full-width; text-transform: full-size-kana; /* Global values */ text-transform: inherit; text-transform: initial; text-transform: unset; capitalize Is a keyword that converts the first letter of each word to uppercase. Other characters remain unchanged (they retain their original case as wri...
... with some weird cases.) By precisely defining the correct behavior, CSS Text Level 3 cleans this mess up. The capitalize line in the browser compatibility table contains the version the different engines started to support this now precisely-defined behavior. uppercase Is a keyword that converts all characters to uppercase. lowercase Is a keyword that converts all characters to lowercase.
none Is a keyword that prevents the case of all characters from being changed. full-width Is a keyword that forces the writing of a character -- mainly ideograms and Latin scripts -- inside a square, allowing them to be aligned in the usual East Asian scripts (like Chinese or Japanese). full-size-kana Generally used for <ruby> annotation text, the keyword converts all small Kana characters to the...
... equivalent full-size Kana, to compensate for legibility issues at the small font sizes typically used in ruby. Accessibility concerns Large sections of text set with a text-transform value of uppercase may be difficult for people with cognitive concerns such as Dyslexia to read. ...
...And 2 more matches
touch-action - CSS: Cascading Style Sheets
The touch-action CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser). /* Keyword values */ touch-action: auto; touch-action:
none; touch-action: pan-x; touch-action: pan-left; touch-action: pan-right; touch-action: pan-y; touch-action: pan-up; touch-action: pan-down; touch-action: pinch-zoom; touch-action: manipulation; /* Global values */ touch-action: inherit; touch-action: initial; touch-action: unset; By default, panning (scrolling) and pinching gestures are handled exclusively by the browser. An application using Pointer events will receive a pointercancel event when the browser starts handling a touch gesture. By explicitly specifying which gestures should be handled by the browser, an applicati...
...ractice, touch-action is typically applied only to top-level elements which have some custom behavior, without needing to specify touch-action explicitly on any of that element's descendants. After a gesture starts, changes to touch-action will not have any impact on the behavior of the current gesture. Syntax The touch-action property may be specified as either: One of the keywords auto,
none, manipulation, or One of the keywords pan-x, pan-left, pan-right, and/or one of the keywords pan-y, pan-up, pan-down, plus optionally the keyword pinch-zoom. Values auto Enable browser handling of all panning and zooming gestures.
none Disable browser handling of all panning and zooming gestures. pan-x Enable single-finger horizontal panning gestures. May be combined with pan-y, pan-up...
...s dragging their finger to the right. Multiple directions may be combined except when there is a simpler representation (for example, "pan-left pan-right" is invalid since "pan-x" is simpler, but "pan-left pan-down" is valid). pinch-zoom Enable multi-finger panning and zooming of the page. This may be combined with any of the pan- values. Accessibility concerns A declaration of touch-action:
none; may inhibit operating a browser's zooming capabilities. This will prevent people experiencing low vision conditions from being able to read and understand page content. MDN Understanding WCAG, Guideline 1.4 explanations Understanding Success Criterion 1.4.4 | Understanding WCAG 2.0 Formal definition Initial valueautoApplies toall elements except: non-replaced inline elements, table rows, ...
...And 2 more matches
transform - CSS: Cascading Style Sheets
erty lets you rotate, scale, skew, or translate an element. It modifies the coordinate space of the CSS visual formatting model. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. If the property has a value different than
none, a stacking context will be created. In that case, the element will act as a containing block for any position: fixed; or position: absolute; elements that it contains. Only transformable elements can be transformed. That is, all elements whose layout is governed by the CSS box model except for: non-replaced inline boxes, table-column boxes, and table-column-group boxes. Syntax /* Keyword va...
...t will be created. In that case, the element will act as a containing block for any position: fixed; or position: absolute; elements that it contains. Only transformable elements can be transformed. That is, all elements whose layout is governed by the CSS box model except for: non-replaced inline boxes, table-column boxes, and table-column-group boxes. ...
...(0.3); transform: skew(30deg, 20deg); transform: skewX(30deg); transform: skewY(1.07rad); /* Multiple function values */ transform: translateX(10px) rotate(10deg) translateY(5px); transform: perspective(500px) translate(10px, 0, 20px) rotateY(3deg); /* Global values */ transform: inherit; transform: initial; transform: unset; The transform property may be specified as either the keyword value
none or as one or more <transform-function> values. If perspective() is one of multiple function values, it must be listed first. Values <transform-function> One or more of the CSS transform functions to be applied. The transform functions are multiplied in order from left to right, meaning that composite transforms are effectively applied in order from right to left.
none Specifies that no tr...
...And 2 more matches
transition-timing-function - CSS: Cascading Style Sheets
nction: linear; transition-timing-function: step-start; transition-timing-function: step-end; /* Function values */ transition-timing-function: steps(4, jump-end); transition-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1); /* Steps Function keywords */ transition-timing-function: steps(4, jump-start); transition-timing-function: steps(10, jump-end); transition-timing-function: steps(20, jump-
none); transition-timing-function: steps(5, jump-both); transition-timing-function: steps(6, start); transition-timing-function: steps(8, end); /* Multiple timing functions */ transition-timing-function: ease, step-start, cubic-bezier(0.1, 0.7, 1.0, 0.1); /* Global values */ transition-timing-function: inherit; transition-timing-function: initial; transition-timing-function: unset; Values <timin...
...Instead, holding at both the 0% mark and the 100% mark, each for 1/n of the duration jump-both Includes pauses at both the 0% and 100% marks, effectively adding a step during the transition time. start Same as jump-start. end Same as jump-end. step-start Equal to steps(1, jump-start) step-end Equal to steps(1, jump-end) Acce...
...multipliers to transform them as a single component">[0,1]>, <number>, <number <a href="/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>)<step-timing-function> = step-start | step-end | steps(<integer>[, <step-position>]?)where <step-position> = jump-start | jump-end | jump-
none | jump-both | start | end Examples Cubic-Bezier examples <div class="parent"> <div class="ease">ease</div> <div class="easein">ease-in</div> <div class="easeout">ease-out</div> <div class="easeinout">ease-in-out</div> <div class="linear">linear</div> <div class="cb">cubic-bezier(0.2,-2,0.8,2)</div> </div> .parent {} .parent > div[class] { width: 12em; min-width: 12em; ...
...And 2 more matches
translate - CSS: Cascading Style Sheets
The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value. Syntax /* Keyword values */ translate:
none; /* Single values */ translate: 100px; translate: 50%; /* Two values */ translate: 100px 200px; translate: 50% 105px; /* Three values */ translate: 50% 105px 5rem; Values Single <length-percentage> value A <length> or <percentage> that specifies a 2D translation, with the same translation along both the X and Y axes. Equivalent to a translate() (2D translation) function with a single value specified. Two <length-percentage> values Two <length> or <percentage>...
...gth> or <percentage> that specify the X and Y axis translation values (respectively) of a 2D translation. Equivalent to a translate() (2D translation) function with two values specified. Three values Two <length-percentage> and single <length> values that specify the X, Y, and Z axis translation values (respectively) of a 3D translation. Equivalent to a translate3d() (3D translation) function. ...
... 2D translation. Equivalent to a translate() (2D translation) function with two values specified. Three values Two <length-percentage> and single <length> values that specify the X, Y, and Z axis translation values (respectively) of a 3D translation. Equivalent to a translate3d() (3D translation) function.
none Specifies that no translation should be applied. ...
...And 2 more matches
Adding captions and subtitles to HTML5 video - Developer guides
It also sets up the required event listeners on the button to toggle the relevant subtitle set on or off. This is done by simply setting the required subtlte's mode attribute to showing, and setting the...
...setting the others to hidden. Once the menu is built, it is then inserted into the DOM at the bottom of the videoContainer. ...
...n by default, so an event listener needs to be added to our subtitles button to toggle it: subtitles.addEventListener('click', function(e) { if (subtitlesMenu) { subtitlesMenu.style.display = (subtitlesMenu.style.display == 'block' ? ...
...And 2 more matches
Creating a cross-browser video player - Developer guides
entire video file. This provides the player with data such as video duration and format. Note: IE9 behaves differently than most other browsers when a poster attribute is set. Most browsers interpret the presence of a poster attribute to mean that the specified image is to be displayed until the user chooses to play the video. IE9 will only use the specified poster image in this way if preload="
none" is set; otherwise, it will take the first still of the video and display that instead. Three different video sources are provided for the player: MP4, WebM, and Ogg. Using these different source formats gives the best chance of being supported across all browsers that support HTML5 video. For further information on video formats and browser compatibility, see supported media formats. For brow...
... which will be used to control the video. The control set Most browser's default video controls have the following functionality: Play/pause Mute Volume control Progress bar Skip ahead Go fullscreen The custom control set will also support this functionality, with the addition of a stop button. Once again the HTML is quite straightforward, using an unordered list with list-style-type:
none set to enclose the controls, each of which is a list item with float:left. For the progress bar, the progress element is taken advantage of, with a fallback provided for browsers that don't support it (e.g. IE8 and IE9). This list is inserted after the <video> element, but inside the <figure> element (this is important for the fullscreen functionality, which is explained later on). <ul id="video...
... id="fs" type="button">Fullscreen</button></li> </ul> Each button is given an id so it can be easily accessed with JavaScript. The span within the <progress> element is for browsers that do not support the progress element and will be updated at the same time as progress (this span element won't be visible on browsers that support progress). The controls are initially hidden with a CSS display:
none and will be enabled with JavaScript. Again if a user has JavaScript disabled, the custom control set will not appear and they can use the browser's default control set unhindered. Of course this custom control set is currently useless and doesn't do a thing: Let's improve the situation with JavaScript. Using the Media API HTML5 comes with a JavaScript Media API that allows developers access to...
...And 2 more matches
<details>: The Details disclosure element - HTML: Hypertext Markup Language
ntations automatically apply the CSS display: list-item to the <summary> element. You can use this to customize its appearance further. See Customizing the disclosure widget for further details. Content categories Flow content, sectioning root, interactive content, palpable content. Permitted content One <summary> element followed by flow content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Implicit ARIA role group Permitted ARIA roles No role permitted DOM interface HTMLDetailsElement Attributes This element includes the global attributes. open This Boolean attribute indicates whether or not the details -- that is, the...
...erm storage. An input device as well as some form of output device is recommended.</p> </details> This results in: Customizing the appearance Now let's apply some CSS to customize the appearance of the disclosure box. CSS details { font: 16px "Open Sans", Calibri, sans-serif; width: 620px; } details > summary { padding: 2px 6px; width: 15em; background-color: #ddd; border:
none; box-shadow: 3px 3px 4px black; cursor: pointer; } details > p { border-radius: 0 0 10px 10px; background-color: #ddd; padding: 2px 6px; margin: 0; box-shadow: 3px 3px 4px black; } This CSS creates a look similar to a tabbed interface, where clicking the tab opens it to reveal its contents. HTML <details> <summary>System Requirements</summary> <p>Requires a computer running...
...erimental implementations as the element was standardized, so we'll have to use multiple approaches for a while. The <summary> element supports the list-style shorthand property and its longhand properties, such as list-style-type, to change the disclosure triangle to whatever you choose (usually with list-style-image). For example, we can remove the disclosure widget icon by setting list-style:
none. ...
...And 2 more matches
<input type="radio"> - HTML: Hypertext Markup Language
w to note here except for the addition of <fieldset> and <legend> elements, which help to group the functionality nicely and in a semantic way. ...
... the addition of <fieldset> and <legend> elements, which help to group the functionality nicely and in a semantic way. ...
...eldset> and <legend> elements, which help to group the functionality nicely and in a semantic way. ...
...And 2 more matches
<input>: The Input (Form Input) element - HTML: Hypertext Markup Language
be unique in the whole document. Its purpose is to identify the element when linking. The value is used as the value of the <label>'s for attribute to link the label with the form control. See <label>. inputmode Global value valid for all elements, it provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Values include
none, text, tel, url, email, numeric, decimal, and search. list The value given to the list attribute should be. the id of a <datalist> element located in the same document. The <datalist> provides a list of predefined values to suggest to the user for this input. Any values in the list that are not compatible with the type are not included in the suggested options. The values provided are sugge...
...abbing into a series of same-named group of radio buttons, if one is checked, that one will receive focus. If they aren't grouped together in source order, if one of the group is checked, tabbing into the group starts when the first one in the group is encountered, skipping all those that aren't checked. In other words, if one is checked, tabbing skips the unchecked radio buttons in the group. If
none are checked, the radio button group receives focus when the first button in the same name group is reached. Once one of the radio buttons in a group has focus, using the arrow keys will navigate through all the radio buttons of the same name, even if the radio buttons are not grouped together in the source order. HTMLFormElement.elements When an input element is given a name, that name beco...
...S properties. ::placeholder { color: blue; } Only the subset of CSS properties that apply to the ::first-line pseudo-element can be used in a rule using ::placeholder in its selector. appearance The appearance property enables the displaying of (almost) any element as a platform-native style based on the operating system's theme as well as the removal of any platform-native styling with the
none value. You could make a <div> look like a radio button with div {appearance: radio;} or a radio look like a checkbox with [type="checkbox] {appearance: checkbox;}, but don't. Setting appearance:
none removes platform native borders, but not functionality. caret-color A property specific to text entry-related elements is the CSS caret-color property, which lets you set the color used to draw t...
...And 2 more matches
<textarea> - HTML: Hypertext Markup Language
udes the global attributes. autocapitalize This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:
none: Completely disables automatic capitalization. sentences: Automatically capitalize the first letter of sentences. words: Automatically capitalize the first letter of words. characters: Automatically capitalize all characters. on: Deprecated since iOS 5. off: Deprecated since iOS 5. autocomplete This attribute indicates whether the value of the control can be automatically comp...
... baseline on it; the behavior is unpredictable. Controlling whether a textarea is resizable In most browsers, <textarea>s are resizable -- you'll notice the drag handle in the right hand corner, which can be used to alter the size of the element on the page. This is controlled by the resize CSS property -- resizing is enabled by default, but you can explicitly disable it using a resize value of
none: textarea { resize:
none; } Styling valid and invalid values Valid and invalid values of a <textarea> element (e.g. those within, and outside the bounds set by minlength, maxlength, or required) can be highlighted using the :valid and :invalid pseudo-classes. For example, to give your textarea a different border depending on whether it is valid or invalid: textarea:invalid { border: 2px ...
...ws="5" cols="30" disabled>I am a disabled textarea</textarea> <textarea name="textarea" rows="5" cols="30" readonly>I am a readonly textarea</textarea> Technical summary Content categories Flow content, phrasing content, Interactive content, listed, labelable, resettable, and submittable form-associated element. Permitted content Text Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role textbox Permitted ARIA roles No role permitted DOM interface HTMLTextAreaElement Specifications Specification Status Comment HTML Living StandardThe definition of '<textarea>' in that sp...
...And 2 more matches
CSP: form-action - HTTP
enabling specific inline event handlers. If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method than using the unsafe-inline expression. 'unsafe-inline' Allows the use of inline resources, such as inline <script> elements, javascript: URLs, inline event handlers, and inline <style> elements. The single quotes are required. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. 'nonce-<base64-value>' An allow-list for specific inline scripts using a cryptographic nonce (number used once). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource's policy is otherwise trivial. See unsafe inline s...
... be propagated to all the scripts loaded by that root script. At the same time, any allow-list or source expressions such as 'self' or 'unsafe-inline' are ignored. See script-src for an example. 'report-sample' Requires a sample of the violating code to be included in the violation report. ...
...expressions such as 'self' or 'unsafe-inline' are ignored. See script-src for an example. 'report-sample' Requires a sample of the violating code to be included in the violation report. ...
...And 2 more matches
Content-Security-Policy - HTTP
elements. object-src Specifies valid sources for the <object>, <embed>, and <applet> elements. Elements controlled by object-src are perhaps coincidentally considered legacy HTML elements and are not receiving new standardized features (such as the security attributes sandbox or allow for <iframe>). Therefore it is recommended to restrict this fetch-directive (e.g., explicitly set object-src '
none' if possible). prefetch-src Specifies valid sources to be prefetched or prerendered. script-src Specifies valid sources for JavaScript. script-src-elem Specifies valid sources for JavaScript <script> elements. script-src-attr Specifies valid sources for JavaScript inline event handlers. style-src Specifies valid sources for stylesheets. style-src-elem Specifies valid sources fo...
...icies being specified for a resource, including via the Content-Security-Policy header, the Content-Security-Policy-Report-Only header and a <meta> element. You can use the Content-Security-Policy header more than once, as in the example below. Pay special attention to the connect-src directive here. ...
...ader more than once, as in the example below. Pay special attention to the connect-src directive here. Even though the second policy would allow the connection, the first policy contains connect-src '
none'. Adding additional policies can only further restrict the capabilities of the protected resource, which means that there will be no connection allowed and, as the strictest policy, connect-src '
none' is enforced. ...
...And 2 more matches
y - SVG: Scalable Vector Graphics
http://www.w3.org/2000/svg"> <rect y="20" x="20" width="60" height="60" /> <rect y="120" x="20" width="60" height="60" /> <rect y="220" x="20" width="60" height="60" /> </svg> altGlyph Warning: As of SVG2 <altGlyph> is deprecated and shouldn't be used. For <altGlyph>, y defines the y-axis coordinate of the alternate glyph. Value List of <length> Default value
none Animatable Yes feBlend For <feBlend>, y defines the minimum y coordinate for the rendering area of the primitive. Value <length> | <percentage> Default value 0% Animatable Yes feColorMatrix For <feColorMatrix>, y defines the minimum y coordinate for the rendering area of the primitive. Value <length> | <percentage> ...
...percentage> Default value 0 Animatable Yes Note: Starting with SVG2, y is a Geometry Property meaning this attribute can also be used as a CSS property for <foreignObject>. glyphRef Warning: As of SVG2 <glyphRef> is deprecated and shouldn't be used. For <glyphRef>, y defines the y-axis coordinate of the glyph. Value <number> Default value
none Animatable Yes image For <image>, y defines the y coordinate of the uper left corner of the image. Value <length> | <percentage> Default value 0 Animatable Yes Note: Starting with SVG2, y is a Geometry Property meaning this attribute can also be used as a CSS property for images. mask For <mask>, y defines the y coordinate of the u...
... For <tref>, if it contain a single value, y defines the y coordinate on where the content text position must be placed. The content text position is usualy a point on the baseline of the first line of text. The exact content text position is influenced by some...
...And 2 more matches
<a> - SVG: Scalable Vector Graphics
ed 1px blue; } Since this element shares its tag name with HTML's <a> element, selecting a with CSS or querySelector may apply to the wrong kind of element. Try the @namespace rule to distinguish the two. Attributes download Instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. ...
...Selector may apply to the wrong kind of element. Try the @namespace rule to distinguish the two. Attributes download Instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. Value type: <string> ; Default value:
none; Animatable: no href The URL or URL fragment the hyperlink points to. Value type: <URL> ; Default value:
none; Animatable: yes hreflang The human language of the URL or URL fragment that the hyperlink points to. Value type: <string> ; Default value:
none; Animatable: yes ping A space-separated list of URLs to which, when the hyperlink is followed, POST requests with the body PING will be sent by the browser (in the background). Typically used for tracking. For a more widely-supported feature addre...
...s to. Value type: <string> ; Default value:
none; Animatable: yes ping A space-separated list of URLs to which, when the hyperlink is followed, POST requests with the body PING will be sent by the browser (in the background). Typically used for tracking. For a more widely-supported feature addressing the same use cases, see Navigator.sendBeacon(). Value type: <list-of-URLs> ; Default value:
none; Animatable: no referrerpolicy Which referrer to send when fetching the URL. Value type: no-referrer|no-referrer-when-downgrade|same-origin|origin|strict-origin|origin-when-cross-origin|strict-origin-when-cross-origin|unsafe-url ; Default value:
none; Animatable: no rel The relationship of the target object to the link object. ...
...And 2 more matches
<pattern> - SVG: Scalable Vector Graphics
ose elements with the referenced pattern. ...
... Value type: userSpaceOnUse|objectBoundingBox; Default value: userSpaceOnUse; Animatable: yes Note: This attribute has no effect if a viewBox attribute is specified on the <pattern> element. ...
...pe: userSpaceOnUse|objectBoundingBox; Default value: userSpaceOnUse; Animatable: yes Note: This attribute has no effect if a viewBox attribute is specified on the <pattern> element. patternTransform This attribute contains the definition of an optional additional transformation from the pattern coordinate system onto the target coordinate system. ...
...And 2 more matches
crop - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
... and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...h so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
caption - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...If this attribute is empty or left out, no image appears. ...
...If this attribute is empty or left out, no image appears. The position of the image is determined by the dir and orient attributes. label Type: string The label that will appear on the element. If this is left out, no text appears. ...
checkbox - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. If the element is disabled, it does not respond to user actions, it cannot be focused, and the command event will not fire. ...
description - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. If the element is disabled, it does not respond to user actions, it cannot be focused, and the command event will not fire. ...
dialogheader - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
... title Type: string The text to appear in the title bar of the window. ...
... title Type: string The text to appear in the title bar of the window. ...
label - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. If the element is disabled, it does not respond to user actions, it cannot be focused, and the command event will not fire. ...
listcell - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. If the element is disabled, it does not respond to user actions, it cannot be focused, and the command event will not fire. ...
listitem - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...This is typically used by a theme to customize the focus ring. ...
...This is typically used by a theme to customize the focus ring. To change the currently selected item in a listbox, use the listbox property selectedItem. ...
menulist - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
... and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. For example, for a menuitem in a menu you can add the following CSS rule when you want to use the value
none: menupopup > menuitem, menupopup > menu { max-width:
none; } disableautoselect Type: boolean If this attribute is true or omitted, the selected item on the menu will update to match what the user entered in the textbox. If the text does not match any of the items in the list, the menu selection is cleared. If this attribute is false, the selection is never updated to match the ...
...efwindow. More information is available in the Preferences System article. readonly Type: boolean If set to true, then the user cannot change the value of the element. However, the value may still be modified by a script. sizetopopup Type: one of the values below Indicates how the menu width and the menupopup width are determined. If the sizetopopup attribute is left out or set to
none, the menu will be its preferred width and the popup may extend outside of this width, unaffected by the maximum width of the menu itself. Otherwise, the menu will size itself to at least the size of the popup. If the menu has a maximum width, the popup will also be this width.
none The width of the popup will not be constrained to the size of the menu. pref The preferred width of the ...
menuseparator - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. If the element is disabled, it does not respond to user actions, it cannot be focused, and the command event will not fire. ...
radio - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. If the element is disabled, it does not respond to user actions, it cannot be focused, and the command event will not fire. ...
<statusbarpanel> - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...If this attribute is empty or left out, no image appears. ...
...If this attribute is empty or left out, no image appears. The position of the image is determined by the dir and orient attributes. label Type: string The label that will appear on the element. If this is left out, no text appears. ...
tab - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. ...
...If this attribute is set, the element is disabled. Disabled elements are usually drawn with grayed-out text. If the element is disabled, it does not respond to user actions, it cannot be focused, and the command event will not fire. ...
tooltip - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
... label Type: string The label that will appear on the element. ...
... label Type: string The label that will appear on the element. If this is left out, no text appears. ...
Beginner's guide to media queries - Learn web development
hover. @media (hover: hover) { body { color: rebeccapurple; } } Open this example in the browser, or view the source. If we know the user cannot hover, we could display some interactive features by default. For users who can hover, we might choose to make them available when a link is hovered over. Also in Level 4 is the pointer media feature. This takes three possible values,
none, fine and coarse. A fine pointer is something like a mouse or trackpad. It enables the user to precisely target a small area. A coarse pointer is your finger on a touchscreen. The value
none means the user has no pointing device; perhaps they are navigating with the keyboard only or with voice commands. Using pointer can help you to design better interfaces that respond to the type of interactio...
...would be exactly the same. Walkthrough: a simple mobile-first layout Our starting point is an HTML document with some CSS applied to add background colors to the various parts of the layout. ...
... various parts of the layout. ...
... With the example open in your browser, make the screen wider and narrower to see the number of column tracks change. The nice thing about...
Styling web forms - Learn web development
Now we can start working on the form elements themselves. First, let's ensure that the <label>s are given the right font: label { font : .8em "typewriter", sans-serif; } The text fields require some common rules. ...
...sure that the <label>s are given the right font: label { font : .8em "typewriter", sans-serif; } The text fields require some common rules. ...
...so choose. The overflow property is used to make the field render more consistently across browsers. Some browsers default to the value auto, while some default to the value scroll. ...
...; width : 100%; height : 90%; border-right: 1px solid; /* resize :
none; */ overflow: auto; } Styling the submit button The <button> element is really convenient to style with CSS; you can do whatever you want, even using pseudo-elements: button { padding : 5px; font : bold .6em sans-serif; border : 2px solid #333; border-radius: 5px; background :
none; cursor : pointer; transform : rotate(-1.5deg); } button:after { content : " >>>"; } button:hover, button:focus { outline :
none; background : #000; color : #FFF; } The final result And voila! Your form should now look like this: Note: If your example does not work quite like you expected and you want to check it against our version, you can find it on...
Styling Vue components with CSS - Learn web development
ll not be using such tools, it's good to know that when including such code in the assets folder it will be processed automatically. ...
...know that when including such code in the assets folder it will be processed automatically. ...
...x dashed #228bec; } html { font: 62.5% / 1.15 sans-serif; } h1, h2 { margin-bottom: 0; } ul { list-style:
none; padding: 0; } button { border:
none; margin: 0; padding: 0; width: auto; overflow: visible; background: transparent; color: inherit; font: inherit; line-height: normal; -webkit-font-smoothing: inherit; -moz-osx-font-smoothing: inherit; -webkit-appearance:
none; } button::-moz-focus-inner { border: 0; } button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; } button, input { /* 1 */ overflow: visible; } input[type="text"] { border-radius: 0; } body { width: 100%; max-width: 68rem; margin: 0 auto; font: 1.6rem/1.25 "Helvetica Neue", Helvetica, Arial, sans-serif; backgroun...
....custom-checkbox > .checkbox { font-family: Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-weight: 400; font-size: 16px; font-size: 1rem; line-height: 1.25; box-sizing: border-box; width: 100%; height: 40px; height: 2.5rem; margin-top: 0; padding: 5px; border: 2px solid #0b0c0c; border-radius: 0; -webkit-appearance:
none; -moz-appearance:
none; appearance:
none; } .custom-checkbox > input:focus { outline: 3px dashed #fd0; outline-offset: 0; box-shadow: inset 0 0 0 2px; } .custom-checkbox { font-family: Arial, sans-serif; -webkit-font-smoothing: antialiased; font-weight: 400; font-size: 1.6rem; line-height: 1.25; display: block; position: relative; min-height: 40px; margin-bottom: 10px;...
Handling common accessibility problems - Learn web development
Browser compatibility for these features is fairly good, but if you want to provide text alternatives for audio or support older browsers, a simple text transcript presented somewhere on the page or on a separate page might be a good idea. Element relationships and context There are certain features and best practices in HTML designed to provide context and relationships between elements where
none otherwise exists. The three most common examples are links, form labels, and data tables. The key to accessible link text is that people using screen readers will often use a common feature whereby they pull up a list of all the links on the page. In this case, the link text needs to make sense out of context. For example, a list of links labeled "click here", "click here", etc. is really bad fo...
...er users don't care about any of this -- they are happy with the content as long as the source order makes sense, and they can get to it all. Absolute positioning (as used in this example) is generally seen as one of the best mechanisms of hiding content for visual effect, because it doesn't stop screen readers from getting to it. On the other hand, you shouldn't use visibility:hidden or display:
none, because they do hide content from screenreaders. Unless of course, there is a good reason why you want this content to be hidden from screenreaders. Note: Invisible Content Just for Screen Reader Users has a lot more useful detail surrounding this topic. JavaScript JavaScript has the same kind of problems as CSS with respect to accessibility -- it can be disastrous for accessibility if used...
...Screenreader testing Now you've gotten used to using a screenreader, we'd like you to use it to do some quick accessibility tests, to get an idea of how screenreaders deal with good and bad webpage features: Look at good-semantics.html, and note how the headers are found by the screenreader and available to use for navigation. Now look at bad-semantics.html, and note how the screenreader gets
none of this information. Imagine how annoying this would be when trying to navigate a really long page of text. Look at good-links.html, and note how they make sense when viewed out of context. This is not the case with bad-links.html -- they are all just "click here". Look at good-form.html, and note how the form inputs are described using their labels because we've used <label> elements properly.
...l, and note how the form inputs are described using their labels because we've used <label> elements properly. In bad-form.html, they get an unhelpful label along the lines of "blank". Look at our punk-bands-complete.html example, and see how the screenreader is able to associate columns and rows of content and read them out all together because we've defined headers properly. In bad-table.html,
none of the cells can be associated at all. Note that NVDA seems to behave slightly stragely when you've only got a single table on a page; you could try WebAIM's table test page instead. Have a look at the WAI-ARIA live regions example we saw earlier, and note how the screen reader will keep reading out the constantly updating section as it updates. User testing As mentioned above, you can't rely...
Adding a new CSS property
e shorthand parser to be able to reuse the longhand parser. ...
... If you add a shorthand property, you'll need to use the CSS_PROP_SHORTHAND macro. You'll need to use CSS_PROPERTY_PARSE_FUNCTION as described above; you can't use the other options for shorthands. ...
...the VARIANT_* flags), you should use VARIANT_KEYWORD and add a keyword table to the nsCSSProps class. The name of this keyword table needs to go in the nsCSSPropList entry; otherwise that keyword table should be null. If you need a keyword table, you should include auto, normal, or
none (if needed) in that table rather than combining VARIANT_KEYWORD with VARIANT_AUTO, VARIANT_NORMAL, or VARIANT_
NONE. If you add a shorthand property, you'll need to use the CSS_PROP_SHORTHAND macro. You'll need to use CSS_PROPERTY_PARSE_FUNCTION as described above; you can't use the other options for shorthands. And for shorthands you also need to include a subproperty table in nsCSSProps, whose name must match the "method" argument in the CSS_PROP_SHORTHAND macro. When writing the custom parsing code for...
...operty to a shorthand, but only conditionally on that property's preference), call nsCSSProps::IsEnabled(), which is faster than calling into the preferences code For further understanding of how the parsing code works, you should read and understand the code in nsCSSParser.cpp. Computed Style When adding a new longhand property, you also need to implement the computed style side of things. (
None of this applies to shorthand properties.) Start by reading and understanding the "Computed Value:" line in the specification's definition of the property, and any associated prose. This line describes the conceptual representation (but not syntax) of the computed value of the property. The data structures in Gecko that store the computed value must correspond to this concept, or inheritance wo...
Python binding for NSS
objects. Most people will probablby just print the string representation of the returned CertVerifyLog object. Cert validation logging is handled by the Certificate.verify() method. Support has also been added for the various key usage and cert type entities which feature prominently during cert validation. Certificate() constructor signature changed from Certificate(data=
None, der_is_signed=True) to Certificate(data, certdb=cert_get_default_certdb(), perm=False, nickname=
None) This change was necessary because all certs should be added to the NSS temporary database when they are loaded, but earlier code failed to to that. It's is not likely that an previous code was failing to pass initialization data or the der_is_signed flag so this change shoul...
... der_is_signed flag so this change should be backwards compatible. Fix bug #922247, PKCS12Decoder.database_import() method. Importing into a NSS database would sometimes fail or segfault. Error codes and descriptions were updated from upstream NSPR & NSS. The password callback did not allow for breaking out of a password prompting loop, now if
None is returned from the password callback the password prompting is terminated. nss.nss_shutdown_context now called from InitContext destructor, this assures the context is shutdown even if the programmer forgot to. It's still best to explicitly shut it down, this is just failsafe. Support was added for shutdown callbacks. cert_dump.py extended t...
...nd centralize logic. Add repr_kind parameter to cert_trust_flags_str() Add support for repr_kind AsEnumName to bitstring table lookup. Add cert_type_bitstr_to_tuple() lookup function Add PRTimeConvert(), used to convert Python time values to PRTime, centralizes conversion logic, reduces duplication Add UTF8Or
NoneConvert to better handle unicode parameters which are optional. Add Certificate_summary_format_lines() utility to generate concise certificate identification info for output. Certificate_new_from_CERTCertificate now takes add_reference parameter to properly reference count certs, should fix shutdown busy problems. Add print_traceback(), print_c...
...preferred_cipher() nss.nss.token_exists() nss.ssl.config_mp_server_sid_cache() nss.ssl.config_server_session_id_cache_with_opt() nss.ssl.get_max_server_cache_locks() nss.ssl.set_max_server_cache_locks() nss.ssl.shutdown_server_session_id_cache() The following constants were added nss.nss.int.PK11_DIS_COULD_NOT_INIT_TOKEN nss.nss.int.PK11_DIS_
NONE nss.nss.int.PK11_DIS_TOKEN_NOT_PRESENT nss.nss.int.PK11_DIS_TOKEN_VERIFY_FAILED nss.nss.int.PK11_DIS_USER_SELECTED nss.nss.int.PKCS12_DES_56 nss.nss.int.PKCS12_DES_EDE3_168 nss.nss.int.PKCS12_RC2_CBC_128 nss.nss.int.PKCS12_RC2_CBC_40 nss.nss.int.PKCS12_RC4_128 nss.nss.int.PKCS12_RC4_40 The following files were added test/run_tests ...
nsIAppShell
eter array. DispatchNativeEvent() Obsolete since Gecko 1.9 (Firefox 3) After event dispatch execute app specific code. void DispatchNativeEvent( in PRBool aRealEvent, in voidPtr aEvent ); Parameters aRealEvent Event is real or a null placeholder (Macintosh). aEvent Void pointer to native event structure. exit() Exit the handle event loop. void exit(); Parameters
None. favorPerformanceHint() Give hint to native event queue notification mechanism. If the native platform needs to tradeoff performance vs. native event starvation this hint tells the native dispatch code which to favor. The default is to prevent native event starvation. Calls to this function may be nested. When the number of calls that pass PR_TRUE is subtracted from the number of calls that pass ...
... ); Parameters aQueue The queue in question. aListen PR_TRUE for a new queue wanting hooking up. PR_FALSE for a queue wanting to be unhooked. resumeNative() Resumes the use of additional platform-specific methods to run() Gecko events on the main application thread. Calls to suspendNative() and resumeNative may be nested. On some platforms this will be a no-op. void resumeNative(); Parameters
None. run() Enter an event loop. Do not leave until exit() is called. void run(); Parameters
None. runInStableState() Allows running of a "synchronous section", in the form of an nsIRunnable once the event loop has reached a "stable state". A stable state is reached when the currently executing task/event has finished, (see: webappapis.html#synchronous-section). In practice this runs aRunnable once t...
...rrently executing event finishes. If called multiple times per task/event, all the runnables will be executed, in the order in which runInStableState was called. void runInStableState( in nsIRunnable aRunnable ); Parameters aRunnable An nsIRunnable to run. Spindown() Obsolete since Gecko 1.9 (Firefox 3) Prepare to stop processing events. void Spindown(); Parameters
None. Spinup() Obsolete since Gecko 1.9 (Firefox 3) Prepare to process events. void Spinup(); Parameters
None. suspendNative() Suspends the use of additional platform-specific methods (besides the nsIAppShell->run() event loop) to run Gecko events on the main application thread. Under some circumstances these "additional methods" can cause Gecko event handlers to be re-enter...
... ...
nsIAppShellService
pixels, of the window. Height of window at creation. Can be overridden by the "height" tag in the XUL. Set to NS_SIZETOCONTENT to force the window to wrap to its contents. aAppShell A widget "appshell" (event processor) to associate with the new window. Return value Returns the newly created window. destroyHiddenWindow() Destroys a hidden window. void destroyHiddenWindow(); Parameters
None. doProfileStartup() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) Starts up the profile manager with the given arguments. void doProfileStartup( in nsICmdLineService aCmdLineService, in boolean canInteract ); Parameters aCmdLineService The arguments given to the program. canInteract If false and UI is needed, will fail. ...
...emporarily encounter a situation where all application windows will be closed but we do not want to take this as a signal to quit the application. Bracket the code where the last window could close with these. (And at application startup, on platforms that do not normally quit when the last window has closed, call Enter once, but not Exit) void enterLastWindowClosingSurvivalArea(); Parameters
None. exitLastWindowClosingSurvivalArea() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) void exitLastWindowClosingSurvivalArea(); Parameters
None. Native code only!getHiddenWindowAndJSContext Return the (singleton) application hidden window as an nsIDOMWindow, and, the corresponding JavaScript context pointer. This is useful if you'd like to ...
...); Parameters aHiddenDOMWindow The hidden window QueryInterface'd to type nsIDOMWindow. aJSContext The corresponding JavaScript context. hideSplashScreen() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) Remove the splash screen (if visible). This need be called only once per application session. void hideSplashScreen(); Parameters
None. initialize() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) Required initialization routine. void initialize( in nsICmdLineService aCmdLineService, in nsISupports nativeAppSupportOrSplashScreen ); Parameters aCmdLineService Is stored and passed to appshell components as they are initialized. nativeAppSupportOrSplashScreen Is an o...
... the global notification "xul-window-registered" void registerTopLevelWindow( in nsIXULWindow aWindow ); Parameters aWindow The window to register. run() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) Runs an application event loop: normally the main event pump which defines the lifetime of the application. void run(); Parameters
None. topLevelWindowIsModal() Obsolete since Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0) The appshell service needs to be informed of modal XUL windows currently open. Call this method as a window becomes modal or as it becomes nonmodal. void topLevelWindowIsModal( in nsIXULWindow aWindow, in boolean aModal ); Parameters aWindow The window to regi...
nsISelectionController
caretVisible boolean This is true if the caret is enabled, visible, and currently blinking. This is still true when the caret is enabled, visible, but in its "off" blink cycle. Read only. ...
... SCROLL_CENTER_VERTICALLY 1<<4 If set, the specified location will be scrolled to the center of the view. Methods Native code only!characterExtendForBackspace Will extend the selection one character cell backward in the document. This method is used internally for handling backspace key only when we're after UTF-16 surrogates. void characterExtendForBackspace(); Parameters
None. Native code only!characterExtendForDelete Will extend the selection one character cell forward in the document. This method is used internally for handling delete key. void characterExtendForDelete(); Parameters
None. characterMove() Will move the selection one character forward/backward in the document. This will also have the effect of collapsing the selection if the extend = PR_FALSE the "p...
...kward if PR_FALSE. extend Should it collapse the selection or extend it? completeScroll() Will move page view to the top or bottom of the document. void completeScroll( in boolean forward ); Parameters forward Forward or backward if PR_FALSE. getCaretEnabled() Gets the current state of the caret, as set by setCaretEnabled(). boolean getCaretEnabled(); Parameters
None. Return value If aOutEnabled==null, returns NS_ERROR_INVALID_ARG else NS_OK. getDisplaySelection() Will get the display mode for the selection. short getDisplaySelection(); Parameters
None. Return value OFF, ON, DISABLED. getSelection() Will return the selection that the presentation shell may implement. nsISelection getSelection( in short type ); Parameters type Will hold the ...
...rt region, in short flags ); Parameters type The selection to scroll into view. (SelectionType) region The region inside the selection to scroll into view. (SelectionRegion) flags One of the SCROLL_* constants. Exceptions thrown Missing Exception Missing Description selectAll() Will select the whole page. void selectAll(); Parameters
None. setCaretEnabled() Set the caret as enabled or disabled. An enabled caret will draw or blink when made visible. A disabled caret will never show up. Can be called any time. void setCaretEnabled( in boolean enabled ); Parameters enabled PR_TRUE to enable caret. PR_FALSE to disable. setCaretReadOnly() Set the caret readonly or not. An readonly caret will draw but not blink when m...
nsIWebNavigation
g URI , in unsigned long loadFlags , in nsIURI referrer , in nsIInputStream postData, in nsIInputStream headers) void reload(in unsigned long reloadFlags) void stop(in unsigned long stopFlags) Constants Load Flags Constant Value Description LOAD_FLAGS_MASK 65535 This flag defines the range of bits that may be specified. LOAD_FLAGS_
NONE 0 This is the default value for the load flags parameter. LOAD_FLAGS_IS_REFRESH 16 This flag specifies that the load should have the semantics of an HTML Meta-refresh tag (That is, that the cache should be bypassed). This flag is only applicable to loadURI. XXX the meaning of this flag is poorly defined. XXX no one uses this, so we should probably deprecate and remove it. ...
... Read only. canGoForward PRBool Indicates if the object can go forward. If true this indicates that there is forward session history available for navigation. Read only. currentURI nsIURI The currently loaded URI or null. Read only. document nsIDOMDocument Retrieves the current DOM document for the frame, or lazily creates a blank document if there is
none. This attribute never returns null except for unexpected error situations. Read only. referringURI nsIURI The referring URI for the currently loaded URI or null. Read only. sessionHistory nsISHistory The session history object used by this web navigation instance. Methods goBack() Tells the object to navigate to the previous session history item. When a page...
...am headers ); Parameters URI The URI string to load. For HTTP and FTP URLs and possibly others, characters above U+007F will be converted to UTF-8 and then URL- escaped per the rules of RFC 2396. loadFlags Flags modifying load behaviour. This parameter is a bitwise combination of the load flags defined above. (Undefined bits are reserved for future use.) Generally you will pass LOAD_FLAGS_
NONE for this parameter. referrer The referring URI. If this argument is null, then the referring URI will be inferred internally. postData If the URI corresponds to a HTTP request, then this stream is appended directly to the HTTP request headers. It may be prefixed with additional HTTP headers. This stream must contain a \r\n sequence separating any HTTP headers from the HTTP request body. This ...
...re may be cases where the user will be asked to confirm the reload (for example, when it is determined that the request is non-idempotent). void reload( unsigned long reloadFlags ); Parameters reloadFlags Flags modifying load behaviour. This parameter is a bitwise combination of the load flags defined above. (Undefined bits are reserved for future use.) Generally you will pass LOAD_FLAGS_
NONE for this parameter. stop() Stops a load of a URI. void stop( unsigned long stopFlags ); Parameters stopFlags This parameter is one of the stop flags defined above. ...
nsIWindowsRegKey
icted to using only these value types. There is no method that is directly equivalent to RegQueryValueEx or RegSetValueEx. In particular, this interface does not support the REG_MULTI_SZ and REG_EXPAND_SZ value types. It is still possible to enumerate values that have other types (that is, getValueType() may return a type not defined below). Constant Value Description TYPE_
NONE 0 REG_
NONE TYPE_STRING 1 REG_SZ TYPE_BINARY 3 REG_BINARY TYPE_INT 4 REG_DWORD TYPE_INT64 11 REG_QWORD Methods close() This method closes the key. If the key is already closed, then this method does nothing. void close(); Parameters
None. create() This method opens an existing key or creates a new key. Note: On 32-bit Windows...
...ex ); Parameters index The index of the requested value. Return value The name of the n'th value under this key. getValueType() This method returns the type of the value with the given name. unsigned long getValueType( in AString name ); Parameters name The name of the value to query. Return value One of the "TYPE_" constants. hasChanged() boolean hasChanged(); Parameters
None. Return value This method returns true if the key has changed and false otherwise. This method will always return false if startWatching() was not called. hasChild() This method checks to see if the key has a child by the given name. boolean hasChild( in AString name ); Parameters name The name of the requested child key. Return value true if the key has a child by the given name. ha...
...n name. hasValue() This method checks to see if the key has a value by the given name. boolean hasValue( in AString name ); Parameters name The name of the requested value. Return value true if the key has a value by the given name. isWatching() This method returns true if the key is being watched for changes (that is, if startWatching() was called). boolean isWatching(); Parameters
None. Return value true if the key is being watched for changes. open() This method opens an existing key. This method fails if the key does not exist. Note: On 32-bit Windows, it is valid to pass any HKEY as the rootKey parameter of this function. However, for compatibility with 64-bit Windows, that usage should probably be avoided in favor of openChild(). void open( in unsigned long rootKey, in ...
...s key and any of its descendant keys are watched. Otherwise, only this key is watched. void startWatching( in boolean recurse ); Parameters recurse Indicates whether or not to also watch child keys. stopWatching() This method stops any watching of the key initiated by a call to startWatching(). This method does nothing if the key is not being watched. void stopWatching(); Parameters
None. writeBinaryValue() This method writes the binary contents of the named value. The value will be created if it does not already exist. JavaScript callers should take care with the value passed to this method since it will be truncated from a JS string (unicode) to a ISO-Latin-1 string. (The binary data will be treated as an ISO-Latin-1 character string, which it is not). So, JavaScript callers sh...
CDATASection - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/CharacterData" target="_top"><rect x="266" y="1" width="130" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="331" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">CharacterData</text></a><polylin...
...link:href="/docs/Web/API/CharacterData" target="_top"><rect x="266" y="1" width="130" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="331" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">CharacterData</text></a><polyline points="396,25 406,20 406,30 396,25" stroke="#D4DDE4" fill="
none"/><line x1="406" y1="25" x2="436" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Text" target="_top"><rect x="436" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="473.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Text</text></a><polyline points="511,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Text" target="_top"><rect x="436" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="473.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Text</text></a><polyline points="511,25 521,20 521,30 511,25" stroke="#D4DDE4" fill="
none"/><line x1="521" y1="25" x2="529" y2="25" stroke="#D4DDE4"/><line x1="529" y1="25" x2="529" y2="90" stroke="#D4DDE4"/><line x1="529" y1="90" x2="512" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/CDATASection" target="_top"><rect x="391" y="65" width="120" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="451" y="94" font-size="12px" font-family="Consolas,Monaco,...
CanvasRenderingContext2D.filter - Web APIs
url() A CSS <url>. ...
... url() A CSS <url>. ...
... to the drawing. A value of 0% means completely transparent. A value of 100% leaves the drawing unchanged. saturate() A CSS <percentage>. Saturates the drawing. A value of 0% means completely un-saturated. A value of 100% leaves the drawing unchanged. sepia() A CSS <percentage>. Converts the drawing to sepia. A value of 100% means completely sepia. A value of 0% leaves the drawing unchanged.
none No filter is applied. Initial value. Examples To view these examples, make sure to use a browser that supports this feature; see the compatibility table below. Applying a blur This example blurs a piece of text using the filter property. HTML <canvas id="canvas"></canvas> JavaScript const canvas = document.getElementById('canvas'); const ctx = canvas.getContext('2d'); ctx.filter = 'bl...
...anvas = document.getElementById('canvas'); const ctx = canvas.getContext('2d'); ctx.filter = 'blur(4px)'; ctx.font = '48px serif'; ctx.fillText('Hello world', 50, 100); Result Applying multiple filters You can combine as many filters as you like. This example applies the contrast, sepia, and drop-shadow filters to a photo of a gecko. ...
Using files from web applications - Web APIs
ment.getElementById("uploadInput").addEventListener("change", updateSize, false); </script> </body> </html> Using hidden file input elements using the click() method You can hide the admittedly ugly file <input> element and present your own interface for opening the file picker and displaying which file or files the user has selected. ...
...lick() method You can hide the admittedly ugly file <input> element and present your own interface for opening the file picker and displaying which file or files the user has selected. You can do this by styling the input element with display:
none and calling the click() method on the <input> element. ...
..."click", function (e) { if (fileElem) { fileElem.click(); } }, false); You can style the new button for opening the file picker as you wish. Using a label element to trigger a hidden file input element To allow opening the file picker without using JavaScript (the click() method), a <label> element can be used. Note that in this case the input element must not be hidden using display:
none (nor visibility: hidden), otherwise the label would not be keyboard-accessible. Use the visually-hidden technique instead. Consider this HTML: <input type="file" id="fileElem" multiple accept="image/*" class="visually-hidden"> <label for="fileElem">Select some files</label> and this CSS: .visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; cli...
...them explicitly by calling URL.revokeObjectURL(): URL.revokeObjectURL(objectURL); Example: Using object URLs to display images This example uses object URLs to display image thumbnails. In addition, it displays other file information including their names and sizes. The HTML that presents the interface looks like this: <input type="file" id="fileElem" multiple accept="image/*" style="display:
none"> <a href="#" id="fileSelect">Select some files</a> <div id="fileList"> <p>No files selected!</p> </div> This establishes our file <input> element as well as a link that invokes the file picker (since we keep the file input hidden to prevent that less-than-attractive user interface from being displayed). This is explained in the section Using hidden file input elements using the click() metho...
HTMLAnchorElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLAnchorElement" target="_top"><rect x="321" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mo...
HTMLAreaElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLAreaElement" target="_top"><rect x="341" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="416" y="94" font-size="12px" font-family="Consolas,Mona...
HTMLBRElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLBRElement" target="_top"><rect x="361" y="65" width="130" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="426" y="94" font-size="12px" font-family="Consolas,Monaco...
HTMLBaseElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLBaseElement" target="_top"><rect x="341" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="416" y="94" font-size="12px" font-family="Consolas,Mona...
HTMLBodyElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLBodyElement" target="_top"><rect x="341" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="416" y="94" font-size="12px" font-family="Consolas,Mona...
HTMLCanvasElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLCanvasElement" target="_top"><rect x="321" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mo...
HTMLDListElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLDListElement" target="_top"><rect x="331" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Mon...
HTMLDataElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLDataElement" target="_top"><rect x="341" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="416" y="94" font-size="12px" font-family="Consolas,Mona...
HTMLDataListElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLDataListElement" target="_top"><rect x="301" y="65" width="190" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="396" y="94" font-size="12px" font-family="Consolas,...
HTMLDivElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLDivElement" target="_top"><rect x="351" y="65" width="140" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="421" y="94" font-size="12px" font-family="Consolas,Monac...
HTMLEmbedElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLEmbedElement" target="_top"><rect x="331" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Mon...
HTMLFormElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLFormElement" target="_top"><rect x="341" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="416" y="94" font-size="12px" font-family="Consolas,Mona...
HTMLHRElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLHRElement" target="_top"><rect x="361" y="65" width="130" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="426" y="94" font-size="12px" font-family="Consolas,Monaco...
HTMLHeadElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLHeadElement" target="_top"><rect x="341" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="416" y="94" font-size="12px" font-family="Consolas,Mona...
HTMLHeadingElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLHeadingElement" target="_top"><rect x="311" y="65" width="180" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="401" y="94" font-size="12px" font-family="Consolas,M...
HTMLHtmlElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLHtmlElement" target="_top"><rect x="341" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="416" y="94" font-size="12px" font-family="Consolas,Mona...
HTMLIFrameElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLIFrameElement" target="_top"><rect x="321" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mo...
HTMLImageElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLImageElement" target="_top"><rect x="331" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Mon...
HTMLLIElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLLIElement" target="_top"><rect x="361" y="65" width="130" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="426" y="94" font-size="12px" font-family="Consolas,Monaco...
HTMLLabelElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLLabelElement" target="_top"><rect x="331" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Mon...
HTMLLegendElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLLegendElement" target="_top"><rect x="321" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mo...
HTMLMapElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLMapElement" target="_top"><rect x="351" y="65" width="140" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="421" y="94" font-size="12px" font-family="Consolas,Monac...
HTMLMediaElement.onencrypted - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLMediaElement" target="_top"><rect x="331" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Mon...
HTMLMediaElement.onwaitingforkey - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLMediaElement" target="_top"><rect x="331" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Mon...
HTMLMenuElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLMenuElement" target="_top"><rect x="341" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="416" y="94" font-size="12px" font-family="Consolas,Mona...
HTMLMenuItemElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLMenuItemElement" target="_top"><rect x="301" y="65" width="190" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="396" y="94" font-size="12px" font-family="Consolas,...
HTMLMetaElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLMetaElement" target="_top"><rect x="341" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="416" y="94" font-size="12px" font-family="Consolas,Mona...
HTMLMeterElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLMeterElement" target="_top"><rect x="331" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Mon...
HTMLModElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLModElement" target="_top"><rect x="351" y="65" width="140" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="421" y="94" font-size="12px" font-family="Consolas,Monac...
HTMLOListElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLOListElement" target="_top"><rect x="331" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Mon...
HTMLObjectElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLObjectElement" target="_top"><rect x="321" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mo...
HTMLOptGroupElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLOptGroupElement" target="_top"><rect x="301" y="65" width="190" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="396" y="94" font-size="12px" font-family="Consolas,...
HTMLOutputElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLOutputElement" target="_top"><rect x="321" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mo...
HTMLParagraphElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLParagraphElement" target="_top"><rect x="291" y="65" width="200" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="391" y="94" font-size="12px" font-family="Consolas...
HTMLParamElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLParamElement" target="_top"><rect x="331" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Mon...
HTMLPictureElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLPictureElement" target="_top"><rect x="311" y="65" width="180" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="401" y="94" font-size="12px" font-family="Consolas,M...
HTMLPreElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLPreElement" target="_top"><rect x="351" y="65" width="140" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="421" y="94" font-size="12px" font-family="Consolas,Monac...
HTMLProgressElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLProgressElement" target="_top"><rect x="301" y="65" width="190" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="396" y="94" font-size="12px" font-family="Consolas,...
HTMLQuoteElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLQuoteElement" target="_top"><rect x="331" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Mon...
HTMLScriptElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLScriptElement" target="_top"><rect x="321" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mo...
HTMLSelectElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLSelectElement" target="_top"><rect x="321" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mo...
HTMLShadowElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLShadowElement" target="_top"><rect x="321" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mo...
HTMLSourceElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLSourceElement" target="_top"><rect x="321" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mo...
HTMLSpanElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLSpanElement" target="_top"><rect x="341" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="416" y="94" font-size="12px" font-family="Consolas,Mona...
HTMLTableCaptionElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLTableCaptionElement" target="_top"><rect x="261" y="65" width="230" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="376" y="94" font-size="12px" font-family="Conso...
HTMLTableCellElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLTableCellElement" target="_top"><rect x="291" y="65" width="200" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="391" y="94" font-size="12px" font-family="Consolas...
HTMLTableColElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLTableColElement" target="_top"><rect x="301" y="65" width="190" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="396" y="94" font-size="12px" font-family="Consolas,...
HTMLTableRowElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLTableRowElement" target="_top"><rect x="301" y="65" width="190" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="396" y="94" font-size="12px" font-family="Consolas,...
HTMLTableSectionElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLTableSectionElement" target="_top"><rect x="261" y="65" width="230" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="376" y="94" font-size="12px" font-family="Conso...
HTMLTemplateElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLTemplateElement" target="_top"><rect x="301" y="65" width="190" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="396" y="94" font-size="12px" font-family="Consolas,...
HTMLTimeElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLTimeElement" target="_top"><rect x="341" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="416" y="94" font-size="12px" font-family="Consolas,Mona...
HTMLTitleElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLTitleElement" target="_top"><rect x="331" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Mon...
HTMLUListElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLUListElement" target="_top"><rect x="331" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Mon...
HTMLUnknownElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline po...
...<a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a><polyline points="491,25 501,20 501,30 491,25" stroke="#D4DDE4" fill="
none"/><line x1="501" y1="25" x2="509" y2="25" stroke="#D4DDE4"/><line x1="509" y1="25" x2="509" y2="90" stroke="#D4DDE4"/><line x1="509" y1="90" x2="492" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLUnknownElement" target="_top"><rect x="311" y="65" width="180" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="401" y="94" font-size="12px" font-family="Consolas,M...
Drag Operations - Web APIs
ed to indicate that some form of relationship or connection will be created between the source and drop locations. You can specify which of the three operations are allowed for a drag source by setting the effectAllowed property within a dragstart event listener. event.dataTransfer.effectAllowed = "copy"; In this example, only a copy is allowed. You can combine the values in various ways:
none no operation is permitted copy copy only move move only link link only copyMove copy or move only copyLink copy or link only linkMove link or move only all copy, move, or link uninitialized The default value is all. Note that these values must be used exactly as listed above. For example, setting the effectAllowed property to copyMove allows a copy or move operation but prevent...
...lue. So you don't need to adjust this property unless you want to exclude specific types. During a drag operation, a listener for the dragenter or dragover events can check the effectAllowed property to see which operations are permitted. A related property, dropEffect, should be set within one of these events to specify which single operation should be performed. Valid values for dropEffect are
none, copy, move, or link. The combination values are not used for this property. With the dragenter and dragover event, the dropEffect property is initialized to the effect that the user is requesting. The user can modify the desired effect by pressing modifier keys. Although the exact keys used vary by platform, typically the Shift and Control keys would be used to switch between copying, moving, a...
...s certain operations. You can modify the dropEffect property to override the user effect, and enforce a specific drop operation to occur. Note that this effect must be one listed within the effectAllowed property. Otherwise, it will be set to an alternate value that is allowed. event.dataTransfer.dropEffect = "copy"; In this example, copy is the effect that is performed. You can use the value
none to indicate that no drop is allowed at this location, although it is preferred not to cancel the event in this case. Within the drop and dragend events, you can check the dropEffect property to determine which effect was ultimately chosen. If the chosen effect were "move", then the original data should be removed from the source of the drag within the dragend event. Specifying Drop Targets A ...
...ypes[0]); } event.preventDefault(); } Finishing a Drag Once the drag is complete, a dragend event is fired at the source of the drag (the same element that received the dragstart event). This event will fire if the drag was successful[1] or if it was cancelled. However, you can use the dropEffect property to determine which drop operation occurred. If the dropEffect property has the value
none during a dragend, then the drag was cancelled. Otherwise, the effect specifies which operation was performed. The source can use this information after a move operation to remove the dragged item from the old location. The mozUserCancelled property will be set to true if the user cancelled the drag (by pressing Escape), and false if the drag was cancelled for other reasons such as an invalid drop...
RTCPeerConnection - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/RTCPeerConnection" target="_top"><rect x="151" y="1" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="236" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">RTCPeerConnection</text><...
...However, browsers are not required to provide any default ICE servers at all.iceConnectionState Read only The read-only property RTCPeerConnection.iceConnectionState returns an enum of type RTCIceConnectionState which state of the ICE agent associated with the RTCPeerConnection.iceGatheringState Read only The read-only property RTCP...
...ay be. These values are returned by the connectionState property. This state essentially represents the aggregate state of all ICE transports (which are of type RTCIceTransport or RTCDtlsTransport) being used by the connection. Constant Description "new" At least one of the connection's ICE transports (RTCIceTransports or RTCDtlsTransports) are in the "new" state, and
none of them are in one of the following states: "connecting", "checking", "failed", or "disconnected", or all of the connection's transports are in the "closed" state. "connecting" One or more of the ICE transports are currently in the process of establishing a connection; that is, their RTCIceConnectionState is either "checking" or "connected", and no transports are in the "failed" state...
... Make this a link once I know where that will be documented "connected" Every ICE transport used by the connection is either in use (state "connected" or "completed") or is closed (state "closed"); in addition, at least one transport is either "connected" or "completed". "disconnected" At least one of the ICE transports for the connection is in the "disconnected" state and
none of the other transports are in the state "failed", "connecting", or "checking". "failed" One or more of the ICE transports on the connection is in the "failed" state. "closed" The RTCPeerConnection is closed. This value was in the RTCSignalingState enum (and therefore found by reading the value of the signalingState) property until the May 13, 2016 draft of the s...
SVGAnimationElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGAnimationElement" target="_top"><rect x="291" y="65" width="190" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="386" y="94" font-size="12px" font-family="Consolas,...
SVGClipPathElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGClipPathElement" target="_top"><rect x="301" y="65" width="180" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="391" y="94" font-size="12px" font-family="Consolas,M...
SVGComponentTransferFunctionElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGComponentTransferFunctionElement" target="_top"><rect x="131" y="65" width="350" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="306" y="94" font-size="12px" font-f...
SVGCursorElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGCursorElement" target="_top"><rect x="321" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="401" y="94" font-size="12px" font-family="Consolas,Mon...
SVGDescElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGDescElement" target="_top"><rect x="341" y="65" width="140" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Monac...
SVGFEBlendElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEBlendElement" target="_top"><rect x="311" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="396" y="94" font-size="12px" font-family="Consolas,Mo...
SVGFEColorMatrixElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEColorMatrixElement" target="_top"><rect x="251" y="65" width="230" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="366" y="94" font-size="12px" font-family="Conso...
SVGFEComponentTransferElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEComponentTransferElement" target="_top"><rect x="191" y="65" width="290" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="336" y="94" font-size="12px" font-family=...
SVGFECompositeElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFECompositeElement" target="_top"><rect x="271" y="65" width="210" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="376" y="94" font-size="12px" font-family="Consola...
SVGFEDiffuseLightingElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEDiffuseLightingElement" target="_top"><rect x="211" y="65" width="270" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="346" y="94" font-size="12px" font-family="C...
SVGFEDisplacementMapElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEDisplacementMapElement" target="_top"><rect x="211" y="65" width="270" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="346" y="94" font-size="12px" font-family="C...
SVGFEDistantLightElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEDistantLightElement" target="_top"><rect x="241" y="65" width="240" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="361" y="94" font-size="12px" font-family="Cons...
SVGFEDropShadowElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEDropShadowElement" target="_top"><rect x="261" y="65" width="220" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="371" y="94" font-size="12px" font-family="Consol...
SVGFEFloodElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEFloodElement" target="_top"><rect x="311" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="396" y="94" font-size="12px" font-family="Consolas,Mo...
SVGFEImageElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEImageElement" target="_top"><rect x="311" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="396" y="94" font-size="12px" font-family="Consolas,Mo...
SVGFEMergeElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEMergeElement" target="_top"><rect x="311" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="396" y="94" font-size="12px" font-family="Consolas,Mo...
SVGFEMergeNodeElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEMergeNodeElement" target="_top"><rect x="271" y="65" width="210" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="376" y="94" font-size="12px" font-family="Consola...
SVGFEMorphologyElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEMorphologyElement" target="_top"><rect x="261" y="65" width="220" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="371" y="94" font-size="12px" font-family="Consol...
SVGFEOffsetElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEOffsetElement" target="_top"><rect x="301" y="65" width="180" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="391" y="94" font-size="12px" font-family="Consolas,M...
SVGFEPointLightElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFEPointLightElement" target="_top"><rect x="261" y="65" width="220" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="371" y="94" font-size="12px" font-family="Consol...
SVGFESpecularLightingElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFESpecularLightingElement" target="_top"><rect x="201" y="65" width="280" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="341" y="94" font-size="12px" font-family="...
SVGFESpotLightElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFESpotLightElement" target="_top"><rect x="271" y="65" width="210" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="376" y="94" font-size="12px" font-family="Consola...
SVGFETileElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFETileElement" target="_top"><rect x="321" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="401" y="94" font-size="12px" font-family="Consolas,Mon...
SVGFETurbulenceElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFETurbulenceElement" target="_top"><rect x="261" y="65" width="220" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="371" y="94" font-size="12px" font-family="Consol...
SVGFilterElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGFilterElement" target="_top"><rect x="321" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="401" y="94" font-size="12px" font-family="Consolas,Mon...
SVGGradientElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGGradientElement" target="_top"><rect x="301" y="65" width="180" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="391" y="94" font-size="12px" font-family="Consolas,M...
SVGGraphicsElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGGraphicsElement" target="_top"><rect x="301" y="65" width="180" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="391" y="94" font-size="12px" font-family="Consolas,M...
SVGMPathElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGMPathElement" target="_top"><rect x="331" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mona...
SVGMaskElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGMaskElement" target="_top"><rect x="341" y="65" width="140" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Monac...
SVGMetadataElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGMetadataElement" target="_top"><rect x="301" y="65" width="180" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="391" y="94" font-size="12px" font-family="Consolas,M...
SVGPatternElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGPatternElement" target="_top"><rect x="311" y="65" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="396" y="94" font-size="12px" font-family="Consolas,Mo...
SVGPreserveAspectRatio - Web APIs
SVG preserveAspectRatio interface The SVGPreserveAspectRatio interface corresponds to the preserveAspectRatio attribute, which is available for some of SVG's elements. An SVGPreserveAspectRatio object can be designated as read only, which means that attempts to modify the object will result in an exception being thrown. ...
... SVG preserveAspectRatio interface The SVGPreserveAspectRatio interface corresponds to the preserveAspectRatio attribute, which is available for some of SVG's elements. An SVGPreserveAspectRatio object can be designated as read only, which means that attempts to modify the object will result in an exception being thrown. ...
...object can be designated as read only, which means that attempts to modify the object will result in an exception being thrown. ...
...E_SLICE = 2 Normative document SVG 1.1 (2nd Edition) Constants Name Value Description SVG_PRESERVEASPECTRATIO_UNKNOWN 0 The enumeration was set to a value that is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type. SVG_PRESERVEASPECTRATIO_
NONE 1 Corresponds to value
none for attribute preserveAspectRatio. SVG_PRESERVEASPECTRATIO_XMINYMIN 2 Corresponds to value xMinYMin for attribute preserveAspectRatio. SVG_PRESERVEASPECTRATIO_XMIDYMIN 3 Corresponds to value xMidYMin for attribute preserveAspectRatio. SVG_PRESERVEASPECTRATIO_XMAXYMIN 4 Corresponds to value xMaxYMin for attribute preser...
SVGScriptElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGScriptElement" target="_top"><rect x="321" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="401" y="94" font-size="12px" font-family="Consolas,Mon...
SVGStopElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGStopElement" target="_top"><rect x="341" y="65" width="140" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="411" y="94" font-size="12px" font-family="Consolas,Monac...
SVGStyleElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGStyleElement" target="_top"><rect x="331" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mona...
SVGSymbolElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGSymbolElement" target="_top"><rect x="321" y="65" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="401" y="94" font-size="12px" font-family="Consolas,Mon...
SVGTitleElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a><polyline points="481,25 491,20 491,30 481,25" stroke="#D4DDE4" fill="
none"/><line x1="491" y1="25" x2="499" y2="25" stroke="#D4DDE4"/><line x1="499" y1="25" x2="499" y2="90" stroke="#D4DDE4"/><line x1="499" y1="90" x2="482" y2="90" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGTitleElement" target="_top"><rect x="331" y="65" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="94" font-size="12px" font-family="Consolas,Mona...
Using the aria-hidden attribute - Accessibility
ren, it should not be added onto the parent or ancestor of a focusable element. Using aria-hidden="false" will not re-expose the element to assistive technology if any of its parents specify aria-hidden="true". WAI-ARIA Authoring Practices 1.1 notes that aria-hidden="false" currently behaves inconsistently across browsers. Deciding between aria-hidden="true", role="presentation", and role="
none" On the surface, the aria-hidden="true", role="presentation", and role="
none" attributes seem similar because they: hide content from assistive technology cannot be used on a focusable element cannot be used on the parent of an interactive element Despite these similarities, the intent behind each attribute is different. aria-hidden="true" will remove the entire element from the acces...
... Values false (default) The element is exposed to the accessibility API. true The element is not exposed to the accessibility API. undefined (default) The user agent determines if the element is exposed to or hidden from the accessibility API. ...
...ader). <p aria-hidden="true"> Some things are better left unsaid. ...
...t be added when: the HTML hidden attribute is present the element or the element's ancestor is hidden with display:
none The element or the element's ancestor is hidden with visibility: hidden In all three scenarios, the attribute is unnecessary to add because the element has already been removed from the accessibility tree. Specifications See also Using the presentation role role="
none" ...
pointer - CSS: Cascading Style Sheets
The pointer CSS media feature tests whether the user has a pointing device (such as a mouse), and if so, how accurate the primary pointing device is. Note: If you want to test the accuracy of any pointing device, use any-pointer instead. Syntax The pointer feature is specified as a keyword value chosen from the list below.
none The primary input mechanism does not include a pointing device. coarse The primary input mechanism includes a pointing device of limited accuracy. fine The primary input mechanism includes an accurate pointing device. Examples This example creates a small checkbox for users with fine primary pointers and a large checkbox for users with coarse primary pointers. HTML <input id="test" type="checkbox" /> <label for="test">Look at me!</label> CSS input[t...
...includes a pointing device of limited accuracy. fine The primary input mechanism includes an accurate pointing device. Examples This example creates a small checkbox for users with fine primary pointers and a large checkbox for users with coarse primary pointers. ...
...f limited accuracy. fine The primary input mechanism includes an accurate pointing device. Examples This example creates a small checkbox for users with fine primary pointers and a large checkbox for users with coarse primary pointers. ...
... fine The primary input mechanism includes an accurate pointing device. Examples This example creates a small checkbox for users with fine primary pointers and a large checkbox for users with coarse primary pointers. ...
CSS Grid Layout and Progressive Enhancement - CSS: Cascading Style Sheets
{box-sizing: border-box;} .wrapper { border: 2px solid #f76707; border-radius: 5px; background-color: #fff4e6; max-width: 600px; margin: 0 auto; } .wrapper li { border: 2px solid #ffa94d; border-radius: 5px; background-color: #ffd8a8; padding: 1em; color: #d9480f; } .wrapper ul { overflow: hidden; margin: 0 -10px; padding: 0; list-style:
none; } .wrapper li { float: left; width: calc(33.333333% - 20px); margin: 0 10px 20px 10px; } <div class="wrapper"> <ul> <li class="card"><h2>One</h2> <p>We can use CSS Grid to overwrite older methods.</p> </li> <li class="card"><h2>Two</h2> <p>We can use CSS Grid to overwrite older methods.</p> </li> <li class="card"><...
...{box-sizing: border-box;} .wrapper { border: 2px solid #f76707; border-radius: 5px; background-color: #fff4e6; max-width: 600px; margin: 0 auto; } .wrapper li { border: 2px solid #ffa94d; border-radius: 5px; background-color: #ffd8a8; padding: 1em; color: #d9480f; } .wrapper ul { overflow: hidden; margin: 0 -10px; padding: 0; list-style:
none; } .wrapper li { float: left; width: calc(33.333333% - 20px); margin: 0 10px 20px 10px; } @supports (display: grid) { .wrapper ul { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 20px; margin: 0; } .wrapper li { width: auto; min-height: auto; margin: 0; } } <div class="wrapper"> <ul> ...
...es a grid item: * {box-sizing: border-box;} .wrapper { border: 2px solid #f76707; border-radius: 5px; background-color: #fff4e6; max-width: 600px; margin: 0 auto; } .wrapper li { border: 2px solid #ffa94d; border-radius: 5px; background-color: #ffd8a8; padding: 1em; color: #d9480f; } .wrapper ul { margin: 0 -10px; padding: 0; list-style:
none; } .wrapper li { display: inline-block; vertical-align: top; width: calc(33.333333% - 20px); margin: 0 10px 20px 10px; } @supports (display: grid) { .wrapper ul { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 20px; margin: 0; } .wrapper li { width: auto; margin: 0; } } <div class="wrapper"> <u...
...item set to display: table-cell, and then in a feature query change the parent to display: grid, this anonymous box creation will not happen. This means you can overwrite display: table based layouts, without having additional anonymous boxes. Floated elements As we have already seen, float and also clear have no effect on a grid item. Therefore you do not need to explicitly set items to float:
none. Vertical alignment The alignment property vertical-align has no effect on a grid item. In layouts using display: inline-block or display: table, you might use the vertical-align property to perform basic alignment. In your grid layout you then have the far more powerful box alignment properties. Multiple-column layout You can also use multiple column layout as your legacy browser plan, as th...
border-bottom - CSS: Cascading Style Sheets
amples and send us a pull request. As with all shorthand properties, border-bottom always sets the values of all of the properties that it can set, even if they are not specified. It sets those that are not specified to their default values. This means that ... border-bottom-style: dotted; border-bottom: thick green; ... is actually the same as ... border-bottom-style: dotted; border-bottom:
none thick green; ... and the value of border-bottom-style given before border-bottom is ignored. Since the default value of border-bottom-style is
none, not specifying the border-style part results in no border. Constituent properties This property is a shorthand for the following CSS properties: border-bottom-color border-bottom-style border-bottom-width Syntax border-bottom: 1px; border...
...ed; border-bottom: medium dashed blue; The three values of the shorthand property can be specified in any order, and one or two of them may be omitted. Values <br-width> See border-bottom-width. <br-style> See border-bottom-style. <color> See border-bottom-color. ...
...yle. <color> See border-bottom-color. Formal definition Initial valueas each of the properties of the shorthand:border-bottom-width: mediumborder-bottom-style:
noneborder-bottom-color: currentcolorApplies toall elements. ...
...) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ...
border-image-source - CSS: Cascading Style Sheets
s interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. The border-image-slice property is used to divide the source image into regions, which are then dynamically applied to the final border image. Syntax /* Keyword value */ border-image-source:
none; /* <image> values */ border-image-source: url(image.jpg); border-image-source: linear-gradient(to top, red, yellow); /* Global values */ border-image-source: inherit; border-image-source: initial; border-image-source: unset; Values
none No border image is used. The appearance defined by border-style is displayed instead. <image> Image reference to use for the border. Formal definitio...
...lues */ border-image-source: url(image.jpg); border-image-source: linear-gradient(to top, red, yellow); /* Global values */ border-image-source: inherit; border-image-source: initial; border-image-source: unset; Values
none No border image is used. The appearance defined by border-style is displayed instead. <image> Image reference to use for the border. Formal definition Initial value
noneApplies toall elements, except internal table elements when border-collapse is collapse. ...
...t; border-image-source: initial; border-image-source: unset; Values
none No border image is used. The appearance defined by border-style is displayed instead. <image> Image reference to use for the border. Formal definition Initial value
noneApplies toall elements, except internal table elements when border-collapse is collapse. ...
...order image is used. The appearance defined by border-style is displayed instead. <image> Image reference to use for the border. Formal definition Initial value
noneApplies toall elements, except internal table elements when border-collapse is collapse. ...
border-inline - CSS: Cascading Style Sheets
n. It corresponds to the border-top and border-bottom or border-right, and border-left properties, depending on the values defined for writing-mode, direction, and text-orientation. The borders in the other dimension can be set with border-block, which sets border-block-start, and border-block-end. ...
...ders in the other dimension can be set with border-block, which sets border-block-start, and border-block-end. Initial valueas each of the properties of the shorthand:border-top-width: mediumborder-top-style:
noneborder-top-color: currentcolorApplies toall elementsInheritednoComputed valueas each of the properties of the shorthand:border-top-width: the absolute length or 0 if border-top-style is
none or hiddenborder-top-style: as specifiedborder-top-color: computed colorAnimation typediscrete Constituent properties This property is a shorthand for the following CSS properties: border-inline-color border-inline-style border-inline-width Syntax Values The border-inline is specified with one or more of the following, in any order: <'border-width'> The width of the border. See bord...
...dth Syntax Values The border-inline is specified with one or more of the following, in any order: <'border-width'> The width of the border. See border-width. <'border-style'> The line style of the border. See border-style. <'color'> The color of the border. See color. ...
...ine style of the border. See border-style. <'color'> The color of the border. See color. ...
border-left - CSS: Cascading Style Sheets
ractive-examples and send us a pull request. As with all shorthand properties, border-left always sets the values of all of the properties that it can set, even if they are not specified. It sets those that are not specified to their default values. This means that ... border-left-style: dotted; border-left: thick green; ... is actually the same as ... border-left-style: dotted; border-left:
none thick green; ... and the value of border-left-style given before border-left is ignored. Since the default value of border-left-style is
none, not specifying the border-style part results in no border. Constituent properties This property is a shorthand for the following CSS properties: border-left-color border-left-style border-left-width Syntax border-left: 1px; border-left: 2px dot...
...t: 2px dotted; border-left: medium dashed green; The three values of the shorthand property can be specified in any order, and one or two of them may be omitted. Values <br-width> See border-left-width. <br-style> See border-left-style. <color> See border-left-color. ...
...rder-left-style. <color> See border-left-color. Formal definition Initial valueas each of the properties of the shorthand:border-left-width: mediumborder-left-style:
noneborder-left-color: currentcolorApplies toall elements. ...
...) | rgb( <number>{3} [ / <alpha-value> ]? ...
border-right - CSS: Cascading Style Sheets
ve-examples and send us a pull request. As with all shorthand properties, border-right always sets the values of all of the properties that it can set, even if they are not specified. It sets those that are not specified to their default values. This means that ... border-right-style: dotted; border-right: thick green; ... is actually the same as ... border-right-style: dotted; border-right:
none thick green; ... and the value of border-right-style given before border-right is ignored. Since the default value of border-right-style is
none, not specifying the border-style part results in no border. Constituent properties This property is a shorthand for the following CSS properties: border-right-color border-right-style border-right-width Syntax border-right: 1px; border-right:...
... dotted; border-right: medium dashed green; The three values of the shorthand property can be specified in any order, and one or two of them may be omitted. Values <br-width> See border-right-width. <br-style> See border-right-style. <color> See border-right-color. ...
...ght-style. <color> See border-right-color. Formal definition Initial valueas each of the properties of the shorthand:border-right-width: mediumborder-right-style:
noneborder-right-color: currentcolorApplies toall elements. ...
...) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ...
border-top - CSS: Cascading Style Sheets
/interactive-examples and send us a pull request. As with all shorthand properties, border-top always sets the values of all of the properties that it can set, even if they are not specified. It sets those that are not specified to their default values. This means that ... border-top-style: dotted; border-top: thick green; ... is actually the same as ... border-top-style: dotted; border-top:
none thick green; ... and the value of border-top-style given before border-top is ignored. Since the default value of border-top-style is
none, not specifying the border-style part results in no border. Constituent properties This property is a shorthand for the following CSS properties: border-top-color border-top-style border-top-width Syntax border-top: 1px; border-top: 2px dotted; bor...
...der-top: 2px dotted; border-top: medium dashed green; The three values of the shorthand property can be specified in any order, and one or two of them may be omitted. Values <br-width> See border-top-width. <br-style> See border-top-style. <color> See border-top-color. ...
... See border-top-style. <color> See border-top-color. Formal definition Initial valueas each of the properties of the shorthand:border-top-width: mediumborder-top-style:
noneborder-top-color: currentcolorApplies toall elements. ...
...) | rgb( <number>{3} [ / <alpha-value> ]? ...
border-width - CSS: Cascading Style Sheets
a single document. Formal definition Initial valueas each of the properties of the shorthand:border-top-width: mediumborder-right-width: mediumborder-bottom-width: mediumborder-left-width: mediumApplies toall elements. ...
... of the shorthand:border-top-width: mediumborder-right-width: mediumborder-bottom-width: mediumborder-left-width: mediumApplies toall elements. ...
...dth: mediumborder-left-width: mediumApplies toall elements. ...
...:first-letter.InheritednoComputed valueas each of the properties of the shorthand:border-bottom-width: the absolute length or 0 if border-bottom-style is
none or hiddenborder-left-width: the absolute length or 0 if border-left-style is
none or hiddenborder-right-width: the absolute length or 0 if border-right-style is
none or hiddenborder-top-width: the absolute length or 0 if border-top-style is
none or hiddenAnimation typeas each of the properties of the shorthand:border-bottom-width: a lengthborder-left-width: a lengthborder-right-width: a lengthborder-top-width: a length Formal syntax <line-width>{1,4}where <line-width> = <length> | thin | medium | thick Examples A mix of values and lengths HTML <p id="sval"> one value: 6px wide border on all 4 sides</p> <p id="bival"> two di...
box-shadow - CSS: Cascading Style Sheets
dow from the frame of almost any element. If a border-radius is specified on the element with a box shadow, the box shadow takes on the same rounded corners. The z-ordering of multiple box shadows is the same as multiple text shadows (the first specified shadow is on top). Box-shadow generator is an interactive tool allowing you to generate a box-shadow. ...
...ius> This is a fourth <length> value. Positive values will cause the shadow to expand and grow bigger, negative values will cause the shadow to shrink. If not specified, it will be 0 (the shadow will be the same size as the element). <color> See <color> values for possible keywords and notations. If not specified, it defaults to currentcolor. Interpolation Each shadow in the list (treating
none as a 0-length list) is interpolated via the color (as color) component, and x, y, blur, and (when appropriate) spread (as length) components. For each shadow, if both input shadows are or are not inset, then the interpolated shadow must match the input shadows in that regard. If any pair of input shadows has one inset and the other not inset, the entire shadow list is uninterpolable. If the lists...
...ted shadow must match the input shadows in that regard. If any pair of input shadows has one inset and the other not inset, the entire shadow list is uninterpolable. If the lists of shadows have different lengths, then the shorter list is padded at the end with shadows whose color is transparent, all lengths are 0, and whose inset (or not) matches the longer list. ...
...ths, then the shorter list is padded at the end with shadows whose color is transparent, all lengths are 0, and whose inset (or not) matches the longer list. Formal definition Initial value
noneApplies toall elements. ...
contain - CSS: Cascading Style Sheets
pendent, as it can be used to prevent each widget's internals from having side effects outside of the widget's bounding-box. Note: If applied (with value: paint, strict or content), this property creates: A new containing block (for the descendants whose position property is absolute or fixed). A new stacking context. A new block formatting context. Syntax /* Keyword values */ contain:
none; contain: strict; contain: content; contain: size; contain: layout; contain: style; contain: paint; /* Multiple keywords */ contain: size paint; contain: size layout paint; /* Global values */ contain: inherit; contain: initial; contain: unset; The contain property is specified as either one of the following: Using a single
none, strict, or content keyword. Using one or more of the size, l...
...: layout; contain: style; contain: paint; /* Multiple keywords */ contain: size paint; contain: size layout paint; /* Global values */ contain: inherit; contain: initial; contain: unset; The contain property is specified as either one of the following: Using a single
none, strict, or content keyword. Using one or more of the size, layout, style, and paint keywords in any order. Values
none Indicates the element renders as normal, with no containment applied. strict Indicates that all containment rules except style are applied to the element. This is equivalent to contain: size layout paint. content Indicates that all containment rules except size and style are applied to the element. This is equivalent to contain: layout paint. size Indicates that the element can be sized wi...
...ants of the element don't display outside its bounds. If the containing box is offscreen, the browser does not need to paint its contained elements -- these must also be offscreen as they are contained completely by that box. And if a descendant overflows the containing element's bounds, then that descendant will be clipped to the containing element's border-box. ...
...does not need to paint its contained elements -- these must also be offscreen as they are contained completely by that box. And if a descendant overflows the containing element's bounds, then that descendant will be clipped to the containing element's border-box. ...
counter-increment - CSS: Cascading Style Sheets
trary number using the counter-reset CSS property. ...
...
none; /* Global values */ counter-increment: inherit; counter-increment: initial; counter-increment: unset; The counter-increment property is specified as either one of the following: A <custom-ident> naming the counter, followed optionally by an <integer>. You may specify as many counters to increment as you want, with each name or name-number pair separated by a space. The keyword value
none. Values <custom-ident> The name of the counter to increment. <integer> The value to add to the counter. Defaults to 1 if not specified.
none No counter must be incremented. This is used as the default value, or to cancel an increment in more specific rules. ...
...ent as you want, with each name or name-number pair separated by a space. The keyword value
none. Values <custom-ident> The name of the counter to increment. <integer> The value to add to the counter. Defaults to 1 if not specified.
none No counter must be incremented. This is used as the default value, or to cancel an increment in more specific rules. ...
... of the counter to increment. <integer> The value to add to the counter. Defaults to 1 if not specified.
none No counter must be incremented. This is used as the default value, or to cancel an increment in more specific rules. Formal definition Initial value
noneApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax [ <custom-ident> <integer>? ]+ |
none Examples Incrementing named counters h1 { counter-increment: chapter section 2 page; /* Increases the value of the chapter and page counters by 1, and the section counter by 2 */ } Specifications Specification Status Comment CSS Lists Module Level 3The definition of 'counter-increment' in that specification. Working Draft No change. CSS Le...
counter-reset - CSS: Cascading Style Sheets
. Note: The counter's value can be increased or decreased using the counter-increment CSS property. Syntax /* Set "my-counter" to 0 */ counter-reset: my-counter; /* Set "my-counter" to -1 */ counter-reset: my-counter -1; /* Set "counter1" to 1, and "counter2" to 4 */ counter-reset: counter1 1 counter2 4; /* Cancel any reset that could have been set in less specific rules */ counter-reset:
none; /* Global values */ counter-reset: inherit; counter-reset: initial; counter-reset: unset; The counter-reset property is specified as either one of the following: A <custom-ident> naming the counter, followed optionally by an <integer>. You may specify as many counters to reset as you want, with each name or name-number pair separated by a space. The keyword value
none. Values <custom...
...ollowing: A <custom-ident> naming the counter, followed optionally by an <integer>. You may specify as many counters to reset as you want, with each name or name-number pair separated by a space. The keyword value
none. Values <custom-ident> The name of the counter to reset. <integer> The value to reset the counter to on each occurrence of the element. Defaults to 0 if not specified.
none No counter reset is to be performed. This can be used to override a counter-reset defined in a less specific rule. ...
...e or name-number pair separated by a space. The keyword value
none. Values <custom-ident> The name of the counter to reset. <integer> The value to reset the counter to on each occurrence of the element. Defaults to 0 if not specified.
none No counter reset is to be performed. This can be used to override a counter-reset defined in a less specific rule. ...
...teger> The value to reset the counter to on each occurrence of the element. Defaults to 0 if not specified.
none No counter reset is to be performed. This can be used to override a counter-reset defined in a less specific rule. Formal definition Initial value
noneApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax [ <custom-ident> <integer>? ]+ |
none Examples Resetting named counters h1 { counter-reset: chapter section 1 page; /* Sets the chapter and page counters to 0, and the section counter to 1 */ } Specifications Specification Status Comment CSS Lists Module Level 3The definition of 'counter-reset' in that specification. Working Draft No change. CSS Level 2 (Revision 1)The definiti...
counter-set - CSS: Cascading Style Sheets
nt. Note: The counter's value can be incremented or decremented using the counter-increment CSS property. Syntax /* Set "my-counter" to 0 */ counter-set: my-counter; /* Set "my-counter" to -1 */ counter-set: my-counter -1; /* Set "counter1" to 1, and "counter2" to 4 */ counter-set: counter1 1 counter2 4; /* Cancel any counter that could have been set in less specific rules */ counter-set:
none; /* Global values */ counter-set: inherit; counter-set: initial; counter-set: unset; The counter-set property is specified as either one of the following: A <custom-ident> naming the counter, followed optionally by an <integer>. You may specify as many counters to reset as you want, with each name or name-number pair separated by a space. The keyword value
none. Values <custom-ident> ...
... <custom-ident> The name of the counter to set. <integer> The value to set the counter to on each occurrence of the element. Defaults to 0 if not specified. If there isn't currently a counter of the given name on the element, the element will create a new counter of the given name with a starting value of 0 (though it may then immediately set or increment that value to something different). ...
...specified. If there isn't currently a counter of the given name on the element, the element will create a new counter of the given name with a starting value of 0 (though it may then immediately set or increment that value to something different).
none No counter set is to be performed. This can be used to override a counter-set defined in a less specific rule. ...
... with a starting value of 0 (though it may then immediately set or increment that value to something different).
none No counter set is to be performed. This can be used to override a counter-set defined in a less specific rule. Formal definition Initial value
noneApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax [ <custom-ident> <integer>? ]+ |
none Examples Setting named counters h1 { counter-set: chapter section 1 page; /* Sets the chapter and page counters to 0, and the section counter to 1 */ } Specifications Specification Status Comment CSS Lists Module Level 3The definition of 'counter-set' in that specification. Working Draft Initial definition. ...
grid-template-columns - CSS: Cascading Style Sheets
The grid-template-columns CSS property defines the line names and track sizing functions of the grid columns. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
...Any columns will be implicitly generated and their size will be determined by the grid-auto-columns property. <length> A non-negative length, giving the width of the column. <percentage> Is a non-negative <percentage> value relative to the inline size of the grid container. If the size of the grid container depends on the size of its tracks, then the...
...subgrid The subgrid value indicates that the grid will adopt the spanned portion of its parent grid in that axis. Rather than being specified explicitly, the sizes of the grid rows/columns will be taken from the parent grid's definition. The subgrid value is from Level 2 of the Grid specification and currently only has implementation in Firefox 71 and onwards. ...
...[ <track-size> | <track-repeat> ] ]+ <line-names>?<auto-track-list> = [ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>? <auto-repeat> [ <line-names>? ...
image-orientation - CSS: Cascading Style Sheets
tation adjustments; instead, the transform property should be used with the rotate <transform-function>. Warning: This property is deprecated in the specification. Its functionality may be moved into properties on the <img> and/or <picture> elements, with the possible exception of from-image. The flip and <angle> values were made obsolete in Firefox 63. /* keyword values */ image-orientation:
none; image-orientation: from-image; /* Use EXIF data from the image */ /* Global values */ image-orientation: inherit; image-orientation: initial; image-orientation: unset; /* Obsolete Values. Obsolete since Gecko 63 */ image-orientation: 90deg; /* Rotate 90deg */ image-orientation: 90deg flip; /* Rotate 90deg, and flip it horizontally */ image-orientation: flip; /* No rotation, only applies a hori...
... Use EXIF data from the image */ /* Global values */ image-orientation: inherit; image-orientation: initial; image-orientation: unset; /* Obsolete Values. Obsolete since Gecko 63 */ image-orientation: 90deg; /* Rotate 90deg */ image-orientation: 90deg flip; /* Rotate 90deg, and flip it horizontally */ image-orientation: flip; /* No rotation, only applies a horizontal flip */ Syntax Values
none Default initial value. Will not apply any additional image rotation; the image is oriented as encoded or as other CSS property values dictate. from-image The EXIF information contained in the image will be used to rotate the image appropriately. <angle> Obsolete since Gecko 63 The <angle> of rotation to apply to the image. It is rounded to the nearest 90deg (0.25turn). flip Obsolete since...
...om-image | <angle> | [ <angle>? ...
...ge | <angle> | [ <angle>? ...
mask-border-source - CSS: Cascading Style Sheets
The mask-border-source CSS property sets the source image used to create an element's mask border. The mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border. ...
... is used to divide the source image into regions, which are then dynamically applied to the final mask border. Syntax /* Keyword value */ mask-border-source:
none; /* <image> values */ mask-border-source: url(image.jpg); mask-border-source: linear-gradient(to top, red, yellow); /* Global values */ mask-border-source: inherit; mask-border-source: initial; mask-border-source: unset; Values
none No mask border is used. <image> Image reference to use for the mask border. ...
... /* Keyword value */ mask-border-source:
none; /* <image> values */ mask-border-source: url(image.jpg); mask-border-source: linear-gradient(to top, red, yellow); /* Global values */ mask-border-source: inherit; mask-border-source: initial; mask-border-source: unset; Values
none No mask border is used. <image> Image reference to use for the mask border. ...
...initial; mask-border-source: unset; Values
none No mask border is used. <image> Image reference to use for the mask border. ...
max-width - CSS: Cascading Style Sheets
for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. max-width overrides width, but min-width overrides max-width. ...
... max-content The intrinsic preferred max-width. min-content The intrinsic minimum max-width. fit-content(<length-percentage>) Uses the fit-content formula with the available space replaced by the specified argument, i.e. min(max-content, max(min-content, argument)). ...
...the specified argument, i.e. min(max-content, max(min-content, argument)). Accessibility concerns Ensure that elements set with a max-width are not truncated and/or do not obscure other content when the page is zoomed to increase text size. ...
...d to increase text size. MDN Understanding WCAG, Guideline 1.4 explanations Understanding Success Criterion 1.4.4 | W3C Understanding WCAG 2.0 Formal definition Initial value
noneApplies toall elements but non-replaced inline elements, table rows, and row groupsInheritednoPercentagesrefer to the width of the containing blockComputed valuethe percentage as specified or the absolute length or
noneAnimation typea length, percentage or calc(); Formal syntax auto | <length> | <percentage> | min-content | max-content | fit-content(<length-percentage>)where <length-percentage> = <length> | <percentage> Examples Setting max width in pixels In this example, the "child" will be either 150 pixels wide or the width of the "parent," whichever is smaller. HTML <div id="parent"> <div id="chil...
outline - CSS: Cascading Style Sheets
: inset thick; /* color | style | width */ outline: green solid 3px; /* Global values */ outline: inherit; outline: initial; outline: unset; The outline property may be specified using one, two, or three of the values listed below. The order of the values does not matter. Note: The outline will be invisible for many elements if its style is not defined. This is because the style defaults to
none. A notable exception is input elements, which are given default styling by browsers. Values <'outline-color'> Sets the color of the outline. Defaults to currentcolor if absent. See outline-color. <'outline-style'> Sets the style of the outline. Defaults to
none if absent. See outline-style. <'outline-width'> Sets the thickness of the outline. Defaults to medium if absent. See outline-wi...
...y similar. However, outlines differ from borders in the following ways: Outlines never take up space, as they are drawn outside of an element's content. According to the spec, outlines don't have to be rectangular, although they usually are. As with all shorthand properties, any omitted sub-values will be set to their initial value. Accessibility concerns Assigning outline a value of 0 or
none will remove the browser's default focus style. If an element can be interacted with it must have a visible focus indicator. Provide obvious focus styling if the default focus style is removed. How to Design Useful and Usable Focus Indicators WCAG 2.1: Understanding Success Criterion 2.4.7: Focus Visible Formal definition Initial valueas each of the properties of the shorthand:outline-...
... it must have a visible focus indicator. Provide obvious focus styling if the default focus style is removed. How to Design Useful and Usable Focus Indicators WCAG 2.1: Understanding Success Criterion 2.4.7: Focus Visible Formal definition Initial valueas each of the properties of the shorthand:outline-color: invert, for browsers supporting it, currentColor for the otheroutline-style:
noneoutline-width: mediumApplies toall elementsInheritednoComputed valueas each of the properties of the shorthand:outline-color: For the keyword invert, the computed value is invert. For the color value, if the value is translucent, the computed value will be the rgba() corresponding one. If it isn't, it will be the rgb() corresponding one. The transparent keyword maps to rgba(0,0,0,0).outline-width:...
...lementsInheritednoComputed valueas each of the properties of the shorthand:outline-color: For the keyword invert, the computed value is invert. For the color value, if the value is translucent, the computed value will be the rgba() corresponding one. If it isn't, it will be the rgb() corresponding one. ...
overflow-anchor - CSS: Cascading Style Sheets
sts scroll position to minimize content shifts. Scroll anchoring behavior is enabled by default in any browser that supports it. Therefore, changing the value of this property is typically only required if you are experiencing problems with scroll anchoring in a document or part of a document and need to turn the behavior off. ...
...y required if you are experiencing problems with scroll anchoring in a document or part of a document and need to turn the behavior off. Syntax /* Keyword values */ overflow-anchor: auto; overflow-anchor:
none; /* Global values */ overflow-anchor: inherit; overflow-anchor: initial; overflow-anchor: unset; Values auto The element becomes a potential anchor when adjusting scroll position.
none The element won't be selected as a potential anchor. ...
... Editor's Draft Initial definition. ...
...a potential anchor when adjusting scroll position.
none The element won't be selected as a potential anchor. Formal definition Initial valueautoApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax auto |
none Examples Prevent scroll anchoring To prevent scroll anchoring in a document, use the overflow-anchor property. body { overflow-anchor:
none; } Specifications Specification Status Comment CSS Scroll Anchoring Module Level 1The definition of 'overflow-anchor' in that specification. Editor's Draft Initial definition. ...
overscroll-behavior - CSS: Cascading Style Sheets
The overscroll-behavior CSS property sets what a browser does when reaching the boundary of a scrolling area. It's a shorthand for overscroll-behavior-x and overscroll-behavior-y. /* Keyword values */ overscroll-behavior: auto; /* default */ overscroll-behavior: contain; overscroll-behavior:
none; /* Two values */ overscroll-behavior: auto contain; /* Global values */ overscroll-behavior: inherit; overscroll-behavior: initial; overscroll-behavior: unset; By default, mobile browsers tend to provide a "bounce" effect or even a page refresh when the top or bottom of a page (or other scroll area) is reached. You may also have noticed that when you have a dialog box with scrolling content on top of a page of scrolling content, once the dialog box's scroll boundary is reached, the underlying p...
...tively. If only one value is specified, both x and y are assumed to have the same value. Values auto The default scroll overflow behavior occurs as normal. contain Default scroll overflow behavior is observed inside the element this value is set on (e.g. "bounce" effects or refreshes), but no scroll chaining occurs to neighbouring scrolling areas, e.g. underlying elements will not scroll. ...
...to neighbouring scrolling areas, e.g. underlying elements will not scroll.
none No scroll chaining occurs to neighbouring scrolling areas, and default scroll overflow behavior is prevented. Formal definition Initial valueautoApplies tonon-replaced block-level elements and non-replaced inline-block elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax [ contain |
none | auto ]{1,2} Examples Preventing an underlying element from scrolling In our overscroll-behavior example (see the source code also), we present a full-page list of fake contacts, and a dialog box containing a chat window. Both of these areas scroll; normally if you scrolled the chat window until you hit a scroll boundary, the underlying contacts window would start to scroll too, which is n...
...scroll-behavior would also work) on the chat window, like this: .messages { height: 220px; overflow: auto; overscroll-behavior-y: contain; } We also wanted to get rid of the standard overscroll effects when the contacts are scrolled to the top or bottom (e.g. Chrome on Android refreshes the page when you scroll past the top boundary). This can be prevented by setting overscroll-behavior:
none on the <body> element: body { margin: 0; overscroll-behavior:
none; } Specifications Specification Status Comment CSS Overscroll Behavior Module Level 1The definition of 'overscroll-behavior' in that specification. Working Draft ...
rotate - CSS: Cascading Style Sheets
The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform property. Syntax /* Keyword values */ rotate:
none; /* Angle value */ rotate: 90deg; rotate: 0.25turn; rotate: 1.57rad; /* x, y, or z axis name plus angle */ rotate: x 90deg; rotate: y 0.25turn; rotate: z 1.57rad; /* Vector plus angle value */ rotate: 1 1 1 90deg; Values angle value An <angle> specifying the angle to rotate the affected element through, around the Z axis. Equivalent to a rotate() (2D rotation) function. x, y, or z axis name plus angle value The name of the axis you want to rotate the affected elemen...
... an <angle> specifying the angle to rotate the element through. Equivalent to a rotateX()/rotateY()/rotateZ() (3D rotation) function. vector plus angle value Three <number>s representing an origin-centered vector that defines a line around which you want to rotate the element, plus an <angle> specifying the angle to rotate the element through. Equivalent to a rotate3d() (3D rotation) function. ...
...X()/rotateY()/rotateZ() (3D rotation) function. vector plus angle value Three <number>s representing an origin-centered vector that defines a line around which you want to rotate the element, plus an <angle> specifying the angle to rotate the element through. Equivalent to a rotate3d() (3D rotation) function.
none Specifies that no rotation should be applied. ...
...a line around which you want to rotate the element, plus an <angle> specifying the angle to rotate the element through. Equivalent to a rotate3d() (3D rotation) function.
none Specifies that no rotation should be applied. ...
scale - CSS: Cascading Style Sheets
The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value. 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. Equivalent to a scale() (2D scaling) function with a single value specified. Two length/percentage values Two <number>s ...
...th a single value specified. Two length/percentage values Two <number>s that specify the X and Y axis scaling values (respectively) of a 2D scale. Equivalent to a scale() (2D scaling) function with two values specified. Three length/percentage values Three <number>s that specify the X, Y, and Z axis scaling values (respectively) of a 3D scale. Equivalent to a scale3d() (3D scaling) function. ...
...y the X and Y axis scaling values (respectively) of a 2D scale. Equivalent to a scale() (2D scaling) function with two values specified. Three length/percentage values Three <number>s that specify the X, Y, and Z axis scaling values (respectively) of a 3D scale. Equivalent to a scale3d() (3D scaling) function.
none Specifies that no scaling should be applied. ...
...e length/percentage values Three <number>s that specify the X, Y, and Z axis scaling values (respectively) of a 3D scale. Equivalent to a scale3d() (3D scaling) function.
none Specifies that no scaling should be applied. ...
scroll-snap-coordinate - CSS: Cascading Style Sheets
The scroll-snap-coordinate CSS property defines the x and y coordinate positions within an element that will align with its nearest ancestor scroll container's scroll-snap-destination for each respective axis. ...
... /* Single coordinate */ scroll-snap-coordinate: 100px 100px, 100px bottom; /* Multiple coordinates */ /* Global values */ scroll-snap-coordinate: inherit; scroll-snap-coordinate: initial; scroll-snap-coordinate: unset; If the element has been transformed, the snap coordinates are likewise transformed, thus aligning the snap points with the element as it is displayed. ...
... the snap points with the element as it is displayed. Syntax Values
none Specifies that the element does not contribute to a snap point. <position> Specifies the offset of the snap coordinates from the start edge of the element's border box. For each pairing, the first value gives the x coordinate of the snap coordinate, the second value its y coordinate. ...
...he start edge of the element's border box. For each pairing, the first value gives the x coordinate of the snap coordinate, the second value its y coordinate. ...
scroll-snap-points-x - CSS: Cascading Style Sheets
Elements within the scroll container may still define snap points on behalf of the scroll container. ...
...Elements within the scroll container may still define snap points on behalf of the scroll container. ...
...ll container does not define any snap points. Elements within the scroll container may still define snap points on behalf of the scroll container. repeat(<length-percentage>) Defines an interval at which snap points are defined, starting from the container's relevant start edge. Only positive lengths are allowed. Percentages refer to the width of the container. ...
...rom the container's relevant start edge. Only positive lengths are allowed. Percentages refer to the width of the container. ...
scroll-snap-points-y - CSS: Cascading Style Sheets
Elements within the scroll container may still define snap points on behalf of the scroll container. ...
...Elements within the scroll container may still define snap points on behalf of the scroll container. ...
...ll container does not define any snap points. Elements within the scroll container may still define snap points on behalf of the scroll container. repeat(<length-percentage>) Defines an interval at which snap points are defined, starting from the container's relevant start edge. Only positive lengths are allowed. Percentages refer to the width of the container. ...
...rom the container's relevant start edge. Only positive lengths are allowed. Percentages refer to the width of the container. ...
text-emphasis-style - CSS: Cascading Style Sheets
The text-emphasis-style CSS property sets the appearance of emphasis marks. It can also be set, and reset, using the text-emphasis shorthand. /* Initial value */ text-emphasis-style:
none; /* No emphasis marks */ /* <string> values */ text-emphasis-style: 'x'; text-emphasis-style: '?'; text-emphasis-style: '\25B2'; text-emphasis-style: '*'; text-emphasis-style: 'foo'; /* Should NOT be used. It may be computed to or rendered as 'f' only */ /* Keyword values */ text-emphasis-style: filled; text-emphasis-style: open; text-emphasis-style: dot; text-emphasis-style: circle; text-emphasis-style: double-circle; text-emphasis-style: triangle; text-emphasis-style: filled sesame; text-emphasis-style: open sesame; /* Global values */ text-emphasis-style: inherit; text-emphasis-style: initial; text-em...
... filled The shape is filled with solid color. If neither filled nor open is present, this is the default. open The shape is hollow. dot Display small circles as marks. The filled dot is 'o' (U+2022), and the open dot is 'o' (U+25E6). circle Display large circles as marks. The filled circle is '?' (U+25CF), and the open circle is '?' (U+25CB). double-circle Display dou...
...triangle is '?' (U+25B2), and the open triangle is '?' (U+25B3). sesame Display sesames as marks. The filled sesame is '?' (U+FE45), and the open sesame is '?' (U+FE46). <string> Display the given string as marks. Authors should not specify more than one character in <string>. The UA may truncate or ignore strings consisting of more than one grapheme cluster. ...
...e filled sesame is '?' (U+FE45), and the open sesame is '?' (U+FE46). <string> Display the given string as marks. Authors should not specify more than one character in <string>. The UA may truncate or ignore strings consisting of more than one grapheme cluster. Formal definition Initial value
noneApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax
none | [ [ filled | open ] | [ dot | circle | double-circle | triangle | sesame ] ] | <string> Examples h2 { text-emphasis-style: sesame; } Specifications Specification Status Comment CSS Text Decoration Module Level 3The definition of 'text-emphasis' in that specification. Candidate Recommendation Initial definition ...
text-justify - CSS: Cascading Style Sheets
This has the same effect as not setting text-align at all, although it is useful if you need to turn justification on and off for some reason. ...
...This has the same effect as not setting text-align at all, although it is useful if you need to turn justification on and off for some reason. ...
...fectively varying letter-spacing), which is most appropriate for languages like Japanese. distribute Exhibits the same behaviour as inter-character; this value is kept for backwards compatibility. Formal definition Initial valueautoApplies toinline-level and table-cell elementsInheritedyesComputed valueas specifiedAnimation typediscrete Formal syntax auto | inter-character | inter-word |
none Examples <p class="
none"><code>text-justify:
none</code> --<br>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ornare maximus vehicula. Duis nisi velit, dictum id mauris vitae, lobortis pretium quam. Quisque sed nisi pulvinar, consequat justo id, feugiat leo. Cras eu elementum dui.</p> <p class="auto"><code>text-justify: auto</code> --<br>Lorem ipsum dolor sit amet, consectetur a...
... inter-character</code> --<br>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ornare maximus vehicula. Duis nisi velit, dictum id mauris vitae, lobortis pretium quam. Quisque sed nisi pulvinar, consequat justo id, feugiat leo. Cras eu elementum dui.</p> p { font-size: 1.5em; border: 1px solid black; padding: 10px; width: 95%; margin: 10px auto; text-align: justify; } .
none { text-justify:
none; } .auto { text-justify: auto; } .dist { text-justify: distribute; } .word { text-justify: inter-word; } .char { text-justify: inter-character; } Specifications Specification Status Comment CSS Text Module Level 3The definition of 'text-justify' in that specification. Working Draft ...
Cross-browser audio basics - Developer guides
lume), add the muted attribute. <audio muted> ... </audio> Note: This value is often ignored on mobile platforms. preload The preload attribute allows you to specify a preference for how the browser preloads the audio, in other words, which part of the file it downloads when the <audio> element is initialized, and before the play button is pressed. preload can take 3 different values:
none: Don't download anything before the play button is pressed. metadata: Download the audio metadata; this is usually the best option, as it allows you to access and display information such as audio length, and allow the browser to work out which audio file it should use. auto: Download the whole audio file as soon as possible. This is generally not a good option unless you can guarantee your use...
...source src="https://udn.realityripple.com/samples/6c/d385042de2.mp3" type="audio/mpeg"> <source src="https://udn.realityripple.com/samples/28/191a7bd2a5.ogg" type="audio/ogg"> <!-- place fallback here as <audio> supporting browsers will ignore it --> <a href="audiofile.mp3">audiofile.mp3</a> </audio> <div id="controls"> <span id="loading">loading</span> <button id="play" style="display:
none">play</button> <button id="pause" style="display:
none" >pause</button> </div> <div id="progress"> <div id="bar"></div> </div> Styled like so: #controls { width: 80px; float: left; } #progress { margin-left: 80px; border: 1px solid black; } #bar { height: 20px; background-color: green; width: 0; } Now let's wire this thing up with JavaScript: window.onload = function...
...idth: 0; } Now let's wire this thing up with JavaScript: window.onload = function(){ var myAudio = document.getElementById('my-audio'); var play = document.getElementById('play'); var pause = document.getElementById('pause'); var loading = document.getElementById('loading'); var bar = document.getElementById('bar'); function displayControls() { loading.style.display = "
none"; play.style.display = "block"; } // check that the media is ready before displaying the controls if (myAudio.paused) { displayControls(); } else { // not ready yet - wait for canplay event myAudio.addEventListener('canplay', function() { displayControls(); }); } play.addEventListener('click', function() { myAudio.play(); play...
...e.display = "block"; } // check that the media is ready before displaying the controls if (myAudio.paused) { displayControls(); } else { // not ready yet - wait for canplay event myAudio.addEventListener('canplay', function() { displayControls(); }); } play.addEventListener('click', function() { myAudio.play(); play.style.display = "
none"; pause.style.display = "block"; }); pause.addEventListener('click', function() { myAudio.pause(); pause.style.display = "
none"; play.style.display = "block"; }); // display progress myAudio.addEventListener('timeupdate', function() { //sets the percentage bar.style.width = parseInt(((myAudio.currentTime / myAudio.duration) * 100), 10) + "%"; ...
Video player styling basics - Developer guides
ure> element (this was worked out with experimentation based on the required button height). Its position is also specifically set to relative, which is required for its responsiveness (more on that later). ...
... requires some specific settings; it is set to be much wider than the other child elements and its cursor value is set to be pointer: .controls .progress { cursor:pointer; width:75.390625%; } Buttons The first major styling task to tackle is to make the video control's buttons actually look like and act like real buttons. Each button has some basic styling: .controls button { border:
none; cursor:pointer; background:transparent; background-size:contain; background-repeat:no-repeat; } By default, all <button> elements have a border, so this is removed. Since background images will be used to display appropriate icons, the background colour of the button is set to be transparent, non-repeated, and the element should fully contain the image. Simple :hover and :focus sta...
...] { background-image: url('data:image/png;base64,iVBORw0KGgoAAA ... '); } When the data-state of the button is changed, the appropriate image will also be changed. All the other buttons are treated in a similar way. Progress bar The <progress> element has the following basic style set up: .controls progress { display:block; width:100%; height:81%; margin-top:0.125rem; border:
none; color:#0095dd; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; } Like the <button> elements, <progress> also has a default border, which is removed here. It is also given a slight rounded corner for aesthetic reasons. The color property is also defined here as Internet Explorer uses this defined colour for styling the progress bar's background colour as it incr...
...to. The definitions for the elements within the .controls element now also need to changed: @media screen and (max-width:42.5em) { .controls { height:auto; } .controls > * { display:block; width:16.6667%; margin-left:0; height:2.5rem; margin-top:2.5rem; } .controls .progress { position:absolute; top:0; width:100%; float:
none; margin-top:0; } .controls .progress progress { width:98%; margin:0 auto; } .controls button { background-position:center center; } } The .progress container is now moved to the top of the control set via position:absolute, so it and all the buttons need to be wider. In addition, the buttons need to be pushed below the progress container so that they are ...
<input type="number"> - HTML: Hypertext Markup Language
or the height in meters accepts decimals to two places. The HTML looks like this: <form> <div class="metersInputGroup"> <label for="meters">Enter your height -- meters:</label> <input id="meters" type="number" name="meters" step="0.01" min="0" placeholder="e.g. ...
...="Submit form"> </div> </form> You'll see that we are using many of the attributes we've already looked at in the article earlier on. Since we want to accept a meter value in centimeters, we've set the step value to 0.01, so that values like 1.78 are not seen as invalid. We've also provided a placeholder for that input. We've hidden the feet and inches inputs initially using style="display:
none;", so that meters is the default entry type. Now, onto the CSS. This looks very similar to the validation styling we saw before; nothing remarkable here. div { margin-bottom: 10px; position: relative; } input[type="number"] { width: 100px; } input + span { padding-right: 30px; } input:invalid+span:after { position: absolute; content: '?'; padding-left: 5px; } input:valid+span:...
...et feetInput = document.querySelector('#feet'); let inchesInput = document.querySelector('#inches'); let switchBtn = document.querySelector('input[type="button"]'); switchBtn.addEventListener('click', function() { if(switchBtn.getAttribute('class') === 'meters') { switchBtn.setAttribute('class', 'feet'); switchBtn.value = 'Enter height in meters'; metersInputGroup.style.display = '
none'; feetInputGroup.style.display = 'block'; feetInput.setAttribute('required', ''); inchesInput.setAttribute('required', ''); metersInput.removeAttribute('required'); metersInput.value = ''; } else { switchBtn.setAttribute('class', 'meters'); switchBtn.value = 'Enter height in feet and inches'; metersInputGroup.style.display = 'block'; feetInputGroup.style.d...
...This is pretty simple, mostly involving changing over the button's class and <label>, an...
CSP: style-src - HTTP
enabling specific inline event handlers. If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method than using the unsafe-inline expression. 'unsafe-inline' Allows the use of inline resources, such as inline <script> elements, javascript: URLs, inline event handlers, and inline <style> elements. The single quotes are required. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. 'nonce-<base64-value>' An allow-list for specific inline scripts using a cryptographic nonce (number used once). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource's policy is otherwise trivial. See unsafe inline s...
...f="https://not-example.com/styles/main.css" rel="stylesheet" type="text/css" /> <style> #inline-style { background: red; } </style> <style> @import url("https://not-example.com/styles/print.css") print; </style> as well as styles loaded using the Link header: Link: <https://not-example.com/styles/stylesheet.css>;rel=stylesheet Inline style attributes are also blocked: <div style="display:
none">Foo</div> As well as styles that are applied in JavaScript by setting the style attribute directly, or by setting cssText: document.querySelector('div').setAttribute('style', 'display:
none;'); document.querySelector('div').style.cssText = 'display:
none;'; However, styles properties that are set directly on the element's style property will not be blocked, allowing users to safely manipulate s...
... Unsafe inline styles Note: Disallowing inline styles and inline scripts is one of the biggest security wins CSP provides. ...
... that will allow them. To allow inline styles, 'unsafe-inline', a nonce-source or a hash-source that matches the inline block can be specified. Content-Security-Policy: style-src 'unsafe-inline'; The above Content Security Policy will allow inline styles like the <style> element, and the style attribute on any element: <style> #inline-style { background: red; } </style> <div style="display:
none">Foo</div> You can use a nonce-source to only allow specific inline style blocks: Content-Security-Policy: style-src 'nonce-2726c7f26c' You will have to set the same nonce on the <style> element: <style nonce="2726c7f26c"> #inline-style { background: red; } </style> Alternatively, you can create hashes from your inline styles. CSP supports sha256, sha384 and sha512. Content-Security-Policy...
Feature-Policy - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Directives accelerometer Controls whether the current document is allowed to gather information about the acceleration of the device through the Accelerometer interface. ambient-light-sensor Controls whether the current document is allowed to gather information about the amount of light in the environment around the dev...
...wn. encrypted-media Controls whether the current document is allowed to use the Encrypted Media Extensions API (EME). When this policy is disabled, the Promise returned by Navigator.requestMediaKeySystemAccess() will reject with a DOMException. execution-while-not-rendered Controls whether tasks should execute in frames while they're not being rendered (e.g. if an iframe is hidden or display:
none). execution-while-out-of-viewport Controls whether tasks should execute in frames while they're outside of the visible viewport. fullscreen Controls whether the current document is allowed to use Element.requestFullScreen(). When this policy is disabled, the returned Promise rejects with a TypeError. geolocation Controls whether the current document is allowed to use the Geolocation Inte...
...tiations of user's choice, e.g. mobile apps. xr-spatial-tracking Controls whether or not the current document is allowed to use the WebXR Device API to interact with a WebXR session. Example SecureCorp Inc. wants to disable Microphone and Geolocation APIs in its application. It can do so by delivering the following HTTP response header to define a feature policy: Feature-Policy: microphone '
none'; geolocation '
none' By specifying the '
none' keyword for the origin list, the specified features will be disabled for all browsing contexts (this includes all iframes), regardless of their origin. Specifications Specification Permissions Policy ...
SameSite cookies - HTTP
-party or same-site context. Values The SameSite attribute accepts three values: Lax Cookies are allowed to be sent with top-level navigations and will be sent along with GET request initiated by third party website. This is the default value in modern browsers. Strict Cookies will only be sent in a first-party context and not be sent along with requests initiated by third party websites.
None Cookies will be sent in all contexts, i.e sending cross-origin is allowed.
None used to be the default value, but recent browser versions made Lax the default value to have reasonably robust defense against some classes of cross-site request forgery (CSRF) attacks.
None requires the Secure attribute in latest browser versions. See below for more information. Fixing common warnings SameSite=N...
... classes of cross-site request forgery (CSRF) attacks.
None requires the Secure attribute in latest browser versions. See below for more information. Fixing common warnings SameSite=
None requires Secure The following warning might appear in your console: Some cookies are misusing the "sameSite" attribute, so it won't work as expected. Cookie "myCookie" rejected because it has the "sameSite=
none" attribute but is missing the "secure" attribute. The warning appears because any cookie that requests SameSite=
None but is not marked Secure will be rejected. Set-Cookie: flavor=choco; SameSite=
None To fix this, you will have to add the Secure attribute to your SameSite=
None cookies. Set-Cookie: flavor=choco; SameSite=
None; Secure A Secure cookie is only sent to the server with an encrypte...
...ience across browsers as not all of them default to Lax yet. ...
...RewriteBase "/" RewriteCond "%{HTTP_HOST}" "^example\.org$" [NC] RewriteRule "^(.*)" "https://www.example.org/index.html" [R=301,L,QSA] RewriteRule "^(.*)\.ht$" "index.php?nav=$1 [NC,L,QSA,CO=RewriteRule;01;https://www.example.org;30/;SameSite=
None;Secure] RewriteRule "^(.*)\.htm$" "index.php?nav=$1 [NC,L,QSA,CO=RewriteRule;02;https://www.example.org;30/;SameSite=
None;Secure] RewriteRule "^(.*)\.html$" "index.php?nav=$1 [NC,L,QSA,CO=RewriteRule;03;https://www.example.org;30/;SameSite=
None;Secure] [...] RewriteRule "^admin/(.*)\.html$" "admin/index.php?nav=$1 [NC,L,QSA,CO=RewriteRule;09;https://www.example.org:30/;SameSite=Strict;Secure] Specifications Specification Title RFC 6265, section 4.1: Set-Cookie HTTP State Manageme...
HTTP Index - HTTP
send back the requested resource, with a 200 status, only if it has been last modified after the given date. If the request has not been modified since, the response will be a 304 without any body; the Last-Modified response header of a previous request will contain the date of last modification. Unlike If-Unmodified-Since, If-Modified-Since can only be used with a GET or HEAD. 158 If-
None-Match Conditional Requests, HTTP, HTTP Header, Reference, Request header The If-
None-Match HTTP request header makes the request conditional. For GET and HEAD methods, the server will send back the requested resource, with a 200 status, only if it doesn't have an ETag matching the given ones. For other methods, the request will be processed only if the eventually existing resource's ETa...
...server has responded with a 407 Proxy Authentication Required status and the Proxy-Authenticate header. 171 Public-Key-Pins HPKP, HTTP, Reference, Security, header The HTTP Public-Key-Pins response header associates a specific cryptographic public key with a certain web server to decrease the risk of MITM attacks with forged certificates. If one or several keys are pinned and
none of them are used by the server, the browser will not accept the response as legitimate, and will not display it. 172 Public-Key-Pins-Report-Only HPKP, HTTP, Security, header The HTTP Public-Key-Pins-Report-Only response header sends reports of pinning violation to the report-uri specified in the header but, unlike Public-Key-Pins still allows browsers to connect to the server...
...ays GET. 232 304 Not Modified HTTP, Redirection, Reference, Status code The HTTP 304 Not Modified client redirection response code indicates that there is no need to retransmit the requested resources. It is an implicit redirection to a cached resource. This happens when the request method is safe, like a GET or a HEAD request, or when the request is conditional and uses a If-
None-Match or a If-Modified-Since header. 233 307 Temporary Redirect HTTP, HTTP Status Code, Reference, redirects The method and the body of the original request are reused to perform the redirected request. In the cases where you want the method used to be changed to GET, use 303 See Other instead. This is useful when you want to give an answer to a PUT method that is not the upl...
...efined Content-Length header. 247 412 Precondition Failed Error, HTTP, Reference, Status code The HyperText Transfer Protocol (HTTP) 412 Precondition Failed client error response code indicates that access to the target resource has been denied. This happens with conditional requests on methods other than GET or HEAD when the condition defined by the If-Unmodified-Since or If-
None-Match headers is not fulfilled. In that case, the request, usually an upload or a modification of a resource, cannot be made and this error response is sent back. 248 413 Payload Too Large Client error, HTTP, HTTP Status Code, Reference, Status code The HTTP 413 Payload Too Large response status code indicates that the request entity is larger than limits defined by server; t...
Object.getOwnPropertyNames() - JavaScript
; console.log( Object.getOwnPropertyNames( new ChildClass() // ["prop", "method"] ) ); Get non-enumerable properties only This uses the Array.prototype.filter() function to remove the enumerable keys (obtained with Object.keys()) from a list of all keys (obtained with Object.getOwnPropertyNames()) thus giving only the non-enumerable keys as output. ...
...] ) ); Get non-enumerable properties only This uses the Array.prototype.filter() function to remove the enumerable keys (obtained with Object.keys()) from a list of all keys (obtained with Object.getOwnPropertyNames()) thus giving only the non-enumerable keys as output. ...
...rable properties only This uses the Array.prototype.filter() function to remove the enumerable keys (obtained with Object.keys()) from a list of all keys (obtained with Object.getOwnPropertyNames()) thus giving only the non-enumerable keys as output. ...
... ...
Mobile first - Progressive web apps (PWAs)
d="bottom" href="#top">Back to top</a> The first one is to jump down from the top of the article to the navigation menu, and the second one is to jump back up to the top of the article again. ...
... of the absolutely positioned elements (you don't want them to be positioned relative to the <body> element.) Adding a mobile first layout The above layout is fine for narrower layouts, but it doesn't work very well when you get wider than about 480px. ...
...work very well when you get wider than about 480px. ...
...media queries: @media (min-width: 480px) { #bottom, #top { display:
none; } article, nav { display: block; } nav ul { text-align: center; } nav li { display: inline; } nav li a { border-right: 1px solid #AD66D5; border-bottom:
none; display: inline-block; padding: 0 5px; font-size: 1.6em; } nav li:last-child a { border-right:
none; } } @media (min-width: 600px) { html { background: #eee; height: 100%; } body { width: 600px; height: inherit; margin: 0 auto; background: url(../img/firefox-os.png) bottom left no-repeat, linear-gradient(to bottom, #fff, #eee); } .main > p { background: rgba(255,255,255,0.3); } nav li a { padding: 0 10px; font-size: 2em; } } The fir...
dx - SVG: Scalable Vector Graphics
le value, dx defines a shift along the x-axis for all alternate glyph. If there are multiple values, dx defines a shift along the x-axis for each individual glyph relative to the preceding glyph. If there are less values than glyphs, the remaining glyphs use a value of 0. If there are more values than glyphs, extra values are ignored. Value List of <length> Default value
none Animatable Yes feDropShadow For <feDropShadow>, dx defines the x offset of the droped shadow. The unit used to resolve the value of the attribute is set by the primitiveUnits attribute of the <filter> element. Value <number> Default value 2 Animatable Yes feOffset For <feOffset>, dx defines the x offset of the filter input graphic. ...
...ns a single value, dx defines a shift along the x-axis for all glyphs. If there are multiple values, dx defines a shift along the x-axis for each individual glyph relative to the preceding glyph. If there are less values than glyphs, the remaining glyphs use a value of 0. If there are more values than glyphs, extra values are ignored. ...
...a single value, dx defines a shift along the x-axis for all glyphs. If there are multiple values, dx defines a shift along the x-axis for each individual glyph relative to the preceding glyph. If there are less values than glyphes, the remaining glyphes use a value of 0. If there are more values than glyphes, extra values are ignored. Value List of <length> Default value
none Animatable Yes tspan For <tspan>, if it contains a single value, dx defines a shift along the x-axis for all alternate glyph. If there are multiple values, dx defines a shift along the x-axis for each individual glyph relative to the preceding glyph. If there are less values than glyphs, the remaining glyphs use a value of 0. If there are more values than glyphs, extra values...
...le value, dx defines a shift along the x-axis for all alternate glyph. If there are multiple values, dx defines a shift along the x-axis for each individual glyph relative to the preceding glyph. If there are less values than glyphs, the remaining glyphs use a value of 0. If there are more values than glyphs, extra values are ignored. Value List of <length> Default value
none Animatable Yes Specifications Specification Status Comment Filter Effects Module Level 1The definition of 'dx' in that specification. Working Draft Initial definition for <feDropShadow> Filter Effects Module Level 1The definition of 'dx' in that specification. Working Draft Definition for <feOffset> Scalable Vector Grap...
dy - SVG: Scalable Vector Graphics
value, dy defines a shift along the y-axis for all alternate glyph. If there are multiple values, dy defines a shift along the y-axis for each individual glyph relative to the preceding glyph. If there are less values than glyphes, the remaining glyphes use a value of 0. If there are more values than glyphes, extra values are ignored. Value List of <length> Default value
none Animatable Yes feDropShadow For <feDropShadow>, dy defines the y offset of the dropped shadow. The unit used to resolve the value of the attribute is set by the primitiveUnits attribute of the <filter> element. Value <number> Default value 2 Animatable Yes feOffset For <feOffset>, dy defines the y offset of the filter input graphic.
...a single value, dy defines a shift along the y-axis for all glyphs. If there are multiple values, dy defines a shift along the y-axis for each individual glyph relative to the preceding glyph. If there are less values than glyphes, the remaining glyphes use a value of 0. If there are more values than glyphes, extra values are ignored. ...
...a single value, dy defines a shift along the y-axis for all glyphs. If there are multiple values, dy defines a shift along the y-axis for each individual glyph relative to the preceding glyph. If there are less values than glyphes, the remaining glyphes use a value of 0. If there are more values than glyphes, extra values are ignored. Value List of <length> Default value
none Animatable Yes tspan For <tspan>, if it contains a single value, dy defines a shift along the y-axis for all alternate glyph. If there are multiple values, dy defines a shift along the y-axis for each individual glyph relative to the preceding glyph. If there are less values than glyphes, the remaining glyphes use a value of 0. If there are more values than glyphes, extra val...
...value, dy defines a shift along the y-axis for all alternate glyph. If there are multiple values, dy defines a shift along the y-axis for each individual glyph relative to the preceding glyph. If there are less values than glyphes, the remaining glyphes use a value of 0. If there are more values than glyphes, extra values are ignored. Value List of <length> Default value
none Animatable Yes Specifications Specification Status Comment Filter Effects Module Level 1The definition of 'dy' in that specification. Working Draft Initial definition for <feDropShadow> Filter Effects Module Level 1The definition of 'dy' in that specification. Working Draft Definition for <feOffset> Scalable Vector Grap...
edgeMode - SVG: Scalable Vector Graphics
ed at or near the edge of the input image. Two elements are using this attribute: <feConvolveMatrix> and <feGaussianBlur> feConvolveMatrix For <feConvolveMatrix>, edgeMode determines how to extend the input image as necessary with color values so that the matrix operations can be applied when the kernel is positioned at or near the edge of the input image. ...
... duplicate | wrap |
none Default value duplicate Animatable Yes duplicate This value indicates that the input image is extended along each of its borders as necessary by duplicating the color values at the given edge of the input image. wrap This value indicates that the input image is extended by taking the color values from the opposite edge of the image.
none This value indicates that the input image is extended with pixel values of zero for R, G, B and A. feGaussianBlur For <feGaussianBlur>, edgeMode determines how to extend the input image as necessary with color values so that the matrix operations can be applied when the kernel is positioned at or near the edge of the input image. ...
... edge of the image.
none This value indicates that the input image is extended with pixel values of zero for R, G, B and A. feGaussianBlur For <feGaussianBlur>, edgeMode determines how to extend the input image as necessary with color values so that the matrix operations can be applied when the kernel is positioned at or near the edge of the input image. Value duplicate | wrap |
none Default value
none Animatable Yes duplicate This value indicates that the input image is extended along each of its borders as necessary by duplicating the color values at the given edge of the input image. wrap This value indicates that the input image is extended by taking the color values from the opposite edge of the image. ...
... Specifications Specification Status Comment Filter Effects Module Level 1The definition of 'edgeMode for <feGaussianBlur>' in that specification. ...
marker-end - SVG: Scalable Vector Graphics
For <path> elements, for each closed subpath, the last vertex is the same as the first vertex. ...
... <marker-ref> This value is a reference to a <marker> element, which will be drawn at the final vertex. If ...
... <marker-ref> This value is a reference to a <marker> element, which will be drawn at the final vertex. If the reference is not valid, then no marker will be drawn. Specifications Specification Status Comment Sc...
... refX="1" refY="5" markerUnits="strokeWidth" markerWidth="10" markerHeight="10" orient="auto"> <path d="M 0 0 L 10 5 L 0 10 z" fill="#f00"/> </marker> </defs> <polyline fill="
none" stroke="black" points="20,100 40,60 70,80 100,20" marker-end="url(#triangle)"/> </svg> Usage notes Value
none | <marker-ref> Default value
none Animatable Yes
none Indicates that no marker symbol shall be drawn at the final vertex. <marker-ref> This value is a reference to a <marker> element, which will be drawn at the final vertex. If the reference is not valid, then no marker will be drawn. Specifications Specification Status Comment Scalable Vector Graphics (SVG) 2The definition o...
marker-start - SVG: Scalable Vector Graphics
For <path> elements, for each closed subpath, the last vertex is the same as the first vertex. ...
... <marker-ref> This value is a reference to a <marker> element, which will be drawn at the first vertex. I...
... <marker-ref> This value is a reference to a <marker> element, which will be drawn at the first vertex. If the reference is not valid, then no marker will be drawn. Specifications Specification Status Comment Sc...
...efX="1" refY="5" markerUnits="strokeWidth" markerWidth="10" markerHeight="10" orient="auto"> <path d="M 0 0 L 10 5 L 0 10 z" fill="#f00"/> </marker> </defs> <polyline fill="
none" stroke="black" points="20,100 40,60 70,80 100,20" marker-start="url(#triangle)"/> </svg> Usage notes Value
none | <marker-ref> Default value
none Animatable Yes
none Indicates that no marker symbol shall be drawn at the first vertex. <marker-ref> This value is a reference to a <marker> element, which will be drawn at the first vertex. If the reference is not valid, then no marker will be drawn. Specifications Specification Status Comment Scalable Vector Graphics (SVG) 2The definition o...
points - SVG: Scalable Vector Graphics
f number representing a X and a Y coordinate in the user coordinate system. If the attribute contains an odd number of coordinates, the last one will be ignored. Two elements are using this attribute: <polyline>, and <polygon> html,body,svg { height:100% } <svg viewBox="-10 -10 220 120" xmlns="http://www.w3.org/2000/svg"> <!-- polyline is an open shape --> <polyline stroke="black" fill="
none" points="50,0 21,90 98,35 2,35 79,90"/> <!-- polygon is a closed shape --> <polygon stroke="black" fill="
none" transform="translate(100,0)" points="50,0 21,90 98,35 2,35 79,90"/> <!-- It is usualy considered best practices to separate a X and Y coordinate with a comma and a group of coordinates by a space. It makes things more readable for human beings. --> </svg> polyli...
... things more readable for human beings. --> </svg> polyline For <polyline>, points defines a list of points, each representing a vertex of the line to be drawn. Each point is define by a X and Y coordinate in the user coordinate system. Note: A polyline is an open shape, meaning the last point is not connected to the first point. Value [ <number>+ ]# Default value
none Animatable Yes Example html,body,svg { height:100% } <svg viewBox="-10 -10 120 120" xmlns="http://www.w3.org/2000/svg"> <!-- polyline is an open shape --> <polyline stroke="black" fill="
none" points="50,0 21,90 98,35 2,35 79,90"/> </svg> polygon For <polygon>, points defines a list of points, each representing a vertex of the shape to be drawn. Each point is defi...
...ll="
none" points="50,0 21,90 98,35 2,35 79,90"/> </svg> polygon For <polygon>, points defines a list of points, each representing a vertex of the shape to be drawn. Each point is define by a X and Y coordinate in the user coordinate system. Note: A polygon is a closed shape, meaning the last point is connected to the first point. ...
...n the user coordinate system. Note: A polygon is a closed shape, meaning the last point is connected to the first point. Value [ <number>+ ]# Default value
none Animatable Yes Example html,body,svg { height:100% } <svg viewBox="-10 -10 120 120" xmlns="http://www.w3.org/2000/svg"> <!-- polygon is an closed shape --> <polygon stroke="black" fill="
none" points="50,0 21,90 98,35 2,35 79,90" /> </svg> Specifications Specification Status Comment Scalable Vector Graphics (SVG) 2The definition of 'points' in that specification. Candidate Recommendation Definition for <polygon> Scalable Vector Graphics (SVG) 2The definition of 'points' in that specification. Candidate Recommendation Definition f...
type - SVG: Scalable Vector Graphics
r the <feFuncR>, <feFuncG>, <feFuncB>, and <feFuncA> elements, it Indicates the type of component transfer function. For the <feTurbulence> element, it indicates whether the filter primitive should perform a noise or turbulence function. For the <style> and <script> elements, it defines the content type of the element. ...
... noise or turbulence function. For the <style> and <script> elements, it defines the content type of the element. ...
...wX | skewY Animatable No Normative document SVG 1.1 (2nd Edition) For the <feColorMatrix> element Categories
None Value matrix | saturate | hueRotate | luminanceToAlpha Animatable Yes Normative document SVG 1.1 (2nd Edition) For the <feFuncR>, <feFuncG>, <feFuncB>, and <feFuncA> elements Categories
None Value identity | table | discrete | linear | gamma Animatable Yes Normative document SVG 1.1 (2nd Edition) For the <feTurbulence> element Categories
None Value fractalNoise | turbulence Animatable Yes Normative document SVG 1.1 (2nd Edition) For the <style> and <script> elements Categories...
... Value identity | table | discrete | linear | gamma Animatable Yes Normative document SVG 1.1 (2nd Edition) For the <feTurbulence> element Categories
None Value fractalNoise | turbulence Animatable Yes Normative document SVG 1.1 (2nd Edition) For the <style> and <script> elements Categories
None Value <content-type> Animatable No Normative document SVG 1.1 (2nd Edition) : script SVG 1.1 (2nd Edition) : style Example Elements The following elements can use the values attribute <animateTransform> <feColorMatrix> <feFuncA> <feFuncB> <feFuncG> <feFuncR> <feTurbulence> <script> <style> ...
x - SVG: Scalable Vector Graphics
http://www.w3.org/2000/svg"> <rect x="20" y="20" width="60" height="60" /> <rect x="120" y="20" width="60" height="60" /> <rect x="220" y="20" width="60" height="60" /> </svg> altGlyph Warning: As of SVG2 <altGlyph> is deprecated and shouldn't be used. For <altGlyph>, x defines the x-axis coordinate of the alternate glyph. Value List of <length> Default value
none Animatable Yes feBlend For <feBlend>, x defines the minimum x coordinate for the rendering area of the primitive. Value <length> | <percentage> Default value 0% Animatable Yes feColorMatrix For <feColorMatrix>, x defines the minimum x coordinate for the rendering area of the primitive. Value <length> | <percentage> ...
... For <tref>, if it contain a single value, x defines the x coordinate on where the content text position must be placed. The content text position is usualy a point on the baseline of the first line of text. The exact content text position is influenced by some...
...rties like text-anchor, or direction. If there are multiple values, x defines the x coordinate of each individual glyph from the text. If there are less values than glyphes, the remaining glyphes are placed in the continuity of the last positioned glyph. If there are more values than glyphes, extra values are ignored. ...
... Value <length> | <percentage> Default value 0 Animatable Yes Note: Starting with SVG2, x is a Geometry Property meaning this attribute can also be used as a CSS property for used elements. Sp...
<marker> - SVG: Scalable Vector Graphics
Value type: <length> ; Def...
... Value type: <length> ; Default value: 3; Animatable: yes markerUnits This attribute defines the coordinate system for the attributes markerWidth, markerHeight and the contents of the <marker>. Value type: ...
...lue type: <length> ; Default value: 3; Animatable: yes orient This attribute defines the orientation of the marker relative to the shape it is attached to. Value type: auto|auto-start-reverse|<angle> ; Default value: 0; Animatable: yes preserveAspectRatio This attribute defines how the svg fragment must be deformed if it is embedded in a container with a different aspect ratio. Value type: (
none| xMinYMin| xMidYMin| xMaxYMin| xMinYMid| xMidYMid| xMaxYMid| xMinYMax| xMidYMax| xMaxYMax) (meet|slice)? ; Default value: xMidYMid meet; Animatable: yes refX This attribute defines the x coordinate for the reference point of the marker. Value type: left|center|right|<coordinate> ; Default value: 0; Animatable: yes refY This attribute defines the y coordinate for the reference point of the ma...
... the marker. Value type: left|center|right|<coordinate> ; Default value: 0; Animatable: yes refY This attribute defines the y coordinate for the reference point of the marker. Value type: top|center|bottom|<coordinate> ; Default value: 0; Animatable: yes viewBox This attribute defines the bound of the SVG viewport for the current SVG fragment. ...
Style System Overview - Archive of obsolete content
in the style context tree. This happens when properties are inherited or when percentage units are used in a way that is handled by the style code (rather than reflow). If the data are exactly the same as those of the parent, we copy the struct to the child style context and set a bit saying that it doesn't own the struct. (The context tree can be deep.) Each rule node has a per-struct set of "
none bits" that say that the rule node's set of rules (the rules on the path to the root) specify nothing non-inherited for the struct. Style data cached in rule tree If the data struct doesn't depend on the parent style context in any ways (inheritance, perhaps by omission; percentages and ems when computed), we can cache it in the rule tree. When we compute a data struct, we cache it as high a...
... used by nsCSSDeclaration) Style data computation Get*Data calls nsRuleNode::WalkRuleTree, which walks from the style context's rule node towards the root rule node. To fill in the data, we call nsIStyleRule::MapRuleInfoInto on the rules. MapRuleInfoInto implementations must check that the property is not filled in before filling it in. WalkRuleTree stops walking up when it finds either a
none bit, a cached struct, a dependent bit, or all the properties have been filled in. WalkRuleTree also remembers the first rule that contributed non-empty data. Style data computation After WalkRuleTree stops walking up, it calls nsRuleNode::Compute*Data to turn the specified values into the mostly-computed style data in the style struct. Compute*Data use either a default or a start struct as...
...o create. Parent style context determines inheritance; it should always be the content parent. [design flaw in frame/SC relationship] Three functions for creating style contexts on nsIStyleSet, wrapped by similarly named ones on nsIPresContext: ResolveStyleContextFor: For elements. ResolvePseudoStyleContextFor: for pseudo-elements (:first-letter, :before, etc.) ResolveStyleContextFor
NonElement: skips rule matching and uses root rule node (text frame optimization) Managing style contexts Style context resolving functions will walk the rule processors in StyleSetImpl::FileRules, find the correct rule node, and find a current child of the parent ("sibling sharing") or create a new child. Style context doesn't hold pointer to content, just rule node. Dynamic changes to c...
popupanchor - Archive of obsolete content
If omitted, no anchoring occurs. Instead the popup content comes up...
...If omitted, no anchoring occurs. Instead the popup content comes up...
...ners) is called the originating point.By default the popup content appears with its top left point located directly underneath the point at which the user's mouse goes down (on tooltips the content is displaced by the height of the mouse cursor). popupanchor works in conjunction with popupalign to position the popup content on the element. The default value for both popupanchor and popupalign is "
none." ...
button - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
... and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. For example, for a menuitem in a menu you can add the following CSS rule when you want to use the value
none: menupopup > menuitem, menupopup > menu { max-width:
none; } dir Type: one of the values below The direction in which the child elements of the element are placed. normal For scales, the scale's values are ordered from left to right (for horizontal scales) or from top to bottom (for vertical scales) For other elements, the elements are placed left to right or top to bot...
toolbarbutton - Archive of obsolete content
n its right side in left-to-right text locales, and the right side in right-to-left locales. left The text will be cropped on its left side. right The text will be cropped on its right side. center The text will be cropped in the middle, showing both the start and end of the text normally. ...
... start and end of the text normally.
none The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment. Depending on the platform and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. ...
... and theme being used, some elements will have set a maximum width so they will always appear cropped. If you wish to use the value
none and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. For example, for a menuitem in a menu you can add the following CSS rule when you want to use the value
none: menupopup > menuitem, menupopup > menu { max-width:
none; } dir Type: one of the values below The direction in which the child elements of the element are placed. normal For scales, the scale's values are ordered from left to right (for horizontal scales) or from top to bottom (for vertical scales) For other elements, the elements are placed left to right or top to bott...
-moz-border-top-colors - Archive of obsolete content
der-top-colors: initial; -moz-border-top-colors: unset; When an element has a border that is larger than a single CSS pixel, each line of pixels uses the next color specified in this property, from the outside in. This eliminates the need for nested boxes. If the border is wider than the number of specified colors, the remaining part of the border is the innermost color specified. ...
...l value
noneApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete It does not apply if border-style is dashed or dotted. to tables with border-collapse: collapse. Syntax Values Accepts a white-space separated list of color values. <color> Specifies the color of a line of pixels of the top border. transparent is valid. See <color> values for possible units.
none Default, no colors are drawn or border-color is used, if specified. ...
...not apply if border-style is dashed or dotted. to tables with border-collapse: collapse. Syntax Values Accepts a white-space separated list of color values. <color> Specifies the color of a line of pixels of the top border. transparent is valid. See <color> values for possible units.
none Default, no colors are drawn or border-color is used, if specified. ...
-moz-window-shadow - Archive of obsolete content
hadow property is specified as one of the keyword values listed below. ...
... The window will have a shadow with the default window shadow style. menu The window will have the shadow style that's appropriate for menus. ...
...ndow shadow style. menu The window will have the shadow style that's appropriate for menus. ...
-ms-content-zoom-snap-type - Archive of obsolete content
Indicates that zooming is unaffected by any defined snap-points. After the contact is picked up, the content will continue to move with inertia. ...
...Indicates that zooming is unaffected by any defined snap-points. After the contact is picked up, the content will continue to move with inertia. ...
..."close enough" to a snap-point. This implies that it is possible for the content zoom factor to end up between snap-points. mandatory Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point. The snap-point that is selected is the one that is closest to where the content zoom factor would normally stop. Formal syntax
none | proximity | mandatory Specifications Not part of any specification. Remarks This property has no effect on non-zoomable elements. See -ms-content-zooming for details on zoomable elements. When a user pans or scrolls and then lifts his or her contact (for instance, a finger), the content can continue to move with inertia. Snap-points can change the animation that runs when the user lifts h...
-ms-scroll-chaining - Archive of obsolete content
er hits the scroll limit during a manipulation. Initial valuechainedApplies tonon-replaced block-level elements and non-replaced inline-block elementsInheritednoComputed valueas specifiedAnimation typediscrete Syntax Values chained Initial value. The nearest scrollable parent element begins scrolling when the user hits a scroll limit during any manipulation. No bounce effect is shown.
none A bounce effect is shown when the user hits a scroll limit during any manipulation. Formal syntax chained |
none Examples The following example illustrates the -ms-scroll-chaining property in use. In this case the image container has its -ms-scroll-chaining property set to chained, which means that when a user is scrolling through a nested scrollable element and it hits its boundary ...
... Examples The following example illustrates the -ms-scroll-chaining property in use. In this case the image container has its -ms-scroll-chaining property set to chained, which means that when a user is scrolling through a nested scrollable element and it hits its boundary the parent scrollable element will begin to scroll in the same direction. ...
...ement will begin to scroll in the same direction. Had the -ms-scroll-chaining property been set to
none, the user would observe a bounce effect when the nested element reaches its boundary. For more information, see HTML scrolling, panning and zooming sample or Internet Explorer 10 Scrolling, panning, and zooming with touch. .imageContainer { -ms-scroll-chaining: chained; -ms-overflow-style:
none; -ms-content-zooming: zoom; -ms-scroll-rails:
none; -ms-content-zoom-limit-min: 100%; -ms-content-zoom-limit-max: 500%; -ms-scroll-snap-type: proximity; -ms-scroll-snap-points-x: snapList(100%, 200%, 300%, 400%, 500%); -ms-overflow-style:
none; width: 480px; height: 270px; overflow: auto; } Specifications Not part of any specification. Remarks This property only applies t...
Fundamental text and font styling - Learn web development
by commas, e.g. p { font-family: "Trebuchet MS", Verdana, sans-serif; } In such a case, the browser starts at the beginning of the list and looks to see if that font is available on the machine. If it is, it applies that font to the selected elements. If not, it moves on to the next font, and so on. It is a good idea to provide a suitable generic font name at the end of the stack so that if
none of the listed fonts are available, the browser can at least provide something approximately suitable. To emphasise this point, paragraphs are given the browser's default serif font if no other option is available -- which is usually Times New Roman -- this is no good for a sans-serif font! Note: Font names that have more than one word -- like Trebuchet MS -- need to be surrounded by quotes, for...
...xcept for normal and bold: normal, bold: Normal and bold font weight lighter, bolder: Sets the current element's boldness to be one step lighter or heavier than its parent element's boldness. 100-900: Numeric boldness values that provide finer grained control than the above keywords, if needed. text-transform: Allows you to set your font to be transformed. Values include:
none: Prevents any transformation. uppercase: Transforms all text to capitals. lowercase: Transforms all text to lower case. capitalize: Transforms all words to have the first letter capitalized. full-width: Transforms all glyphs to be written inside a fixed-width square, similar to a monospace font, allowing aligning of e.g. Latin characters along with Asian language glyphs (like Chinese,...
...alized. full-width: Transforms all glyphs to be written inside a fixed-width square, similar to a monospace font, allowing aligning of e.g. Latin characters along with Asian language glyphs (like Chinese, Japanese, Korean). text-decoration: Sets/unsets text decorations on fonts (you'll mainly use this to unset the default underline on links when styling them.) Available values are:
none: Unsets any text decorations already present. underline: Underlines the text. overline: Gives the text an overline. line-through: Puts a strikethrough over the text. You should note that text-decoration can accept multiple values at once, if you want to add multiple decorations simultaneously, for example text-decoration: underline overline. Also note that text-decoration is a short...
Styling lists - Learn web development
property is a bit limited in terms of controlling the position, size, etc. of the bullets. You are better off using the background family of properties, which you've learned in the Backgrounds and borders article. For now, here's a taster! In our finished example, we have styled the unordered list like so (on top of what you've already seen above): ul { padding-left: 2rem; list-style-type:
none; } ul li { padding-left: 2rem; background-image: url(star.svg); background-position: 0 0; background-size: 1.6rem 1.6rem; background-repeat: no-repeat; } Here we've done the following: Set the padding-left of the <ul> down from the default 40px to 20px, then set the same amount on the list items. This is so that overall the list items are still lined up with the order list items an...
...fault 40px to 20px, then set the same amount on the list items. This is so that overall the list items are still lined up with the order list items and the description list descriptions, but the list items have some padding for the background images to sit inside. If we didn't do this, the background images would overlap with the list item text, which would look messy. Set the list-style-type to
none, so that no bullet appears by default. We're going to use background properties to handle the bullets instead. Inserted a bullet onto each unordered list item. The relevant properties are as follows: background-image: This references the path to the image file you want to use as the bullet. background-position: This defines where in the background of the selected element the image will ...
...thand property, list-style. For example, the following CSS: ul { list-style-type: square; list-style-image: url(example.png); list-style-position: inside; } Could be replaced by this: ul { list-style: square url(example.png) inside; } The values can be listed in any order, and you can use one, two or all three (the default values used for the properties that are not included are disc,
none, and outside). If both a type and an image are specified, the type is used as a fallback if the image can't be loaded for some reason. Controlling list counting Sometimes you might want to count differently on an ordered list -- e.g. starting from a number other than 1, or counting backwards, or counting in steps of more than 1. HTML and CSS have some tools to help you here. start The start a...
HTML forms in legacy browsers - Learn web development
*/ border: revert; } See the global CSS revert value for more information. <button> The <button> element suffered from two issues that are now...
...and text, but not color or range. If you alter a property, that may impact the appearance of the widget in unexpected ways. For example, [value] { background-color: #ccc; } may have been used to target every <input> with a value attribute, but changing the background-color or border radius on a <meter> will lead to likely unexpected results that differ across browsers. You can declare appearance:
none; to remove the browser styles, but that generally defeats the purpose: as you lose all styling, removing the default look and feel your visitors are used to. To summarize, when it comes to styling form control widgets, the side effects of styling them with CSS can be unpredictable. So don't. As you can see from the complexity of the Property compatibility table for form widgets article, it's ve...
...and JavaScript are awesome technologies, but it's important to ensure you don't break legacy browsers. Before using features that aren't fully supported in the browsers your targeting, you should feature detect: CSS feature detection Before styling a replaced form control widget, you can check to see if the browser supports the features you plan on using using @supports: @supports (appearance:
none) { input[type="search"] { appearance:
none; /* restyle the search input */ } Theappearance property can be used to display an element using platform-native styling, or, as is done with the value of
none, remove default platform-native based styling. Unobtrusive JavaScript One of the biggest problems is the availability of APIs. For that reason, it's considered best practice to work wit...
How to build custom form controls - Learn web development
will make our control become part of the text flow and sizable at the same time */ display : inline-block; } We need an extra class active to define the look and feel of our control when it is in its active state. Because our control is focusable, we double this custom style with the :focus pseudo-class in order to be sure they will behave the same. .select .active, .select:focus { outline:
none; /* This box-shadow property is not exactly required, however it's imperative to ensure active state is visible, especially to keyboard users, that we use it as a default value. */ box-shadow: 0 0 3px 1px #227755; } Now, let's handle the list of options: /* The .select selector here helps to make we only select element inside our control. */ .select .optList { /* This will make s...
...: 2em; padding-top : .1em; border-left : .2em solid #000; border-radius: 0 .1em .1em 0; background-color : #000; color : #FFF; text-align : center; } Next, let's style the list of options: .select .optList { z-index : 2; /* We explicitly said the list of options will always be on top of the down arrow */ /* this will reset the default style of the ul element */ list-style:
none; margin : 0; padding: 0; box-sizing : border-box; /* If the values are smaller than the control, the list of options will be as wide as the control itself */ min-width : 100%; /* In case the list is too long, its content will overflow vertically (which will add a vertical scrollbar automatically) but never horizontally (because we haven't set a width, the list will a...
... <li><input type="radio" name="fruit" value="Apple" id="fruitApple"><label for="fruitApple">Apple</label></li> </ul> </fieldset> We'll do a little styling of the radio button list (not the legend/fieldset) to make it look somewhat like the earlier example, just to show that it can be done: .styledSelect { display: inline-block; padding: 0; } .styledSelect li { list-style-type:
none; padding: 0; display: flex; } .styledSelect [type=radio] { position: absolute; left: -100vw; top: -100vh; } .styledSelect label { margin: 0; line-height: 2; padding: 0 0 0 4px; } .styledSelect:not(:focus-within) input:not(:checked) + label { height: 0; outline:
none; overflow: hidden; } .styledSelect:not(:focus-within) input:checked + label { border: .2em solid #000; bor...
Introduction to client-side frameworks - Learn web development
dedicated just to the UI - just to the step of rendering something in the DOM - and at no point do we add classes that we could use later to style our list-items! Working directly with the DOM, as in this example, requires understanding many things about how the DOM works: how to make elements; how to change their properties; how to put elements inside of each other; how to get them on the page.
None of this code actually handles user interactions, or addresses adding or deleting a task. If we add those features, we have to remember to update our UI in the right time and in the right way. JavaScript frameworks were created to make this kind of work a little easier -- they exist to provide a better developer experience. They don't bring brand-new powers to JavaScript; they give you easier acc...
...lanceable summary of the current browser support offered by each framework, as well as the domain-specific languages with which it can be used. Broadly, domain-specific languages (DSLs) are programming languages relevant in specific areas of software development. In the context of frameworks, DSLs are variations on JavaScript or HTML that make it easier to develop with that framework. Crucially,
none of the frameworks require a developer to use a specific DSL, but they have almost all been designed with a specific DSL in mind. Choosing not to employ a framework's preferred DSL will mean you miss out on features that would otherwise improve your developer experience. You should seriously consider the support matrix and DSLs of a framework when making a choice for any new project. Mismatched b...
...overs many topics related to JavaScript, including data about both the use of frameworks and developer sentiment toward them. Currently, there are several years of data available, allowing you to get a sense of a framework's popularity. The Vue team has exhaustively compared Vue to other popular frameworks. There may be some bias in this comparison (which they note), but it's a valuable resource
nonetheless. Alternatives to client-side frameworks If you're looking for tools to expedite the web development process, and you know your project isn't going to require intensive client-side JavaScript, you could reach for one of a handful of other solutions for building the web: A content management system Server-side rendering A static site generator Content management systems Content-man...
Beginning our React todo list - Learn web development
ed is not a true boolean attribute in the way checked is. ...
... way checked is. ...
...utline-offset: 0; } html { font: 62.5% / 1.15 sans-serif; } h1, h2 { margin-bottom: 0; } ul { list-style:
none; padding: 0; } button { border:
none; margin: 0; padding: 0; width: auto; overflow: visible; background: transparent; color: inherit; font: inherit; line-height: normal; -webkit-font-smoothing: inherit; -moz-osx-font-smoothing: inherit; -webkit-appearance:
none; } button::-moz-focus-inner { border: 0; } button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; } button, input { overflow: visible; } input[type="text"] { border-radius: 0; } body { width: 100%; max-width: 68rem; margin: 0 auto; font: 1.6rem/1.25 Arial, sans-serif; background-color: #f5f5f5; color: #4d4d4d; } @...
Starting our Svelte Todo list app - Learn web development
of each rule by clicking on its link. Styling our markup Let's make the todo list look a little better. ...
...yling our markup Let's make the todo list look a little better. ...
...utline-offset: 0; } html { font: 62.5% / 1.15 sans-serif; } h1, h2 { margin-bottom: 0; } ul { list-style:
none; padding: 0; } button { border:
none; margin: 0; padding: 0; width: auto; overflow: visible; background: transparent; color: inherit; font: inherit; line-height: normal; -webkit-font-smoothing: inherit; -moz-osx-font-smoothing: inherit; -webkit-appearance:
none; } button::-moz-focus-inner { border: 0; } button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; } button, input { overflow: visible; } input[type="text"] { border-radius: 0; } body { width: 100%; max-width: 68rem; margin: 0 auto; font: 1.6rem/1.25 Arial, sans-serif; background-color: #f5f5f5; color: #4d4d4d; } @...
Performance best practices for Firefox front-end engineers
been an easy way of doing this - however, bug 1434376 has recently landed some ChromeOnly helpers to the window binding to make this simpler. If you want to queue up some JavaScript to run after the next "natural" style and layout flush, try: // Suppose we want to get the computed "display" style of some node without // causing a style flush. ...
...: // Suppose we want to get the computed "display" style of some node without // causing a style flush. We could do it this way: async function nodeIsDisplay
None(node) { let display = await window.promiseDocumentFlushed(() => { // Do _not_ under any circumstances write to the DOM in one of these // callbacks! return window.getComputedStyle(node).display; }); return display == "
none"; } See Detecting and avoiding synchronous reflow for a more advanced example of getting layout information, and then setting it safely, without causing flushes. promiseDocumentFlushed is only available to priviledged script, and should be called on the inner window of a top-level frame. Calling it on the outer window of a subframe is not supported, and calling it from within the inner windo...
...nd not chrome UI, the rest of this section is offered only as context. When an interruptible reflow is interrupted, what really happens is that certain layout operations can be skipped in order to paint and process user events sooner. When an interruptible reflow is interrupted, the best-case scenario is that all layout is skipped, and the layout operation ends. The worst-case scenario is that
none of the layout can be skipped despite being interrupted, and the entire layout calculation occurs. Reflows that are triggered "naturally" by the 16ms tick are all considered interruptible. Despite not actually being interuptible when laying out chrome UI, striving for interruptible layout is always good practice because uninterruptible layout has the potential to be much worse (see next section).
IME handling guide
Then, it sends the events and the event target to IMEStateManager. mozilla::IMEStateManager IMEStateManager looks for a TextComposition instance whose native IME context is same as the...
...Then, it sends the events and the event target to IMEStateManager. mozilla::IMEStateManager IMEStateManager looks for a TextComposition instance whose native IME context is same as the widget' which dispatches the widget event. If there is no proper TextComposition instance, it ...
...line ui.IMESelectedRawTextBackground ui.IMESelectedRawTextForeground ui.IMESelectedRawTextUnderline ui.IMEConvertedTextBackground ui.IMEConvertedTextForeground ui.IMEConvertedTextUnderline ui.IMESelectedConvertedTextBackground ui.IMESelectedConvertedTextForeground ui.IMESelectedConvertedTextUnderline Underline style can be specified with the following prefs. The values are integer, 0:
none, 1: dotted, 2: dashed, 3: solid, 4: double, 5: wavy (The values same as NS_STYLE_TEXT_DECORATION_STYLE_* defined in nsStyleConsts.h. ui.IMERawInputUnderlineStyle ui.IMESelectedRawTextUnderlineStyle ui.IMEConvertedTextUnderlineStyle ui.IMESelectedConvertedTextUnderlineStyle Underline width can be specified with "ui.IMEUnderlineRelativeSize" pref. This affects all types of clauses. The valu...
Creating localizable web applications
e_3#test'));?> </div> Notice that the icon has been moved to CSS, so that it doesn't sit in a <img/> element. This is generally considered a good practice for decorative graphics. Don't use images as buttons Instead, use <button/> and style it with CSS. Image 1. Bad: Snippet 1. ...
... Notice that the icon has been moved to CSS, so that it doesn't sit in a <img/> element. This is generally considered a good practice for decorative graphics. Don't use images as buttons Instead, use <button/> and style it with CSS. Image 1. Bad: Snippet 1. ...
... considered a good practice for decorative graphics. Don't use images as buttons Instead, use <button/> and style it with CSS. Image 1. Bad: Snippet 1. ...
JSS Provider Notes
...
... DSAPriv...
...supported for private keys. KeyGenerator Supported Algorithms Notes AES DES DESede (DES3 ) RC4 The SecureRandom argument passed to init() is ignored, because NSS does not support specifying an external source of randomness.
None of the key generation algorithms accepts an AlgorithmParameterSpec. KeyPairGenerator Supported Algorithms Notes DSA RSA The SecureRandom argument passed to initialize() is ignored, because NSS does not support specifying an external source of randomness. ...
Mozilla-JSS JCA Provider notes
DSAPrivateKey getX() is not supported because NSS does not support extracting data from private keys. KeyFactory Sup...
... DSAPrivateKey getX() is not supported because NSS does not support extracting data from private keys. KeyFactory Supported Algor...
... key and then tries to import it by calling generatePublic() or generatePrivate(). Only X509EncodedKeySpec is supported for public keys, and only PKCS8EncodedKeySpec is supported for private keys. KeyGenerator Supported Algorithms Notes AES DES DESede (DES3) RC4 The SecureRandom argument passed to init() is ignored, because NSS does not support specifying an external source of randomness.
None of the key generation algorithms accepts an AlgorithmParameterSpec. KeyPairGenerator Supported Algorithms Notes DSA RSA The SecureRandom argument passed to initialize() is ignored, because NSS does not support specifying an external source of randomness. Mac Supported Algorithms Notes HmacSHA1 (Hmac-SHA1) Any secret key type (AES, DES, etc.) can be used as the MAC key, but it must be...
NSS tools : modutil
tool can also create certificate, key, and module security database files. The tasks associated with security module database management are part of a process that typically also involves managing key databases and certificate databases. Options Running modutil always requires one (and only one) option to specify the type of module operation. Each option may take arguments, anywhere from
none to multiple arguments. Options -add modulename Add the named PKCS #11 module to the database. Use this option with the -libfile, -ciphers, and -mechanisms arguments. -changepw tokenname Change the password on the named token. If the token has not been initialized, this option initializes the password. Use this option with the -pwfile and -newpwfile arguments. A password is equivalent to ...
...he token it is loaded on. ...
...11 Firmware Version: 0.0 Status: Enabled Token Name: NSS Generic Crypto Services Token Manufacturer: Mozilla Foundation Token Model: NSS 3 Token Serial Number: 0000000000000000 Token Version: 4.0 Token Firmware Version: 0.0 Access: Write Protected Login Type: Public (no login required) User Pin: NOT Initialized Slot: NSS User Private Key and Certificate Services Slot Mechanism Flags:
None Manufacturer: Mozilla Foundation Type: Software Version Number: 3.11 Firmware Version: 0.0 Status: Enabled Token Name: NSS Certificate DB Token Manufacturer: Mozilla Foundation Token Model: NSS 3 Token Serial Number: 0000000000000000 Token Version: 8.3 Token Firmware Version: 0.0 Access: NOT Write Protected Login Type: Login required User Pin: Initialized A related command, -rawlis...
NSS tools : modutil
reate certificate, key, and module security database files. The tasks associated with security module database management are part of a process that typically also involves managing key databases and certificate databases. Options Running modutil always requires one (and only one) option to specify the type of module operation. Each option may take arguments, anywhere from
none to multiple arguments. Options -add modulename Add the named PKCS #11 module to the database. Use this option with the -libfile, -ciphers, and -mechanisms arguments. -changepw tokenname Change the password on the named token. If the token has not been initialized, this option initializes the password. Use this option with the -p...
... token it is loaded on. ...
... Status: Enabled Token Name: NSS Generic Crypto Services Token Manufacturer: Mozilla Foundation Token Model: NSS 3 Token Serial Number: 0000000000000000 Token Version: 4.0 Token Firmware Version: 0.0 Access: Write Protected Login Type: Public (no login required) User Pin: NOT Initialized Slot: NSS User Private Key and Certificate Services Slot Mechanism Flags:
None Manufacturer: Mozilla Foundation Type: Software Version Number: 3.11 Firmware Version: 0.0 Status: Enabled Token Name: NSS Certificate DB Token Manufacturer: Mozilla Foundation Token Model: NSS 3 Token Serial Number: 0000000000000000 Token Version: 8.3 Token Firmware Version: 0.0 Access: NOT Write Protected Login Type: Login required User Pin: Initialized...
Querying Places
wQueryOptions() to retrieve empty objects. The defaults for these objects will result in a query that returns all of your browser history in a flat list: ChromeUtils.defineModuleGetter(this, "PlacesUtils", "resource://gre/modules/PlacesUtils.jsm"); // No query options set will get all history, sorted in database order, // which is nsINavHistoryQueryOptions.SORT_BY_
NONE. let options = PlacesUtils.history.getNewQueryOptions(); // No query parameters will return everything let query = PlacesUtils.history.getNewQuery(); // execute the query let result = PlacesUtils.history.executeQuery(query, options); Result types nsINavHistoryQueryOptions has a resultType property that allows configuration of the grouping and level of detail to be returned in the results. T...
...lean hasUri attribute boolean annotationIsNot attribute AUTF8String annotation readonly attribute boolean hasAnnotation readonly attribute unsigned long folderCount Basic Query Configuration Options const unsigned short GROUP_BY_DAY = 0 const unsigned short GROUP_BY_HOST = 1 const unsigned short GROUP_BY_DOMAIN = 2 const unsigned short GROUP_BY_FOLDER = 3 const unsigned short SORT_BY_
NONE = 0 const unsigned short SORT_BY_TITLE_ASCENDING = 1 const unsigned short SORT_BY_TITLE_DESCENDING = 2 const unsigned short SORT_BY_DATE_ASCENDING = 3 const unsigned short SORT_BY_DATE_DESCENDING = 4 const unsigned short SORT_BY_URI_ASCENDING = 5 const unsigned short SORT_BY_URI_DESCENDING = 6 const unsigned short SORT_BY_VISITCOUNT_ASCENDING = 7 const unsigned short SORT_BY_VISITCOUNT_DE...
...bookmark folders can be retrieved by setting the "folders" member in the query object. This item is an array of folder IDs from the bookmark service. Typically, you will only have one folder ID in this list, which will given you the contents of that folder. You can set multiple folders and the result will be the intersection of all the folders. For sorting, you will generally want to use SORT_BY_
NONE (the default) since this will return items in their "natural" order as specified by the user in the bookmarks manager. Other sortings will work, however. For bookmark queries you will generally want no query parameters to retrieve all items from the requested folder(s). When you specify exactly one folder and no query parameters, the system will be more efficient querying and keeping the results...
XPCOM hashtable guide
ant time can be larger than an array lookup Sorting: sorted: stored sorted; iterated over in a sorted fashion. unsorted: stored unsorted; cannot be iterated over in a sorted manner. Inserting/Removing: O(n): adding and removing items from a large array can be time-consuming O(1): adding and removing items from hashtables is a quick operation Wasted space:
none: Arrays are packed structures, so there is no wasted space. some: hashtables are not packed structures; depending on the implementation, there may be significant wasted memory. In their implementation, hashtables take the key and apply a mathematical hash function to randomize the key and then use the hash to find the location in the hashtable. Good hashtable implementations will automa...
...ets (less than 12-16 items); Data that does not need random access. In these situations, an array, a linked-list, or various tree data structures are more efficient. Which Hashtable Should I Use? The appropriate hashtable class to use depends solely on the data type. The template specialization to use depends on the data type and the key type. ...
... A few examples: A hashtable that maps UTF-8 origin names to a DOM Window - nsInterfaceHashtable<nsCStringHashKey, nsIDOMWindow> A hashtable that maps 32 bit integers to floats - nsDataHashtable<nsUint32H...
IAccessibleTable
ildren ); Parameters maxChildren This parameter is ignored. Refer to @ref _arrayConsideration "Special Consideration when using Arrays" for more details. children An array of cell indexes of selected cells (each index is 0 based), allocated by the server. Free it with CoTaskMemFree. nChildren The number of cell indexes returned; the size of the returned array. Return value S_FALSE if there are
none, [out] values are null and 0 respectively. S_OK. selectedColumns() Returns a list of column indexes currently selected (0 based). [propget] HRESULT selectedColumns( [in] long maxColumns, [out, size_is(,maxColumns), length_is(, nColumns)] long columns, [out] long nColumns ); Parameters maxColumns This parameter is ignored. Refer to @ref _arrayConsideration "Special Consideration when using...
...mns ); Parameters maxColumns This parameter is ignored. Refer to @ref _arrayConsideration "Special Consideration when using Arrays" for more details. columns An array of column indexes of selected columns (each index is 0 based), allocated by the server. Free it with CoTaskMemFree. nColumns The number of column indexes returned; the size of the returned array. Return value S_FALSE if there are
none, [out] values are null and 0 respectively. S_OK. selectedRows() Returns a list of row indexes currently selected (0 based). [propget] HRESULT selectedRows( [in] long maxRows, [out, size_is(,maxRows), length_is(, nRows)] long rows, [out] long nRows ); Parameters maxRows This parameter is ignored. Refer to @ref _arrayConsideration "Special Consideration when using Arrays" for more details. ...
...s, [out] long nRows ); Parameters maxRows This parameter is ignored. Refer to @ref _arrayConsideration "Special Consideration when using Arrays" for more details. rows An array of row indexes of selected rows (each index is 0 based), allocated by the server. Free it with CoTaskMemFree. nRows The number of row indexes returned; the size of the returned array. Return value S_FALSE if there are
none, [out] values are null and 0 respectively. S_OK. selectRow() Selects a row and unselects all previously selected rows. HRESULT selectRow( [in] long row ); Parameters row 0 based index of the row to be selected. Return value E_INVALIDARG if bad [in] passed. S_OK. summary() Returns the summary description of the table. The returned object could be an IAccessible or an IAccessible2. [propget] H...
IAccessibleTable2
s currently selected. [propget] HRESULT selectedCells( [out, size_is(, nSelectedCells,)] IUnknown cells, [out] long nSelectedCells ); Parameters cells Pointer to an array of references to selected accessibles. The array is allocated by the server. Free it with CoTaskMemFree. nSelectedCells The number of accessibles returned; the size of the returned array. Return value S_FALSE if there are
none, [out] values are null and 0 respectively. S_OK. selectedColumns() Returns a list of column indexes currently selected (0 based). [propget] HRESULT selectedColumns( [out, size_is(, nColumns)] long selectedColumns, [out] long nColumns ); Parameters selectedColumns A pointer to an array of column indexes of selected columns (each index is 0 based). The array is allocated by the server. Free i...
...et] HRESULT selectedColumns( [out, size_is(, nColumns)] long selectedColumns, [out] long nColumns ); Parameters selectedColumns A pointer to an array of column indexes of selected columns (each index is 0 based). The array is allocated by the server. Free it with CoTaskMemFree. nColumns The number of column indexes returned; the size of the returned array. Return value S_FALSE if there are
none, [out] values are null and 0 respectively. S_OK. selectedRows() Returns a list of row indexes currently selected (0 based). [propget] HRESULT selectedRows( [out, size_is(, nRows)] long selectedRows, [out] long nRows ); Parameters selectedRows An array of row indexes of selected rows (each index is 0 based), allocated by the server. Free it with CoTaskMemFree. nRows The number of row indexes...
...t of row indexes currently selected (0 based). [propget] HRESULT selectedRows( [out, size_is(, nRows)] long selectedRows, [out] long nRows ); Parameters selectedRows An array of row indexes of selected rows (each index is 0 based), allocated by the server. Free it with CoTaskMemFree. nRows The number of row indexes returned; the size of the returned array. Return value S_FALSE if there are
none, [out] values are null and 0 respectively. S_OK. selectRow() Selects a row and unselects all previously selected rows. The behavior should mimic that of the application, but for those applications which do not have a means in the GUI to select a full row of cells the behavior should be as follows: First any selected rows in the table are unselected. Then the entire row of cells for the specified ...
imgIEncoder
ut is host-endian ARGB: On big-endian machines each pixel is therefore ARGB, and for little-endian machiens (Intel) each pixel is BGRA (This is used by canvas to match it's internal representation) PRE-MULTIPLIED alpha is used (That is, 50% transparent red is 0x80800000, not 0x80ff0000) Possible values for outputOptions. Multiple values are semicolon-separated. PNG: ---- transparency=[yes|no|
none] -- default: "yes" Overrides default from input format. "no" and "
none" are equivalent. APNG: ----- The following options can be used with startImageEncode(): transparency=[yes|no|
none] -- default: "yes" Overrides default from input format. "no" and "
none" are equivalent. skipfirstframe=[yes|no] -- default: "no" Controls display of the first frame in animations. PNG-only clien...
...only clients always display the first frame (and only that frame). frames=# -- default: "1" Total number of frames in the image. The first frame, even if skipped, is always included in the count. plays=# -- default: "0" Number of times to play the animation sequence. "0" will repeat forever. The following options can be used for each frame, with addImageFrame(): transparency=[yes|no|
none] -- default: "yes" Overrides default from input format. "no" and "
none" are equivalent. delay=# -- default: "500" Number of milliseconds to display the frame, before moving to the next frame. dispose=[
none|background|previous] -- default: "
none" What to do with the image's canvas before rendering the next frame. See APNG spec. blend=[source|over] -- default: "source" How t...
...ich would be extra. frameFormat Missing Description frameOptions Missing Description encodeClipboardImage() Obsolete since Gecko 1.9 (Firefox 3) void encodeClipboardImage( in nsIClipboardImage aClipboardImage, out nsIFile aImageFile ); Parameters aClipboardImage Missing Description aImageFile Missing Description endImageEncode() void endImageEncode(); Parameters
None. initFromData() void initFromData( [array, size_is(length), const] in PRUint8 data, in unsigned long length, in PRUint32 width, in PRUint32 height, in PRUint32 stride, in PRUint32 inputFormat, in AString outputOptions ); Parameters data List of bytes in the format specified by inputFormat. length Missing Description width Width in pixels. height Height in pixels. stride The number...
mozIPersonalDictionary
ently unused. check() Checks a Unicode string. boolean check( in wstring word, in wstring lang ); Parameters word The word to check. lang The language of the word. Note that this parameter is currently ignored. Return value true if the word is in either the dictionary or the ignore list, false if it is not in either list. endSession() Clears the ignore list. void endSession(); Parameters
None. getCorrection() Gets a list of previous corrections for the word. void getCorrection( in wstring word, [array, size_is(count)] out wstring words, out PRUint32 count ); Parameters word The word to get the list of corrections for. words The list of corrections. count The number of corrections in the list. ignoreWord() Adds a word to the ignore all list. void ignoreWord( in wstring word ...
...ray, size_is(count)] out wstring words, out PRUint32 count ); Parameters word The word to get the list of corrections for. words The list of corrections. count The number of corrections in the list. ignoreWord() Adds a word to the ignore all list. void ignoreWord( in wstring word ); Parameters word The word to add to the ignore list. load() Loads the dictionary. void load(); Parameters
None. removeCorrection() Removes a misspelling from the list of corrections. This removes a single misspelling and correction pair from the list. void removeCorrection( in wstring word, in wstring correction, in wstring lang ); Parameters word The incorrect spelling of the word to remove from the list of corrections. correction The correct spelling of the word. lang The language of the word. ...
...of the word. Notes Only an entry matching both word and correction will be removed from the list of corrections. removeWord() Removes a word from the personal dictionary. void removeWord( in wstring word, in wstring lang ); Parameters word The word to remove. lang The language of the word. Note that this parameter is currently ignored. save() Saves the dictionary. void save(); Parameters
None. ...
nsICacheEntryDescriptor
7. securityInfo nsISupports Get or set security info on the cache entry for this descriptor. This fails if the storage policy is not STORE_IN_MEMORY. storagePolicy nsCacheStoragePolicy Get or set the storage policy of the cache entry. See nsICache for the definitions of the storage policies. Methods close() This method explicitly closes the descriptor (optional). void close(); Parameters
None. doom() This method dooms the cache entry this descriptor references in order to slate it for removal. Once doomed a cache entry cannot be undoomed. A descriptor with WRITE access can doom the cache entry and choose to fail pending requests. This means that pending requests will not get a cache descriptor. This is meant as a tool for clients that wish to instruct pending requests to skip the cach...
...he cache entry this descriptor references in order to slate it for removal. Once doomed a cache entry cannot be undoomed. A descriptor with WRITE access can doom the cache entry and choose to fail pending requests. This means that pending requests will not get a cache descriptor. This is meant as a tool for clients that wish to instruct pending requests to skip the cache. void doom(); Parameters
None. doomAndFailPendingRequests() This method with the WRITE access can doom the cache entry and choose to fail pending requests. This means that pending requests will not get a cache descriptor. This is meant as a tool for clients that wish to instruct pending requests to skip the cache. void doomAndFailPendingRequests( in nsresult status ); Parameters status The access status. getMetaDataEleme...
...icular charset, but they must be null terminated. string getMetaDataElement( in string key ); Parameters key The key for retrieving the meta data. Return value Returns the string value containing the meta data for the provided key. markValid() This method means that a writer must validate this cache object before any readers are given a descriptor to the object. void markValid(); Parameters
None. openInputStream() This method opens blocking input stream to cache data. This will fail if the cache entry is not stream based. Use the stream transport service to asynchronously read this stream on a background thread. The returned stream may implement nsISeekableStream. nsIInputStream openInputStream( in unsigned long offset ); Parameters offset Read starting from this offset into the cach...
nsICycleCollectorListener
.3 / SeaMonkey 2.1) The order of calls will be call to begin(); then for every node in the graph a call to noteObject() and calls to noteEdge() for every edge starting at that node; then a call to beginDescriptions(); then for every black node in the cycle collector graph a call to either describeRefcountedObject() or to describeGCedObject(); and then a call to end(). If begin() returns an error
none of the other functions will be called. Method overview void begin(); void beginDescriptions(); void describeGCedObject(in unsigned long long aAddress, in boolean aMarked); void describeRefcountedObject(in unsigned long long aAddress, in unsigned long aKnownEdges, in unsigned long aTotalEdges); void end(); void noteEdge(in unsigned long long aFromAddress, in unsigned long long aToAddr...
...ress, in boolean aMarked); void describeRefcountedObject(in unsigned long long aAddress, in unsigned long aKnownEdges, in unsigned long aTotalEdges); void end(); void noteEdge(in unsigned long long aFromAddress, in unsigned long long aToAddress, in string aEdgeName); void noteObject(in unsigned long long aAddress, in string aObjectDescription); Methods begin() void begin(); Parameters
None. beginDescriptions() void beginDescriptions(); Parameters
None. describeGCedObject() void describeGCedObject( in unsigned long long aAddress, in boolean aMarked ); Parameters aAddress aMarked describeRefcountedObject() void describeRefcountedObject( in unsigned long long aAddress, in unsigned long aKnownEdges, in unsigned long aTotalEdges ); Parameters aAddress aKnownEdges aTo...
...ons(); Parameters
None. describeGCedObject() void describeGCedObject( in unsigned long long aAddress, in boolean aMarked ); Parameters aAddress aMarked describeRefcountedObject() void describeRefcountedObject( in unsigned long long aAddress, in unsigned long aKnownEdges, in unsigned long aTotalEdges ); Parameters aAddress aKnownEdges aTotalEdges end() void end(); Parameters
None. noteEdge() void noteEdge( in unsigned long long aFromAddress, in unsigned long long aToAddress, in string aEdgeName ); Parameters aFromAddress aToAddress aEdgeName noteObject() void noteObject( in unsigned long long aAddress, in string aObjectDescription ); Parameters aAddress aObjectDescription ...
nsIDOMChromeWindow
method tells the window manager to start dragging the window. This method will fail unless called while the left mouse button is held down, callers must check this. void beginWindowMove( in nsIDOMEvent mouseDownEvent ); Parameters mouseDownEvent Exceptions thrown NS_ERROR_NOT_IMPLEMENTED If the operating system does not support this method. getAttention() void getAttention(); Parameters
None. getAttentionWithCycleCount() Same as getAttention method excepting that this can specify the maximum number of times to animate the window per system conventions. void getAttentionWithCycleCount( in long aCycleCount ); Parameters aCycleCount The maximum number of times to animate the window per system conventions. If set to -1, cycles indefinitely until window is brought into the foreground.
...of times to animate the window per system conventions. void getAttentionWithCycleCount( in long aCycleCount ); Parameters aCycleCount The maximum number of times to animate the window per system conventions. If set to -1, cycles indefinitely until window is brought into the foreground. This behavior is same as getAttention method. maximize() Maximizes the window. void maximize(); Parameters
None. minimize() Minimizes the window. void minimize(); Parameters
None. notifyDefaultButtonLoaded() When a document has been loaded, the document can notify the default button of the document to the window by using this method. When this method is called on Windows, Gecko moves the mouse cursor to center of the button if the auto cursor snap setting is enabled on the system. However, when the window...
... a default button but it's not created by the dialog/wizard element, the applications should call this method for the accessibility and the usability on Windows at onload event. void notifyDefaultButtonLoaded( in nsIDOMElement defaultButton ); Parameters defaultButton The default button element of the window. restore() Restores the size and position of the window. void restore(); Parameters
None. setCursor() Sets the mouse cursor to the specified cursor. The mouse cursor is locked to the specified cursor if it's not "auto". At that time, the cursor has been never changed by cursor moving. After you call this method with "auto", the cursor will be unlocked. void setCursor( in DOMString cursor ); Parameters cursor You can specify same values of CSS cursor property (including -moz- pref...
nsIDownloadManager
ID ); Parameters aID The unique ID of the download. Exceptions thrown NS_ERROR_FAILURE The download is not in progress. cleanUp() Removes completed, failed, and canceled downloads from the list. Also notifies observers of the "download-manager-remove-download" topic with a null subject to allow any Download Manager consumers to react to the removals. void cleanUp(); Parameters
None. endBatchUpdate() Obsolete since Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0) Indicate that a batch update is ending. void endBatchUpdate(); Parameters
None. flush() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) Flush the download datasource to disk. void flush(); Parameters
None. getDownloa...
... onClose() Obsolete since Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. Called when the download manager front end is closed. Useful for third party managers to let us know when they've closed. void onClose(); Parameters
None. open() Obsolete since Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0) Opens the Download Manager front end. void open( in nsIDOMWindow aParent, in nsIDownload aDownload ); Parameters aParent The parent, or opener, of the front end. aDownload A download to pass to the manager window. Useful if, for example, you want the window to select a certa...
... aID The unique ID of the download. Exceptions thrown NS_ERROR_FAILURE If the download is not in the following states: DOWNLOAD_CANCELED or DOWNLOAD_FAILED. NS_ERROR_NOT_AVAILALE If the download id is not known. saveState() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) Update the download datasource. void saveState(); Parameters
None. startBatchUpdate() Obsolete since Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0) Indicate that a batch update (For example mass removal) is about to start. void startBatchUpdate(); Parameters
None. See also nsIDownload nsIDownloadManagerUI nsIDownloadProgressListener The Download Manager schema ...
nsIDragService
DRAGDROP_ACTION_COPY 1 The drag and drop operation should copy the object. DRAGDROP_ACTION_MOVE 2 The drag and drop operation should move the object. DRAGDROP_ACTION_LINK 4 The drag and drop operation should link the object. DRAGDROP_ACTION_UNINITIALIZED 64 The action is not initialized. Methods Native code on...
...rag. This is available only from native code since Gecko 43. [noscript] void fireDragEventAtSource( in mozilla::EventMessage aEventMessage ); Parameters aEventMessage One of the event messages between eDragDropEventFirst and eDragDropEventLast defined in widget/EventMessageList.h getCurrentSession() Returns the current nsIDragSession. nsIDragSession getCurrentSession(); Parameters
None. Return value The current drag session, or null if no drag is in progress. invokeDragSession() Starts a modal drag session with an array of transferables void invokeDragSession( in nsIDOMNode aDOMNode, in nsISupportsArray aTransferables, in nsIScriptableRegion aRegion, in unsigned long aActionType ); Parameters aDOMNode The source node on which the drag gesture was started. aT...
...array of transferables to be dragged. aActionType Specified which of copy/move/link are allowed aDragEvent The drag gesture event that initiated the drag. aDataTransfer A data transfer object that is available on the current drag session. startDragSession() Tells the Drag Service to start a drag session. This is called when an external drag occurs void startDragSession(); Parameters
None. suppress() Increase dragging suppress level by one. This disables dragging if it is not already disabled. void suppress(); Parameters
None. unsuppress() Decrease dragging suppress level by one. If level is zero, dragging is re-enabled. void unsuppress(); Parameters
None. ...
nsILivemarkService
er. boolean isLivemark( in long long folder ); Parameters folder A folder ID. Return value true if the given folder is a livemark folder, otherwise it returns false. Exceptions thrown NS_ERROR_INVALID_ARG If the folder ID isn't known. reloadAllLivemarks() This method reloads all livemark subscriptions, whether or not they have expired. void reloadAllLivemarks(); Parameters
None. reloadLivemarkFolder() This method reloads the livemark with this folder ID, whether or not it's expired. void reloadLivemarkFolder( in long long folderID ); Parameters folderID The ID of the folder to be reloaded. setFeedURI() This method sets the URI of the feed associated with a livemark container. Note: The caller is responsible for reloading the livemark after changing its fe...
... See also Places Livemark Service nsINavBookmarksService ...
...livemark container; also if the siteURI argument isn't a valid nsIURI object (or null) start() This method starts the livemark refresh timer. Being able to manually control this allows activity such as bookmarks import to occur without kicking off HTTP traffic. void start(); Parameters
None. stopUpdateLivemarks() Stop the livemark refresh timer. void stopUpdateLivemarks(); Parameters
None. See also Places Livemark Service nsINavBookmarksService ...
nsILocalFileMac
with SetFileType() to specify the signature of current process. Obsolete since Gecko 2.0 Methods Native code only!getCFURL Note: Observes the state of the followLinks attribute. If the file object is an alias and followLinks is true, returns the target of the alias. If followLinks is false, returns the unresolved alias file. Note: Supported only for XP_MACOSX. CFURLRef getCFURL(); Parameters
None. Return value The CFURLRef of the file object. The caller is responsible for calling CFRelease() on it. Native code only!getFSRef Note: Observes the state of the followLinks attribute. If the file object is an alias and followLinks is true, returns the target of the alias. If followLinks is false, returns the unresolved alias file. Note: Supported only for XP_MACOSX. FSRef getFSRef(); Parameters...
... Return value The CFURLRef of the file object. The caller is responsible for calling CFRelease() on it. Native code only!getFSRef Note: Observes the state of the followLinks attribute. If the file object is an alias and followLinks is true, returns the target of the alias. If followLinks is false, returns the unresolved alias file. Note: Supported only for XP_MACOSX. FSRef getFSRef(); Parameters
None. Return value The FSRef of the file object. Native code only!getFSSpec Note: Observes the state of the followLinks attribute. If the file object is an alias and followLinks is true, returns the target of the alias. If followLinks is false, returns the unresolved alias file. FSSpec getFSSpec(); Parameters
None. Return value The FSSpec of the file object. Native code only!initToAppWithCreatorCode ...
...bird 3.1 / Fennec 1.0)This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. Init this object with an FSSpec Legacy method - leaving in place for now. void initWithFSSpec( [const] in FSSpecPtr aFileSpec ); Parameters aFileSpec The native file spec. isPackage() boolean isPackage(); Parameters
None. Return value true if a directory is determined to be a package under Mac OS 9/X. launchWithDoc() Launch the application that this file points to with a document. void launchWithDoc( in nsILocalFile aDocToLoad, in boolean aLaunchInBackground ); Parameters aDocToLoad Must not be null. If no document, use nsILocalFile::launch. aLaunchInBackground true if the application should not come to the...
nsIOutputStream
m(in nsIInputStream aFromStream, in unsigned long aCount); unsigned long writeSegments(in nsReadSegmentFun aReader, in voidPtr aClosure, in unsigned long aCount); Native code only! Methods close() Close the stream. Forces the output stream to flush() any buffered data. Note: This method may be called more than once, but subsequent calls are ignored. void close(); Parameters
None. Exceptions thrown NS_BASE_STREAM_WOULD_BLOCK Indicates that closing the output stream would block the calling thread for an indeterminate amount of time. This exception may only be thrown if isNonBlocking() returns true. flush() This method may be called to instruct the output stream to write out the contents of any internal buffers to a low-level data sink, such as a file on disk. Howev...
...r an indeterminate amount of time. This exception may only be thrown if isNonBlocking() returns true. flush() This method may be called to instruct the output stream to write out the contents of any internal buffers to a low-level data sink, such as a file on disk. However, the flush method may simply do nothing depending on the implementation of the output stream. void flush(); Parameters
None. Exceptions thrown NS_BASE_STREAM_WOULD_BLOCK Indicates that flushing the output stream would block the calling thread for an indeterminate amount of time. This exception may only be thrown if isNonBlocking() returns true. isNonBlocking() Note: Writing to a blocking output stream will block the calling thread until all given data can be consumed by the stream. Note: A non-blocking output...
... isNonBlocking() Note: Writing to a blocking output stream will block the calling thread until all given data can be consumed by the stream. Note: A non-blocking output stream may implement nsIAsyncOutputStream to provide consumers with a way to wait for the stream to accept more data once its write() method is unable to accept any data without blocking. boolean isNonBlocking(); Parameters
None. Return value true if stream is non-blocking. Exceptions thrown NS_BASE_STREAM_WOULD_BLOCK A non-blocking stream may throw this exception when written to if space for the data is not immediately available. write() This method copies data from a buffer into the stream. Note: Though this method is scriptable, JavaScript code must only pass an ASCII character string as the aBuf parameter.
nsIPlacesView
playing Places information using views for examples. selectedNode nsINavHistoryResultNode The selected node in the view. If there are multiple selected nodes, this is null. Read only. Methods getDragableSelection() Returns an array of selected nsINavHistoryResultNode objects that can be dragged from the view. nsINavHistoryResultNode[] getDragableSelection(); Parameters
None. Return value An array of nsINavHistoryResultNode objects. getRemovableSelectionRanges() Returns an array whose elements are themselves arrays of nsINavHistoryResultNode objects that can be removed from the view. Each inner array represents a contiguous range of nodes that can be removed. nsINavHistoryResultNode[][] getRemovableSelectionRanges(); Parameters
None. Return value An array o...
...Node objects that can be removed from the view. Each inner array represents a contiguous range of nodes that can be removed. nsINavHistoryResultNode[][] getRemovableSelectionRanges(); Parameters
None. Return value An array of arrays of nsINavHistoryResultNode objects. getResult() Returns the nsINavHistoryResult object that the view displays. nsINavHistoryResult getResult(); Parameters
None. Return value The nsINavHistoryResult object that the view displays. getResultNode() Returns the root node, an nsINavHistoryContainerResultNode object, of the view's result. nsINavHistoryContainerResultNode getResultNode(); Paramters
None. Return value The root nsINavHistoryContainerResultNode of the view's result. getSelectionNodes() Returns an array of all currently selected nsINavH...
...one. Return value The root nsINavHistoryContainerResultNode of the view's result. getSelectionNodes() Returns an array of all currently selected nsINavHistoryResultNode objects of the view. The nodes are not necessarily returned in the same order in which they occur in the model, or in the same container, or from the same provider. nsINavHistoryResultNode[] getSelectionNodes(); Parameters
None. Return value An array of nsINavHistoryResultNode objects that are selected. selectAll() Selects all the nodes displayed in the view. void selectAll(); Parameters
None. See also Displaying Places information using views ...
nsIPluginHost
string aPostDataURL, out string aTmpFileName ); Parameters aPostDataURL aTmpFileName Native code only!deletePluginNativeWindow Deletes plugin native window object created by NewPluginNativeWindow(). void deletePluginNativeWindow( in nsPluginNativeWindowPtr aPluginNativeWindow ); Parameters aPluginNativeWindow Native code only!destroy void destroy(); Parameters
None. Native code only!findProxyForURL Fetches a URL. (Corresponds to NPN_GetURL and NPN_GetURLNotify.) Posts to a URL with post data and/or post headers. (Corresponds to NPN_PostURL and NPN_PostURLNotify.) Returns the proxy info for a given URL. The caller is required to free the resulting memory with nsIMalloc.Free(). The result will be in the following format. "DIRECT" -- no proxy "PROX...
...oid getPluginTags( out unsigned long aPluginCount, Optional [retval, array, size_is(aPluginCount)] out nsIPluginTag aResults ); Parameters aPluginCount Optional aResults Native code only!handleBadPlugin void handleBadPlugin( in PRLibraryPtr aLibrary, in nsIPluginInstance instance ); Parameters aLibrary instance Native code only!init void init(); Parameters
None. Native code only!instantiateDummyJavaPlugin Instantiate a "dummy" java plugin if a java plugin that supports NPRuntime is installed. This plugin is used for exposing window.java and window.Packages. If the java plugin supports NPRuntime and instantiation was successful, aOwners instance will be non-null, if not, it will be null. void instantiateDummyJavaPlugin( in nsIPluginInstanceOwner a...
...ner Return value Native code only!isPluginEnabledForExtension void isPluginEnabledForExtension( in string aExtension, in constCharStarRef aMimeType ); Parameters aExtension aMimeType Native code only!isPluginEnabledForType void isPluginEnabledForType( in string aMimeType ); Parameters aMimeType Native code only!loadPlugins void loadPlugins(); Parameters
None. Native code only!newPluginNativeWindow Creates a new plugin native window object. void newPluginNativeWindow( out nsPluginNativeWindowPtr aPluginNativeWindow ); Parameters aPluginNativeWindow Native code only!parsePostBufferToFixHeaders This method parses post buffer to find out case insensitive "Content-length" string and CR or LF some where after that, then it assumes there...
nsISessionStore
ClosedWindow() nsIDOMNode forgetClosedWindow( in unsigned long aIndex ); Parameters aIndex Is the index of the closed window to be removed (FIFO ordered). Return value Exceptions thrown NS_ERROR_INVALID_ARG When aIndex does not map to a closed window. getBrowserState() Returns the current state of all of windows and all of their tabs. AString getBrowserState(); Parameters
None. Return value A JSON string representing the current state of all windows in the web browser. getClosedTabCount() Returns the number of restorable tabs for a given window. unsigned long getClosedTabCount( in nsIDOMWindow aWindow ); Parameters aWindow The window whose restorable tab count should be returned. Return value The number of restorable tabs in the window. getClosedTabDat...
...The browser window whose closed tab list is to be retrieved. Return value A JSON string representing the list of closed tabs for the window specified by aWindow. The list is in last in/first out (LIFO) order, so that the first item in the list is the last tab that was closed. getClosedWindowCount() Returns the number of restorable windows. unsigned long getClosedWindowCount(); Parameters
None. Return value The number of restorable windows. getClosedWindowData() Returns a list of closed windows. AString getClosedWindowData(); Parameters
None. Return value A JSON string representing the list of closed windows. The list is in last in/first out (LIFO) order, so that the first item in the list is the last window that was closed. getTabState() Returns the state of the specified ...
... the current session. Instead the previous session will be merged into the current session. Current windows will be reused if they were windows that pinned tabs were previously restored into. New windows will be opened as needed. Note: This will throw if there is no previous state to restore. Check with canRestoreLastSession first to avoid thrown errors. void restoreLastSession(); Parameters
None. setBrowserState() Sets the current browsing state. Note: Calling setBrowserState immediately replaces the current session, restoring the state of the entire application to the state passed in the aState parameter. void setBrowserState( in AString aState ); Parameters aState A JSON string representing the session state to use. setTabState() Sets the state of the specified tab. voi...
nsITreeColumns
eColumn getColumnAt( in long index ); Parameters index Index of the column Return value A nsITreeColumn for this index. getColumnFor() Get the column for a given element. nsITreeColumn getColumnFor( in nsIDOMElement element ); Parameters element A DOM element Return value A nsITreeColumn for this element. getFirstColumn() Get the first column. nsITreeColumn getFirstColumn(); Parameters
None. Return value The first nsITreeColumn. getKeyColumn() Get the key column. nsITreeColumn getKeyColumn(); Parameters
None. Return value The key nsITreeColumn. getLastColumn() Get the last column. nsITreeColumn getLastColumn(); Parameters
None. Return value The last nsITreeColumn. getNamedColumn() Get a column for a given name. nsITreeColumn getNamedColumn( in AString id ); Parameters id A col...
...ey nsITreeColumn. getLastColumn() Get the last column. nsITreeColumn getLastColumn(); Parameters
None. Return value The last nsITreeColumn. getNamedColumn() Get a column for a given name. nsITreeColumn getNamedColumn( in AString id ); Parameters id A column id Return value The nsITreeColumn for this id. getPrimaryColumn() Get the primary column. nsITreeColumn getPrimaryColumn(); Parameters
None. Return value The primary nsITreeColumn. getSortedColumn() nsITreeColumn getSortedColumn(); Parameters
None. Return value A nsITreeColumn. invalidateColumns() This method is called whenever a treecol is added or removed and the column cache needs to be rebuilt. void invalidateColumns(); Parameters
None. restoreNaturalOrder() Restore the original order of the columns before the user moved them. ...
.... getSortedColumn() nsITreeColumn getSortedColumn(); Parameters
None. Return value A nsITreeColumn. invalidateColumns() This method is called whenever a treecol is added or removed and the column cache needs to be rebuilt. void invalidateColumns(); Parameters
None. restoreNaturalOrder() Restore the original order of the columns before the user moved them. void restoreNaturalOrder(); Parameters
None. See also nsITreeColumn ...
nsITreeSelection
tSelection( in long index, in long count ); Parameters index Index of the change. count Number of rows changed. clearRange() Clears the range. void clearRange( in long startIndex, in long endIndex ); Parameters startIndex Index to clearing at. endIndex Index to stop clearing at. clearSelection() Clears the selection. void clearSelection(); Parameters
None. getRangeAt() Returns two objects whose value properties represent the minimum and maximum indices of the given selection range. See the Tree Selection tutorial. void getRangeAt( in long i, out long min, out long max ); Parameters i Index of range to get (0 <= i < getRangeCount()) min Index of first object in range. max Index of last object in this range. Fo...
...e. See the Tree Selection tutorial. void getRangeAt( in long i, out long min, out long max ); Parameters i Index of range to get (0 <= i < getRangeCount()) min Index of first object in range. max Index of last object in this range. For single selections, min == max. getRangeCount() Returns a count of selection ranges. long getRangeCount(); Parameters
None. Return value long - number of selection ranges invalidateSelection() Can be used to invalidate the selection. void invalidateSelection(); Parameters
None. invertSelection() Inverts the selection. void invertSelection(); Parameters
None. isSelected() Indicates whether or not the row at the specified index is part of the selection. boolean isSelected( in long index ); Parameters index ...
...ndex == startIndex. augment If true, the range is added to the selection without clearing out anything else. If false, everything is cleared except for the specified range. select() Deselect all rows and select the row at the specified index. void select( in long index ); Parameters index Index of the row to select. selectAll() Selects all rows. void selectAll(); Parameters
None. timedSelect() Perform a timed select. void timedSelect( in long index, in long delay ); Parameters index Index of the row to select. delay Time in miliseconds to delay selection. toggleSelect() Toggle the selection state of the row at the specified index. void toggleSelect( in long index ); Parameters index Row to toggle. ...
nsIXPConnect
der Root JS objects held by aHolder. void addJSHolder( in voidPtr aHolder, in nsScriptObjectTracerPtr aTracer ); Parameters aHolder The object that hold the JS objects that should be rooted. aTracer Missing Description Exceptions thrown Missing Exception Missing Description clearAllWrappedNativeSecurityPolicies() void clearAllWrappedNativeSecurityPolicies(); Parameters
None. Exceptions thrown Missing Exception Missing Description Native code only!createSandbox Create a sandbox for evaluating code in isolation using evalInSandboxObject(). nsIXPConnectJSObjectHolder createSandbox( in JSContextPtr cx, in nsIPrincipal principal ); Parameters cx A context to use when creating the sandbox object. principal The principal (or null to use the null prin...
...veWrappers ); Parameters aFilenamePrefix The UTF-8 filename prefix to match, which should end with a slash (/) character. aWantNativeWrappers Whether XPConnect should produce native wrappers for scripts whose paths begin with this prefix. Exceptions thrown Missing Exception Missing Description GarbageCollect() Trigger a JS garbage collection. void GarbageCollect(); Parameters
None. Exceptions thrown Missing Exception Missing Description getCaller() Return the caller object of the current call from JS. [noscript,notxpcom] void getCaller( out JSContextPtr aJSContext, out JSObjectPtr aObject ); Parameters aJSContext Missing Description aObject Missing Description Return value Missing Description Exceptions thrown Missing Exception Missing Descript...
...rJSContext() void setSecurityManagerForJSContext( in JSContextPtr aJSContext, in nsIXPCSecurityManager aManager, in PRUint16 flags ); Parameters aJSContext Missing Description aManager Missing Description flags Missing Description Exceptions thrown Missing Exception Missing Description syncJSContexts() Deprecated do-nothing function. void syncJSContexts(); Parameters
None. Exceptions thrown Missing Exception Missing Description Native code only!updateXOWs Obsolete since Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. Performs an operation over all of |object|'s XOWs such as clearing their sc...
CData
row a TypeError exception if the value can't be converted. Methods available on all CData objects address() Returns a CData object of the pointer type ctypes.PointerType(dataObject.constructor) whose value points to the C object referred to by the object. This provides a way to get a pointer to the actual data of the C value represented by the CData object. CData address() Parameters
None. Return value A CData object of the pointer type ctypes.PointerType(dataObject.constructor) whose value points to the C object referred to by the object. toSource() Returns the string "t(arg)", where t and arg are implementation-defined JavaScript expressions intended to represent the type of the CData object and its value, respectively. String toSource() Parameters
None. Return value A...
...oduce a new CData object containing a copy of the original object. However, this only works if the object's type happens to be bound to an appropriate name in scope. In theory, in other words, the following JavaScript expression should return a copy of the original CData object: eval(dataObject.toSource()); toString() Returns a string identifying the data. String toString(); Parameters
None. Return value A string identifying the data. Methods available on string objects These methods must be called on objects that are arrays or pointers to 8-bit or 16-bit character or integer types, terminated by a null character. readString() Converts a character array to a JavaScript string. 8-bit strings are assumed to be encoded as UTF-8. If the 8-bit string contains invalid encoded char...
... objects These methods must be called on objects that are arrays or pointers to 8-bit or 16-bit character or integer types, terminated by a null character. readString() Converts a character array to a JavaScript string. 8-bit strings are assumed to be encoded as UTF-8. If the 8-bit string contains invalid encoded character, a TypeError exception is thrown. String readString(); Parameters
None. Return value A new String object that is a copy of the original string contents. readStringReplaceMalformed() Converts a character array to a JavaScript string. 8-bit strings are assumed to be encoded as UTF-8. If the 8-bit string contains invalid encoded character, no exception is thrown. String readStringReplaceMalformed(); Parameters
None. Return value A new String object that is ...
AudioBufferSourceNode - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/AudioNode" target="_top"><rect x="151" y="1" width="90" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="196" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">AudioNode</text></a><polyline points=...
...E4"/><a xlink:href="/docs/Web/API/AudioNode" target="_top"><rect x="151" y="1" width="90" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="196" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">AudioNode</text></a><polyline points="241,25 251,20 251,30 241,25" stroke="#D4DDE4" fill="
none"/><line x1="251" y1="25" x2="281" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/AudioScheduledSourceNode" target="_top"><rect x="281" y="1" width="240" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="401" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">AudioScheduledSourceN...
...PI/AudioScheduledSourceNode" target="_top"><rect x="281" y="1" width="240" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="401" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">AudioScheduledSourceNode</text></a><polyline points="521,25 531,20 531,30 521,25" stroke="#D4DDE4" fill="
none"/><line x1="531" y1="25" x2="561" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/AudioBufferSourceNode" target="_top"><rect x="561" y="1" width="210" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="666" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">AudioBufferSourceNode...
CSSValueList - Web APIs
The items in the CSSValueList are accessible via an integral index, starting from 0. ...
... The items in the CSSValueList are accessible via an integral index, starting from 0. ...
...MinYMin meet"><a xlink:href="/docs/Web/API/CSSValue" target="_top"><rect x="1" y="1" width="80" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="41" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">CSSValue</text></a><polyline points="81,25 91,20 91,30 81,25" stroke="#D4DDE4" fill="
none"/><line x1="91" y1="25" x2="121" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/CSSValueList" target="_top"><rect x="121" y="1" width="120" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="181" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">CSSValueList</text></a></svg></...
Pixel manipulation with canvas - Web APIs
e color. ...
...grayscalebtn" value="Grayscale" type="button"> <input id="invertbtn" value="Invert" type="button"> </div> var img = new Image(); img.src = 'https://mdn.mozillademos.org/files/5397/rhino.jpg'; img.onload = function() { draw(this); }; function draw(img) { var canvas = document.getElementById('canvas'); var ctx = canvas.getContext('2d'); ctx.drawImage(img, 0, 0); img.style.display = '
none'; var imageData = ctx.getImageData(0, 0, canvas.width, canvas.height); var data = imageData.data; var invert = function() { for (var i = 0; i < data.length; i += 4) { data[i] = 255 - data[i]; // red data[i + 1] = 255 - data[i + 1]; // green data[i + 2] = 255 - data[i + 2]; // blue } ctx.putImageData(imageData, 0, 0); }; var grayscale = function() ...
...type="checkbox" name="smoothbtn" checked="checked" id="smoothbtn"> Enable image smoothing </label> </div> var img = new Image(); img.src = 'https://mdn.mozillademos.org/files/5397/rhino.jpg'; img.onload = function() { draw(this); }; function draw(img) { var canvas = document.getElementById('canvas'); var ctx = canvas.getContext('2d'); ctx.drawImage(img, 0, 0); img.style.display = '
none'; var zoomctx = document.getElementById('zoom').getContext('2d'); var smoothbtn = document.getElementById('smoothbtn'); var toggleSmoothing = function(event) { zoomctx.imageSmoothingEnabled = this.checked; zoomctx.mozImageSmoothingEnabled = this.checked; zoomctx.webkitImageSmoothingEnabled = this.checked; zoomctx.msImageSmoothingEnabled = this.checked; }; smoothbtn.addE...
Using images - Web APIs
s head and composite it into a picture frame. The picture frame image is a 24-bit PNG which includes a drop shadow. Because 24-bit PNG images include a full 8-bit alpha channel, unlike GIF and 8-bit PNG images, it can be placed onto any background without worrying about a matte color. ...
...4, 124, 21, 20, 87, 104); // Draw frame ctx.drawImage(document.getElementById('frame'), 0, 0); } We took a different approach to loading the images this time. Instead of loading them by creating new HTMLImageElement objects, we included them as <img> tags directly in our HTML source and retrieved the images from those. The images are hidden from output by setting the CSS property display to
none for those images. ScreenshotLive sample The script itself is very simple. Each <img> is assigned an ID attribute, which makes them easy to select using document.getElementById(). We then simply use drawImage() to slice the rhino out of the first image and scale him onto the canvas, then draw the frame on top using a second drawImage() call. Art gallery example In the final example of this cha...
...udn.realityripple.com/samples/b7/86ecdc3e8d.jpg"></td> </tr> </table> <img id="frame" src="https://udn.realityripple.com/samples/57/952c634159.png" width="132" height="150"> </body> </html> And here's some CSS to make things look nice: body { background: 0 -100px repeat-x url(https://mdn.mozillademos.org/files/5415/bg_gallery.png) #4F191A; margin: 10px; } img { display:
none; } table { margin: 0 auto; } td { padding: 15px; } Tying it all together is the JavaScript to draw our framed images: function draw() { // Loop through all images for (var i = 0; i < document.images.length; i++) { // Don't add a canvas for the frame image if (document.images[i].getAttribute('id') != 'frame') { // Create canvas element canvas = document.createEl...
Comment - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/CharacterData" target="_top"><rect x="266" y="1" width="130" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="331" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">CharacterData</text></a><polylin...
...link:href="/docs/Web/API/CharacterData" target="_top"><rect x="266" y="1" width="130" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="331" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">CharacterData</text></a><polyline points="396,25 406,20 406,30 396,25" stroke="#D4DDE4" fill="
none"/><line x1="406" y1="25" x2="436" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Comment" target="_top"><rect x="436" y="1" width="75" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="473.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Comment</text></a></svg></div> ...
Document - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Document" target="_top"><rect x="266" y="1" width="80" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="306" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Document</text></a></svg></div> ...
... Returns the number of children of this ParentNode which are elements. ParentNode.children Read only Returns a live HTMLCollection containing all of the Element objects that are children of this ParentNode, omitting all of its non-element nodes. ParentNode.firstElementChild Read only Returns the first node which is both a child of this ParentNode and is also an Element, or null if there is
none. ParentNode.lastElementChild Read only Returns the last node which is both a child of this ParentNode and is an Element, or null if there is
none. Extensions for HTMLDocument The Document interface for HTML documents inherits from the HTMLDocument interface or, since HTML5, is extended for such documents. Document.cookie Returns a semicolon-separated list of the cookies for that documen...
DocumentFragment - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/DocumentFragment" target="_top"><rect x="266" y="1" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="346" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">DocumentFragment</text></a...
...fic properties, but inherits those of its parent, Node, and implements those of the ParentNode interface. ParentNode.children Read only Returns a live HTMLCollection containing all objects of type Element that are children of the DocumentFragment object. ParentNode.firstElementChild Read only Returns the Element that is the first child of the DocumentFragment object, or null if there is
none. ParentNode.lastElementChild Read only Returns the Element that is the last child of the DocumentFragment object, or null if there is
none. ParentNode.childElementCount Read only Returns an unsigned long giving the amount of children that the DocumentFragment has. Methods This interface inherits the methods of its parent, Node, and implements those of the ParentNode interface. Docum...
DocumentType - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/DocumentType" target="_top"><rect x="266" y="1" width="120" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="326" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">DocumentType</text></a></svg><...
... a:hover text { fill: #0095DD; pointer-events: all;} Properties Inherits properties from its parent, Node, and implements the ChildNode interface. DocumentType.entities Read only A NamedNodeMap of entities declared in the DTD. Every node in this map implements the Entity interface. DocumentType.internalSubset Read only A DOMString of the internal subset, or null if there is
none. Eg "<!ELEMENT foo (bar)>". DocumentType.name Read only A DOMString, eg "html" for <!DOCTYPE HTML>. DocumentType.notations Read only A NamedNodeMap with notations declared in the DTD. Every node in this map implements the Notation interface. DocumentType.publicId Read only A DOMString, eg "-//W3C//DTD HTML 4.01//EN", empty string for HTML5. DocumentType.systemId Read only A DOMStrin...
How whitespace is handled by HTML, CSS, and in the DOM - Web APIs
enu items. Because they are blocks, many people expect that they will behave as such, but really they don't. If there is formatting whitespace between adjacent inline elements, this will result in space in the layout, just like the spaces between words in text. ...
...e marked so they are visible): .people-list { list-style-type:
none; margin: 0; padding: 0; } .people-list li { display: inline-block; width: 2em; height: 2em; background: #f06; border: 1px solid; } <ul class="people-list">? oo<li></li>? oo<li></li>? oo<li></li>? oo<li></li>? oo<li></li>? ...
...re taking up -- useful if you are wondering what is causing the problem, and are maybe thinking you've got some extra margin in there or something! There are a few ways of getting around this problem: Use Flexbox to create the horizontal list of items instead of trying an inline-block solution. This handles everything for you, and is definitely the preferred solution: ul { list-style-type:
none; margin: 0; padding: 0; display: flex; } If you need to rely on inline-block, you could set the font-size of the list to 0. This only works if your blocks are not sized with ems (based on the font-size, so the block size would also end up being 0). rems would be a good choice here: ul { font-size: 0; ... } li { display: inline-block; width: 2rem; height: 2rem; ... } Or you ...
GlobalEventHandlers.ontransitioncancel - Web APIs
The transition is stopped before it has run to completion, e.g. ...
...he delay period ends and the animation begins. Example In this example, we use the transitionrun and transitionend events to detect when the transition begins and ends, to cause a text update to occur during the transition. This could also be used to trigger animations or other effects, to allow chaining of reactions. In addition, we also use a click event to make the box dissappear (display:
none;), showing how it triggers the transitioncancel event to fire. HTML This simply creates a <div> which we'll style with CSS below to make into a box that resizes and changes color and such. <div class="box"></div> CSS The CSS below styles the box and applies a transition effect which makes the box's color and size change, and causes the box to rotate, while the mouse cursor hovers over it. ...
...ransform: rotate(180deg); } JavaScript Next, we need to establish our event handlers to change the text content of the box when the transition begins and ends. let box = document.querySelector(".box"); box.ontransitionrun = function(event) { box.innerHTML = "Zooming..."; } box.ontransitionend = function(event) { box.innerHTML = "Done!"; } box.onclick = function() { box.style.display = '
none'; timeout = window.setTimeout(appear, 2000); function appear() { box.style.display = 'block'; } } box.ontransitioncancel = function(event) { console.log('transitioncancel fired after ' + event.elapsedTime + ' seconds.'); } Result The resulting content looks like this: Notice what happens when you hover your mouse cursor over the box, then move it away. Also note the log that ap...
HTMLCanvasElement.toDataURL() - Web APIs
ataURL('image/jpeg', 0.1); Example: Dynamically change images You can use this technique in coordination with mouse events in order to dynamically change images (gray-scale vs. ...
...nge images (gray-scale vs. ...
... Living Standard No change since the latest snapshot, HTML5 HTML 5.1The definition of 'HTMLCanvasElement.toDataURL' in that specification. Recommendation...
HTMLDocument - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Document" target="_top"><rect x="266" y="1" width="80" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="306" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Document</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Document" target="_top"><rect x="266" y="1" width="80" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="306" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Document</text></a><polyline points="346,25 356,20 356,30 346,25" stroke="#D4DDE4" fill="
none"/><line x1="356" y1="25" x2="386" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLDocument" target="_top"><rect x="386" y="1" width="120" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="446" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLDocument</text></a></svg><...
HTMLElement: animationcancel event - Web APIs
t can be added by setting the onanimationcancel property, or using addEventListener(). Bubbles Yes Cancelable No Interface AnimationEvent Event handler property onanimationcancel Examples This code gets an element that's currently being animated and adds a listener to the animationcancel event. ...
... Examples This code gets an element that's currently being animated and adds a listener to the animationcancel event. It then sets the element's display property to
none, which will trigger the animationcancel event. ...
....querySelector('.animated'); animated.addEventListener('animationcancel', () => { console.log('Animation canceled'); }); animated.style.display = '
none'; The same, but using the onanimationcancel property instead of addEventListener(): const animated = document.querySelector('.animated'); animated.onanimationcancel = () => { console.log('Animation canceled'); }; animated.style.display = '
none'; Live example HTML <div class="animation-example"> <div class="container"> <p class="animation">You chose a cold night to visit our planet.</p> </div> <button class="activate" type="button">Activate animation</button> <div class="event-log"></div> </div> CSS .container { height: 3rem; } .event-log { width: 25rem; height: 2rem; border: 1px solid black; mar...
HTMLElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HTMLElement" target="_top"><rect x="381" y="1" width="110" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="436" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HTMLElement</text></a></svg></d...
MouseEvent - Web APIs
o="xMinYMin meet"><a xlink:href="/docs/Web/API/Event" target="_top"><rect x="1" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="38.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Event</text></a><polyline points="76,25 86,20 86,30 76,25" stroke="#D4DDE4" fill="
none"/><line x1="86" y1="25" x2="116" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="19...
...DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="191,25 201,20 201,30 191,25" stroke="#D4DDE4" fill="
none"/><line x1="201" y1="25" x2="231" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/MouseEvent" target="_top"><rect x="231" y="1" width="100" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="281" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">MouseEvent</text></a></svg></div...
... Working Draft Redefines MouseEvent from long to double. This means that ...
Using the Payment Request API - Web APIs
.show() method on it to initiate the payment request. This returns a promise that fulfills with a PaymentResponse object if the payment is successful: request.show().then(function(paymentResponse) { // Here we would process the payment. For this demo, simulate immediate success: paymentResponse.complete('success') .then(function() { // For demo purposes: introPanel.style.display = '
none'; successPanel.style.display = 'block'; }); }) This object provides the developer with access to details they can use to complete the logical steps required after the payment completes, such as an email address to contact the customer, a shipping address for mailing goods out to them, etc. In the code above, you'll see that we've called the PaymentResponse.complete() method to signal that ...
...er('click', function() { var request = new PaymentRequest(buildSupportedPaymentMethodData(), buildShoppingCartDetails()); request.show().then(function(paymentResponse) { // Here we would process the payment. ...
...emo purposes: introPanel.style.display = '
none'; successPanel.style.display = 'block'; }); }).catch(function(error) { if (error.code == DOMException.NOT_SUPPORTED_ERR) { window.location.href = 'https://bobpay.xyz/#download'; } else { // Other kinds of errors; cancelled or failed payment. For demo purposes: introPanel.style.display = '
none'; legacyPanel.style.display = 'block'; } }); }); Note: See our Recommending a payment app when user has no apps demo for the full code. Showing additional user interface after successful payments If the merchant desires to collect additional information not part of the API (e.g., additional delivery instructions), the merchant can show a page with additional <input type="text"> f...
ProcessingInstruction - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/CharacterData" target="_top"><rect x="266" y="1" width="130" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="331" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">CharacterData</text></a><polylin...
...link:href="/docs/Web/API/CharacterData" target="_top"><rect x="266" y="1" width="130" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="331" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">CharacterData</text></a><polyline points="396,25 406,20 406,30 396,25" stroke="#D4DDE4" fill="
none"/><line x1="406" y1="25" x2="436" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/ProcessingInstruction" target="_top"><rect x="436" y="1" width="210" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="541" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">ProcessingInstruction...
RTCDTMFSender: tonechange event - Web APIs
Interface RTCDTMFToneChangeEvent Event handler property ontonechange To determine what tone started playing, or if a tone stopped playing, check the value of the event's tone property. ...
...heck the value of the event's tone property. Examples This example establishes a handler for the tonechange event which updates an element to display the currently playing tone in its content, or, if all tones have played, the string "<
none>". ...
... Candidate Recommendation Definition for the WebRTC API ...
SVGElement - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a><polyline points="341,25 351,20 351,30 341,25" stroke="#D4DDE4" fill="
none"/><line x1="351" y1="25" x2="381" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SVGElement" target="_top"><rect x="381" y="1" width="100" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="431" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SVGElement</text></a></svg></div...
SyncEvent - Web APIs
o="xMinYMin meet"><a xlink:href="/docs/Web/API/Event" target="_top"><rect x="1" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="38.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Event</text></a><polyline points="76,25 86,20 86,30 76,25" stroke="#D4DDE4" fill="
none"/><line x1="86" y1="25" x2="116" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/ExtendableEvent" target="_top"><rect x="116" y="1" width="150" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="191" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">ExtendableEvent</text></a><poly...
...:href="/docs/Web/API/ExtendableEvent" target="_top"><rect x="116" y="1" width="150" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="191" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">ExtendableEvent</text></a><polyline points="266,25 276,20 276,30 266,25" stroke="#D4DDE4" fill="
none"/><line x1="276" y1="25" x2="306" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/SyncEvent" target="_top"><rect x="306" y="1" width="90" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="351" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">SyncEvent</text></a></svg></div> ...
... ...
Text - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/CharacterData" target="_top"><rect x="266" y="1" width="130" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="331" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">CharacterData</text></a><polylin...
...link:href="/docs/Web/API/CharacterData" target="_top"><rect x="266" y="1" width="130" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="331" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">CharacterData</text></a><polyline points="396,25 406,20 406,30 396,25" stroke="#D4DDE4" fill="
none"/><line x1="406" y1="25" x2="436" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Text" target="_top"><rect x="436" y="1" width="75" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="473.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Text</text></a></svg></div> a:hov...
WheelEvent - Web APIs
o="xMinYMin meet"><a xlink:href="/docs/Web/API/Event" target="_top"><rect x="1" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="38.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Event</text></a><polyline points="76,25 86,20 86,30 76,25" stroke="#D4DDE4" fill="
none"/><line x1="86" y1="25" x2="116" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="19...
...DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="191,25 201,20 201,30 191,25" stroke="#D4DDE4" fill="
none"/><line x1="201" y1="25" x2="231" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/MouseEvent" target="_top"><rect x="231" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="281" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">MouseEvent</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/MouseEvent" target="_top"><rect x="231" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="281" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">MouseEvent</text></a><polyline points="331,25 341,20 341,30 331,25" stroke="#D4DDE4" fill="
none"/><line x1="341" y1="25" x2="371" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/WheelEvent" target="_top"><rect x="371" y="1" width="100" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="421" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">WheelEvent</text></a></svg></div...
XMLDocument - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Document" target="_top"><rect x="266" y="1" width="80" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="306" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Document</text></a><polyline points="3...
...DDE4"/><a xlink:href="/docs/Web/API/Document" target="_top"><rect x="266" y="1" width="80" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="306" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Document</text></a><polyline points="346,25 356,20 356,30 346,25" stroke="#D4DDE4" fill="
none"/><line x1="356" y1="25" x2="386" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/XMLDocument" target="_top"><rect x="386" y="1" width="110" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="441" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">XMLDocument</text></a></svg></d...
ARIA: alert role - Accessibility
st important thing to know about the alert role is that it is for dynamic content. It is perfect for situations such as when a user fills out a form and JavaScript is used to add an error message - the alert would immediately read out the message. It should not be used on HTML where the user hasn't interacted with it. ...
...to add an error message - the alert would immediately read out the message. It should not be used on HTML where the user hasn't interacted with it. For example, if a page loads with multiple visible alerts scattered throughout,
none would be read because they are not dynamically triggered. Examples The most basic way to trigger an alert is by adding role="alert" to an element that has display:
none; by default. When the display value is changed with CSS or JavaScript, it would automatically trigger the screen reader to read out the content. ...
...ultiple visible alerts scattered throughout,
none would be read because they are not dynamically triggered. Examples The most basic way to trigger an alert is by adding role="alert" to an element that has display:
none; by default. When the display value is changed with CSS or JavaScript, it would automatically trigger the screen reader to read out the content. <p role="alert" style="display:
none;">The alert will trigger when the element becomes visible.</p> While triggering an alert via CSS alone is possible, it is better to rely on JavaScript because it has more browser/screen reader support and is often more appropriate as part of a larger user interaction such as inside an event handler or form validation. With JavaScript, developers control the adding and removing of alerts as appro...
ARIA: switch role - Accessibility
s that are descendants of an element with the switch role applied to it are automatically assigned role presentation. This prevents elements that are used to construct the switch from being interacted with individually by assistive technologies. Text in these elements remains visible to the user agent and may be read or otherwise delivered to the user, unless it's expressly hidden using display:
none or aria-hidden="true". The assistive technology, if it supports the switch role, responds by doing the following: Screen readers should announce the element as a switch, optionally providing instructions as to how to activate the switch. There are varying opinions on how assistive technologies should handle this role; the above is a suggested practice and may differ from other sources. ...
...look and feel for the switch that's reminiscent of the power switch paradigm. ...
...ding: 0 4px; pointer-events:
none; } [role="switch"][aria-checked="false"] :first-child, [role="switch"][aria-checked="true"] :last-child { background: #262; color: #eef; } [role="switch"][aria-checked="false"] :last-child, [role="switch"][aria-checked="true"] :first-child { color: #bbd; } label.switch { font: 16px "Open Sans", "Arial", sans-serif; line-height: 20px; user-select:
none; vertical-align: middle; -moz-user-select:
none; -ms-user-select:
none; -webkit-user-select:
none; -o-user-select:
none; } The most interesting part is probably the use of attribute selectors and the :first-child and :last-child pseudo-classes to do all the heavy lifting of changing the appearance of the switch based on whether it's on or off. Result The result looks like this: Sp...
-moz-user-focus - CSS: Cascading Style Sheets
element can have the focus. /* Keyword values */ -moz-user-focus: normal; -moz-user-focus: ignore; /* Global values */ -moz-user-focus: inherit; -moz-user-focus: initial; -moz-user-focus: unset; By setting its value to ignore, you can disable focusing the element, which means that the user will not be able to activate the element. The element will be skipped in the tab sequence. Initial value
noneApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete Note: This property doesn't work for XUL <xul:textbox> elements, because the textbox itself never takes focus. Instead, XBL creates an anonymous HTML <input> element inside the textbox, and that element is what receives focus. You can stop the textbox from taking keyboard focus by setting its tab index to -1, and fr...
...the textbox from taking keyboard focus by setting its tab index to -1, and from taking mouse focus by preventing the default action of mousedown events. Syntax Values ignore The element does not accept the keyboard focus and will be skipped in the tab order. normal The element can accept the keyboard focus. ...
...setting its tab index to -1, and from taking mouse focus by preventing the default action of mousedown events. Syntax Values ignore The element does not accept the keyboard focus and will be skipped in the tab order. normal The element can accept the keyboard focus. select-after ? select-before ? select-menu ? select-same ? select-all ?
none ? Formal definition Initial value
noneApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax ignore | normal | select-after | select-before | select-menu | select-same | select-all |
none Examples HTML <input class="ignored" value="The user cannot focus on this element."> CSS .ignored { -moz-user-focus: ignore; } Specifications Not part of any standard. A similar property, user-focu...
-moz-user-input - CSS: Cascading Style Sheets
In Mozilla applications, -moz-user-input determines if an element will accept user input. /* Keyword values */ -moz-user-input:
none; -moz-user-input: enabled; -moz-user-input: disabled; /* Global values */ -moz-user-input: inherit; -moz-user-input: initial; -moz-user-input: unset; For elements that normally take user input, such as a <textarea>, the initial value of -moz-user-input is enabled. Note: -moz-user-input was one of the proposals leading to the proposed CSS 3 user-input property, which has not yet reached Candidate Recommendation (call for implementations). ...
...ea>, the initial value of -moz-user-input is enabled. Note: -moz-user-input was one of the proposals leading to the proposed CSS 3 user-input property, which has not yet reached Candidate Recommendation (call for implementations). A similar property, user-focus, was proposed in early drafts of a predecessor of the CSS3 UI specification, but was rejected by the working group. Syntax Values
none The element does not respond to user input, and it does not become :active. enabled The element accepts user input. For textboxes, this is the default behavior. Please note that this value is no longer supported in Firefox 60 onwards (bug 1405087). disabled The element does not accept user input. However, this is not the same as setting disabled to true, in that the element is drawn normally...
...rds (bug 1405087). disabled The element does not accept user input. However, this is not the same as setting disabled to true, in that the element is drawn normally. Please note that this value is no longer supported in Firefox 60 onwards (bug 1405087). Formal definition Initial valueautoApplies toall elementsInheritedyesComputed valueas specifiedAnimation typediscrete Formal syntax auto |
none | enabled | disabled Examples Disabling user input for an element input.example { /* The user will be able to select the text, but not change it. */ -moz-user-input: disabled; } Specifications Not part of any standard. ...
::-webkit-meter-bar - CSS: Cascading Style Sheets
The ::-webkit-meter-bar CSS pseudo-class is a WebKit extension that represents the meter bar in a <meter> element. ...
... The ::-webkit-meter-bar CSS pseudo-class is a WebKit extension that represents the meter bar in a <meter> element. ...
... The ::-webkit-meter-bar CSS pseudo-class is a WebKit extension that represents the meter bar in a <meter> element. ...
::-webkit-meter-inner-element - CSS: Cascading Style Sheets
al markup to render the meter element as read-only. Syntax ::-webkit-meter-inner-element Specifications Not part of any standard. ...
...eter element as read-only. Syntax ::-webkit-meter-inner-element Specifications Not part of any standard. ...
...-only. Syntax ::-webkit-meter-inner-element Specifications Not part of any standard. ...
height - CSS: Cascading Style Sheets
he other CSS descriptors' values. <length> A non-negative absolute or relative length. <percentage> A percentage value relative to the width or height of the initial viewport at zoom factor 1.0, for horizontal and vertical lengths respectively. Must be non-negative. Formal definition Related at-rule@viewportInitial valueas each of the properties of the shorthand:min-height: automax-height:
nonePercentagesas each of the properties of the shorthand:min-height: The percentage is calculated with respect to the height of the generated box's containing block. If the height of the containing block is not specified explicitly (i.e., it depends on content height), and this element is not absolutely positioned, the percentage value is treated as 0.max-height: The percentage is calculated with res...
... on content height), and this element is not absolutely positioned, the percentage value is treated as 0.max-height: The percentage is calculated with respect to the height of the generated box's containing block. ...
...box's containing block. If the height of the containing block is not specified explicitly (i.e., it depends on content height), and this element is not absolutely positioned, the percentage value is treated as
none.Computed valueas each of the properties of the shorthand:min-height: the percentage as specified or the absolute lengthmax-height: the percentage as specified or the absolute length or
none Formal syntax <viewport-length>{1,2}where <viewport-length> = auto | <length-percentage>where <length-percentage> = <length> | <percentage> Examples Setting minimum and maximum height @viewport { height: 500px; } Specifications Specification Status Comment CSS Device AdaptationThe definition of '"height" descriptor' in that specification. Working Draft I...
Using CSS transforms - CSS: Cascading Style Sheets
and the cube itself, as well as each of its faces. ...
...ive: 650px; } /* Define the container div, the cube div, and a generic face */ .container { width: 200px; height: 200px; margin: 75px 0 0 75px; border:
none; } .cube { width: 100%; height: 100%; backface-visibility: visible; perspective-origin: 150% 150%; transform-style: preserve-3d; } .face { display: block; position: absolute; width: 100px; height: 100px; border:
none; line-height: 100px; font-family: sans-serif; font-size: 60px; color: white; text-align: center; } /* Define each face based on direction */ .front { background: rgba(0, 0, 0, 0.3); transform: translateZ(50px); } .back { background: rgba(0, 255, 0, 1); color: black; transform: rotateY(180deg) translateZ(50px); } .right { background: rgba(196, 0, 0, 0.7); transform: rota...
...ve-origin: bottom left; } .pobm { perspective-origin: bottom; } .pobr { perspective-origin: bottom right; } .po200200neg { perspective-origin: -200% -200%; } .po200200pos { perspective-origin: 200% 200%; } .po200200 { perspective-origin: 200% -200%; } /* Define the container div, the cube div, and a generic face */ .container { width: 100px; height: 100px; margin: 24px; border:
none; } .cube { width: 100%; height: 100%; backface-visibility: visible; perspective: 300px; transform-style: preserve-3d; } .face { display: block; position: absolute; width: 100px; height: 100px; border:
none; line-height: 100px; font-family: sans-serif; font-size: 60px; color: white; text-align: center; } /* Define each face based on direction */ .front { backgrou...
animation-name - CSS: Cascading Style Sheets
ply to the element. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. It is often convenient to use the shorthand property animation to set all animation properties at once. Syntax /* Single animation */ animation-name:
none; animation-name: test_05; animation-name: -specific; animation-name: sliding-vertically; /* Multiple animations */ animation-name: test1, animation4; animation-name:
none, -moz-specific, sliding; /* Global values */ animation-name: initial animation-name: inherit animation-name: unset Values
none A special keyword denoting no keyframes. It can be used to deactivate an animation without cha...
... identifiers, or to deactivate animations coming from the cascade. <custom-ident> A name identifying the animation. This identifier is composed of a combination of case-sensitive letters a to z, numbers 0 to 9, underscores (_), and/or dashes (-). The first non-dash character must be a letter. Also, two dashes are forbidden at the beginning of the identifier. ...
...ifier. Furthermore, the identifier can't be
none, unset, initial, or inherit. Note: When you specify multiple comma-separated values on an animation-* property, they will be assigned to the animations specified in the animation-name property in different ways depending on how many there are. For more information, see Setting multiple animation property values. Formal definition Initial value
noneApplies toall elements, ::before and ::after pseudo-elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax [
none | <keyframes-name> ]#where <keyframes-name> = <custom-ident> | <string> Examples See CSS animations for examples. Specifications Specification Status Comment CSS AnimationsThe definition of 'animation-name' in that specificat...
backdrop-filter - CSS: Cascading Style Sheets
The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent. ...
...backdrop-filter: grayscale(30%); backdrop-filter: hue-rotate(120deg); backdrop-filter: invert(70%); backdrop-filter: opacity(20%); backdrop-filter: sepia(90%); backdrop-filter: saturate(80%); /* Multiple filters */ backdrop-filter: url(filters.svg#filter) blur(4px) saturate(150%); /* Global values */ backdrop-filter: inherit; backdrop-filter: initial; backdrop-filter: unset; Syntax Values
none No filter is applied to the backdrop. <filter-function-list> A space-separated list of <filter-function>s or an SVG filter that will be applied to the backdrop. Formal definition Initial value
noneApplies toall elements; In SVG, it applies to container elements excluding the defs element and all graphics elementsInheritednoComputed valueas specifiedAnimation typea filter function list Forma...
...r is applied to the backdrop. <filter-function-list> A space-separated list of <filter-function>s or an SVG filter that will be applied to the backdrop. ...
cursor - CSS: Cascading Style Sheets
alues */ cursor: inherit; cursor: initial; cursor: unset; The cursor property is specified as zero or more <url> values, separated by commas, followed by a single mandatory keyword value. Each <url> should point to an image file. The browser will try to load the first image specified, falling back to the next if it can't, and falling back to the keyword value if no images could be loaded (or if
none were specified). Each <url> may be optionally followed by a pair of space-separated numbers, which represent <x><y> coordinates. These will set the cursor's hotspot, relative to the top-left corner of the image. For example, this specifies two images using <url> values, providing <x><y> coordinates for the second one, and falling back to the progress keyword value if neither image can be loaded...
...ve your mouse over values to see their live appearance in your browser: Category CSS value Example Description General auto The UA will determine the cursor to display based on the current context. E.g., equivalent to text when hovering text. default The platform-dependent default cursor. Typically an arrow.
none No cursor is rendered. Links & status context-menu A context menu is available. help Help information is available. pointer The cursor is a pointer that indicates a link. Typically an image of a pointing hand. progress The program is busy in the background, but the user can still interact with the int...
... using images which are outside the size range supported by the browser will generally just be ignored. Check the Browser compatibility table for any notes on cursor size limits. ...
float - CSS: Cascading Style Sheets
ormal flow of the page, though still remaining a part of the flow (in contrast to absolute positioning). The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. A floating element is one where the computed value of float is not
none. As float implies the use of the block layout, it modifies the computed value of the display values, in some cases: Specified value Computed value inline block inline-block block inline-table table table-row block table-row-group block table-column block table-column-group block table-ce...
...nternet Explorer versions 8 and older using styleFloat. This was an exception to the rule, that the name of the DOM member is the camel-case name of the dash-separated CSS name (due to the fact that "float" is a reserved word in JavaScript, as seen in the need to escape "class" as "className" and escape <label>'s "for" as "htmlFor"). Syntax /* Keyword values */ float: left; float: right; float:
none; float: inline-start; float: inline-end; /* Global values */ float: inherit; float: initial; float: unset; The float property is specified as a single keyword, chosen from the list of values below. Values left The element must float on the left side of its containing block. right The element must float on the right side of its containing block.
none The element must not float. inline...
... containing block.
none The element must not float. inline-start The element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts. inline-end The element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts. Formal definition Initial value
noneApplies toall elements, but has no effect if the value of display is
none.InheritednoComputed valueas specifiedAnimation typediscrete Formal syntax left | right |
none | inline-start | inline-end Examples How floated elements are positioned As mentioned above, when an element is floated, it is taken out of the normal flow of the document (though still remaining part of it). It is shifted to th...
font-optical-sizing - CSS: Cascading Style Sheets
The font-optical-sizing CSS property sets whether text rendering is optimized for viewing at different sizes. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Syntax /* keyword values */ font-optical-sizing:
none; font-optical-sizing: auto; /* default */ /* Global values */ font-optical-sizing: inherit; font-optical-sizing: initial; font-optical-sizing: unset; Values
none The browser will not modify the shape of glyphs for optimal viewing. auto The browser will modify the shape of glyphs for optimal viewing. Description Optical sizing is enabled by default for fonts that have an optical size variation ax...
...l sizing is used, small text sizes are often rendered with thicker strokes and larger serifs, whereas larger text is often rendered more delicately with more contrast between thicker and thinner strokes. Formal definition Initial valueautoApplies toall elements. It also applies to ::first-letter and ::first-line.InheritedyesComputed valueas specifiedAnimation typediscrete Formal syntax auto |
none Examples Disabling optical sizing <p class="optical-sizing">This paragraph is optically sized. This is the default across browsers.</p> <p class="no-optical-sizing">This paragraph is not optically sized. You should see a difference in supporting browsers.</p> @font-face { src: url('AmstelvarAlpha-VF.ttf'); font-family:'Amstelvar'; font-style: normal; } p { font-size: 36px; ...
...agraph is optically sized. This is the default across browsers.</p> <p class="no-optical-sizing">This paragraph is not optically sized. You should see a difference in supporting browsers.</p> @font-face { src: url('AmstelvarAlpha-VF.ttf'); font-family:'Amstelvar'; font-style: normal; } p { font-size: 36px; font-family: Amstelvar; } .no-optical-sizing { font-optical-sizing:
none; } Note: The font referenced above -- which includes optical sizing and is freely-licensed -- is good for testing. You can download it on GitHub. Specifications Specification Status Comment CSS Fonts Module Level 4The definition of 'font-optical-sizing' in that specification. Working Draft ...
font-synthesis - CSS: Cascading Style Sheets
ty controls which missing typefaces, bold or italic, may be synthesized by the browser. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Syntax This property can take any one of the following forms: The keyword value
none. Either of the keyword values weight and style. Both the keyword values weight and style. Values
none Indicates that neither bold nor italic typeface may be synthesized. weight Indicates that a bold typeface may be synthesized if needed. style Indicates that an italic typeface may be synthesized if needed. Description Most standard Western fonts include italic and bold variants, bu...
...gographic scripts tend not to include these variants, and synthesizing them may impede the legibility of the text. In these cases, it may be desirable to switch off the browser's default font-synthesis. Formal definition Initial valueweight styleApplies toall elements. ...
...ts. It also applies to ::first-letter and ::first-line.InheritedyesComputed valueas specifiedAnimation typediscrete Formal syntax
none | [ weight | style ] Examples Disabling font synthesis HTML <em class="syn">Synthesize me! ???</em> <br/> <em class="no-syn">Don't synthesize me! ???</em> CSS em { font-weight: bold; } .syn { font-synthesis: style weight; } .no-syn { font-synthesis:
none; } Result Specifications Specification Status Comment CSS Fonts Module Level 3The definition of 'font-synthesis' in that specification. Candidate Recommendation Initial definition ...
grid-template-areas - CSS: Cascading Style Sheets
e examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Those areas are not associated with any particular grid item, but can be referenced from the grid-placement properties grid-row-start, grid-row-end, grid-column-start, grid-column-end, and their shorthands grid-row, grid-column, and grid-area. Syntax /* Keyword value */ grid-template-areas:
none; /* <string> values */ grid-template-areas: "a b"; grid-template-areas: "a b b" "a c d"; /* Global values */ grid-template-areas: inherit; grid-template-areas: initial; grid-template-areas: unset; Values
none The grid container doesn't define any named grid areas. <string>+ A row is created for every separate string listed, and a column is created for each cell in t...
...one The grid container doesn't define any named grid areas. <string>+ A row is created for every separate string listed, and a column is created for each cell in the string. Multiple named cell tokens within and between rows create a single named grid area that spans the corresponding grid cells. Unless those cells form a rectangle, the declaration is invalid. ...
...ate string listed, and a column is created for each cell in the string. Multiple named cell tokens within and between rows create a single named grid area that spans the corresponding grid cells. Unless those cells form a rectangle, the declaration is invalid. ...
hanging-punctuation - CSS: Cascading Style Sheets
The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box. ...
... or three values. One-value syntax uses any one of the keyword values in the list below. Two-value syntax uses one of the following: first together with any one of last, allow-end, or force-end last together with any one of first, allow-end, or force-end Three-value syntax uses one of the following: first, allow-end, and last first, force-end, and last Values
none No character hangs. first An opening bracket or quote at the start of the first formatted line of an element hangs. last A closing bracket or quote at the end of the last formatted line of an element hangs. force-end A stop or comma at the end of a line hangs. allow-end A stop or comma at the end of a line hangs if it does not otherwise fit prior to justification. Formal definition In...
...ter hangs. first An opening bracket or quote at the start of the first formatted line of an element hangs. last A closing bracket or quote at the end of the last formatted line of an element hangs. force-end A stop or comma at the end of a line hangs. allow-end A stop or comma at the end of a line hangs if it does not otherwise fit prior to justification. Formal definition Initial value
noneApplies toall elementsInheritedyesComputed valueas specifiedAnimation typediscrete Formal syntax
none | [ first | [ force-end | allow-end ] | last ] Examples Setting opening and closing quotes to hang HTML <p>"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur dignissim nunc mauris, et sollicitudin est scelerisque sed. Praesent laoreet tortor massa, sit amet vulputate nulla p...
mask-image - CSS: Cascading Style Sheets
The mask-image CSS property sets the image that is used as mask layer for an element. /* Keyword value */ mask-image:
none; /* <mask-source> value */ mask-image: url(masks.svg#mask1); /* <image> values */ mask-image: linear-gradient(rgba(0, 0, 0, 1.0), transparent); mask-image: image(url(mask.png), skyblue); /* Multiple values */ mask-image: image(url(mask.png), skyblue), linear-gradient(rgba(0, 0, 0, 1.0), transparent); /* Global values */ mask-image: inherit; mask-image: initial; mask-image: unset; Syntax Values
none This keyword is interpreted as a transparent black image layer. <mask-source> A <url> reference to a <mask> or to a CSS image. ...
...ge(url(mask.png), skyblue), linear-gradient(rgba(0, 0, 0, 1.0), transparent); /* Global values */ mask-image: inherit; mask-image: initial; mask-image: unset; Syntax Values
none This keyword is interpreted as a transparent black image layer. <mask-source> A <url> reference to a <mask> or to a CSS image. <image> An image value used as mask image layer. ...
...ference to a <mask> or to a CSS image. <image> An image value used as mask image layer. ...
mask - CSS: Cascading Style Sheets
individual properties to override any mask settings earlier in the cascade. This will ensure that mask-border has also been reset to allow the new styles to take effect. ...
...clip. If two <geometry-box> values are present, then the first sets mask-origin and the second sets mask-clip. <geometry-box> | no-clip Sets the area that is affected by the mask image. See mask-clip. <compositing-operator> Sets the compositing operation used on the current mask layer. See mask-composite. ...
... or calcmask-clip: discretemask-origin: discretemask-size: repeatable list of simple list of length, percentage, or calcmask-composite: discreteCreates stacking contextyes Formal syntax <mask-layer>#where <mask-layer> = <mask-reference> | <position> [ / <bg-size> ]? | <repeat-style> | <geometry-box> | [ <geometry-box> | no-clip ] | <compositing-operator> | <masking-mode>where <mask-reference> =
none | <image> | <mask-source><position> = [ [ left | center | right ] | [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]<bg-size> = [ <length-percentage> | auto ]{1,2} | cover | contain<repeat-style> = repeat-x | repeat-y | [ repeat | spa...
outline-style - CSS: Cascading Style Sheets
he source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. It is often more convenient to use the shorthand property outline when defining the appearance of an outline. Syntax /* Keyword values */ outline-style: auto; outline-style:
none; outline-style: dotted; outline-style: dashed; outline-style: solid; outline-style: double; outline-style: groove; outline-style: ridge; outline-style: inset; outline-style: outset; /* Global values */ outline-style: inherit; outline-style: initial; outline-style: unset; The outline-style property is specified as any one of the values listed below. Values auto Permits the user agent t...
...le: dashed; outline-style: solid; outline-style: double; outline-style: groove; outline-style: ridge; outline-style: inset; outline-style: outset; /* Global values */ outline-style: inherit; outline-style: initial; outline-style: unset; The outline-style property is specified as any one of the values listed below. Values auto Permits the user agent to render a custom outline style.
none No outline is used. The outline-width is 0. dotted The outline is a series of dots. dashed The outline is a series of short line segments. solid The outline is a single line. double The outline is two single lines. The outline-width is the sum of the two lines and the space between them. groove The outline looks as though it were carved into the page. ridge ...
... them. groove The outline looks as though it were carved into the page. ridge The opposite of groove: the outline looks as though it were extruded from the page. inset The outline makes the box look as though it were embedded in the page. outset The opposite of inset: the outline makes the box look as though it were coming out of the page. Formal definition Initial value
noneApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax auto | <'border-style'> Examples Setting outline style to auto The auto value indicates a custom outline style -- typically a style [that] is either a user interface default for the platform, or perhaps a style that is richer than can be described in detail in CSS, e.g. a rounded edge outline with ...
Guide to scroll anchoring - CSS: Cascading Style Sheets
of the anchor node. If one node doesn't seem appropriate to be an anchor, you can exclude it using overflow-anchor, as described below. What if I need to disable it? The specification provides a new property, overflow-anchor, which can be used to disable scroll anchoring on all or part of the document. It's essentially a way to opt out of the new behavior. ...
...t? ...
...y possible values are auto or
none: auto is the initial value; as long as the user has a supported browser the scroll anchoring behavior will happen, and they should see fewer content jumps.
none means that you have explicitly opted the document, or part of the document, out of scroll anchoring. To opt out the entire document, you can set it on the <body> element: body { overflow-anchor:
none; } To opt out a certain part of the document use overflow-anchor:
none on its container element: .container { overflow-anchor:
none; } Note: The specification details that once scroll anchoring has been opted out of, you cannot opt back into it from a child element. For example, if you opt out for the entire document, you will not be able to set overflow-anchor: auto elsewhere in the docume...
overscroll-behavior-block - CSS: Cascading Style Sheets
The overscroll-behavior-block CSS property sets the browser's behavior when the block direction boundary of a scrolling area is reached. See overscroll-behavior for a full explanation. /* Keyword values */ overscroll-behavior-block: auto; /* default */ overscroll-behavior-block: contain; overscroll-behavior-block:
none; /* Global values */ overscroll-behavior-block: inherit; overscroll-behavior-block: initial; overscroll-behavior-block: unset; Syntax The overscroll-behavior-block property is specified as a keyword chosen from the list of values below. Values auto The default scroll overflow behavior occurs as normal. contain Default scroll overflow behavior is observed inside the element this value is set on (e.g. "bounce" effects or refreshes), but no scroll chaining occurs to n...
...-behavior-block property is specified as a keyword chosen from the list of values below. Values auto The default scroll overflow behavior occurs as normal. contain Default scroll overflow behavior is observed inside the element this value is set on (e.g. "bounce" effects or refreshes), but no scroll chaining occurs to neighbouring scrolling areas, e.g. underlying elements will not scroll. ...
...The outer box has a large height set on it so the page will scroll vertically. ...
overscroll-behavior-inline - CSS: Cascading Style Sheets
The overscroll-behavior-inline CSS property sets the browser's behavior when the inline direction boundary of a scrolling area is reached. See overscroll-behavior for a full explanation. /* Keyword values */ overscroll-behavior-inline: auto; /* default */ overscroll-behavior-inline: contain; overscroll-behavior-inline:
none; /* Global values */ overscroll-behavior-inline: inherit; overscroll-behavior-inline: initial; overscroll-behavior-inline: unset; Syntax The overscroll-behavior-inline property is specified as a keyword chosen from the list of values below. Values auto The default scroll overflow behavior occurs as normal. contain Default scroll overflow behavior is observed inside the element this value is set on (e.g. "bounce" effects or refreshes), but no scroll chaining oc...
...behavior-inline property is specified as a keyword chosen from the list of values below. Values auto The default scroll overflow behavior occurs as normal. contain Default scroll overflow behavior is observed inside the element this value is set on (e.g. "bounce" effects or refreshes), but no scroll chaining occurs to neighbouring scrolling areas, e.g. underlying elements will not scroll. ...
...The outer box has a large width set on it so the page will scroll horizontally. ...
overscroll-behavior-x - CSS: Cascading Style Sheets
The overscroll-behavior-x CSS property sets the browser's behavior when the horizontal boundary of a scrolling area is reached. See overscroll-behavior for a full explanation. /* Keyword values */ overscroll-behavior-x: auto; /* default */ overscroll-behavior-x: contain; overscroll-behavior-x:
none; /* Global values */ overscroll-behavior-x: inherit; overscroll-behavior-x: initial; overscroll-behavior-x: unset; Syntax The overscroll-behavior-x property is specified as a keyword chosen from the list of values below. Values auto The default scroll overflow behavior occurs as normal. contain Default scroll overflow behavior is observed inside the element this value is set on (e.g. "bounce" effects or refreshes), but no scroll chaining occurs to neighbouring scrolling areas, e.g. und...
...roll-behavior-x property is specified as a keyword chosen from the list of values below. Values auto The default scroll overflow behavior occurs as normal. contain Default scroll overflow behavior is observed inside the element this value is set on (e.g. "bounce" effects or refreshes), but no scroll chaining occurs to neighbouring scrolling areas, e.g. underlying elements will not scroll. ...
...The outer box has a large width set on it so the page will scroll horizontally. ...
overscroll-behavior-y - CSS: Cascading Style Sheets
The overscroll-behavior-y CSS property sets the browser's behavior when the vertical boundary of a scrolling area is reached. See overscroll-behavior for a full explanation. /* Keyword values */ overscroll-behavior-y: auto; /* default */ overscroll-behavior-y: contain; overscroll-behavior-y:
none; /* Global values */ overscroll-behavior-y: inherit; overscroll-behavior-y: initial; overscroll-behavior-y: unset; Initial valueautoApplies tonon-replaced block-level elements and non-replaced inline-block elementsInheritednoComputed valueas specifiedAnimation typediscrete Syntax The overscroll-behavior-y property is specified as a keyword chosen from the list of values below. Values auto The default scroll overflow behavior occurs as normal. contain Default scroll overflow behavior is ...
...roll-behavior-y property is specified as a keyword chosen from the list of values below. Values auto The default scroll overflow behavior occurs as normal. contain Default scroll overflow behavior is observed inside the element this value is set on (e.g. "bounce" effects or refreshes), but no scroll chaining occurs to neighbouring scrolling areas, e.g. underlying elements will not scroll. ...
...s to neighbouring scrolling areas, e.g. underlying elements will not scroll.
none No scroll chaining occurs to neighbouring scrolling areas, and default scroll overflow behavior is prevented. Formal definition Initial valueautoApplies tonon-replaced block-level elements and non-replaced inline-block elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax contain |
none | auto Examples Preventing an underlying element from scrolling vertically .messages { height: 220px; overflow: auto; overscroll-behavior-y: contain; } See overscroll-behavior for a full example and explanation. Specifications Specification Status Comment CSS Overscroll Behavior Module Level 1The definition of 'overscroll-behavior-y' in that specification.
resize - CSS: Cascading Style Sheets
The resize CSS property sets whether an element is resizable, and if so, in which directions. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Syntax /* Keyword values */ resize:
none; resize: both; resize: horizontal; resize: vertical; resize: block; resize: inline; /* Global values */ resize: inherit; resize: initial; resize: unset; The resize property is specified as a single keyword value from the list below. Values
none The element offers no user-controllable method for resizing it. both The element displays a mechanism for allowing the user to resize it, which may be resized both horizontally and ve...
...nding on the writing-mode and direction value). inline The element displays a mechanism for allowing the user to resize it in the inline direction (either horizontally or vertically, depending on the writing-mode and direction value). resize does not apply to the following: Inline elements Block elements for which the overflow property is set to visible Formal definition Initial value
noneApplies toelements with overflow other than visible, and optionally replaced elements representing images or videos, and iframesInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax
none | both | horizontal | vertical | block | inline Examples Disabling resizability of textareas In many browsers, <textarea> elements are resizable by default. You may override this behavior ...
...In the example below, a resizable <div> contains a resizable paragraph (<p> element). ...
scrollbar-width - CSS: Cascading Style Sheets
The scrollbar-width property allows the author to set the maximum thickness of an element's scrollbars when they are shown. ...
...ar-width: initial; scrollbar-width: unset; Values <scrollbar-width> Defines the width of the scrollbar as a keyword. It must be one of the following values: auto The default scrollbar width for the platform. thin A thin scrollbar width variant on platforms that provide that option, or a thinner scrollbar than the default platform scrollbar width.
none No scrollbar shown, however the element will still be scrollable. Note: User Agents must apply any scrollbar-width value set on the root element to the viewport. Accessibility concerns Use this property with caution -- setting scrollbar-width to thin or
none can make content hard or impossible to scroll if the author does not provide an alternative scrolling mechanism. Whi...
...ed). MDN Understanding WCAG, Guideline 2.1 explanations MDN Understanding WCAG, Guideline 2.5 explanations Understanding Success Criterion 2.1.1 | W3C Understanding WCAG 2.1 Understanding Success Criterion 2.5.5 | W3C Understanding WCAG 2.1 Formal definition Initial valueautoApplies toscrolling boxesInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax auto | thin |
none Examples Sizing overflow scrollbars CSS .scroller { width: 300px; height: 100px; overflow-y: scroll; scrollbar-width: thin; } HTML <div class="scroller">Veggies es bonus vobis, proinde vos postulo essum magis kohlrabi welsh onion daikon amaranth tatsoi tomatillo melon azuki bean garlic. Gumbo beet greens corn soko endive gumbo gourd. Parsley shallot courgette tatsoi pea sprouts fava...
text-combine-upright - CSS: Cascading Style Sheets
aracter. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes. This is used to produce an effect that is known as tate-chu-yoko (???) in Japanese, or as ???? in Chinese. ...
... all Attempts to typeset all consecutive characters within the box horizontally, such that they take up the space of a single character within the vertical line of the box. ...
...the vertical line of the box. digits <integer>? Attempts to display a sequence of consecutive ASCII digits (U+0030-U+0039) that has as many or fewer characters than the specified integer, such that it takes up the space of a single character within the vertical line box. If the integer is omitted, it computes to 2. Integers outside the range of 2-4 are invalid. Formal definition Initial value
noneApplies tonon-replaced inline elementsInheritedyesComputed valuespecified keyword, plus integer if 'digits'Animation typediscrete Formal syntax
none | all | [ digits <integer>? ] Examples Digits The digits value requires less markup than the all value when digits are being combined, but it is currently not very widely supported by browsers. HTML <p lang="ja" class="exampleText">??20?4?16??<...
text-decoration-skip-ink - CSS: Cascading Style Sheets
ey pass over glyph ascenders and descenders. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. text-decoration-skip-ink is not part of the text-decoration shorthand. Syntax /* Single keyword */ text-decoration-skip-ink:
none; text-decoration-skip-ink: auto; text-decoration-skip-ink: all; /* Global keywords */ text-decoration-skip: inherit; text-decoration-skip: initial; text-decoration-skip: unset; Values
none Underlines and overlines are drawn across the full length of the text content, including parts that cross over glyph descenders and ascenders. auto The default -- the browser may interrupt underlines a...
...ph. all The browser must interrupt underlines and overlines so that they do not touch or closely approach a glyph. This can be helpful with certain Chinese, Japanese, or Korean (CJK) fonts, where the auto behavior might not create interruptions. ...
... Working Draft Initial definition ...
text-decoration-skip - CSS: Cascading Style Sheets
text-decoration-skip CSS property sets what parts of an element's content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors. Note: Most other browsers are converging on supporting the simpler text-decoration-skip-ink property. ...
...Thus, text decoration is drawn for all text content and across atomic inline-level boxes. objects The entire margin box of the element is skipped if it is an atomic inline such as an image or inline-block. spaces All spacing is skipped: all Unicode white space characters and all word separators, plus any adjacent letter-spacing or word-spacing. leading-spaces The same a...
...underlining is a form of punctuation.) box-decoration The text decoration is skipped over the box's margin, border, and padding areas. This only has an effect on decorations imposed by an ancestor; a decorating box never draws over its own box decoration. ...
text-decoration - CSS: Cascading Style Sheets
uest. Text decorations are drawn across descendant text elements. This means that if an element specifies a text decoration, then a child element can't remove the decoration. For example, in the markup <p>This text has <em>some emphasized words</em> in it.</p>, the style rule p { text-decoration: underline; } would cause the entire paragraph to be underlined. The style rule em { text-decoration:
none; } would not cause any change; the entire paragraph would still be underlined. However, the rule em { text-decoration: overline; } would cause a second decoration to appear on "some emphasized words". Constituent properties This property is a shorthand for the following CSS properties: text-decoration-color text-decoration-line text-decoration-style text-decoration-thickness Syntax The...
...tion-color Sets the color of the decoration. text-decoration-style Sets the style of the line used for the decoration, such as solid, wavy, or dashed. text-decoration-thickness Sets the thickness of the line used for the decoration. Formal definition Initial valueas each of the properties of the shorthand:text-decoration-color: currentcolortext-decoration-style: solidtext-decoration-line:
noneApplies toall elements. It also applies to ::first-letter and ::first-line.InheritednoComputed valueas each of the properties of the shorthand:text-decoration-line: as specifiedtext-decoration-style: as specifiedtext-decoration-color: computed colortext-decoration-thickness: as specifiedAnimation typeas each of the properties of the shorthand:text-decoration-color: a colortext-decoration-style: di...
...le: discretetext-decoration-line: discretetext-decoration-thickness: by computed value type Formal syntax <'text-decoration-line'> | <'text-decoration-style'> | <'text-decoration-color'> | <'text-decoration-thickness'> Examples .under { text-decoration: underline red; } .over { text-decoration: wavy overline lime; } .line { text-decoration: line-through; } .plain { text-decoration:
none; } .underover { text-decoration: dashed underline overline; } .thick { text-decoration: solid underline purple 4px; } .blink { text-decoration: blink; } <p class="under">This text has a line underneath it.</p> <p class="over">This text has a line over it.</p> <p class="line">This text has a line going through it.</p> <p>This <a class="plain" href="#">link will not be underlined</a>, ...
text-emphasis - CSS: Cascading Style Sheets
osition. This is because if the style and the color of emphasis marks may vary in a text, it is extremely unlikely that their position will. In the very rare cases when this is needed, the property text-emphasis-position. Constituent properties This property is a shorthand for the following CSS properties: text-emphasis-color text-emphasis-style Syntax /* Initial value */ text-emphasis:
none; /* No emphasis marks */ /* <string> value */ text-emphasis: 'x'; text-emphasis: '?'; text-emphasis: '\25B2'; text-emphasis: '*' #555; text-emphasis: 'foo'; /* Should NOT use. It may be computed to or rendered as 'f' only */ /* Keywords value */ text-emphasis: filled; text-emphasis: open; text-emphasis: filled sesame; text-emphasis: open sesame; /* Keywords value combined with a color */ text-...
...55; text-emphasis: 'foo'; /* Should NOT use. It may be computed to or rendered as 'f' only */ /* Keywords value */ text-emphasis: filled; text-emphasis: open; text-emphasis: filled sesame; text-emphasis: open sesame; /* Keywords value combined with a color */ text-emphasis: filled sesame #555; /* Global values */ text-emphasis: inherit; text-emphasis: initial; text-emphasis: unset; Values
none No emphasis marks. filled The shape is filled with solid color. If neither filled nor open is present, this is the default. open The shape is hollow. dot Display small circles as marks. The filled dot is 'o' (U+2022), and the open dot is 'o' (U+25E6). circle Display large circles as marks. The filled circle is '?' (U+25CF), and the open circle is '?' (U+25CB). This is the default shape i...
...ape is given. <string> Display the given string as marks. Authors should not specify more than one character in <string>. The UA may truncate or ignore strings consisting of more than one grapheme cluster. <color> Defines the color of the mark. If no color is present, it defaults to currentcolor. ...
transition - CSS: Cascading Style Sheets
color 1s; /* Apply to all changed properties */ transition: all 0.5s ease-out; /* Global values */ transition: inherit; transition: initial; transition: unset; The transition property is specified as one or more single-property transitions, separated by commas. Each single-property transition describes the transition that should be applied to a single property (or the special values all and
none). It includes: zero or one value representing the property to which the transition should apply. This may be any one of: the keyword
none the keyword all a <custom-ident> naming a CSS property. zero or one <single-transition-timing-function> value representing the timing function to use zero, one, or two <time> values. The first value that can be parsed as a time is assigned...
...n-property: alltransition-timing-function: easeApplies toall elements, ::before and ::after pseudo-elementsInheritednoComputed valueas each of the properties of the shorthand:transition-delay: as specifiedtransition-duration: as specifiedtransition-property: as specifiedtransition-timing-function: as specifiedAnimation typediscrete Formal syntax <single-transition>#where <single-transition> = [
none | <single-transition-property> ] | <time> | <timing-function> | <time>where <single-transition-property> = all | <custom-ident><timing-function> = linear | <cubic-bezier-timing-function> | <step-timing-function>where <cubic-bezier-timing-function> = ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number <a href="/docs/CSS/Value_definition_syntax#Brackets" title="Brackets: enclose several ...
... Specifications Specification Status Comment CSS TransitionsThe definition of 'transition' in that specification. Working Draft Initial definition ...
<img>: The Image Embed element - HTML: Hypertext Markup Language
Image loading erro...
...e user, present it inline using one of the methods mentioned above instead of using title. Using the HTML title attribute - updated | The Paciello Group Technical summary Content categories Flow content, phrasing content, embedded content, palpable content. If the element has a usemap attribute, it also is a part of the interactive content category. Permitted content
None, it is an empty element. Tag omission Must have a start tag and must not have an end tag. Permitted parents Any element that accepts embedded content. Implicit ARIA role with non-empty alt attribute or no alt attribute: img with empty alt attribute: no corresponding role Permitted ARIA roles with non-empty alt attribute...
... Candidate Recommendation Added the referrerpolicy attribute. HTML Living StandardThe definition of '<img>' in that ...
Content Security Policy (CSP) - HTTP
ure your web server to return the Content-Security-Policy HTTP header. (Sometimes you may see mentions of the X-Content-Security-Policy header, but that's an older version and you don't need to specify it anymore.) Alternatively, the <meta> element can be used to configure a policy, for example: <meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src https://*; child-src '
none';"> Threats Mitigating cross site scripting A primary goal of CSP is to mitigate and report XSS attacks. XSS attacks exploit the browser's trust of the content received from the server. Malicious scripts are executed by the victim's browser because the browser trusts the source of the content, even when it's not coming from where it seems to be coming from. CSP makes it possible for server ad...
...iolation. status-code The HTTP status code of the resource on which the global object was instantiated. violated-directive The name of the policy section that was violated. Sample violation report Let's consider a page located at http://example.com/signup.html. It uses the following policy, disallowing everything but stylesheets from cdn.example.com. Content-Security-Policy: default-src '
none'; style-src cdn.example.com; report-uri /_/csp-reports The HTML of signup.html looks like this: <!DOCTYPE html> <html> <head> <title>Sign Up</title> <link rel="stylesheet" href="css/style.css"> </head> <body> ... Content ... </body> </html> Can you spot the mistake? Stylesheets are allowed to be loaded only from cdn.example.com, yet the website tries to load one from its o...
...This is not always the case. For example, if the signup.html attempted to load CSS from http://anothercdn.example.com/stylesheet.css, the browser would not include the full path, but only the origin (http://anothercdn.example.com). The CSP spec...
Using HTTP cookies - HTTP
For example, if Path=/docs is set, these paths match: /docs /docs/Web/ /docs/Web/HTTP SameSite attribute The SameSite attribute lets servers require that a cookie shouldn't be sent with cross-origin requests (where Site is defined by the registrable domain), which provides some protection against cross-site request forgery attacks (CSRF). It takes three possible values: Strict, Lax, and
None. With Strict, the cookie is sent only to the same site as the one that originated it; Lax is similar, with an exception for when the user navigates to a URL from an external site, such as by following a link;
None has no restrictions on cross-site requests. Here is an example: Set-Cookie: mykey=myvalue; SameSite=Strict The values of SameSite attribute are case-insensitive. Browsers are migra...
... Cookie prefixes The design of the cookie mechanism is such that a server is unable to confirm that a cookie was set on a secure origin or even to tell where a cookie was originally set. ...
... Cookie prefixes The design of the cookie mechanism is such that a server is unable to confirm that a cookie was set on a secure origin or even to tell where a cookie was originally set. ...
CSP: navigate-to - HTTP
enabling specific inline event handlers. If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method than using the unsafe-inline expression. 'unsafe-inline' Allows the use of inline resources, such as inline <script> elements, javascript: URLs, inline event handlers, and inline <style> elements. The single quotes are required. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. 'nonce-<base64-value>' An allow-list for specific inline scripts using a cryptographic nonce (number used once). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource's policy is otherwise trivial. See unsafe inline s...
... be propagated to all the scripts loaded by that root script. At the same time, any allow-list or source expressions such as 'self' or 'unsafe-inline' are ignored. See script-src for an example. 'report-sample' Requires a sample of the violating code to be included in the violation report. ...
...xample. 'report-sample' Requires a sample of the violating code to be included in the violation report. Examples Meta tag configuration <meta http-equiv="Content-Security-Policy" content="navigate-to '
none'"> Violation case Using a <form> element with an action set to inline JavaScript will result in a CSP violation. <meta http-equiv="Content-Security-Policy" content="navigate-to '
none'"> <form action="javascript:alert('Foo')" id="form1" method="post"> <input type="text" name="fieldName" value="fieldValue"> <input type="submit" id="submit" value="submit"> </form> Specifications Specification Status Comment Content Security Policy Level 3The definition of 'navigate-to' in that specification. Working Draft Initial definition. ...
HTTP range requests - HTTP
You can check this by issuing a HEAD request with cURL, for example. ...
...m/z4d4kWk.jpg HTTP/1.1 200 OK ... Accept-Ranges: bytes Content-Length: 146515 In this response, Accept-Ranges: bytes indicates that bytes can be used as unit to define a range. Here the Content-Length header is also useful as it indicates the full size of the image to retrieve. If sites omit the Accept-Ranges header, they likely don't support partial requests. Some sites also explicitly send "
none" as a value, indicating no support. In some apps, download managers disable their pause buttons in that case. curl -I https://www.youtube.com/watch?v=EwTZ2xpQwpA HTTP/1.1 200 OK ... Accept-Ranges:
none Requesting a specific range from a server If the server supports range requests, you can issue such a request by using the Range header. It indicates the part(s) of a document that the server ...
...K status. This header can be used either with a Last-Modified validator, or with an ETag, but not with both. If-Range: Wed, 21 Oct 2015 07:28:00 GMT Partial request responses There are three relevant statuses, when working with range requests: In case of a successful range request, the 206 Partial Content status is sent back from a server. In case of a range request that is out of bounds (
none of the range values overlap the extent of the resource, i.e first-byte-pos of all ranges is greater than the resource length), the server responds with a 416 Requested Range Not Satisfiable status. In case of no support of range requests, the 200 OK status is sent back from a server. Comparison to chunked Transfer-Encoding The Transfer-Encoding header allows chunked encoding, which is useful ...
Details of the object model - JavaScript
; Now, the mark object has a bonus property, but no other WorkerBee has this property. If you add a new property to an object that is being used as the prototype for a constructor function, you add that property to all objects that inherit properties from the prototype. For example, you can add a specialty property to all employees with the following statement: Employee.prototype.specialty = '
none'; As soon as JavaScript executes this statement, the mark object also has the specialty property with the value of "
none". The following figure shows the effect of adding this property to the Employee prototype and then overriding it for the Engineer prototype. Adding properties More flexible constructors The constructor functions shown so far do not let you specify property values when yo...
...to the Employee or WorkerBee prototypes, those properties are not inherited by the Engineer object. For example, assume you have the following statements: function Engineer(name, projs, mach) { this.base = WorkerBee; this.base(name, 'engineering', projs); this.machine = mach || ''; } var jane = new Engineer('Doe, Jane', ['navigator', 'javascript'], 'belau'); Employee.prototype.specialty = '
none'; The jane object does not inherit the specialty property. You still need to explicitly set up the prototype to ensure dynamic inheritance. Assume instead you have these statements: function Engineer(name, projs, mach) { this.base = WorkerBee; this.base(name, 'engineering', projs); this.machine = mach || ''; } Engineer.prototype = new WorkerBee; var jane = new Engineer('Doe, Jane', ['nav...
...still need to explicitly set up the prototype to ensure dynamic inheritance. Assume instead you have these statements: function Engineer(name, projs, mach) { this.base = WorkerBee; this.base(name, 'engineering', projs); this.machine = mach || ''; } Engineer.prototype = new WorkerBee; var jane = new Engineer('Doe, Jane', ['navigator', 'javascript'], 'belau'); Employee.prototype.specialty = '
none'; Now the value of the jane object's specialty property is "
none". Another way of inheriting is by using the call() / apply() methods. Below are equivalent: function Engineer(name, projs, mach) { this.base = WorkerBee; this.base(name, 'engineering', projs); this.machine = mach || ''; } function Engineer(name, projs, mach) { WorkerBee.call(this, name, 'engineering', projs); this.ma...
Object.preventExtensions() - JavaScript
eing made non-extensible. var obj = {}; var obj2 = Object.preventExtensions(obj); obj === obj2; // true // Objects are extensible by default. var empty = {}; Object.isExtensible(empty); // === true // ...but that can be changed. Object.preventExtensions(empty); Object.isExtensible(empty); // === false // Object.defineProperty throws when adding // a new property to a non-extensible object. ...
...entExtensions(obj); obj === obj2; // true // Objects are extensible by default. var empty = {}; Object.isExtensible(empty); // === true // ...but that can be changed. Object.preventExtensions(empty); Object.isExtensible(empty); // === false // Object.defineProperty throws when adding // a new property to a non-extensible object. ...
...rue // Objects are extensible by default. var empty = {}; Object.isExtensible(empty); // === true // ...but that can be changed. Object.preventExtensions(empty); Object.isExtensible(empty); // === false // Object.defineProperty throws when adding // a new property to a non-extensible object. var
nonExtensible = { removable: true }; Object.preventExtensions(
nonExtensible); Object.defineProperty(
nonExtensible, 'new', { value: 8675309 }); // throws a TypeError // In strict mode, attempting to add new properties // to a non-extensible object throws a TypeError. function fail() { 'use strict'; // throws a TypeError
nonExtensible.newProperty = 'FAIL'; } fail(); A non-extensible object's prototype is immutable: var fixed = Object.preventExtensions({}); // throws a 'TypeError'. fixed.__...
<mtable> - MathML
ylesheets. columnalign Specifies the horizontal alignment of the cells. Multiple values separated by space are allowed and apply to the corresponding columns (e.g. columnalign="left right center"). Possible values are: left, center (default) and right. columnlines Specifies column borders. Multiple values separated by space are allowed and apply to the corresponding columns (e.g. columnlines="
none none solid"). Possible values are:
none (default), solid and dashed. columnspacing Specifies the space between table columns. Unimplemented columnwidth Specifies the width of table columns. displaystyle A Boolean value specifying whether more vertical space is used for displayed equations or, if set to false, a more compact layout is used to display formulas. The main effect is that larger ...
...ersions of operators are displayed, when displaystyle is set to true. Unimplemented equalcolumns A Boolean value indicating whether to force all columns to have the same total height. false is default. Unimplemented equalrows A Boolean value indicating whether to force all rows to have the same total height. false is default. frame Specifies borders of the entire table. Possible values are:
none (default), solid and dashed. framespacing Specifies additional space added between the table and frame. groupalign Unimplemented href Used to set a hyperlink to a specified URI. mathbackground The background color. You can use #rgb, #rrggbb and HTML color names. mathcolor The text color. You can use #rgb, #rrggbb and HTML color names. Unimplemented minlabelspacing A length value speci...
...nt cell in the row. rowalign Specifies the vertical alignment of the cells. Multiple values separated by space are allowed and apply to the corresponding rows (e.g. rowalign="top bottom axis"). Possible values are: axis, baseline (default), bottom, center and top. rowlines Specifies row borders. Multiple values separated by space are allowed and apply to the corresponding rows (e.g. rowlines="
none none solid"). Possible values are:
none (default), solid and dashed. Unimplemented rowspacing Specifies the space between table rows. Unimplemented side Specifies the position where <mlabeledtr> label elements should be placed. Possible values are: left, right (default), leftoverlap and rightoverlap. width Specifies the width of the entire table. Accepts length values. Examples Alignment...
Autoplay guide for media and Web Audio APIs - Web media technologies
n also express its willingness to allow autoplay to function. The HTTP Feature-Policy header's autoplay directive is used to control which domains, if any, can be used to autoplay media. By default, the autoplay feature policy is set to 'self' (including the single quote characters), indicating that autoplay is permitted as they're hosted on the same domain as the document. You can also specify '
none' to disable autoplay entirely, '*' to allow autoplay from all domains, or one or more specific origins from which media can be automatically played. These origins are separated by space characters. Note: The specified feature policy applies to the document and every <iframe> nested within it, unless those frames include an allow, which sets a new feature policy for that frame and all frames nes...
... Handling autoplay failure wi...
... be applied to itself and any child frames would be written thusly: <iframe width="300" height="200" src="mediaplayer.html" allow="autoplay 'src' https://example.media"> </iframe> Example: Disabling autoplay Setting the autoplay feature policy to '
none' disables autoplay entirely for the document or <iframe> and all nested frames. The HTTP header is: Feature-Policy: autoplay '
none' Using the <iframe>'s allow attribute: <iframe src="mediaplayer.html" allow="autoplay '
none'"> </iframe> Best practices Tips and recommended best practices to help you make the most of working with autoplay are offered here. Handling autoplay failure with media controls A common use case for autoplay is to automatically begin to play a video clip that goes along with an article, an...
Add to Home screen - Progressive web apps (PWAs)
d to home screen</button> We then gave it some simple styling: .add-button { position: absolute; top: 1px; left: 1px; } JavaScript for handling the install At the bottom of our index.js file, we added some JavaScript to handle the installation. First of all, we declare a deferredPrompt variable (which we'll explain later on), get a reference to our install button, and set it to display:
none initially: let deferredPrompt; const addBtn = document.querySelector('.add-button'); addBtn.style.display = '
none'; We hide the button initially because the PWA will not be available for install until it follows the A2HS criteria. When this happens, supporting browsers will fire a beforeinstallprompt event. We can then use a handler like the one below to handle the installation: window.addEven...
...=> { // Prevent Chrome 67 and earlier from automatically showing the prompt e.preventDefault(); // Stash the event so it can be triggered later. ...
...ing the install prompt automatically (this behavior changed in Chrome 68). Store the event object in the deferredPrompt variable so it can be used later on to perform the actual installation. Set the button to display: block so it appears in the UI for the user to click. Set a click handler for the button. The click handler contains the following steps: Hide the button again with display:
none -- it is no longer needed once the app is installed. Use the prompt() method available on the beforeinstallprompt event object (stored in deferredPrompt) to trigger showing the install prompt. Respond to the user's interaction with the prompt using the userChoice property, again available on the beforeinstallprompt event object. Set deferredPrompt to null since it is no longer needed. So whe...
The building blocks of responsive design - Progressive web apps (PWAs)
yout We then have a narrow screen layout, designed to fit the bill for a mobile app/open Web app experience. This is created in multiple parts. First of all, as expected, there is a media query in our main CSS, which is quite weighty, so we'll go through it in parts: @media all and (max-width: 480px) { x-card:nth-child(1), x-card:nth-child(2), x-card:nth-child(3) { width: 100%; float:
none; padding: 0; } button { margin-top: 0; border-radius: 0; } x-card:nth-child(1) video, x-card:nth-child(2) img { border-radius: 0px; border:
none; padding: 0; background-color: 0; } This first block resets a number of different things from the widescreen layouts that were't required for the mobile app. x-card:nth-child(1) video, x-card:nth-child(2) img, ...
... Next up, the font-size of the buttons is set to 6.8vw. Why? Because the top-margin of the x-cards was set to 17vw earlier ...
...er can use to work out which image is most suitable to display given its viewport size, resolution, etc. These are not intended to be mutually exclusive. This all sounds good. But those solutions are definitely not ready for production yet -- both are in a very early stage of standardization, and have no support across browsers. Currently we have to rely on various polyfills and other solutions,
none of which are perfect for all situations, so you need to decide which one is right for your particular situation. Some available solutions are as follows: HiSRC A jQuery plugin that allows you to create small, medium, and large versions of an image, and then serves the appropriate one according to the browser's resolution and available network speed. Mobify.js capturing A very clever techniq...
end - SVG: Scalable Vector Graphics
The end attribute defines an end value for the animation that can constrain the active duration. Five elements are using this attribute: <animate>, <animateColor>, <animateMotion>, <animateTransform>, and <set> Usage notes Default value
None Value <end-value-list> Animatable No The <end-value-list> is a semicolon-separated list of values. Each value can be one of the following: <offset-value> This value defines a clock-value that represents a point in time relative to the beginning of the SVG document (usually the load or DOMContentLoaded event). Negative values are valid. <syncbase-value> This value defines a syncbase and an optional offset from that syncbase. The element's animation end time is defined relative to the begin or active end o...
...0" begin="0s" end="endButton.click" dur="8s" repeatCount="indefinite" fill="freeze" /> </rect> <!-- trigger --> <rect id="endButton" style="cursor:pointer;" x="19.5" y="62.5" rx="5" height="25" width="80" fill="#EFEFEF" stroke="black" stroke-width="1" /> <text x="60" y="80" text-anchor="middle" style="pointer-events:
none;">Click me.</text> <!-- grid --> <text x="10" y="20" text-anchor="middle">0s</text> <line x1="10" y1="25" x2="10" y2="55" stroke="grey" stroke-width=".5" /> <text x="35" y="20" text-anchor="middle">2s</text> <line x1="35" y1="25" x2="35" y2="55" stroke="grey" stroke-width=".5" /> <text x="60" y="20" text-anchor="middle">4s</text> <line x1="60" y1="25" x2="60" y2="55" ...
...rg/1999/xlink"> <!-- animated rectangles --> <rect x="10" y="35" height="15" width="0"> <animate attributeType="XML" attributeName="width" from="0" to="100" begin="0s" end="accessKey(e)" dur="8s" repeatCount="indefinite" fill="freeze" /> </rect> <!-- trigger --> <text x="60" y="80" text-anchor="middle" style="pointer-events:
none;">Hit the "s" key</text> <!-- grid --> <text x="10" y="20" text-anchor="middle">0s</text> <line x1="10" y1="25" x2="10" y2="55" stroke="grey" stroke-width=".5" /> <text x="35" y="20" text-anchor="middle">2s</text> <line x1="35" y1="25" x2="35" y2="55" stroke="grey" stroke-width=".5" /> <text x="60" y="20" text-anchor="middle">4s</text> <line x1="60" y1="25" x2="60" y2...
marker-mid - SVG: Scalable Vector Graphics
<marker-ref> This value is a reference to a ...
... <marker-ref> This value is a reference to a <marker> element, which will be drawn at the given vertices. I...
...t: 100%; } <svg viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"> <defs> <marker id="circle" markerWidth="8" markerHeight="8" refX="4" refY="4"> <circle cx="4" cy="4" r="4" stroke="
none" fill="#f00"/> </marker> </defs> <polyline fill="
none" stroke="black" points="20,100 40,60 70,80 100,20" marker-mid="url(#circle)"/> </svg> Usage notes Value
none | <marker-ref> Default value
none Animatable Yes
none Indicates that no marker symbol shall be drawn at the given vertices. <marker-ref> This value is a reference to a <marker> element, which will be drawn at the given vertices. If the reference is not valid, then no marker will be drawn. Specifications Specification Status Comment ...
preserveAspectRatio - SVG: Scalable Vector Graphics
serveAspectRatio="xMinYMid slice" x="120" y="0" viewBox="0 0 100 100" width="10" height="25"><use href="#smiley" /></svg> <svg preserveAspectRatio="xMidYMid slice" x="135" y="0" viewBox="0 0 100 100" width="10" height="25"><use href="#smiley" /></svg> <svg preserveAspectRatio="xMaxYMid slice" x="150" y="0" viewBox="0 0 100 100" width="10" height="25"><use href="#smiley" /></svg> <!--
none --> <svg preserveAspectRatio="
none" x="0" y="30" viewBox="0 0 100 100" width="160" height="60"><use href="#smiley" /></svg> </svg> topExample html,body,svg { height:100% } <svg viewBox="-1 -1 162 92" xmlns="http://www.w3.org/2000/svg"> <defs> <path id="smiley" d="M50,10 A40,40,1,1,1,50,90 A40,40,1,1,1,50,10 M30,40 Q36,35,42,40 M58,40 Q64,35,70,40 M30,60 Q50,75,70,60 Q50,...
.../rect> <svg viewBox="0 0 100 100" width="10" height="25" preserveAspectRatio="xMidYMid slice" x="135" y="0"> <use href="#smiley" /> </svg> <rect x="150" y="0" width="10" height="25"> <title>xMaxYMid slice</title> </rect> <svg viewBox="0 0 100 100" width="10" height="25" preserveAspectRatio="xMaxYMid slice" x="150" y="0"> <use href="#smiley" /> </svg> <!--
none --> <rect x="0" y="30" width="160" height="60"> <title>
none</title> </rect> <svg viewBox="0 0 100 100" width="160" height="60" preserveAspectRatio="
none" x="0" y="30"> <use href="#smiley" /> </svg> </svg> path { fill: yellow; stroke: black; stroke-width: 8px; stroke-linecap: round; stroke-linejoin: round; pointer-events:
none; } rect:hover, rect:active { out...
...alue is made of one or two keywords: A required alignment value and an optional "meet or slice" reference as described below: Alignment value The alignment value indicates whether to force uniform scaling and, if so, the alignment method to use in case the aspect ratio of the viewBox doesn't match the aspect ratio of the viewport. The alignment value must be one of the following keywords:
none Do not force uniform scaling. Scale the graphic content of the given element non-uniformly if necessary such that the element's bounding box exactly matches the viewport rectangle. Note that if <align> is
none, then the optional <meetOrSlice> value is ignored. xMinYMin - Force uniform scaling. Align the <min-x> of the element's viewBox with the smallest X value of the viewport. Align t...
stroke-miterlimit - SVG: Scalable Vector Graphics
d as a CSS property. ...
...0" xmlns="http://www.w3.org/2000/svg"> <!-- Impact of the default miter limit --> <path stroke="black" fill="
none" stroke-linejoin="miter" id="p1" d="M1,9 l7 ,-3 l7 ,3 m2,0 l3.5 ,-3 l3.5 ,3 m2,0 l2 ,-3 l2 ,3 m2,0 l0.75,-3 l0.75,3 m2,0 l0.5 ,-3 l0.5 ,3" /> <!-- Impact of the smallest miter limit (1) --> <path stroke="black" fill="
none" stroke-linejoin="miter" stroke-miterlimit="1" id="p2" d="M1,19 l7 ,-3 l7 ,3 m2, 0 l3.5 ,-3 l3.5 ,3 m2, 0 l2 ,-3 l2 ,3 m2, 0 l0.75,-3 l0.75,3 m2, 0 l0.5 ,-3 l0.5 ,3" /> <!-- Impact of a large miter limit (8) --> <path stroke="black" fill="
none" stroke-linejoin="miter" stroke-miterlimit="8" id="p3" d="M1,29 l7...
...imit (8) --> <path stroke="black" fill="
none" stroke-linejoin="miter" stroke-miterlimit="8" id="p3" d="M1,29 l7 ,-3 l7 ,3 m2, 0 l3.5 ,-3 l3.5 ,3 m2, 0 l2 ,-3 l2 ,3 m2, 0 l0.75,-3 l0.75,3 m2, 0 l0.5 ,-3 l0.5 ,3" /> <!-- the following pink lines highlight the position of the path for each stroke --> <path stroke="pink" fill="
none" stroke-width="0.05" d="M1, 9 l7,-3 l7,3 m2,0 l3.5,-3 l3.5,3 m2,0 l2,-3 l2,3 m2,0 l0.75,-3 l0.75,3 m2,0 l0.5,-3 l0.5,3 M1,19 l7,-3 l7,3 m2,0 l3.5,-3 l3.5,3 m2,0 l2,-3 l2,3 m2,0 l0.75,-3 l0.75,3 m2,0 l0.5,-3 l0.5,3 M1,29 l7,-3 l7,3 m2,0 l3.5,-3 l3.5,3 m2,0 l2,-3 l2,3 m2,0 l0.75,-3 l0.75,3 m2,0 l0.5,-3 l0.5,3" /> </svg> When two line segments meet at a sharp angle ...
vector-effect - SVG: Scalable Vector Graphics
tions, i.e. filters, masks and clips. Note: As a presentation attribute, vector-effect can be used as a CSS property. As a presentation attribute, it can be applied to any element but it has effect only on the following ten elements: <circle>, <ellipse>, <foreignObject>, <image>, <line>, <path>, <polygon>, <polyline>, <rect>, <text>, <textPath> <tspan>, and <use> Usage notes Value
none | non-scaling-stroke | non-scaling-size | non-rotation | fixed-position Default value
none Animatable Yes
none This value specifies that no vector effect shall be applied, i.e. the default rendering behaviour is used which is to first fill the geometry of a shape with a specified paint, then stroke the outline with a specified paint. non-scaling-stroke This val...
... host coordinate space. However, it does not specify the suppression of rotation, skew and scaling. When this vector effect and the transform property are defined at the same time, that property is consumed for this effect. ...
...re defined at the same time, that property is consumed for this effect. Example Example: vector-effect="non-scaling-stroke" <svg viewBox="0 0 500 240"> <!-- normal --> <path d="M10,20L40,100L39,200z" stroke="black" stroke-width="2px" fill="
none"></path> <!-- scaled --> <path transform="translate(100,0)scale(4,1)" d="M10,20L40,100L39,200z" stroke="black" stroke-width="2px" fill="
none"></path> <!-- fixed--> <path vector-effect="non-scaling-stroke" transform="translate(300,0)scale(4,1)" d="M10,20L40,100L39,200z" stroke="black" stroke-width="2px" fill="
none"></path> </svg> Result Specifications Specification Status Comment Scalable Vector Graphics (SVG) 2The definition of 'vector-effect' in that specification. Candidate Recommendat...
viewBox - SVG: Scalable Vector Graphics
erveAspectRatio attribute. Note: Values for width or height lower or equal to 0 disable rendering of the element. Five elements are using this attribute: <marker>, <pattern>, <svg>, <symbol>, and <view>. marker For <marker>, viewBox defines the position and dimension for the content of the <marker> element. Value <number>?, <number>?, <number>?, <number> Default value
none Animatable Yes pattern For <pattern>, viewBox defines the position and dimension for the content of the pattern tile. Value <number>?, <number>?, <number>?, <number> Default value
none Animatable Yes svg For <svg>, viewBox defines the position and dimension for the content of the <svg> element. Value <number>?, <number>...
...pattern>, viewBox defines the position and dimension for the content of the pattern tile. Value <number>?, <number>?, <number>?, <number> Default value
none Animatable Yes svg For <svg>, viewBox defines the position and dimension for the content of the <svg> element. Value <number>?, <number>?, <number>?, <number> Default value
none Animatable Yes symbol For <symbol>, viewBox defines the position and dimension for the content of the <symbol> element. Value <number>?, <number>?, <number>?, <number> Default value
none Animatable Yes view For <view>, viewBox defines the position and dimension for the content of the <view> element. Value <number>?, <nu...
...>, viewBox defines the position and dimension for the content of the <symbol> element. Value <number>?, <number>?, <number>?, <number> Default value
none Animatable Yes view For <view>, viewBox defines the position and dimension for the content of the <view> element. Value <number>?, <number>?, <number>?, <number> Default value
none Animatable Yes Specification Specification Status Comment Scalable Vector Graphics (SVG) 2The definition of 'viewBox' in that specification. Candidate Recommendation Scalable Vector Graphics (SVG) 1.1 (Second Edition)The definition of 'viewBox' in that specification. Recommendation Initial definition ...
<altGlyph> - SVG: Scalable Vector Graphics
e of ancestor <text> or <tspan>; Animatable: yes dy This attribute indicates a shift along the x-axis on the position of the element. Value type: <list-of-coordinates> ; Default value: Relative y-coordinate of ancestor <text> or <tspan>; Animatable: yes rotate This attribute defines the supplemental rotation that will be applied to the element. ...
...te of ancestor <text> or <tspan>; Animatable: yes rotate This attribute defines the supplemental rotation that will be applied to the element. Value type: <list-of-numbers> ; Default value:
none; Animatable: yes (non-additive) glyphRef The glyph identifier, the format of which is dependent on the format defined by the format attribute of the given font. Value type: <string> ; Default value:
none; Animatable: no format The format of the given font. Value type: <string> ; Default value:
none; Animatable: no xlink:href An <iri> reference either to a <glyph> element in an SVG document or to an <altGlyphDef> element. If the reference is to a <glyph> element and that glyph is available, then that glyph is rendered instead of the character(s) that are inside of the <altGlyph> element. ...
...then that glyph is rendered instead of the character(s) that are inside of the <altGlyph> element. If the reference is to an <altGlyphDef> element, then if an appropriate set of alternate glyphs is located from processing the <altGlyphDef> element, then those alternate glyphs are rendered instead of the character(s) that are inside of the <altGlyph> element. ...
<metadata> - SVG: Scalable Vector Graphics
The <metadata> SVG element adds metadata to SVG content. Metadata is structured information about data. The contents of <metadata> should be elements from other XML namespaces such as RDF, FOAF, etc. Usage context CategoriesDescriptive elementPermitted contentAny elements or character data Attributes Global attributes Core attributes Global event attributes Specific attributes
None DOM Interface This element implements the SVGMetadataElement interface. Example <svg width="400" viewBox="0 0 400 300" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <metadata> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:connect="http://www.w3.org/1999/08/29-svg-connections-in-RDF#"> <rdf:Description about="#CableA"...
...Used by hub symbol --> <symbol id="hubPlug"> <desc>A 10BaseT/100baseTX socket</desc> <path d="M0,10 h5 v-9 h12 v9 h5 v16 h-22 z"/> </symbol> <!-- hub symbol --> <symbol id="hub"> <desc>A typical 10BaseT/100BaseTX network hub</desc> <text x="...
...Used by hub symbol --> <symbol id="hubPlug"> <desc>A 10BaseT/100baseTX socket</desc> <path d="M0,10 h5 v-9 h12 v9 h5 v16 h-22 z"/> </symbol> <!-- hub symbol --> <symbol id="hub"> <desc>A typical 10BaseT/100BaseTX network hub</desc> <text x="0" y="15">Hub</text> ...
<script> - SVG: Scalable Vector Graphics
r('circle').addEventListener('click', (e) => { e.target.style.fill = getColor() }) }) // ]]> </script> <circle cx="5" cy="5" r="4" /> </svg> Attributes crossorigin This attribute defines CORS settings as define for the HTML <script> element. Value type: <string>; Default value: ?; Animatable: yes href The URL to the script to load. ...
.... Value type: <string>; Default value: ?; Animatable: yes href The URL to the script to load. Value type: <URL> ; Default value:
none; Animatable: no type This attribute defines type of the script language to use. Value type: <string>; Default value: application/ecmascript; Animatable: no xlink:href Deprecated since SVG 2 The URL to the script to load. ...
...use. Value type: <string>; Default value: application/ecmascript; Animatable: no xlink:href Deprecated since SVG 2 The URL to the script to load. Value type: <URL> ; Default value:
none; Animatable: no Global attributes Core Attributes Most notably: id Styling Attributes class, style Event Attributes Global event attributes, Document element event attributes Usage notes Categories
NonePermitted contentAny elements or character data Specifications Specification Status Comment Scalable Vector Graphics (SVG) 2The definition of '<script>' in that specification. Candidate Recommendation Scalable Vector Graphics (SVG) 1.1 (Second Edition)The definition of '<script>' in that specification. Recommendation Initial definition ...
<svg> - SVG: Scalable Vector Graphics
0 0 300 100" xmlns="http://www.w3.org/2000/svg" stroke="red" fill="grey"> <circle cx="50" cy="50" r="40" /> <circle cx="150" cy="50" r="4" /> <svg viewBox="0 0 10 10" x="200" width="100"> <circle cx="5" cy="5" r="4" /> </svg> </svg> Attributes baseProfile Deprecated since SVG 2 The minimum SVG language profile that the document requires. Value type: <string> ; Default value:
none; Animatable: no contentScriptType Deprecated since SVG 2 The default scripting language used by the SVG fragment. Value type: <string> ; Default value: application/ecmascript; Animatable: no contentStyleType Deprecated since SVG 2 The default style sheet language used by the SVG fragment. Value type: <string> ; Default value: text/css; Animatable: no height The displayed height of the rec...
... language used by the SVG fragment. Value type: <string> ; Default value: text/css; Animatable: no height The displayed height of the rectangular viewport. (Not the height of its coordinate system.) Value type: <length>|<percentage> ; Default value: auto; Animatable: yes preserveAspectRatio How the svg fragment must be deformed if it is displayed with a different aspect ratio. Value type: (
none| xMinYMin| xMidYMin| xMaxYMin| xMinYMid| xMidYMid| xMaxYMid| xMinYMax| xMidYMax| xMaxYMax) (meet|slice)? ; Default value: xMidYMid meet; Animatable: yes version Deprecated since SVG 2 Which version of SVG is used for the inner content of the element. Value type: <number> ; Default value:
none; Animatable: no viewBox The SVG viewport coordinates for the current SVG fragment. Value type: <lis...
... xMinYMid| xMidYMid| xMaxYMid| xMinYMax| xMidYMax| xMaxYMax) (meet|slice)? ; Default value: xMidYMid meet; Animatable: yes version Deprecated since SVG 2 Which version of SVG is used for the inner content of the element. Value type: <number> ; Default value:
none; Animatable: no viewBox The SVG viewport coordinates for the current SVG fragment. Value type: <list-of-numbers> ; Default value:
none; Animatable: yes width The displayed width of the rectangular viewport. (Not the width of its coordinate system.) Value type: <length>|<percentage> ; Default value: auto; Animatable: yes x The displayed x coordinate of the svg container. No effect on outermost svg elements. Value type: <length>|<percentage> ; Default value: 0; Animatable: yes y The displayed y coordinate of the svg contai...
<symbol> - SVG: Scalable Vector Graphics
ewBox="0 0 80 20" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <!-- Our symbol in its own coordinate system --> <symbol id="myDot" width="10" height="10" viewBox="0 0 2 2"> <circle cx="1" cy="1" r="1" /> </symbol> <!-- A grid to materialize our symbol positioning --> <path d="M0,10 h80 M10,0 v20 M25,0 v20 M40,0 v20 M55,0 v20 M70,0 v20" fill="
none" stroke="pink" /> <!-- All instances of our symbol --> <use xlink:href="#myDot" x="5" y="5" style="opacity:1.0" /> <use xlink:href="#myDot" x="20" y="5" style="opacity:0.8" /> <use xlink:href="#myDot" x="35" y="5" style="opacity:0.6" /> <use xlink:href="#myDot" x="50" y="5" style="opacity:0.4" /> <use xlink:href="#myDot" x="65" y="5" style="opacity:0.2" /> </svg> Attributes ...
..."opacity:0.4" /> <use xlink:href="#myDot" x="65" y="5" style="opacity:0.2" /> </svg> Attributes height This attribute determines the height of the symbol. Value type: <length>|<percentage> ; Default value: auto; Animatable: yes preserveAspectRatio This attribute defines how the svg fragment must be deformed if it is embedded in a container with a different aspect ratio. Value type: (
none| xMinYMin| xMidYMin| xMaxYMin| xMinYMid| xMidYMid| xMaxYMid| xMinYMax| xMidYMax| xMaxYMax) (meet|slice)? ; Default value: xMidYMid meet; Animatable: yes refX This attribute determines the x coordinate of the reference point of the symbol. Value type: <length>|<percentage>|left|center|right ; Default value: 0; Animatable: yes refY This attribute determines the y coordinate of the reference po...
...Value type: <length>|<percentage>|left|center|right ; Default value: 0; Animatable: yes refY This attribute determines the y coordinate of the reference point of the symbol. Value type: <length>|<percentage>|top|center|bottom ; Default value: 0; Animatable: yes viewBox This attribute defines the bound of the SVG viewport for the current symbol. Value type: <list-of-numbers> ; Default value:
none; Animatable: yes width This attribute determines the width of the symbol. Value type: <length>|<percentage> ; Default value: auto; Animatable: yes x This attribute determines the x coordinate of the symbol. Value type: <length>|<percentage> ; Default value: 0; Animatable: yes y This attribute determines the y coordinate of the symbol. Value type: <length>|<percentage> ; Default value: 0;...
<text> - SVG: Scalable Vector Graphics
x The x coordinate of the starting point of the text baseline. Value type: <length>|<percentage> ; Default value: 0; Animatable: yes y The y coordinate of the starting point of the text baseline. Value type: <length>|<percentage> ; Default value: 0; Animatable: yes dx Shifts the text position horizontally from a previous text element. ...
...e y coordinate of the starting point of the text baseline. Value type: <length>|<percentage> ; Default value: 0; Animatable: yes dx Shifts the text position horizontally from a previous text element. Value type: <length>|<percentage> ; Default value:
none; Animatable: yes dy Shifts the text position vertically from a previous text element. Value type: <length>|<percentage> ; Default value:
none; Animatable: yes rotate Rotates orientation of each individual glyph. Can rotate glyphs individually. Value type: <list-of-number> ; Default value:
none; Animatable: yes lengthAdjust How the text is stretched or compressed to fit the width defined by the textLength attribute. Value type: spacing|spacingAndGlyphs; Default value: spacing; Animatable: yes textLength A width that the text sho...
...an rotate glyphs individually. Value type: <list-of-number> ; Default value:
none; Animatable: yes lengthAdjust How the text is stretched or compressed to fit the width defined by the textLength attribute. Value type: spacing|spacingAndGlyphs; Default value: spacing; Animatable: yes textLength A width that the text should be scaled to fit. ...
<textPath> - SVG: Scalable Vector Graphics
To render text along the shape of a <path>, enclose the text in a <textPath> element that has an href attribute with a reference to the <path> element. ...
... d="M10,90 Q90,90 90,45 Q90,10 50,10 Q10,10 10,40 Q10,70 45,70 Q70,70 75,50" /> <!-- </defs> --> <text> <textPath href="#MyPath"> Quick brown fox jumps over the lazy dog. </textPath> </text> </svg> Attributes href The URL to the path or basic shape on which to render the text. If the path attribute is set, href has no effect. Value type: <URL> ; Default value:
none; Animatable: yes lengthAdjust Where length adjustment should be applied to the text: the space between glyphs, or both the space and the glyphs themselves. Value type: spacing|spacingAndGlyphs; Default value: spacing; Animatable: yes method Which method to render individual glyphs along the path. Value type: align|stretch ; Default value: align; Animatable: yes path The path on which the ...
...applied to the text: the space between glyphs, or both the space and the glyphs themselves. Value type: spacing|spacingAndGlyphs; Default value: spacing; Animatable: yes method Which method to render individual glyphs along the path. Value type: align|stretch ; Default value: align; Animatable: yes path The path on which the text should be rendered. Value type: <path_data> ; Default value:
none; Animatable: yes side Which side of the path the text should be rendered. Value type: left|right ; Default value: left; Animatable: yes spacing How space between glyphs should be handled. Value type: auto|exact ; Default value: exact; Animatable: yes startOffset How far the beginning of the text should be offset from the beginning of the path. Value type: <length>|<percentage>|<number> ;...
<tspan> - SVG: Scalable Vector Graphics
"0 0 240 40" xmlns="http://www.w3.org/2000/svg"> <style> text { font: italic 12px serif; } tspan { font: bold 10px sans-serif; fill: red; } </style> <text x="10" y="30" class="small"> You are <tspan>not</tspan> a banana! </text> </svg> Attributes x The x coordinate of the starting point of the text baseline. Value type: <length>|<percentage> ; Default value:
none; Animatable: yes y The y coordinate of the starting point of the text baseline. Value type: <length>|<percentage> ; Default value:
none; Animatable: yes dx Shifts the text position horizontally from a previous text element. Value type: <length>|<percentage> ; Default value:
none; Animatable: yes dy Shifts the text position vertically from a previous text element. Value type: <length>|<pe...
... coordinate of the starting point of the text baseline. Value type: <length>|<percentage> ; Default value:
none; Animatable: yes dx Shifts the text position horizontally from a previous text element. Value type: <length>|<percentage> ; Default value:
none; Animatable: yes dy Shifts the text position vertically from a previous text element. Value type: <length>|<percentage> ; Default value:
none; Animatable: yes rotate Rotates orientation of each individual glyph. Can rotate glyphs individually. Value type: <list-of-number> ; Default value:
none; Animatable: yes lengthAdjust How the text is stretched or compressed to fit the width defined by the textLength attribute. Value type: spacing|spacingAndGlyphs; Default value: spacing; Animatable: yes textLength A width that the text sho...
...an rotate glyphs individually. Value type: <list-of-number> ; Default value:
none; Animatable: yes lengthAdjust How the text is stretched or compressed to fit the width defined by the textLength attribute. Value type: spacing|spacingAndGlyphs; Default value: spacing; Animatable: yes textLength A width that the text should be scaled to fit. ...
Customizing the download progress bar - Archive of obsolete content
l"> </overlay> In jar.mn, make sure that there is an asterisk in front of the entry for myextension.css so that it will be preprocessed. This is required since it contains platform-specific directives, as we will see. ...
...cific directives, as we will see. The myextension.css file will look something like this: richlistitem progressmeter { %ifdef XP_WIN min-height: 17px !important; %else %ifdef XP_MACOSX -moz-appearance:
none !important; background-image: url(chrome://myextension/skin/progress_bg_osx.png) !important; %endif %endif } richlistitem .progress-bar { %ifdef XP_WIN -moz-appearance:
none !important; background-image: url(chrome://myextension/skin/progress_fd_win.png) !important; %else %ifdef XP_MACOSX background-image: url(chrome://myextension/skin/progress_fd_osx.gif) !important; %endif %endif } Note: This file only supports Windows and Mac, but it would be straightforward to add support for Linux. This is the product of some tweaking and experimentation, so per...
Preferences - Archive of obsolete content
mponents.interfaces.nsIPrefBranch2) .addObserver("", this, false); Using prefHasUserValue() nsIPrefBranch.prefHasUserValue(preference) checks whether the preference has been changed from the default value. If so, it will return true, otherwise false. In particular, when no default value exists for a preference, prefHasUserValue() indicates whether a preference exists. Attempting to read a
nonexistent preference using one of the get*Pref methods will throw an exception. Using prefHasUserValue() lets you check if the preference exists before attempting to read it. For example: if (prefs.prefHasUserValue("mypref")) { alert(prefs.getCharPref("mypref")); } Note that the getCharPref() call may throw error even if the preference exists, for example if it has a different type. As of Fire...
...content/nsUserSettings.js https://wiki.mozilla.org/Labs/JS_Modules How to save preferences To save preferences into the default location: var prefService = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefService); prefService.savePrefFile(null); Checking for existence of a key If you try to get the value of a
nonexistent preference, an error will be thrown: Error: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref] To avoid such errors, you should check whether the key exists or not using nsIPrefService.getPrefType(), as shown below: var prefServiceBranch = Components.classes["@mozilla.org/preferences-service;1"] ...
StringView - Archive of obsolete content
ter... */ alert(String.fromCharCode(nChrCode)); } Note: For UTF-16, replace getUTF8CharLength() and loadUTF8CharCode() methods respectively with getUTF16CharLength() and loadUTF16CharCode(). See also: stringView.makeIndex() and its note. valueOf() Syntax stringView.valueOf() Description Converts stringView's content into string and returns it. Arguments
none No arguments expected. Examples alert((new StringView("Hello world!")).valueOf() === "Hello world!"); // true JavaScript calls the stringView.valueOf() method to convert an object to a primitive value. You rarely need to invoke the stringView.valueOf() method yourself; JavaScript automatically invokes it when encountering an object where a primitive value is expected. to...
...lls the stringView.valueOf() method to convert an object to a primitive value. You rarely need to invoke the stringView.valueOf() method yourself; JavaScript automatically invokes it when encountering an object where a primitive value is expected. toString() Syntax stringView.toString() Description Converts stringView's content into string and returns it. Arguments
none No arguments expected. Examples alert((new StringView("Hello world!")).toString() === "Hello world!"); // true The stringView.toString() method is automatically called when the object is to be represented as a text value or when an object is referred to in a manner in which a string is expected. Appendix: other StringView constructor's methods (utilities) bytesToBase...
Chapter 3: Introduction to XUL—How to build a more intuitive UI - Archive of obsolete content
is the Mozilla Amazon Browser, which helps with shopping at Amazon, and the Presentation Method in XUL, a tool for writing and displaying presentations To try out the code samples in this chapter, save them as text files with .xul extensions and drag and drop them into the Firefox browser window. FIXME: Explain how setting this option and use next listings If we want to run Firefox displaying
none of its GUI and only the contents of a certain XUL file, we can launch Firefox and set the option: -chrome file_URL.xul Another way, as shown in Listing 1, is to use the window.openDialog() method, which can be used only within a XUL window. This is used by extensions to open a separate window. window.openDialog('another.xul', '_blank','chrome,all,dialog=no'); Listing 1: Opening a window witho...
...yle attribute, which allows you to set sizes using units other than pixels. <button label="Button" style="min-width: 10em;"/> Listing 7: Setting the size of a button using CSS markup hidden and collapsed The hidden and collapsed attributes act as switches to turn off the display of elements. Setting hidden="true" disables display of that element. This has the same effect as setting display:
none in CSS. You would use this to set a hidden or absent state, for example items that aren't displayed in contextual menus. Setting collapsed="true" sets an element's height and width to 0, but the element is treated as being present. This is equivalent to setting visibility: collapse in CSS. Use this to "roll up" sidebars that aren't currently in use. disabled While not appropriate for all eleme...
User Notifications and Alerts - Archive of obsolete content
age, and use the lowest applicable level, to prevent the user from getting used to dismissing high-level notifications. The buttons are represented by simple JS data objects. This is all explained in detail in the notificationbox page. Notification boxes are designed to be easily dismissed. All notifications have an additional close button, so you should take into account that it's possible that
none of your custom buttons will be clicked. Also, clicking on any of your custom buttons will cause the notification to be immediately closed, so you should only use notification boxes for single-step processes. The Alerts Service This is a very good option when you want to alert users about events without requiring input from them. Alerts are displayed in an OS-specific way, so their look is nativ...
...n't recommend using this service to show information the user needs to know and can't get in any other way. Custom alerts Creating custom solutions for alerting the user is not complicated, given the advantages of XUL overlays and CSS positioning. However, these solutions are prone to be buggy and have accessibility issues. You should use the 2 alternatives mentioned above whenever possible. If
none of those fit your needs then this is an acceptable solution. An easy way to display alerts is to include a hidden box in your overlay, which you can fill with any content you need before removing the hidden attribute so that it is displayed to the user. The best locations for this kind of box are above and below the tab browser. Below is preferrable because it only cuts the bottom part of the cu...
CSS3 - Archive of obsolete content
ce of alternative font faces using the CSS font-stretch, font-variant-alternates, font-variant-caps, font-variant-east-asian, font-variant-ligatures, font-variant-numeric, and font-variant-position properties. It also extends the related CSS font-variant shorthand property and introduces the @font-feature-values at-rule. The control of the automatic generation of an oblique or bold face when
none are found via the CSS font-synthesis property. CSS Basic User Interface Module Level 3 Recommendation since June 21st, 2018 Adds: The ability to tweak the box model using the CSS box-sizing property. At risk: due to insufficient browser support, standardization of the padding-box value may be postponed to the next iteration of this mod...
...thors to control if and how elements should be resized. Support for the CSS text-overflow property defining how text overflows, if needed. At risk: due to insufficient browser support, the 2-value syntax of this property as well as the support for <string> values may be postponed to the next iteration of this module. The ability to define the hotspot of a cursor as well as the new
none, context-menu, cell, vertical-text, alias, copy, no-drop, not-allowed, nesw-resize, nwse-resize, col-resize, row-resize, all-scroll, zoom-in, zoom-out, extending the cursor property. The ability to specify the sequential navigation order (that is the tabbing order ) using the CSS nav-index, nav-up, nav-right, nav-left, nav-down properties. At risk: due to insufficient browser support, ...
Notes on HTML Reflow - Archive of obsolete content
s case, a frame knows that there is no residual state that can be used to simplify geometry computation. Incremental, when something in the frame tree changes; for example, when more content is read from the network, or some script manipulates the DOM. An incremental reflow is targeted at a single frame in the frame hierarchy. ...
... StyleChange, when the entire frame hierarchy must be traversed to recover from stylistic change; for example, a change in the default font size. ...
Making it into a static overlay - Archive of obsolete content
Its next line is the stylesheet reference we previously added to navigator.xul. After that is a XUL overlay element. This element is the top-level element in a XUL overlay file and serves to identify the file as an overlay. Within tha...
... << PreviousNext >> ...
Nanojit - Archive of obsolete content
kip(sizeof(GuardRecord) + sizeof(SideExit)); GuardRecord *guard = (GuardRecord *) rec_ins->payload(); memset(guard, 0, sizeof(*guard)); SideExit *exit = (SideExit *)(guard + 1); guard->exit = exit; guard->exit->target = f; f->lastIns = out.insGuard(LIR_loop, out.insImm(1), rec_ins); // Compile the fragment. compile(assm, f, *alloc verbose_only(, fragmento->labels)); if (assm->error() !=
None) { fprintf(stderr, "error compiling fragment\n"); return 1; } printf("Compilation successful.\n"); // Call the compiled function. typedef JS_FASTCALL int32_t (*AddTwoFn)(int32_t); AddTwoFn fn = reinterpret_cast<AddTwoFn>(f->code()); printf("2 + 5 = %d\n", fn(5)); return 0; } Code Explanation Interesting part are the lines 46-50: // Write a few LIR instructions to the buffer: add t...
...vided above is doing is feeding raw LIR into the LIR Buffer, using the LIRWriter's writer object. From an operational point of view, it is creating a function, which takes an integer input, and adds it to two, and outputs the result. The function is created here on lines 57-69: // Compile the fragment. compile(assm, f, *alloc verbose_only(, fragmento->labels)); if (assm->error() !=
None) { fprintf(stderr, "error compiling fragment\n"); return 1; } printf("Compilation successful.\n"); // Call the compiled function. typedef JS_FASTCALL int32_t (*AddTwoFn)(int32_t); AddTwoFn fn = reinterpret_cast<addtwofn>(f->code()); printf("2 + 5 = %d\n", fn(5)); return 0;</addtwofn> This upper half of this snippet includes code where the raw LIR is first converted into machine co...
Binding Attachment and Detachment - Archive of obsolete content
An individual URL in the set consists of the binding document's URL and the binding's document-unique identifier. In the following example, a binding is referenced that will be attached to all HTML checkbox elements. ...
...nd element as long as the element continues to match the style rule. If at any time a resolution of style on the element determines that a different binding should be attached, the old binding (and all bindings that it explicitly extends in its inheritance chain) will be detached. No bindings will be attached to elements that match the style rule, but are inside an element that has style display:
none set. See bug 307098. Whenever an element is removed from a document, any bindings attached via CSS loaded by the document will be detached. Attachment using element.style property
None of the XBL inheritance properties of element.style.MozBinding described here are implemented (if ever). Bindings can be attached to elements through the scripting by assigning the element.style.MozBinding pro...
Example Sticky Notes - Archive of obsolete content
The others are only needed if you plan to handle XUL (XML User Inte...
...alert(str); ]]></handler> <handler event="mouseover"><![CDATA[ this.$bg = this.style.backgroundColor || '#FFFF00'; this.style.backgroundColor = '#FFCC00'; ]]></handler> <handler event="mouseout"><![CDATA[ this.style.backgroundColor = this.$bg; ]]></handler> </handlers> </binding> </bindings> notes.css .sticker { position: relative; left: 0px; right: 0px; float: left; clear:
none; width: 10em; height: 10em; overflow: visible; margin: 1em 1em; padding: 0.5em 0.5em; border: 2px solid blue; background-color: yellow; font: 1em normal "Times New Roman",serif; font-style: italic; cursor: default; } View this example ...
popupalign - Archive of obsolete content
<< XUL Reference homepopupalignType: one of the values belowpopupalign is an optional attribute for specifying which side of the popup content should be attached to the popupanchor.
noneno aligntopleftalign to the top left cornertoprightalign to the top right cornerbottomleftalign to the bottom left cornerbottomrightalign to the bottom right cornerSyntax<element popupalign="
none | topleft | topright | bottomleft | bottomright"/> Example<element id="edit-context" popup="editor-popup" popupanchor="topleft" popupalign="bottomright"/> NotesThe popupalign attribute can be used to specify which corner of the popup content is tied to the originating point. If omitted, the default is topleft. The example below shows how to create the traditional buttons with attached left mouse menus tha...
...nt coordinates. ...
Localization - Archive of obsolete content
uitem label="rdf:http://www.xulplanet.com/rdf/recent#Label" uri="rdf:*"/> </menupopup> </template> </menulist> </groupbox> </tabpanel> <tabpanel id="optionspanel" orient="vertical"> <checkbox id="casecheck" label="&casesensitive;"/> <checkbox id="wordscheck" label="&matchfilename;"/> </tabpanel> </tabpanels> </tabbox> <tree id="results" style="display:
none;" flex="1"> <treecols> <treecol id="name" label="&results.filename;" flex="1"/> <treecol id="location" label="&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;252...
..." 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 replaced by an entity refere...
resizer - Archive of obsolete content
="cursor: ne-resize;"/> <resizer dir="right" flex="1" style="cursor: e-resize;"/> <resizer dir="bottomright" height="2" style="cursor: se-resize;"/> </vbox> </hbox> </window> Resizing an element <stack style="border: 1px solid black;"> <button id="button" label="Resizable" left="18" top="18" right="18" bottom="18"/> <resizer dir="topleft" style="background: black; -moz-appearance:
none;" element="button" left="0" top="0" width="16" height="16"/> <resizer dir="topright" style="background: black; -moz-appearance:
none;" element="button" right="0" top="0" width="16" height="16"/> <resizer dir="bottomleft" style="background: black; -moz-appearance:
none;" element="button" left="0" bottom="0" width="16" height="16"/> <resizer dir="bottomright" ...
... left Resized to the left. right Resized to the right. top Resized up. bottom Resized down. ...
Mozprocess - Archive of obsolete content
dows, OS X, and Linux. Mozprocess utilizes and extends subprocess.Popen to these ends. API mozprocess.processhandler:ProcessHandler is the central exposed API for mozprocess. ProcessHandler utilizes a contained subclass of subprocess.Popen, Process, which does the brunt of the process management. ...
...extends subprocess.Popen to these ends. API mozprocess.processhandler:ProcessHandler is the central exposed API for mozprocess. ProcessHandler utilizes a contained subclass of subprocess.Popen, Process, which does the brunt of the process management. ...
2006-11-17 - Archive of obsolete content
Discussions Testing accesskey conflicts Discussion about the complexity of access keys and how to detect conflicts there in the l10n community. Bug #360589 describes this ongoing issue. Site not loading with seamonkey A user built seamonkey in debug mode and is currently receiving a "BAD REQUEST" error on some websites. Reflow branch testing wanted L. David Baron would like users to test the reflow branch as it is coming close to being merged with the trunk. ...
...on the current trunk builds. If bugs are filed, "[reflow branch]" should be placed at the beginning of the summary. Parsing HTML into a document object in Fx3 Discussion if Gecko 1.9 will support parsing HTML into a document object. The possibility of turning the MicrosummaryResource object into a XPCOM component, which accomplishes this task in a "hacky" manner, was also discussed. Meetings
None this week. ...
2006-09-06 - Archive of obsolete content
Discussions Windows gecko-SDK and g++ components Discussion on the problems and possible solutions running cygwin/g++ compiled XPCOM components with Windows-based Gecko-SDK/XULRunner DLL/EXEs. Threading in XPCOM Rules on threading in XPCOM or to Firefox extensions. ...
... ...
2006-11-24 - Archive of obsolete content
Summary: mozilla.dev.tech.xpcom - Nov 18-Nov 24, 2006 Announcements
None during this week. Discussions Tutorials: non C++ bindings for XPCOM Tutorials on how to interface with Firefox using XPCOM on a similar basis to how a developer can with Internet Explorer through it's COM interface Tutorals and References related to extension development Tutorials on developing extensions which use the third party libraries for firefox References to mozilla API Exposed JavaScript Component + XMLDocument not accessible A discussion on Error: uncaught exception: Permission denied to get property XMLDocument.textContent Creating XPCOM components A good discussion about "Components.classes[cid] has no properties" error Firefox HTTP Explanation about how Firefox handles the HTTP ...
... ...
title - Archive of obsolete content
> <url>http://www.advogato.org/image/tinyadvogato.png</url> </image> <item> <title>Why can I not get any tang?!</title> <link>http://www.advogato.org/article/10101.html</link> <description>Seriously. Why can't I get any tang?</description> </item> </channel> </rss> Attributes
none Sub-elements
none Parent Elements The table below shows a list of RSS elements that this element can be a child of. <tr> <th>Name</td> <th>Tag</td> <th>0.90</td> <th>N 0.91 R1</td> <th>N 0.91 R3</td> <th>U 0.91</td> <th>0.92</td> <th>0.93</td> <th>0.94</td> <th>1.0</td> <th>2.0</td> </tr> <tr> <td>RSS Channel Element</td> <td><channel></td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> <td...
...d> <td>?</td> <td>?</td> <td>?</td> <td>?</td> </tr> <tr> <td>RSS Item Element</td> <td><item></td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> </tr> <tr> <td>RSS Text Input Element</td> <td><textinput></td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td> </tr> </table> </center> See Also
none RSS Element</td> <th colspan="9" style="text-align:center">RSS Version ...
-ms-overflow-style - Archive of obsolete content
The -ms-overflow-style CSS property is a Microsoft extension controlling the behavior of scrollbars when the content of an element overflows. Initial valueautoApplies tonon-replaced block-level elements and non-replaced inline-block elementsInheritedyesComputed valueas specifiedAnimation typediscrete Syntax Values auto The initial value. Same as inherit.
none Scrollbars are never displayed, although the element can still be scrolled if the element's content overflows. scrollbar "Traditional" scrollbars are displayed if the element's content overflows. "Traditional" scrollbars don't auto-hide and never overlap the element's content. Accordingly, the dimensions of the layout area for the content are reduced by the width (for vertical scrollbars) or height (for horizontal scrollb...
...s) of the scrollbar(s). -ms-autohiding-scrollbar Auto-hiding scrollbars are used if the element's content overflows. Auto-hiding scrollbars are displayed during scrolling or shortly after the pointer interacts with the page, and are hidden shortly after scrolling and pointer interaction stops. When they are visible, auto-hiding scrollbars overlap the element's content. Formal syntax auto |
none | scrollbar | -ms-autohiding-scrollbar Specifications Not part of any specification. ...
-ms-scroll-translation - Archive of obsolete content
The -ms-scroll-translation CSS property is a Microsoft extension that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element. Initial value
noneApplies toall elementsInheritedyesComputed valueas specifiedAnimation typediscrete Syntax Values vertical-to-horizontal Vertical to horizontal translation, as described in Remarks, will take place when appropriate.
none No scroll wheel translation takes place. inherit The initial value. The value is inherited from the element's parent element. Formal syntax
none | vertical-to-horizontal Specifications Not part of any specification. Remarks This property requires Windows 8 or later. This property has no effect on non-scrollable elements. If your JavaScript is listeni...
...izontal scroll events. This property enables you to change this behavior for vertical scroll events. By setting the -ms-scroll-translation property to vertical-to-horizontal, you are specifying that vertical scroll events should be interpreted as their corresponding horizontal scroll events. This property's initial value is inherit on all elements, except the <html> element, where it defaults to
none. This property has no effect on keyboard interaction. The default CSS templates for Windows apps using JavaScript, "ui-light.css" and "ui-dark.css", set this property to vertical-to-horizontal by default on the <html> element. ...
-ms-text-autospace - Archive of obsolete content
This is the default value. ideograph-alpha Creates extra spacing between runs of ideographic and non-ideographic text, such as Latin-based, Cyrillic, Greek, Arabic, or Hebrew text. ideograph-numeric Creates extra spacing between runs of ideographic text and numeric characters. ...
...c text, such as Latin-based, Cyrillic, Greek, Arabic, or Hebrew text. ideograph-numeric Creates extra spacing between runs of ideographic text and numeric characters. ideograph-parenthesis Creates extra spacing between a normal (non-wide) parenthesis and an ideograph. ideograph-space Extends the width of the space character when it is adjacent to ideographs. Formal syntax
none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space Specifications Not part of any specification. Remarks This property requires Windows 8 or later. This property is an extension to CSS, and can be used as a synonym for text-autospace in IE8 standards Mode. An ideograph is a character in an Asian writing system that represents a concept or an idea, but not a par...
::-ms-clear - Archive of obsolete content
lor border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-left-color border-left-style border-left-width border-right-color border-right-style border-right-width border-top-color border-top-left-radius border-top-right-radius border-top-style border-top-width box-shadow box-sizing color cursor display (values block, inline-block,
none) @font-face font-size font-style font-weight height margin-bottom margin-left margin-right margin-top opacity outline-color outline-style outline-width padding-bottom padding-left padding-right padding-top transform transform-origin visibility width Syntax ::-ms-clear Example HTML <form> <label for="firstname">First name:</label> <input type="text" id="firstname" n...
... ...
::-ms-fill - Archive of obsolete content
erminate if it has a value attribute set; otherwise it is indeterminate. An indeterminate progress bar can be selected with the :indeterminate pseudo-class.) By default, Internet Explorer and Edge display a moving dots animation for an indeterminate progress bar. By setting animation-name on ::-ms-fill, you can change the animation, as shown in this table: Value Description
none Turns off the animation so that no dots are displayed. -ms-bar Shows animated dots that flow in a bar pattern. -ms-ring Shows animated dots that flow in a ring pattern. Allowable Properties Only the following CSS properties can be used in a rule with ::-ms-fill in its selector. Other properties are ignored. animation-name background-clip, background-color, b...
...ow in a ring pattern. Allowable Properties Only the following CSS properties can be used in a rule with ::-ms-fill in its selector. Other properties are ignored. ...
display-outside - Archive of obsolete content
The display-outside CSS property specifies the outer display type of the box generated by an element, dictating how the element participates in its parent formatting context. ...
...er formatting contexts, such as flex formatting contexts, may also work with block-level elements. inline-level The element generates an inline-level box, and participates in an inline formatting context. run-in The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements. contents The element lays out its contents using flex layout.
none The element generates no boxes, and does not participate in any formatting context. table-row-group, table-header-group, table-footer-group, table-row, table-cell, table-column-group, table-column, table-caption The element is an internal table element, and participates in a table layout context. table-cell and table-caption are layout-specific leaf types; the rest are layout-specific inter...
jQuery - MDN Web Docs Glossary: Definitions of Web-related terms
t. To explain it in detail, $(selector) will call jQuery to select selector element(s), and assign it to an event API called .action(). ...
... $(document).ready(function(){ alert("Hello World!"); $("#blackBox").hide(); }); The above code carries out the same function as the following code: window.onload = function() { alert("Hello World!"); document.getElementById("blackBox").style.display = "
none"; }; Or: window.addEventListener("load", () => { alert("Hello World!"); document.getElementById("blackBox").style.display = "
none"; }); Learn more General knowledge jQuery on Wikipedia jQuery Official Website Technical information Offical API reference documentation ...
CSS and JavaScript accessibility best practices - Learn web development
is a dotted underline, and it is unwise to significantly deviate from this. For more on abbreviations, see Abbreviations. Links Hyperlinks -- the way you get to new places on the web: <p>Visit the <a href="https://www.mozilla.org">Mozilla homepage</a>.</p> Some very simple link styling is shown below: a { color: #ff0000; } a:hover, a:visited, a:focus { color: #a60000; text-decoration:
none; } a:active { color: #000000; background-color: #a60000; } The standard link conventions are underlined and a different color (default: blue) in their standard state, another color variation when the link has previously been visited (default: purple), and yet another color when the link is activated (default: red). In addition, the mouse pointer changes to a pointer icon when links are mous...
...er users don't care about any of this -- they are happy with the content as long as the source order makes sense, and they can get to it all. Absolute positioning (as used in this example) is generally seen as one of the best mechanisms of hiding content for visual effect, because it doesn't stop screen readers from getting to it. On the other hand, you shouldn't use visibility:hidden or display:
none, because they do hide content from screen readers. Unless of course, there is a good reason why you want this content to be hidden from screen readers. Note: Invisible Content Just for Screen Reader Users has a lot more useful detail surrounding this topic. Accept that users can override styles Accept that users can override your styles It is possible for users to override your styles with ...
Practical positioning examples - Learn web development
dant selectors with .info-box at the start of the chain throughout this example -- this is so that we can insert this feature into a page with other content already on it, without fear of interfering with the styles applied to other parts of the page. ...
...ist-style-type is set to
none to get rid of the bullets, and their width is set to 150px so they will comfortably fit across the info-box. The <a> elements are set to display inline-block so they will sit in a line but still be stylable, and they are styled appropriately for tab buttons, using a variety of other properties. Add the following CSS: .info-box li { float: left; list-style-type:
none; width: 150px; } .info-box li a { display: inline-block; text-decoration:
none; width: 100%; line-height: 3; background-color: red; color: black; text-align: center; } Finally for this section we'll set some styles on the link states. First, we'll set the :focus and :hover states of the tabs to look different when they are focused/hovered, providing users with some visual feedba...
Getting started with CSS - Learn web development
retty much the same way. However, you will often want something other than the choice the browser has made. This can be done by simply choosing the HTML element that you want to change, and using a CSS rule to change the way it looks. A good example is our <ul>, an unordered list. It has list bullets, and if I decide I don't want those bullets I can remove them like so: li { list-style-type:
none; } Try adding this to your CSS now. The list-style-type property is a good property to look at on MDN to see which values are supported. Take a look at the page for list-style-type and you will find an interactive example at the top of the page to try some different values in, then all allowable values are detailed further down the page. Looking at that page you will discover that in addition ...
... or in the process of being clicked (activated). You can use CSS to target these different states -- the CSS below styles unvisited links pink and visited links green. a:link { color: pink; } a:visited { color: green; } You can change the way the link looks when the user hovers over it, for example removing the underline, which is achieved by in the next rule: a:hover { text-decoration:
none; } In the live example below, you can play with different values for the various states of a link. I have added the rules above to it, and now realise that the pink color is quite light and hard to read -- why not change that to a better color? Can you make the links bold? We have removed the underline on our link on hover. You could remove the underline from all states of a link. It is wort...
Example 2 - Learn web development
<li class="option">Apple</li> </ul> </div> <form> CSS Content .widget select, .no-widget .select { position : absolute; left : -5000em; height : 0; overflow : hidden; } /* --------------- */ /* Required Styles */ /* --------------- */ .select { position: relative; display : inline-block; } .select.active, .select:focus { box-shadow: 0 0 3px 1px #227755; outline:
none; } .select .optList { position: absolute; top : 100%; left : 0; } .select .optList.hidden { max-height: 0; visibility: hidden; } /* ------------ */ /* Fancy Styles */ /* ------------ */ .select { font-size : 0.625em; /* 10px */ font-family : Verdana, Arial, sans-serif; -moz-box-sizing : border-box; box-sizing : border-box; padding : 0.1em 2.5em 0.2em 0.5em; /* 1...
... content : "?"; position: absolute; z-index : 1; height : 100%; width : 2em; /* 20px */ top : 0; right : 0; padding-top : .1em; -moz-box-sizing : border-box; box-sizing : border-box; text-align : center; border-left : .2em solid #000; border-radius: 0 .1em .1em 0; background-color : #000; color : #FFF; } .select .optList { z-index : 2; list-style:
none; margin : 0; padding: 0; background: #f0f0f0; border: .2em solid #000; border-top-width : .1em; border-radius: 0 0 .4em .4em; box-shadow: 0 .2em .4em rgba(0,0,0,.4); -moz-box-sizing : border-box; box-sizing : border-box; min-width : 100%; max-height: 10em; /* 100px */ overflow-y: auto; overflow-x: hidden; } .select .option { padding: .2em .3em; } .select .highlig...
Example 3 - Learn web development
<li class="option">Apple</li> </ul> </div> </form> CSS Content .widget select, .no-widget .select { position : absolute; left : -5000em; height : 0; overflow : hidden; } /* --------------- */ /* Required Styles */ /* --------------- */ .select { position: relative; display : inline-block; } .select.active, .select:focus { box-shadow: 0 0 3px 1px #227755; outline:
none; } .select .optList { position: absolute; top : 100%; left : 0; } .select .optList.hidden { max-height: 0; visibility: hidden; } /* ------------ */ /* Fancy Styles */ /* ------------ */ .select { font-size : 0.625em; /* 10px */ font-family : Verdana, Arial, sans-serif; -moz-box-sizing : border-box; box-sizing : border-box; padding : 0.1em 2.5em 0.2em 0.5em; /* 1...
... content : "?"; position: absolute; z-index : 1; height : 100%; width : 2em; /* 20px */ top : 0; right : 0; padding-top : .1em; -moz-box-sizing : border-box; box-sizing : border-box; text-align : center; border-left : .2em solid #000; border-radius: 0 .1em .1em 0; background-color : #000; color : #FFF; } .select .optList { z-index : 2; list-style:
none; margin : 0; padding: 0; background: #f0f0f0; border: .2em solid #000; border-top-width : .1em; border-radius: 0 0 .4em .4em; box-shadow: 0 .2em .4em rgba(0,0,0,.4); -moz-box-sizing : border-box; box-sizing : border-box; min-width : 100%; max-height: 10em; /* 100px */ overflow-y: auto; overflow-x: hidden; } .select .option { padding: .2em .3em; } .select .highlig...
Example 4 - Learn web development
<li class="option">Apple</li> </ul> </div> </form> CSS Content .widget select, .no-widget .select { position : absolute; left : -5000em; height : 0; overflow : hidden; } /* --------------- */ /* Required Styles */ /* --------------- */ .select { position: relative; display : inline-block; } .select.active, .select:focus { box-shadow: 0 0 3px 1px #227755; outline:
none; } .select .optList { position: absolute; top : 100%; left : 0; } .select .optList.hidden { max-height: 0; visibility: hidden; } /* ------------ */ /* Fancy Styles */ /* ------------ */ .select { font-size : 0.625em; /* 10px */ font-family : Verdana, Arial, sans-serif; -moz-box-sizing : border-box; box-sizing : border-box; padding : 0.1em 2.5em 0.2em 0.5em; /* 1...
... content : "?"; position: absolute; z-index : 1; height : 100%; width : 2em; /* 20px */ top : 0; right : 0; padding-top : .1em; -moz-box-sizing : border-box; box-sizing : border-box; text-align : center; border-left : .2em solid #000; border-radius: 0 .1em .1em 0; background-color : #000; color : #FFF; } .select .optList { z-index : 2; list-style:
none; margin : 0; padding: 0; background: #f0f0f0; border: .2em solid #000; border-top-width : .1em; border-radius: 0 0 .4em .4em; box-shadow: 0 .2em .4em rgba(0,0,0,.4); -moz-box-sizing : border-box; box-sizing : border-box; min-width : 100%; max-height: 10em; /* 100px */ overflow-y: auto; overflow-x: hidden; } .select .option { padding: .2em .3em; } .select .highlig...
Example 5 - Learn web development
tion" role="option">Apple</li> </ul> </div> </form> CSS Content .widget select, .no-widget .select { position : absolute; left : -5000em; height : 0; overflow : hidden; } /* --------------- */ /* Required Styles */ /* --------------- */ .select { position: relative; display : inline-block; } .select.active, .select:focus { box-shadow: 0 0 3px 1px #227755; outline:
none; } .select .optList { position: absolute; top : 100%; left : 0; } .select .optList.hidden { max-height: 0; visibility: hidden; } /* ------------ */ /* Fancy Styles */ /* ------------ */ .select { font-size : 0.625em; /* 10px */ font-family : Verdana, Arial, sans-serif; -moz-box-sizing : border-box; box-sizing : border-box; padding : 0.1em 2.5em 0.2em 0.5em; /* 1...
... content : "?"; position: absolute; z-index : 1; height : 100%; width : 2em; /* 20px */ top : 0; right : 0; padding-top : .1em; -moz-box-sizing : border-box; box-sizing : border-box; text-align : center; border-left : .2em solid #000; border-radius: 0 .1em .1em 0; background-color : #000; color : #FFF; } .select .optList { z-index : 2; list-style:
none; margin : 0; padding: 0; background: #f0f0f0; border: .2em solid #000; border-top-width : .1em; border-radius: 0 0 .4em .4em; box-shadow: 0 .2em .4em rgba(0,0,0,.4); -moz-box-sizing : border-box; box-sizing : border-box; min-width : 100%; max-height: 10em; /* 100px */ overflow-y: auto; overflow-x: hidden; } .select .option { padding: .2em .3em; } .select .highlig...
Example - Learn web development
ration date:</span> <strong><abbr title="required">*</abbr></strong> <em>formatted as mm/dd/yyyy</em> </label> <input type="date" id="date" name="expiration"> </p> </section> <section> <p> <button type="submit">Validate the payment</button> </p> </section> </form> CSS Content h1 { margin-top: 0; } ul { margin: 0; padding: 0; list-style:
none; } form { margin: 0 auto; width: 400px; padding: 1em; border: 1px solid #CCC; border-radius: 1em; } div+div { margin-top: 1em; } label span { display: inline-block; width: 120px; text-align: right; } input, textarea { font: 1em sans-serif; width: 250px; box-sizing: border-box; border: 1px solid #999; } input[type=checkbox], input[type=radio...
... width: 400px; padding: 1em; border: 1px solid #CCC; border-radius: 1em; } div+div { margin-top: 1em; } label span { display: inline-block; width: 120px; text-align: right; } input, textarea { font: 1em sans-serif; width: 250px; box-sizing: border-box; border: 1px solid #999; } input[type=checkbox], input[type=radio] { width: auto; border:
none; } input:focus, textarea:focus { border-color: #000; } textarea { vertical-align: top; height: 5em; resize: vertical; } fieldset { width: 250px; box-sizing: border-box; margin-left: 136px; border: 1px solid #999; } button { margin: 20px 0 0 124px; } label { position: relative; } label em { position: absolute; right: 5px; top: 20px; } Result ...
Other form controls - Learn web development
the series (see the source code also). Controlling multi-line rendering <textarea> accepts three attributes to control its rendering across several lines: cols Specifies the visible width (columns) of the text control, measured in average character widths. This is effectively the starting width, as it can be changed by resizing the <textarea>, and overriden using CSS. The default value if
none is specified is 20. rows Specifies the number of visible text rows for the control. This is effectively the starting height, as it can be changed by resizing the <textarea>, and overriden using CSS. The default value if
none is specified is 2. wrap Specifies how the control wraps text. The values are soft (the default value), which means the text submitted is not wrapped but the text rendered...
...), which means both the submitted and rendered texts are wrapped, and off, which stops wrapping. Controlling textarea resizability The ability to resize a <textarea> is controlled with the CSS resize property. Its possible values are: both: The default -- allows resizing horizontally and vertically. horizontal: Allows resizing only horizontally. vertical: Allows resizing only vertically.
none: Allows no resizing. block and inline: Experimental values that allow resizing in the block or inline direction only (this varies depending on the directionality of your text; read Handling different text directions if you want to find out more.) Play with the interactive example at the top of the resize reference page for a demonstration of how these work. Drop-down controls Drop-down contr...
UI pseudo-classes - Learn web development
value="Mr Soft" readonly> </div> If you try the live example, you'll see that the top set of form elements are not focusable, however, the values are submitted when the form is submitted. We've styled the form controls using the :read-only and :read-write pseudo-classes, like so: input:-moz-read-only, textarea:-moz-read-only, input:read-only, textarea:read-only { border: 0; box-shadow:
none; background-color: white; } textarea:-moz-read-write, textarea:read-write { box-shadow: inset 1px 1px 3px #ccc; border-radius: 5px; } Firefox only supported these pseudo-classes with a prefix up to version 78; at which point it started to support the unprefixed version. The full example looks like so: Note: :enabled and :read-write are two more pseudo-classes that you'll probably rar...
...ither checked nor unchecked, they are considered indeterminate and will match the :indeterminate pseudo-class. More on what this means below. :checked When checked, they will be matched by the :checked pseudo-class. The most common use of this is to add a different style onto the checkbox/radiobutton when it is checked, in cases where you've removed the system default styling with appearance:
none; and want to build the styles back up yourself. We saw examples of this in the previous article when we talked about Using appearence:
none on radios/checkboxes. As a recap, the :checked code from our Styled radio buttons example looks like so: input[type="radio"]::before { display: block; content: " "; width: 10px; height: 10px; border-radius: 6px; background-color: red; font-siz...
Responsive images - Learn web development
are saying "when the viewport width is 600 pixels or less". A space The width of the slot the image will fill when the media condition is true (480px) Note: For the slot width, you may provide an absolute length (px, em) or a length relative to the viewport (vw), but not percentages. You may have noticed that the last slot width has no media condition (this is the default that is chosen when
none of the media conditions are true). The browser ignores everything after the first matching condition, so be careful how you order the media conditions. So, with these attributes in place, the browser will: Look at its device width. Work out which media condition in the sizes list is the first one to be true. Look at the slot size given to that media query. Load the image referenced in the...
...d, as well as a sizes attribute. So, you could offer multiple images via a <picture> element, but then also offer multiple resolutions of each one. Realistically, you probably won't want to do this kind of thing very often. In all cases, you must provide an <img> element, with src and alt, right before </picture>, otherwise no images will appear. This provides a default case that will apply when
none of the media conditions return true (you could actually remove the second <source> element in this example), and a fallback for browsers that don't support the <picture> element. This code allows us to display a suitable image on both wide screen and narrow screen displays, as shown below: Note: You should use the media attribute only in art direction scenarios; when you do use media, don't...
Making decisions in your code — conditionals - Learn web development
<select> element. We then use a conditional statement to show different text inside the paragraph depending on what the value of choice is. Notice how all the conditions are tested in else if() {...} blocks, except for the first one, which is tested in an if() {...} block. The very last choice, inside the else {...} block, is basically a "last resort" option -- the code inside it will be run if
none of the conditions are true. In this case, it serves to empty the text out of the paragraph if nothing is selected, for example, if a user decides to re-select the "--Make a choice--" placeholder option shown at the beginning. Note: You can also find this example on GitHub (see it running live on there also.) A note on comparison operators Comparison operators are used to test the conditions...
... moves on to any code that appears below the switch statement. As many other cases (bullets 3-5) as you like. The keyword default, followed by exactly the same code pattern as one of the cases (bullets 3-5), except that default does not have a choice after it, and you don't need to break statement as there is nothing to run after this in the block anyway. This is the default option that runs if
none of the choices match. Note: You don't have to include the default section -- you can safely omit it if there is no chance that the expression could end up equaling an unknown value. If there is a chance of this, however, you need to include it to handle unknown cases. A switch example Let's have a look at a real example -- we'll rewrite our weather forecast application to use a switch state...
Client-side storage - Learn web development
e')) { // If it is, display personalized greeting let name = localStorage.getItem('name'); h1.textContent = 'Welcome, ' + name; personalGreeting.textContent = 'Welcome to our website, ' + name + '! ...
...If we don't do this, then the personalized greeting will not persist across page reloads. ...
Getting started with Svelte - Learn web development
Variables declared (or imported) at the top level are 'visible' from the component's markup. Top-level variables is the way Svelte handles the component state, and they are reactive by default. We will explain in detail what this means later on. <script> export let ...
...ync values, respectively. The <style> section If you have experience working with CSS, the following snippet should make sense: <style> main { text-align: center; padding: 1em; max-width: 240px; margin: 0 auto; } h1 { color: #ff3e00; text-transform: uppercase; font-size: 4em; font-weight: 100; } @media (min-width: 640px) { main { max-width:
none; } } </style> We are applying a style to our <h1> element. What will happen other components with <h1> elements in them? In Svelte, CSS inside a component's <style> block will be scoped only to that component. This works by adding a class to selected elements, which is based on a hash of the component styles. You can see this in action by opening localhost:5000 in a new browser tab, righ...
The Firefox codebase: CSS Guidelines
s: <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?> <?xml-stylesheet href="chrome://browser/content/path/module.css" type="text/css"?> <?xml-stylesheet href="chrome://browser/skin/path/module.css" type="text/css"?> [1] -moz-appearance is tricky. Generally, when specifying -moz-appearance: foo; you're giving hints as to how something should act, however -moz-appearance:
none; is probably saying 'ignore browser preconceptions - I want a blank sheet', so that's more visual. However -moz-appearance values aren't implemented and don't behave consistently across platforms, so idealism aside -moz-appearance should always be in theme CSS. [2] However there is probably a better way than using absolute positioning. Colors For common areas of the Firefox interface (panels...
...lowing example, -moz-mac-yosemite-theme targets macOS 10.10 and higher, so it should be privileged over the styling for macOS 10.9. Do this: @media (-moz-mac-yosemite-theme: 0) { #placesList { box-shadow: inset -2px 0 0 hsla(0,0%,100%,.2); } } Not this: #placesList { box-shadow: inset -2px 0 0 hsla(0,0%,100%,.2); } @media (-moz-mac-yosemite-theme) { #placesList { box-shadow:
none; } } Theme support Firefox comes built-in with 3 themes: default, light and dark. The built-in light/dark themes are a bit special as they load the compacttheme.css stylesheet. In addition to this, Firefox supports a variety of WebExtension themes that can be installed from AMO. For testing purposes, here is an example of a WebExtension theme. Writing theme-friendly CSS Some CSS variab...
How to implement a custom autocomplete search component
}, /** * @return {number} the result code of this result object, either: * RESULT_IGNORED (invalid searchString) * RESULT_FAILURE (failure) * RESULT_NOMATCH (no matches found) * RESULT_SUCCESS (matches found) */ get searchResult() { return this._searchResult; }, /** * @return {number} the index of the default item that should be entered if *
none is selected */ get defaultIndex() { return this._defaultIndex; }, /** * @return {string} description of the cause of a search failure */ get errorDescription() { return this._errorDescription; }, /** * @return {number} the number of matches */ get matchCount() { return this._results.length; }, /** * @return {string} the value of the result at the...
...his._searchString; }, /** * The result code of this result object, either: * RESULT_IGNORED (invalid searchString) * RESULT_FAILURE (failure) * RESULT_NOMATCH (no matches found) * RESULT_SUCCESS (matches found) */ get searchResult() { return this._searchResult; }, /** * Index of the default item that should be entered if
none is selected */ get defaultIndex() { return this._defaultIndex; }, /** * A string describing the cause of a search failure */ get errorDescription() { return this._errorDescription; }, /** * The number of matches */ get matchCount() { return this._results.length; }, /** * Get the value of the result at the given index */ getValueAt: function(...
AddonManager
Constant Description AUTOUPDATE_DISABLE Indicates that the add-on should not update automatically. AUTOUPDATE_DEFAULT Indicates that the add-on should update automatically only if that's the global default. AUTOUPDATE_ENABLE Indicates that the add-on should update automatically. Pending operations Constant Description PENDING_
NONE No operations are pending. PENDING_ENABLE This add-on will be enabled after the application restarts. PENDING_DISABLE This add-on will be disabled after the application restarts. PENDING_UNINSTALL This add-on will be uninstalled after the application restarts. PENDING_INSTALL This add-on will be installed after the application restarts. ...
...ation restarts. Permissions Constant Description PERM_CAN_UNINSTALL This add-on can be uninstalled. PERM_CAN_ENABLE This add-on can be enabled. PERM_CAN_DISABLE This add-on can be disabled. PERM_CAN_UPGRADE This add-on can be upgraded. Operations requiring restart Constant Description OP_NEEDS_RESTART_
NONE No operations will require a restart. OP_NEEDS_RESTART_ENABLE Enabling the add-on will require a restart. OP_NEEDS_RESTART_DISABLE Disabling the add-on will require a restart. OP_NEEDS_RESTART_UNINSTALL Uninstalling the add-on will require a restart. OP_NEEDS_RESTART_INSTALL Installing the add-on will require a restart. Installation scopes...
Add-on Repository
earchCallback callback) Properties Property Type Description homepageURL string The URL of the repository site's home page. isSearching boolean true if a search is currently in progress; otherwise false. Methods getRecommendedURL() Returns the URL that can be visited to see recommended add-ons. string getRecommendedURL(); Parameters
None. Return value An URL indicating the repository's page of recommended add-ons. getSearchURL() Returns an URL of a web page that can be visited to see search results for the specified search terms. string getSearchURL( in string searchTerms ); Parameters searchTerms Search terms used to search the repository. Return value The URL of the search results page for the specified search te...
...e visited to see search results for the specified search terms. string getSearchURL( in string searchTerms ); Parameters searchTerms Search terms used to search the repository. Return value The URL of the search results page for the specified search terms. cancelSearch() Cancels the search in progress. Does nothing if there is no search in progress. void cancelSearch(); Parameters
None. retrieveRecommendedAddons() Begins a search for recommended add-ons in the repository. The list of recommended add-ons frequently changes. Results will be passed to the given SearchCallback callback. void retrieveRecommendedAddons( in integer maxResults, in SearchCallback callback ); Parameters maxResults The maximum number of results to return. callback The SearchCallback callback...
FxAccountsOAuthClient.jsm
authorizationEndpoint Optional Optional authorization endpoint for the OAuth server. Default: /authorization Return value A newly created FxAccountsOAuthClient object implementing the methods described in this article. Methods launchWebFlow() Opens a new tab at the Firefox Accounts OAuth authorization URL. Registers a WebChannel listener and sets up a callback if needed. ...
...ewly created FxAccountsOAuthClient object implementing the methods described in this article. Methods launchWebFlow() Opens a new tab at the Firefox Accounts OAuth authorization URL. Registers a WebChannel listener and sets up a callback if needed. Parameters
None tearDown() Call this function to manually release all channels and callbacks that are in use by this client. ...
PerfMeasurement.jsm
alues. OR together all the event types you want to record, and pass that value here. Pass PerfMeasurement.ALL to record all event types. Return value A new PerfMeasurement object configured to record the specified event types. Methods canMeasureSomething() Indicates whether or not the platform on which your code is running supports this code module. static bool canMeasureSomething(); Parameters
None. Return value If even one of the event types can be recorded, this will return true. Otherwise, it returns false. reset() Resets all the enabled counters to zero. void reset(); Parameters
None. start() Starts measuring the performance indicators that were specified when the PerfMeasurement object was created. void start(); Parameters
None. stop() Stops measuring performance data. For each enabl...
...bled counters to zero. void reset(); Parameters
None. start() Starts measuring the performance indicators that were specified when the PerfMeasurement object was created. void start(); Parameters
None. stop() Stops measuring performance data. For each enabled counter, the number of measured events of that type that occurred are added to the appropriate visible variable. void stop(); Parameters
None. ...
MathML Demo: <mmultiscripts> - attach prescripts and tensor indices to a base
A MathML mmultiscripts object allows you to build tensor-like objects. For example M c d a b . The scripts come in pairs, with <mprescripts/> used to indicate prescripts and <
none/> used to hold an empty position as in F b a . There are some variations possible: <mmultiscripts> A a b c d , nested <msubsup>s A a b c d , or ⁣ A a c b d . displays A MathML mmultiscripts objects allows you to build tensor-like objects. ...
... hold an empty position as in F b a . There are some variations possible: <mmultiscripts> A a b c d , nested <msubsup>s A a b c d , or ⁣ A a c b d . ...
Mozilla Style System Documentation
its pseudo-elements that are not in the CSS specification.) We also create style contexts for some things that are not CSS formatting objects: text nodes and placeholder frames. These three types of style contexts correspond to the three ways of creating a style context: nsIPresContext::ResolveStyleContextFor, nsIPresContext::ResolvePseudoStyleContextFor, and.nsIPresContext::ResolveStyleContextFor
NonElement There is also a fourth method, nsIPresContext::ProbePseudoStyleContextFor, which creates a style context only if there are style rules that match the pseudo-element. This is useful for the pseudo-elements defined in the CSS specification (:before, :after, :first-line, :first-letter), but few of Mozilla's custom pseudo-elements, many of which are hacks for further formatting objects that we ...
...is that most style rules specify properties in very few structs. As stated above, each style struct contains only features that are inherited by default or those that are set to their initial value ("reset") by default. This leads to (or perhaps three, depending on how you count) two types of sharing. For those structs where all the values are inherited by default, a style context can often (when
none of the rules matched by the style context specifies any properties in the struct, or when explicit inherit is used) use the same struct as its parent style context. For the structs where all the properties are reset by default, if no explicit inherit values or em or similar units are used, the style struct can be cached on the rule node rather than the style context and shared between all style c...
Power profiling overview
thing to note about C-states is that they apply both to cores and the entire package -- i.e. if all cores are idle then the entire package can also become idle, which reduces power consumption even further. The fraction of time that a package or core spends in an idle C-state is called the C-state residency. This is a misleading term -- the active state, C0, is also a C-state -- but one that is
nonetheless common. Intel processors have model-specific registers (MSRs) containing measurements of how much time is spent in different C-states, and tools such as powermetrics (Mac), powertop and turbostat (Linux) can expose this information. A wakeup occurs when a core or package transitions from an idle state to the active state. This happens when the OS schedules a process to run due to some ki...
...tivity Monitor. Ways to user power-related measurements Low-context measurements Most power-related measurements are global or per-process. Such low-context measurements are typically good for understand if power consumption is good or bad, but in the latter case they often don't provide much insight into why the problem is occurring, which part of the code is at fault, or how it can be fixed.
Nonetheless, they can still help improve understanding of a problem by using differential profiling. Compare browsers to see if Firefox is doing better or worse than another browser on a particular workload. Compare different versions of Firefox to see if Firefox has improved or worsened over time on a particular workload. This can identify specific changes that caused regressions, for example. C...
Phishing: a short definition
ntain a link pretending to lead to the original service, but in reality, taking the victim to an attacker-controlled website. The login portal might resemble the trusted website's login page very closely, and convince users to enter their credentials, letting others hijack their account. Past and current countermeasures Various technical, and social approaches, exist to combat phishing attacks.
None of these are sufficient by themselves, so we see a mix of these deployed by various services. The following is a non-exhaustive list of the most common approaches. Shifting blame to users Some quick-to-implement, and cost-effective solutions, hold users accountable for their actions instead of restricting what's technically possible. Earlier responses by affected banks, and payment providers, w...
...too, are interested in protecting their users from phishing. After all, the browser plays an essential role in the scheme: a fake website is loaded in a browser and here is the maker's last chance to preventing fraud. Since version 2.0, Firefox has used Google's SafeBrowsing service, to detect known web forgeries, and display an alert instead of the fraudulent website. Two-Factor Authentication
None of the above anti-phishing measures address the basic problem: username/password combinations are often enough to impersonate users. Enter the world of second factors. A second factor is something a user possesses to further authenticate with a service. For example, a USB token, Bluetooth device, mobile phone, or simply a key stored on a separate device. The first factor is usually the password ...
Leak And Bloat Tests
ger.accounts", "account1,account2"); user_pref("mail.accountmanager.defaultaccount", "account2"); user_pref("mail.accountmanager.localfoldersserver", "server1"); user_pref("mail.identity.id1.fullName", "Tinderbox"); user_pref("mail.identity.id1.smtpServer", "smtp1"); user_pref("mail.identity.id1.useremail", "tinderbox@invalid.com"); user_pref("mail.identity.id1.valid", true); user_pref("mail.root.
none-rel", "[ProfD]Mail"); user_pref("mail.root.pop3-rel", "[ProfD]Mail"); user_pref("mail.server.server1.directory-rel", "[ProfD]Mail/Local Folders"); user_pref("mail.server.server1.hostname", "Local Folders"); user_pref("mail.server.server1.name", "Local Folders"); user_pref("mail.server.server1.type", "
none"); user_pref("mail.server.server1.userName", "nobody"); user_pref("mail.server.server2.check...
...ail.smtpservers", "smtp1"); user_pref("mail.startup.enabledMailCheckOnce", true); user_pref("mailnews.start_page_override.mstone", "1.9pre"); user_pref("mail.shell.checkDefaultClient", false); // Ensure OS X and Outlook/OE books are disabled user_pref("ldap_2.servers.osx.position", 0); user_pref("ldap_2.servers.oe.position", 0); Preferences in generated profile, but not set: user_pref("mail.root.
none", "/home/moztest/.thunderbird/t7i1txfw.minimum/Mail"); user_pref("mail.root.pop3", "/home/moztest/.thunderbird/t7i1txfw.minimum/Mail"); user_pref("mail.server.server1.directory", "/home/moztest/.thunderbird/t7i1txfw.minimum/Mail/Local Folders"); user_pref("mail.server.server2.directory", "/home/moztest/.thunderbird/t7i1txfw.minimum/Mail/tinderbox"); user_pref("mail.attachment.store.version", 1); ...
PRExplodedTime
hours past tm_mday. The range is [0, 23]. tm_min: number of minutes past tm_hour. The range is [0, 59]. tm_sec: number of seconds past tm_min. The range is [0, 61]. The values 60 and 61 are for accommodating up to two leap seconds. tm_usec: number of microseconds past tm_sec. The range is [0, 999999]. tm_params: a PRTimeParameters structure representing the local time zone information. The
nonessential members of PRExplodedTime are: tm_wday: day of week. The range is [0, 6]. 0 is Sunday, 1 is Monday, and 6 is Saturday. tm_yday: day of year. The range is [0, 365]. 0 is the 1st of January. On input to NSPR functions, only the essential members of PRExplodedTime must be specified. The two
nonessential members (day of week and day of year) are ignored by NSPR functions as input. When ...
...ear. The range is [0, 365]. 0 is the 1st of January. On input to NSPR functions, only the essential members of PRExplodedTime must be specified. The two
nonessential members (day of week and day of year) are ignored by NSPR functions as input. When an NSPR function returns a PRExplodedTime object or sets a PRExplodedTime object as output, all of the PRExplodedTime members are set, including the
nonessential members. You can also use PR_NormalizeTime() to calculate the values of the
nonessential members. ...
PR_ReadDir
Do not skip any files. PR_SKIP_DOT. ...
...ccurs, NULL. The reason can be retrieved via PR_GetError. Description PR_ReadDir returns a pointer to a directory entry structure: struct PRDirEntry { const char *name; }; typedef struct PRDirEntry PRDirEntry; The structure has the following field: name Name of entry, relative to directory name. The flags parameter is an enum of type PRDirFlags: typedef enum PRDirFlags { PR_SKIP_
NONE = 0x0, PR_SKIP_DOT = 0x1, PR_SKIP_DOT_DOT = 0x2, PR_SKIP_BOTH = 0x3, PR_SKIP_HIDDEN = 0x4 } PRDirFlags; The memory associated with the returned PRDirEntry structure is managed by NSPR. The caller must not free the PRDirEntry structure. Moreover, the PRDirEntry structure returned by each PR_ReadDir call is valid only until the next PR_ReadDir or PR_CloseDir call on the same PR...
NSS 3.15.1 release notes
supported. HMAC-SHA256 cipher suites (RFC 5246 and RFC 5289) are supported, allowing TLS to be used without MD5 and SHA-1. Note the following limitations. The hash function used in the signature for TLS 1.2 client authentication must be the hash function of the TLS 1.2 PRF, which is always SHA-256 in NSS 3.15.1. AES GCM cipher suites are not yet supported. New Functions
None. New Types in sslprot.h SSL_LIBRARY_VERSION_TLS_1_2 - The protocol version of TLS 1.2 on the wire, value 0x0303. TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_NULL_SHA256 - New TLS 1.2 only HM...
...A256 cipher suites. in sslerr.h SSL_ERROR_UNSUPPORTED_HASH_ALGORITHM, SSL_ERROR_DIGEST_FAILURE, SSL_ERROR_INCORRECT_SIGNATURE_ALGORITHM - New error codes for TLS 1.2. in sslt.h ssl_hmac_sha256 - A new value in the SSLMACAlgorithm enum type. ssl_signature_algorithms_xtn - A new value in the SSLExtensionType enum type. New PKCS #11 Mechanisms
None. Notable Changes in NSS 3.15.1 Bug 856060 - Enforce name constraints on the common name in libpkix when no subjectAltName is present. Bug 875156 - Add const to the function arguments of SEC_CertNicknameConflict. Bug 877798 - Fix ssltap to print the certificate_status handshake message correctly. Bug 882829 - On Windows, NSS initialization fails if NSS cannot call the RtlGenRandom functi...
NSS 3.42 release notes
_3_42_RTM. NSS 3.42 requires NSPR 4.20 or newer. NSS 3.42 source distributions are available on ftp.mozilla.org for secure HTTPS download: Source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_42_RTM/src/ Other releases are available in NSS Releases. ...
...ilable on ftp.mozilla.org for secure HTTPS download: Source tarballs: https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_42_RTM/src/ Other releases are available in NSS Releases. New in NSS 3.42 New Functionality Bug 818686 - Support XDG basedir specification New Functions
none Notable Changes in NSS 3.42 The following CA certificates were Added:
None The following CA certificates were Removed:
None Added support for some of the testcases from the Wycheproof project: Bug 1508666 - Added AES-GCM test cases Bug 1508673 - Added ChaCha20-Poly1305 test cases Bug 1514999 - Added the Curve25519 test cases Thanks to Jonas Allmann for adapting these tests. ...
NSS Sample Code Sample_2_Initialization of NSS
char *oldPwFile, char *newPwFile) { SECStatus rv; secuPWData pwdata; secuPWData newpwdata; char *oldpw = NULL; char *newpw = NULL; if (oldPass) { pwdata.source = PW_PLAINTEXT; pwdata.data = oldPass; } else if (oldPwFile) { pwdata.source = PW_FROMFILE; pwdata.data = oldPwFile; } else { pwdata.source = PW_
NONE; pwdata.data = NULL; } if (newPass) { newpwdata.source = PW_PLAINTEXT; newpwdata.data = newPass; } else if (newPwFile) { newpwdata.source = PW_FROMFILE; newpwdata.data = NULL; } else { newpwdata.source = PW_
NONE; newpwdata.data = NULL; } if (PK11_NeedUserInit(slot)) { newpw = InitSlotPassword(slot, PR_FALSE,...
... Try again.\n"); } else { PR_fprintf(PR_STDERR, "Invalid password.\n"); PORT_Memset(oldpw, 0, PL_strlen(oldpw)); PORT_Free(oldpw); return SECFailure; } } else { break; } P...
Initialize NSS database - sample 2
, char *oldPwFile, char *newPwFile) { SECStatus rv; secuPWData pwdata; secuPWData newpwdata; char *oldpw = NULL; char *newpw = NULL; if (oldPass) { pwdata.source = PW_PLAINTEXT; pwdata.data = oldPass; } else if (oldPwFile) { pwdata.source = PW_FROMFILE; pwdata.data = oldPwFile; } else { pwdata.source = PW_
NONE; pwdata.data = NULL; } if (newPass) { newpwdata.source = PW_PLAINTEXT; newpwdata.data = newPass; } else if (newPwFile) { newpwdata.source = PW_FROMFILE; newpwdata.data = NULL; } else { newpwdata.source = PW_
NONE; newpwdata.data = NULL; } if (PK11_NeedUserInit(slot)) { newpw = InitSlotPassword(slot, PR_FALSE,...
... Try again.\n"); } else { PR_fprintf(PR_STDERR, "Invalid password.\n"); PORT_Memset(oldpw, 0, PL_strlen(oldpw)); PORT_Free(oldpw); return SECFailure; } } else { break; } P...
Utilities for nss samples
UTIL_H #include <prlog.h> #include <termios.h> #include <base64.h> #include <unistd.h> #include <sys/stat.h> #include "util.h" #include <prprf.h> #include <prerror.h> #include <nss.h> #include <pk11func.h> /* * These utility functions are adapted from those found in * the sectool library used by the NSS security tools and * other NSS test applications. ...
...en+1]; break; } while (i<nb); phrase = PORT_Strdup((char*)phrase); PORT_Free(phrases); return phrase; } /* * GetModulePassword */ char* GetModulePassword(PK11SlotInfo *slot, int retry, void *arg) { char prompt[255]; secuPWData *pwdata = (secuPWData *)arg; char *pw; if (pwdata == NULL) { return NULL; } if (retry && pwdata->source != PW_
NONE) { PR_fprintf(PR_STDERR, "Incorrect password/PIN entered.\n"); return NULL; } switch (pwdata->source) { case PW_
NONE: sprintf(prompt, "Enter Password or Pin for \"%s\":", PK11_GetTokenName(slot)); return GetPassword(stdin, stdout, prompt, CheckPassword); case PW_FROMFILE: pw = FilePasswd(slot, retry, pwdata->data); p...
NSS tools : certutil
certificates be created in the key database. This document discusses certificate and key database management. For information on the security module database management, see the modutil manpage. Options and Arguments Running certutil always requires one and only one command option to specify the type of certificate operation. Each option may take arguments, anywhere from
none to multiple arguments. The command option -H will list all the command options available and their relevant arguments. Command Options -A Add an existing certificate to a certificate database. The certificate database should already exist; if one is not present, this command option will initialize one by default. -B Run a series of...
...485. -t trustargs Specify the trust attributes to modify in an existing certificate or to apply to a certificate when creating it or adding it to a database. There are three available trust categories for each certificate, expressed in the order SSL, email, object signing for each trust setting. ...
sslerr.html
llback function either was not configured or did not choose to override the error code returned by the certificate authentication callback function. -12283 (unused) SSL_ERROR_BAD_CLIENT -12282 "The server has encountered bad data from the client." This error code should occur only on sockets that are acting as servers. It is a generic error, used when
none of the other more specific error codes defined in this file applies. SSL_ERROR_BAD_SERVER -12281 "The client has encountered bad data from the server." This error code should occur only on sockets that are acting as clients. It is a generic error, used when
none of the other more specific error codes defined in this file applies. SSL_ERROR_UNSUPPORTED_CE...
... SEC_ERROR_UNSUPPORTED_KEYALG -8144 Unsupported or unknown key algorithm. SEC_ERROR_DECRYPTION_DISALLOWED -8143 Cannot decrypt: encrypted using a disallowed algorithm or key size. XP_SEC_FORTEZZA_BAD_CARD -8142 FORTEZZA card has not been properly initialized. XP_SEC_FORTEZZA_NO_CARD -8141 No FORTEZZA cards found. XP_SEC_FORTEZZA_
NONE_SELECTED -8140 No FORTEZZA card selected. XP_SEC_FORTEZZA_MORE_INFO -8139 Please select a personality to get more info on. XP_SEC_FORTEZZA_PERSON_NOT_FOUND -8138 Personality not found XP_SEC_FORTEZZA_NO_MORE_INFO -8137 No more information on that personality. XP_SEC_FORTEZZA_BAD_PIN -8136 Invalid PIN. XP_SEC_FORTEZZA_PERSO...
certutil
erating and managing certificates in the certificate database. This document discusses certificate and key database management. For information security module database management, see the modutil manpages. Options and Arguments Running certutil always requires one (and only one) option to specify the type of certificate operation. Each option may take arguments, anywhere from
none to multiple arguments. Run the command option and -H to see the arguments available for each command option. Options Options specify an action and are uppercase. -A Add an existing certificate to a certificate database. The certificate database should already exist; if one is not present, this option will initialize one by default. -B ...
... #1485. -t trustargs Specify the trust attributes to modify in an existing certificate or to apply to a certificate when creating it or adding it to a database. There are three available trust categories for each certificate, expressed in the order SSL, email, object signing for each trust setting. ...
Rhino scopes and contexts
ion's activation object and will end with the top-level scope (see diagram below). The activation object has two properties, 'a' for the argument, and 'v' for the variable. The top-level scope has properties for the variable g and the function f. An example scope chain for a simple script. When the statement x = v + a; is executed, the scope chain is traversed looking for a 'x' property. When
none is found, a new property 'x' is created in the top-level scope. Sharing Scopes JavaScript is a language that uses delegation rather than traditional class-based inheritance. This is a large topic in itself, but for our purposes it gives us an easy way to share a set of read-only variables across multiple scopes. To do this we set an object's prototype. When accessing a property of an object in...
... JavaScript is a language that uses delegation rather than traditional class-based inheritance. This is a large topic in itself, but for our purposes it gives us an easy way to share a set of read-only variables across multiple scopes. To do this we set an object's prototype. When accessing a property of an object in JavaScript, the object is first searched for a property with the given name. If
none is found, the object's prototype is searched. This continues until either the object is found or the end of the prototype chain is reached. So to share information across multiple scopes, we first create the object we wish to share. Typically this object will have been created with initStandardObjects and may also have additional objects specific to the embedding. Then all we need to do is creat...
Scripting Java
thrown by Java methods can be caught by JavaScript code using try...catch statement. ...
...to define conditional catching of exceptions: function classForName(name) { try { return java.lang.Class.forName(name); } catch (e if e.javaException instanceof java.lang.ClassNotFoundException) { print("Class " + name + " not found"); } catch (e if e.javaException instanceof java.lang.NullPointerException) { print("Class name is null"); } } classForName("
NonExistingClass"); classForName(null); ...
Statistics API
If a filename is given, data is appended to that file. ...
...llected by the GC. compartment_count: integer - The number of compartments that were present in the system at the end of the GC. max_pause: number (milliseconds) - Longest duration pause during the GC. nonincremental_reason: string - A string representing the reason that an incremental GC was aborted or forced to finish in a single slice. If the incremental GC completed normally, this will be "
none". allocated: integer (MB) - Size of the JavaScript heap in MiB at the start of the GC. slices: array of Objects - A list of objects describing each slice in detail. times: Object - A map from phase names to the total time taken by each phase: the sum of each field of the map from the slices. The last two fields require a bit of elaboration. GC work can be divided into phases, such as marking...
Accessing the Windows Registry Using XPCOM
w to read an existing string value. However, Windows registry values can have several data types, so you need to ensure that you read the correct type. You can check the type of a value using the method getValueType(). This method returns an integer indicating the data type of the value. ...
...the method getValueType(). This method returns an integer indicating the data type of the value. The data types supported by this interface are defined as named constants on the interface as follows: TYPE_
NONE -- Probably not useful TYPE_STRING -- A Unicode string value TYPE_BINARY -- Binary data TYPE_INT -- A 32 bit integer TYPE_INT64 -- A 64 bit integer Each of these types (except TYPE_
NONE) has a corresponding method to read the value data: readStringValue() readBinaryValue() readIntValue() readInt64Value() Since JavaScript is a dynamically-typed language, you may wish to use the following code to handle all types of data. In this function, wrk is expected to be an already opened nsIWindowsRegKey. function readRegistryValue(wrk, value) { switch (wrk.getValueType(value)) ...
Detailed XPCOM hashtable guide
ant time can be larger than an array lookup Sorting: sorted: stored sorted; iterated over in a sorted fashion. unsorted: stored unsorted; cannot be iterated over in a sorted manner. Inserting/Removing: O(n): adding and removing items from a large array can be time-consuming O(1): adding and removing items from hashtables is a quick operation Wasted space:
none: Arrays are packed structures, so there is no wasted space. some: hashtables are not packed structures; depending on the implementation, there may be significant wasted memory. In their implementation, hashtables take the key and apply a mathematical hash function to randomize the key and then use the hash to find the location in the hashtable. Good hashtable implementations will automa...
...o a simple datatype; client does not need to declare or manage an entry class; nsDataHashtable datatype is a scalar such as PRUint32; nsInterfaceHashtable datatype is an interface; nsClassHashtable datatype is a class pointer owned by the hashtable. ...
amIInstallTrigger
nt32 aFlags); Deprecated since Gecko 2.0 boolean updateEnabled(); Deprecated since Gecko 2.0 Constants Retained for backwards compatibility. Constant Value Description SKIN 1 LOCALE 2 CONTENT 4 PACKAGE 7 Methods enabled() Tests if installation is enabled. boolean enabled(); Parameters
None. Return value install() Starts a new installation of a set of add-ons. boolean install( in nsIVariant aArgs, in amIInstallCallback aCallback Optional ); Parameters aArgs The add-ons to install. This should be a JS object, each property is the name of an add-on to be installed. The value of the property should either be a string URL, or an object with the following properties: ...
...startSoftwareUpdate Starts installing a new add-on. boolean startSoftwareUpdate( in AString aUrl, in PRInt32 aFlags Optional ); Parameters aUrl The URL of the add-on. aFlags Optional Unused, retained for backwards compatibility. Return value true if the installation was successfully started. updateEnabled Tests if installation is enabled. boolean updateEnabled(); Parameters
None. Return value ...
nsIAccessibleSelectable
's selection. If the specified object is already selected, then it does nothing. void addChildToSelection( in long index ); Parameters index The zero-based accessible child index. Exceptions thrown NS_ERROR_FAILURE If the specified object is not selectable. clearSelection() Clears the selection in the object so that no children in the object are selected. void clearSelection(); Parameters
None. GetSelectedChildren() Returns an nsIArray of the selected nsIAccessible children. nsIArray GetSelectedChildren(); Parameters
None. Return value An nsIArray. isChildSelected() Determines if the current child of this object is selected. boolean isChildSelected( in long index ); Parameters index The zero-based accessible child index. Return value True if the child is selected, false if not. r...
...ves the specified child of the object from the object's selection. If the specified object was not selected, then it does nothing. void removeChildFromSelection( in long index ); Parameters index Zero-based accessible child index. Exceptions thrown NS_ERROR_FAILURE If the specified object is not selectable. selectAllSelection() Select all children. boolean selectAllSelection(); Parameters
None. Return value If the object does not accept multiple selection, return false. Otherwise, returns true. ...
nsIApplicationCache
EM_FALLBACK 32 This item was listed as a fallback entry. ITEM_OPPORTUNISTIC 64 This item matched an opportunistic cache namespace and was cached for that reason. Methods activate() Makes this cache the active application cache for this group. Future loads associated with this group will come from this cache. Other caches from this cache group will be deactivated. void activate(); Parameters
None. addNamespaces() Add a set of namespace entries to the application cache. void addNamespaces( in nsIArray namespaces ); Parameters namespaces An nsIArray of nsIApplicationCacheNamespace objects describing the namespaces to add to the cache. discard() Discards this application cache. This removes all resources it has cached. If this is the active application cache for the group, the group is ...
...ace entries to the application cache. void addNamespaces( in nsIArray namespaces ); Parameters namespaces An nsIArray of nsIApplicationCacheNamespace objects describing the namespaces to add to the cache. discard() Discards this application cache. This removes all resources it has cached. If this is the active application cache for the group, the group is removed. void discard(); Parameters
None. gatherEntries() Returns a list of entries in the cache whose type matches one or more of the specified types. void gatherEntries( in PRUint32 typeBits, out unsigned long count, [array, size_is(count)] out string keys ); Parameters typeBits A bit field indicating the types against which to match. See Constants for a list of types. count On return, indicates how many matching entries were ...
nsIApplicationCacheChannel
The default value is false. This attribute will not be transferred through a redirect. Exceptions thrown NS_ERROR_ALREADY_OPENED If set after calling AsyncOpen() on the channel. inheritApplicationCache boolean true if the channel will ask its notification callbacks for an application cache if one is not explicitly provided. The default value is ...
...his value may be false even if the resource is assigned to an application cache if, for example, it was loaded as a fallback. Read only. Methods markOfflineCacheEntryAsForeign() A shortcut method to mark the cache item of this channel as 'foreign'. See the 'cache selection algorithm' and CACHE_SELECTION_RELOAD action handling in nsContentSink. void markOfflineCacheEntryAsForeign(); Parameters
None. See also Offline resources in Firefox nsIApplicationCache nsIApplicationCacheContainer nsIApplicationCacheService nsIApplicationCacheNamespace nsIDOMOfflineResourceList ...
nsIAutoCompleteInput
arch begins. Methods getSearchAt() Returns the name of one of the autocomplete search session objects. ACString getSearchAt( in unsigned long index ); Parameters index The index number of the search session object whose name is to be returned. Return value The name of the specified object. onSearchBegin() Called when the search starts. void onSearchBegin(); Parameters
None. onSearchComplete() Called when the search ends successfully. void onSearchComplete(); Parameters
None. onTextEntered() Called when the user selects and presses enter on a result item. boolean onTextEntered(); Parameters
None. Return value Return true to prevent handling the selection. onTextReverted() Called when the user cancels the autocomplete session. boolean onTextReverted(); Parameters ...
...Return value Return true to prevent the reversion. selectTextRange() Selects a range of text in the autocomplete text field. void selectTextRange( in long startIndex, in long endIndex ); Parameters startIndex The index to the first character in the text field to select. ...
nsICRLManager
ED 2 Methods computeNextAutoUpdateTime() wstring computeNextAutoUpdateTime( in nsICRLInfo info, in unsigned long autoUpdateType, in double noOfDays ); Parameters info autoUpdateType noOfDays Return value deleteCrl() Delete the crl. void deleteCrl( in unsigned long crlIndex ); Parameters crlIndex getCrls() Get a list of Crl entries in the DB. nsIArray getCrls(); Parameters
None. Return value importCrl() Import a CRL into the certificate database. void importCrl( [array, size_is(length)] in octet data, in unsigned long length, in nsIURI uri, in unsigned long type, in boolean doSilentDownload, in wstring crlKey ); Parameters data length uri type doSilentDownload crlKey rescheduleCRLAutoUpdate() This would reschedule the autoupdate of crls with auto u...
...ate database. void importCrl( [array, size_is(length)] in octet data, in unsigned long length, in nsIURI uri, in unsigned long type, in boolean doSilentDownload, in wstring crlKey ); Parameters data length uri type doSilentDownload crlKey rescheduleCRLAutoUpdate() This would reschedule the autoupdate of crls with auto update enable. void rescheduleCRLAutoUpdate(); Parameters
None. updateCRLFromURL() Update an existing crl from the last fetched url. Needed for the update button in crl manager. boolean updateCRLFromURL( in wstring url, in wstring key ); Parameters url key Return value ...
nsICache
ACCESS_READ 1 ACCESS REQUESTED - I only want to READ, if there isn't an entry just fail. ...
...om this descriptor. ACCESS_WRITE 2 ACCESS REQUESTED - I have something new I want to WRITE into the cache, make me a new entry and doom the old one, if any. ACCESS GRANTED - You must WRITE to this descriptor because the cache entry was just created for you. ACCESS_READ_WRITE 3 ACCESS REQUESTED - I want to READ, but I'm willing to update an existing entry if necessary, or create a new one if
none exists. ACCESS GRANTED - You can READ the descriptor to determine if it's valid, you may WRITE if it needs updating. STORE_ANYWHERE 0 The storage policy of a cache entry determines the device(s) to which it belongs. See nsICacheSession and nsICacheEntryDescriptor for more details. Allows the cache entry to be stored in any device. The cache service decides which cache device to use based on "s...
nsIChromeRegistry
Converts a chrome URL into a canonical representation by ensuring that the filename portion of the URL is included, as in chrome://package/provider/f...
...r/package.ext. The extension, ext, is one of: xul For a "content" package. css For a "skin" package. dtd For a "locale" package. void canonify( in nsIURI aChromeURL ); Parameters aChromeURL The URL that is to be canonified. checkForNewChrome() Refreshes the chrome list at runtime, looking for new packages and so forth. void checkForNewChrome(); Parameters
None. convertChromeURL() Resolves a chrome URL to an loadable URI using the information in the registry. A new nsIURI is returned; the original is left unmodified. This lets you take a non-canonical chrome URI, such as chrome://package/provider/file, and convert it into a canonical one. This is useful because chrome URLs are allowed to be specified in "shorthand", leaving the "file" portion off. In th...
nsIComponentRegistrar
D The ContractID to be queried. Return value The ClassID corresponding to aContractID if one exists and is registered. enumerateCIDs() This method returns an enumerator over the list of registered ClassIDs. Elements of the enumeration can be QueryInterfaced for the nsISupportsID interface. From the nsISupportsID, you can obtain the actual ClassID. nsISimpleEnumerator enumerateCIDs(); Parameters
None. Return value An nsISimpleEnumerator over the list of registered classes. Elements of the enumerator implement nsISupportsID. enumerateContractIDs() This method returns an enumerator over the list of registered ContractIDs. Elements of the enumeration can be QueryInterfaced for the nsISupportsCString interface. From the nsISupportsCString interface, you can obtain the actual ContractID string. ns...
... registered classes. Elements of the enumerator implement nsISupportsID. enumerateContractIDs() This method returns an enumerator over the list of registered ContractIDs. Elements of the enumeration can be QueryInterfaced for the nsISupportsCString interface. From the nsISupportsCString interface, you can obtain the actual ContractID string. nsISimpleEnumerator enumerateContractIDs(); Parameters
None. Return value An nsISimpleEnumerator over the list of registered classes. Elements of the enumerator implement nsISupportsCString. isCIDRegistered() This method is used to test for the existence of a specific ClassID. boolean isCIDRegistered( in nsCIDRef aClass ); Parameters aClass The ClassID to be queried. Return value true if a factory is registered for the ClassID, false otherwise. isCon...
nsIDBFolderInfo
getCharacterSetOverride() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) void getCharacterSetOverride( out boolean characterSetOverride ); Parameters characterSetOverride Missing Description Exceptions thrown Missing Exception Missing Description getCharPtrCharacterSet() string getCharPtrCharacterSet(); Parameters
None. Return value Missing Description Exceptions thrown Missing Exception Missing Description getCharPtrProperty() string getCharPtrProperty( in string propertyName ); Parameters propertyName Missing Description Return value Missing Description Exceptions thrown Missing Exception Missing Description Native code only!getLocale Obsolete since Gecko 1...
...xName Missing Description Exceptions thrown Missing Exception Missing Description getProperty() AString getProperty( in string propertyName ); Parameters propertyName Missing Description Return value Missing Description Exceptions thrown Missing Exception Missing Description GetTransferInfo() nsIDBFolderInfo GetTransferInfo(); Parameters
None. Return value Missing Description Exceptions thrown Missing Exception Missing Description getUint32Property() unsigned long getUint32Property( in string propertyName, in unsigned long defaultValue ); Parameters propertyName Missing Description defaultValue Missing Description Return value Missing Description Exceptions thrown Missing Exce...
nsIDNSService
the listener's onLookupComplete should be called. If this parameter is null, then onLookupComplete will be called on an unspecified thread (possibly recursively). Return value An object that can be used to cancel the host lookup. init() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) Called to initialize the DNS service. void init(); Parameters
None. resolve() Called to synchronously resolve a host name. Warning this method may block the calling thread for a long period of time. It is extremely unwise to call this function on the User Interface thread of an application. nsIDNSRecord resolve( in AUTF8String aHostName, in unsigned long aFlags ); Parameters aHostName The host name or IP-address-literal to resolve. aFlags A...
...lved. shutdown() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) Called to shutdown the DNS service. Any pending asynchronous requests will be canceled, and the local cache of DNS records will be cleared. Note: The operating system may still have its own cache of DNS records, which would be unaffected by this method. void shutdown(); Parameters
None. Example let DnsService = Components.classes["@mozilla.org/network/dns-service;1"] .createInstance(Components.interfaces.nsIDNSService); let Thread = Components.classes["@mozilla.org/thread-manager;1"] .getService(Components.interfaces.nsIThreadManager).currentThread; let host = "www.mozilla.org"; let Listener = { onLookupComplete: function(request, record, stat...
nsIDOMMozNetworkStatsManager
of the data. It can specify wifi, mobile, or null. If null, data measurement from both origins are merged. To know in advance which kind of origin is available, the MozNetworkStatsManager.getAvailableNetworks method returns an Array of interfaces. Return Value An nsIDOMDOMRequest object. clearAllStats() Clears all statistics from the statistics database. void clearAllStats(); Parameters
None. Return Value An nsIDOMDOMRequest object. getAvailableNetworks() Returns available networks that used to be saved in the database. nsIDOMDOMRequest getAvailableNetworks(); Parameters
None. Return Value An nsIDOMDOMRequest object. If successful, the result field of the DOMRequest holds an array of the currently available network interfaces. getAvailableServiceTypes() Returns available s...
... Return Value An nsIDOMDOMRequest object. If successful, the result field of the DOMRequest holds an array of the currently available service types. NetworkStatsAlarmOptions NetworkStatsAlarmOptions is a dictionary object used to filter an alarm request made when calling addAlarm(). ...
nsIDOMNSHTMLDocument
y. Obsolete since Gecko 6.0 Methods captureEvents() Provided for compatibility with Netscape 4.x, but does not actually do anything. void captureEvents( in long eventFlags ); Parameters eventFlags clear() Used to reset a document to blank, but deprecated since Gecko 1.0 and provided for compatibility with Netscape 4.x; use open() and close() instead. void clear(); Parameters
None. execCommand() boolean execCommand( in DOMString commandID, in boolean doShowUI, in DOMString value ); Parameters commandID The name of the command to execute. See Rich-Text Editing in Mozilla for a list of supported commands. doShowUI This is not implemented in Gecko. value Some commands require an argument. You can pass null for those commands that do not need an...
...11) This method never did anything but throw an exception, and was removed entirely in Gecko 14.0 (Firefox 14.0 / Thunderbird 14.0 / SeaMonkey 2.11). boolean execCommandShowHelp( in DOMString commandID ); Parameters commandID The name of the command. Return value This method is not supported and always throws an exception. getSelection() DOMString getSelection(); Parameters
None. Return value The text of the current selection, the same as window.getSelection.toString(). open() nsIDOMDocument open( in ACString aContentType, in boolean aReplace ); Parameters aContentType The content type of the new document. If the type is not supported by the HTML content sink, trying to write to the document will probably throw. aReplace Whether the document should ...
nsIDOMNode
SSING_INSTRUCTION_NODE 7 COMMENT_NODE 8 DOCUMENT_NODE 9 DOCUMENT_TYPE_NODE 10 DOCUMENT_FRAGMENT_NODE 11 NOTATION_NODE 12 Methods appendChild() nsIDOMNode appendChild( in nsIDOMNode newChild ); Parameters newChild Return value cloneNode() nsIDOMNode cloneNode( in boolean deep ); Parameters deep Return value hasAttributes() boolean hasAttributes(); Parameters
None. Return value hasChildNodes() boolean hasChildNodes(); Parameters
None. Return value insertBefore() nsIDOMNode insertBefore( in nsIDOMNode newChild, in nsIDOMNode refChild ); Parameters newChild refChild Return value isSupported() boolean isSupported( in DOMString feature, in DOMString version ); Parameters feature version Return value normalize() void normalize(); Paramet...
...turn value hasChildNodes() boolean hasChildNodes(); Parameters
None. Return value insertBefore() nsIDOMNode insertBefore( in nsIDOMNode newChild, in nsIDOMNode refChild ); Parameters newChild refChild Return value isSupported() boolean isSupported( in DOMString feature, in DOMString version ); Parameters feature version Return value normalize() void normalize(); Parameters
None. removeChild() nsIDOMNode removeChild( in nsIDOMNode oldChild ); Parameters oldChild Return value replaceChild() nsIDOMNode replaceChild( in nsIDOMNode newChild, in nsIDOMNode oldChild ); Parameters newChild oldChild Return value See also Document Object Model (DOM) Level 2 Core SpecificationREC ...
nsIDOMWindow
ods getComputedStyle() See dom-window-getcomputedstyle for details. nsIDOMCSSStyleDeclaration getComputedStyle( in nsIDOMElement elt, in DOMString pseudoElt Optional ); Parameters elt pseudoElt Optional Return value getSelection() Returns the nsISelection object indicating what if any content is currently selected in the window. nsISelection getSelection(); Parameters
None. Return value The nsISelection object for the window. scrollBy() Scrolls the window by a given number of pixels relative to the current scroll position. void scrollBy( in long xScrollDif, in long yScrollDif ); Parameters xScrollDif The number of pixels by which to scroll horizontally. yScrollDif The number of pixels by which to scroll vertically. scrollByLines() Scrolls the wi...
... pages by which to scroll. scrollTo() Scrolls the window to an absolute pixel offset. void scrollTo( in long xScroll, in long yScroll ); Parameters xScroll The horizontal position to which to scroll, in pixels. yScroll The vertical position to which to scroll, in pixels. sizeToContent() Makes the window's size fit the contents of the window. void sizeToContent(); Parameters
None. See also DOM ...
nsIDOMXULElement
the element. tooltip DOMString Gets/sets the value of the element's tooltip attribute. tooltipText DOMString Gets/sets the value of the element's tooltiptext attribute. top DOMString Gets/sets the value of the element's top attribute. width DOMString Gets/sets the value of the element's width attribute. Methods blur() Attempts to remove focus from the element. void blur(); Parameters
None. click() Unless the element is disabled, sends mouse events that simulate the effect of clicking the mouse on the element, then calls the doCommand() method. void click(); Parameters
None. doCommand() Generates and dispatches a basic command event, as if the element was clicked with no keyboard modifiers. void doCommand(); Parameters
None. focus() Attempts to set focus to the element; will not ...
...getElementsByAttribute() Searches the DOM subtree for elements with the given attribute that are not in a namespace. nsIDOMNodeList getElementsByAttribute( in DOMString name, in DOMString value ); Parameters name The name of the attribute to search for. ...
nsIDocumentLoader
void stop(); Attributes Attribute Type Description container nsISupports Read only. documentChannel nsIChannel Read only. loadGroup nsILoadGroup Read only. Methods clearParentDocLoader() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) void clearParentDocLoader(); Parameters
None. createDocumentLoader() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) void createDocumentLoader( out nsIDocumentLoader anInstance ); Parameters anInstance destroy() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) void destroy(); Parameters
None. fireOnLocationChange() ...
... its use is discouraged since it could be removed at any time. Try to avoid using it. void getContentViewerContainer( in nsISupports aDocumentID, out nsIContentViewerContainer aResult ); Parameters aDocumentID aResult getLoadGroup() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) nsILoadGroup getLoadGroup(); Parameters
None. Return value isBusy() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) boolean isBusy(); Parameters
None. Return value stop() void stop(); Parameters
None. ...
nsIEditorIMESupport
e is discouraged since it could be removed at any time. Try to avoid using it. Handles the start of inline input composition. void beginComposition( in nsTextEventReplyPtr aReply ); Parameters aReply endComposition() Obsolete since Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1) Handles the end of inline input composition. void endComposition(); Parameters
None. forceCompositionEnd() Force the composition end. void forceCompositionEnd(); Parameters
None. Native code only!getPreferredIMEState Get preferred IME status of current widget. void getPreferredIMEState( out unsigned long aState ); Parameters aState Native code only!getQueryCaretRect Obsolete since Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)This feature is obsolete. Alt...
...ring( in nsReconversionEventReplyPtr aReply ); Parameters aReply notifyIMEOnBlur() Obsolete since Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. Notify for IME when the editor lost focus. void notifyIMEOnBlur(); Parameters
None. notifyIMEOnFocus() Obsolete since Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. Notify for IME when the editor got focus. void notifyIMEOnFocus(); Parameters
None. Native code only!queryComposition Obsolete since Gecko 2.0 (...
nsIEditorMailSupport
xt); void insertTextWithQuotations(in DOMString aStringToInsert); void pasteAsCitedQuotation(in AString aCitation, in long aSelectionType); void pasteAsQuotation(in long aSelectionType); void rewrap(in boolean aRespectNewlines); void stripCites(); Methods getEmbeddedObjects() Get a list of IMG and OBJECT tags in the current document. nsISupportsArray getEmbeddedObjects(); Parameters
None. Return value An nsISupportsArray containing the IMG and OBJECT tags of the current document. insertAsCitedQuotation() Insert a string as quoted text (whose representation is dependent on the editor type), replacing the selected text (if any), including, if possible, a "cite" attribute. nsIDOMNode insertAsCitedQuotation( in AString aQuotedText, in AString aCitation, in boolean aInsertHTML )...
...if any). void pasteAsQuotation( in long aSelectionType ); Parameters aSelectionType Text or html? rewrap() Rewrap the selected part of the document, re-quoting if necessary. void rewrap( in boolean aRespectNewlines ); Parameters aRespectNewlines Try to maintain newlines in the original? stripCites() Strip any citations in the selected part of the document. void stripCites(); Parameters
None. ...
nsIEventListenerInfo
vent listener is in capture mode. Read only. inSystemEventGroup boolean Indicates whether or not the event listener is in the system event group. Read only. type AString The type of the event for which the listener was added. Read only. Methods getDebugObject() Returns the debugger object if the debug service is active. nsISupports getDebugObject(); Parameters
None. Return value If jsdIDebuggerService is active and the listener is implemented in JS, this returns the listener as a jsdIValue. Otherwise null. This is the method you should use if you want to get access to the actual listener, but the debugger service must be already active, which significantly slows down script execution. Accordingly, this should probably only be used by real debuggers. This ap...
...h significantly slows down script execution. Accordingly, this should probably only be used by real debuggers. This approach is necessary because event listeners added with addEventListener won't necessarily be nsIEventListeners; the DOM code will fix up ordinary JavaScript functions to act as listeners. toSource() Tries to serialize the event listener to a string. AString toSource(); Parameters
None. Return value Returns a string describing the event listener, or null if serialization isn't possible (for example, if the listener was written in C++). Remarks nsIEventListenerInfo was introduced with bug 448602. See also nsIEventListenerService nsIEventTarget ...
nsIInputStream
ons automatically close() when end-of-file is reached; others do not. Note: This method should not be used to determine the total size of a stream, even if the stream corresponds to a local file. Moreover, since a stream may make available more than 2^32 bytes of data, this method is incapable of expressing the entire size of the underlying data source. unsigned long available(); Parameters
None. Return value Number of bytes currently available in the stream, or PR_UINT32_MAX if the size of the stream exceeds PR_UINT32_MAX. Exceptions thrown <other-error> If the stream is closed due to some error condition. NS_BASE_STREAM_CLOSED If the stream is closed normally. close() Close the stream. This method causes subsequent calls to read() and readSegments() to return 0 bytes read t...
...ions thrown <other-error> If the stream is closed due to some error condition. NS_BASE_STREAM_CLOSED If the stream is closed normally. close() Close the stream. This method causes subsequent calls to read() and readSegments() to return 0 bytes read to indicate end-of-file. Note: The close method may be called more than once, but subsequent calls are ignored. void close(); Parameters
None. isNonBlocking() boolean isNonBlocking(); Parameters
None. Return value true if stream is non-blocking. Native code only!read This method copies data from the stream into a buffer. unsigned long read( in charPtr aBuf, in unsigned long aCount ); Parameters aBuf The buffer into which the data from the stream is copied. aCount The size of the buffer, or the maximum number of by...
nsIJumpListBuilder
r frequent lists should keep document use tracking up to date by calling the SHAddToRecentDocs shell api. JUMPLIST_CATEGORY_CUSTOMLIST 3 Custom lists can be made up of tasks, links, and separators. The title of of the list is passed through the optional string parameter of addBuildList. Methods abortListBuild() Aborts and clears the current jump list build. void abortListBuild(); Parameters
None. addListToBuild() Adds a list and if required, a set of items for the list. boolean addListToBuild( in short aCatType, in nsIArray items, Optional in AString catName Optional ); Parameters aCatType The type of list to add. items Optional An array of nsIJumpListItem items to add to the list. catName Optional For custom lists, the title of the list. Return value true if the operation compl...
...value true if the operation completed successfully. Exceptions thrown NS_ERROR_UNEXPECTED On internal errors. NS_ERROR_ILLEGAL_VALUE If an item is added that was removed since the last commit. NS_ERROR_INVALID_ARG If incorrect parameters are passed for a particular category or item type. commitListBuild() Commits the current jump list build to the Taskbar. boolean commitListBuild(); Parameters
None. Return value true if the operation completed successfully. deleteActiveList() Deletes any currently applied taskbar jump list for this application. Common uses would be the enabling of a privacy mode and uninstallation. boolean deleteActiveList(); Parameters
None. Return value true if the operation completed successfully. Exceptions thrown NS_ERROR_UNEXPECTED On internal errors. initListBuild...
nsILocalFile
g filePath ); Parameters filePath A string that specifies a platform-specific, full path to a file or directory. Exceptions thrown NS_ERROR_FILE_UNRECOGNIZED_PATH Indicates that FilePath is not an absolute file path or that it contains characters that are invalid for the filesystem. launch() Requests that the operating system attempt to open this file. void launch(); Parameters
None. Native code only! load Returns the result of PR_LoadLibrary() on the file. The caller is responsible for calling PR_UnloadLibrary() on the result. PRLibraryStar load(); Parameters
None. Return value A pointer to a PRLibrary. Example #include "prlink.h" #include "nsError.h" #include "nsILocalFile.h" // Load the DLL corresponding to the given nsILocalFile... nsresult LoadDLL(nsIL...
...sizeof(buf))) > 0) { // Do something with n-byte block of data from file... } if (n < 0) rv = NS_ERROR_UNEXPECTED; PR_Close(fd); return rv; } reveal() Ask the operating system to open the folder which contains this file or folder. This routine only works on platforms which support the ability to open a folder. See the note in the remarks below. void reveal(); Parameters
None. setRelativeDescriptor() Initializes the file to the location relative to fromFile using a string returned by getRelativeDescriptor(). void setRelativeDescriptor( in nsILocalFile fromFile, in ACString relativeDesc ); Parameters fromFile The file to which the descriptor is relative. relativeDesc The relative descriptor obtained from getRelativeDescriptor(). Remarks The methods in...
nsILocaleService
LocaleObject(in nsILocaleDefinition localeDefinition); Obsolete since Gecko 1.9 Methods getApplicationLocale() Gets the user preference for locale from the operating system. Note: This has nothing to do with the locale used for localization of the application (UI text strings and so on.). This method returns something similar to getSystemLocale. nsILocale getApplicationLocale(); Parameters
None. Return value The user's OS setting for preferred locale. getLocaleComponentForUserAgent() Gets the user preference for locale from the operating system. Note: This has nothing to do with any HTTP User-Agent. This method returns the same as getSystemLocale.getCategory("NSILOCALE_MESSAGES"). AString getLocaleComponentForUserAgent(); Parameters
None. Return value The user's OS setting for preferre...
...ale preferences. nsILocale getLocaleFromAcceptLanguage( in string acceptLanguage ); Parameters acceptLanguage Locale preference in the same format as the Accept-Language HTTP header. Return value The most preferred locale according to the acceptLanguage parameter. getSystemLocale() Gets the user preference for locale from the operating system. nsILocale getSystemLocale(); Parameters
None. Return value The user's OS setting for preferred locale. newLocale() Create a new nsILocale from a locale string. nsILocale newLocale( in AString aLocale ); Parameters aLocale A locale code as described in nsILocale. Return value A nsILocale representing the given locale. newLocaleObject() Obsolete since Gecko 1.9 (Firefox 3) nsILocale newLocaleObject( in...
nsILoginManagerStorage
se login saving status should be returned. This string will be in the origin URL format, without a pathname. For example, "http://mozilla.com". Return value Return true if login saving is enabled for the specified host; otherwise, return false. init() Implement this method to initialize the component. This is not called automatically; you must call it yourself if needed. void init(); Parameters
None. initWithFile() Implement this method to initialize the component, overriding the default filename locations with those specified. This method is primarily used for unit tests and during profile migration. void initWithFile( in nsIFile aInputFile, in nsIFile aOutputFile ); Parameters aInputFile The file from which to read stored logins. aOutputFile The file to which to write stored logins, ...
...lLogins() Implement this method to remove all logins from the login store. This is called by the browser sanitization feature when the user asks to clear all stored passwords. The user interface allows this to be done without getting each login first (which might require knowing the master password). No password should be required in order to remove all logins. void removeAllLogins(); Parameters
None. removeLogin() Implement this method to remove the specified login from the login store. Gecko 1.9.1 note The values of any nsILoginMetaInfo properties are ignored. void removeLogin( in nsILoginInfo aLogin ); Parameters aLogin The login to remove from the login store. A login must match completely (except for its nsILoginMetaInfo data) to be removed. searchLogins() Implement this to se...
nsIMsgDBViewCommandUpdater
ater (for the threadpane message window) nsMsgSearchCommandUpdater (for search dialogs) Method overview void updateCommandStatus(); void displayMessageChanged(in nsIMsgFolder aFolder, in AString aSubject, in ACString aKeywords); void updateNextMessageAfterDelete(); Methods updateCommandStatus() Called when the number of selected items changes. void updateCommandStatus(); Parameters
None. displayMessageChanged() Called when the displayed message has changed. void displayMessageChanged(in nsIMsgFolder aFolder, in AString aSubject, in ACString aKeywords ); Parameters aFolder The folder containing selected message. aSubject The subject of the selected message. aKeywords Keywords associated with the selected message. updateNextMessageAfterDelete() Allows the backend to te...
... ...
nsIMsgFolder
ly offlineStoreInputStream nsIInputStream readonly retentionSettings nsIMsgRetentionSettings downloadSettings nsIMsgDownloadSettings sortOrder long Used for order in the folder pane, folder pickers, etc. lastMessageLoaded nsMsgKey Unique ID to the folder, it is not a globally unique identifier. Will return nsMsgKey_
None if there was no last message loaded. Note: Does not persist across sessions. URI ACString Readonly: Old nsIFolder properties and methods. name AString Old nsIFolder properties and methods. prettyName AString Old nsIFolder properties and methods. abbreviatedName AString Readonly: Old nsIFolder properties and methods. par...
...ct boolean readonly: rootFolder nsIMsgFolder Readonly: The phantom server folder. Constants Constant Value Description nsMsgBiffState_NewMail 0 User has new mail waiting. nsMsgBiffState_NoMail 1 No new mail is waiting. nsMsgBiffState_Unknown 2 We dunno whether there is new mail. nsMsgDispositionState_
None -1 nsMsgDispositionState_Replied 0 nsMsgDispositionState_Forwarded 1 allMessageCountNotifications 0 Turn notifications on/off for various notification types. Currently only supporting allMessageCountNotifications which refers to both total and unread message counts. Methods startFolderLoading() void startFolderLoading(); endFolderL...
nsINavBookmarksService
rtain parts of the UI will not get updated and any changes to bookmarks will not get written to disk. From C++ code inside the places component, use nsBookmarksUpdateBatcher defined in nsNavBookmarks.h to scope batches. For JS or from other components, just please be very careful to close the batch, especially when encountering an error and returning early. void beginUpdateBatch(); Parameters
None. changeBookmarkURI() This method changes the bookmarked URI for a bookmark. It changes which "place" the bookmark points at, which means all annotations, and so on are carried along. void changeBookmarkURI( in nsIURI oldURI, Obsolete since Gecko 1.9 in long long aItemId, in nsIURI aNewURI ); Parameters oldURI Obsolete since Gecko 1.9 The URI of the item to be changed. aItemId Th...
... The index to insert at, or DEFAULT_INDEX to append to the end of the list. Return value Returns the ID of the newly-inserted folder. endUpdateBatch() Obsolete since Gecko 1.9 (Firefox 3) Causes observers to be notified of an endUpdateBatch when a batch is done changing. Should match beginUpdateBatch() or bad things will happen. void endUpdateBatch(); Parameters
None. exportBookmarksHTML() Obsolete since Gecko 1.9 (Firefox 3) Saves the current bookmarks hierarchy to a bookmarks.html file. void exportBookmarksHTML( in nsIFile file ); Parameters file The nsIFile to export the bookmarks to. getBookmarkedURIFor() This method is used to see if the given URI is bookmarked, or any page that redirected to it is bookmarked. For ...
nsINavHistoryObserver
cko 1.9.1 void onBeforeDeleteURI( in nsIURI aURI, in ACString aGUID ); Parameters aURI The URI of the page about to be deleted. aGUID The unique ID associated with the page. onBeginUpdateBatch() Notifies you that a batch of things are about to change. You should avoid doing any heavy-duty processing until onEndUpdateBatch() is called. void onBeginUpdateBatch(); Parameters
None. onClearHistory() Called just prior to all of history being cleared. void onClearHistory(); Parameters
None. onDeleteURI() The specified page and all its visits has been deleted. Delete notifications are not quite 100% accurate. Batch delete operations take place in two steps; the notifications come first, followed by a bulk delete. If an error occurs in between these two steps (for example, an ...
...roseconds that has been expired. We guarantee that we do not have any visit older than this date. aGUID The unique ID associated with the page. onEndUpdateBatch() Called once a batch of updates is completed. Once this has been called, you can perform processing, user interface updates, and so forth. This is called sometime after onBeginUpdateBatch(). void onEndUpdateBatch(); Parameters
None. onPageChanged() Some attribute on the specified page has changed. Note that for TYPED and HIDDEN pages, the page might not actually have been added yet. This needs to be clarified; what are TYPED and HIDDEN? void onPageChanged( in nsIURI aURI, in unsigned long aWhat, in AString aValue ); Parameters aURI The URI of the page on which an attribute changed. aWhat The attribut...
nsINavHistoryQueryOptions
The sorting annotation to use; see Sorting methods for possible values. Constants Sorting methods You can ask for the results to be pre-sorted. Since the DB has indices of many items, it can produce sorted results almost for free. Note: re-sorting is slower, as is sorting by title or when you have a host name. Constant Value Description SORT_BY_
NONE 0 For bookmark items, this constant means sort by the natural bookmark order. SORT_BY_TITLE_ASCENDING 1 Sort by the ascending title order. SORT_BY_TITLE_DESCENDING 2 Sort by the descending title order. SORT_BY_DATE_ASCENDING 3 Sort by the ascending date order. SORT_BY_DATE_DESCENDING ...
... REDIRECTS_MODE_SOURCE 1 Include redirected-from pages but not redirected-to pages in the results. REDIRECTS_MODE_TARGET 2 Include redirected-to pages but not redirected-from pages in the results. Methods clone() This method creates a new options item with the same parameters of this one. nsINavHistoryQueryOptions clone(); Parameters
None. Return value Returns the newly created cloned options. See also Places Using the Places history service Places query URIs Querying Places nsINavHistoryService ...
nsIRadioInterfaceLayer
er Missing Description Exceptions thrown Missing Exception Missing Description enumerateCalls() Will continue calling callback.enumerateCallState until the callback returns false. void enumerateCalls( in nsIRILTelephonyCallback callback ); Parameters callback Missing Description Exceptions thrown Missing Exception Missing Description getDataCallList() void getDataCallList(); Parameters
None. Exceptions thrown Missing Exception Missing Description getNumberOfMessagesForText() Returns the number of multi-part SMS needed for a given text (160 characters for one SMS). unsigned short getNumberOfMessagesForText( in DOMString text ); Parameters text The body text of an SMS. Return value Unsigned short. Number of SMS needed. hangUp() void hangUp( in unsigned long callIndex ); Para...
... Description apn Missing Description user Missing Description passwd Missing Description chappap Missing Description pdptype Missing Description Exceptions thrown Missing Exception Missing Description startTone() void startTone( in DOMString dtmfChar ); Parameters dtmfChar Missing Description Exceptions thrown Missing Exception Missing Description stopTone() void stopTone(); Parameters
None. Exceptions thrown Missing Exception Missing Description unregisterCallback() void unregisterCallback( in nsIRILTelephonyCallback callback ); Parameters callback Missing Description Exceptions thrown Missing Exception Missing Description unregisterDataCallCallback() void unregisterDataCallCallback( in nsIRILDataCallback callback ); Parameters callback Missing Description Exceptions ...
nsIRequest
ill make the request no longer be pending. Requests do not necessarily start out pending; in some cases, requests have to be explicitly initiated (for example nsIChannel implementations are only pending once asyncOpen returns successfully). Requests can become pending multiple times during their lifetime. Note: Suspended requests are still considered pending. boolean isPending(); Parameters
None. Return value true if the request has yet to reach completion. resume() Resumes the current request. This may have the effect of re-opening any underlying transport and will resume the delivery of data to any open streams. void resume(); Parameters
None. suspend() Suspends the current request. This may have the effect of closing any underlying transport (in order to free up resources), ...
...ansport is resumed. Calling cancel() on a suspended request must not send any notifications (such as onstopRequest) until the request is resumed. Note: Some implementations are unable to immediately suspend, and may continue to deliver events already posted to an event queue. In general, callers should be capable of handling events even after suspending a request. void suspend(); Parameters
None. ...
nsIScriptableIO
hPath(), or any object implementing the nsIFile interface. nsITransport: A transport object such as a socket. nsIInputStream: A stream returned by a previous call to this method, or any other object that implements nsIInputStream. string: A string from which to read data. aMode A space-delineated string of mode terms controlling the manner in which the stream is accessed. If
none of these modes are desired, specify an empty string. text: Read Unicode-converted text. The default character set is UTF-8; to read text in another character set, set the aCharSet argument to the desired character set. buffered: A stream that uses a buffer to hold a block of the next piece of the data to be read. This mode is generally used as a wrapper for other streams. By default, the bu...
...object returned by getFile() or getFileWithPath(), or any object implementing the nsIFile interface. nsITransport: A transport object such as a socket. nsIOutputStream: A stream returned by a previous call to this method, or any other object that implements nsIOutputStream. aMode A space-delineated string of mode terms controlling the manner in which the stream is accessed. If
none of these modes are desired, specify an empty string. text: Write Unicode-converted text. The default character set is UTF-8; to write text in another character set, set the aCharSet argument to the desired character set. buffered: A stream that buffers the data being written. This mode is generally used as a wrapper for other streams. By default, the buffer size is 1024 bytes; however, the ...
nsISelection
om,nostdcall] boolean collapsed(); Native code only!collapseNative void collapseNative( in nsINode parentNode, in long offset ); Parameters parentNode offset collapseToEnd() Collapses the whole selection to a single point at the end of the current selection (regardless of direction). If content is focused and editable, the caret will blink there. void collapseToEnd(); Parameters
None collapseToStart() Collapses the whole selection to a single point at the start of the current selection (regardless of direction). If content is focused and editable, the caret will blink there. void collapseToStart(); containsNode() Indicates whether the nsIDOMNode is part of the selection. If partlyContained is set to PR_TRUE, the function returns true when some part of the node is part of the...
... "extend()" leaves the start of the selection unchanged, and applies movement direction/granularity to the end of the selection. direction Can be one of { "forward", "backward", "left", "right" } granularity Can be one of { "character", "word", "line", "lineboundary" } removeAllRanges() Removes all nsIDOMRanges from the current selection. void removeAllRanges(); Parameters
None removeRange() Removes a range from the current selection. void removeRange( in nsIDOMRange range ); Parameters range selectAllChildren() Adds all children of the specified node to the selection. void selectAllChildren( in nsIDOMNode parentNode ); Parameters parentNode The parent of the children to be added to the selection. selectionLanguageChange() Modifies the cursor Bidi ...
nsIServerSocket
; Parameters aListener The listener to be notified when client connections are accepted. close() This method closes a server socket. This does not affect already connected client sockets (i.e., the nsISocketTransport instances created from this server socket). This will cause the onStopListening event to asynchronously fire with a status of NS_BINDING_ABORTED. void close(); Parameters
None. Native code only!getAddress Returns the address to which this server socket is bound. Since a server socket may be bound to multiple network devices, this address may not necessarily be specific to a single network device. In the case of an IP socket, the IP address field would be zeroed out to indicate a server socket bound to all network devices. Therefore, this method cannot be used to det...
...etwork devices, this address may not necessarily be specific to a single network device. In the case of an IP socket, the IP address field would be zeroed out to indicate a server socket bound to all network devices. Therefore, this method cannot be used to determine the IP address of the local system. See nsIDNSService.myHostName() if this is what you need. PRNetAddr getAddress(); Parameters
None. Return value The network address to which the socket is bound. init() Initializes a server socket. void init( in long aPort, in boolean aLoopbackOnly, in long aBackLog ); Parameters aPort The port of the server socket. Pass -1 to indicate no preference, and a port will be selected automatically. aLoopbackOnly If true, the server socket will only respond to connections on the l...
nsISimpleEnumerator
verview nsISupports getNext(); boolean hasMoreElements(); Methods getNext() Called to retrieve the next element in the enumerator. The "next" element is the first element upon the first call. Must be preceded by a call to hasMoreElements() which returns PR_TRUE. This method is generally called within a loop to iterate over the elements in the enumerator. nsISupports getNext(); Parameters
None. Return value NS_OK if the call succeeded in returning a non-null value through the out parameter. NS_ERROR_FAILURE if there are no more elements to enumerate. hasMoreElements() Called to determine whether or not the enumerator has any elements that can be returned via getNext(). This method is generally used to determine whether or not to initiate or continue iteration over the enumerator, thoug...
...ements to enumerate. hasMoreElements() Called to determine whether or not the enumerator has any elements that can be returned via getNext(). This method is generally used to determine whether or not to initiate or continue iteration over the enumerator, though it can be called without subsequent getNext() calls. Does not affect internal state of enumerator. boolean hasMoreElements(); Parameters
None. Return value PR_TRUE if there are remaining elements in the enumerator. PR_FALSE if there are no more elements in the enumerator. Remarks This interface was frozen for Gecko 0.9.6. See bug 154047 for details. From Gecko 2.0 interfaces are no longer frozen. See also Code example of nsISimpleEnumerator ...
nsISocketTransport
ag is set. DISABLE_IPV6 2 When this flag is set, the socket will ignore any IPv6 addresses the host may offer and will only attempt to connect to IPv4 addresses. Methods Native code only!getPeerAddr Returns the IP address of the socket connection peer. This attribute is defined only once a connection has been established. PRNetAddr getPeerAddr(); Parameters
None. Return value An PRNetAddr containing the resolved IP address. Native code only!getSelfAddr Returns the IP address of the initiating end. This attribute is defined only once a connection has been established. PRNetAddr getSelfAddr(); Parameters
None. Return value An PRNetAddr containing the resolved IP address. getTimeout() Retrieves a Socket timeout. unsigned long getTimeout( in unsigned long...
...n unsigned long aType ); Parameters aType The timeout type, who's associated value should be retrieved. Can be one of the constants TIMEOUT_CONNECT or TIMEOUT_READ_WRITE. Return value Returns the timeout in seconds for the given Type. A value of PR_UINT32_MAX is equivalent to no timeout. isAlive() Test if this socket transport is (still) connected. boolean isAlive(); Parameters
None. Return value Returns true if the socket is connected. Otherwise false. setTimeout() Sets a Socket timeout. void setTimeout( in unsigned long aType, in unsigned long aValue ); Parameters aType The timeout type which should be set to aValue. Can be one of the constants TIMEOUT_CONNECT or TIMEOUT_READ_WRITE. aValue Defines the timeout in seconds, pass PR_UINT32_MAX...
nsISocketTransportService
f no proxy should be used. For more details on communicating information about proxies like SOCKS (which are transparent to upper protocols), see nsIProxiedProtocolHandler , nsIProtocolProxyService or Proxies in Necko. Return value An nsISocketTransport containing the SocketTransport. init() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) void init(); Parameters
None. Native code only! notifyWhenCanAttachSocket If the number of sockets reaches the limit, then consumers can be notified when the number of sockets becomes less than the limit. The notification is asynchronous, delivered via the given nsIRunnable instance on the socket transport thread. Note: This function may only be called from an event dispatch on the socket thread. void notifyWhenCanAtta...
...nce on the socket transport thread. Note: This function may only be called from an event dispatch on the socket thread. void notifyWhenCanAttachSocket( in nsIRunnable aEvent ); Parameters aEvent Event that will receive the notification when a new socket can be attached. shutdown() Obsolete since Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) void shutdown(); Parameters
None. Example // at first, we need a nsISocketTransportService .... var transportService = Components.classes["@mozilla.org/network/socket-transport-service;1"] .getService(Components.interfaces.nsISocketTransportService); // ... then it is time to create the transport. It will connect to ... // ... mozilla.org:2000 with TLS support and default proxy settings var socket = transport...
nsIStringEnumerator
ecko 1.7 Method overview AString getNext(); boolean hasMore(); Methods getNext() Called to retrieve the next string in the enumerator. The "next" element is the first string upon the first call. Must be preceded by a call to hasMoreElements() which returns PR_TRUE. This method is generally called within a loop to iterate over the strings in the enumerator. AString getNext(); Parameters
None. Return value The next string in the enumerator. Throws an exception if there are no more strings. hasMore() Called to determine whether or not the enumerator has any strings that can be returned via getNext(). This method is generally used to determine whether or not to initiate or continue iteration over the enumerator, though it can be called without subsequent getNext() calls. Does not affect...
...ception if there are no more strings. hasMore() Called to determine whether or not the enumerator has any strings that can be returned via getNext(). This method is generally used to determine whether or not to initiate or continue iteration over the enumerator, though it can be called without subsequent getNext() calls. Does not affect internal state of enumerator. boolean hasMore(); Parameters
None. Return value True if there are remaining strings in the enumerator. False if there are no more strings in the enumerator. ...
nsISupports
efcnt AddRef();Violates the XPCOM interface guidelines void QueryInterface(in nsIIDRef uuid, [iid_is(uuid),retval] out nsQIResult result); nsrefcnt Release();Violates the XPCOM interface guidelines Methods Violates the XPCOM interface guidelines AddRef() Notifies the object that an interface pointer has been duplicated. nsrefcnt AddRef(); Parameters
None. Return value An integer value that is generally ignored. QueryInterface() The QueryInterface method provides runtime type discovery. Note: The interface pointer, aResult, returned by QueryInterface must be released by a call to Release() when it is no longer needed. QueryInterface is a symmetric, transitive, and reflexive operator. void QueryInterface( in nsIIDRef uuid, [iid_is(uuid),ret...
...equested interface result The resulting interface pointer. Exceptions thrown NS_ERROR_NO_INTERFACE The requested interface is not available. Violates the XPCOM interface guidelines Release() Notifies the object that an interface pointer has been destroyed and any resources the object held on behalf of the client can be released. nsrefcnt Release(); Parameters
None. Return value An integer value that is generally ignored. Remarks The method descriptions above were taken from Essential COM by Don Box. The point of those descriptions is to highlight the fact that AddRef() and Release() do not necessarily correspond to incrementing and decrementing a counter, respectively, even though that is how they are usually implemented. On Win32 systems, nsISupports is A...
nsITaskbarPreviewController
e backing the drawing context. height The height of the surface backing the drawing context. Note: It's guaranteed that width / height will equal the thumbnailAspectRatio, within the margin of rounding errors. Return value true if you want a frame drawn around the thumbnail, otherwise false. onActivate() Invoked when the user clicks on the tab preview. boolean onActivate(); Parameters
None. Return value true if the top level window corresponding to the preview should be activated, false if activation is not accepted. onClick() Invoked when one of the buttons on the window preview's toolbar is clicked by the user. void onClick( in nsITaskbarPreviewButton button ); Parameters button An nsITaskbarPreviewButton object representing the button that was pressed. This can be c...
...dow preview's toolbar is clicked by the user. void onClick( in nsITaskbarPreviewButton button ); Parameters button An nsITaskbarPreviewButton object representing the button that was pressed. This can be compared to the buttons returned by the nsITaskbarWindowPreview.getButton(). onClose() Invoked when the user presses the close button on the tab preview. void onClose(); Parameters
None. See also nsITaskbarPreview nsITaskbarTabPreview nsITaskbarWindowPreview nsITaskbarPreviewButton nsIWinTaskbar ...
nsIThread
hod call, events for the current thread may continue to be processed. Warning: This method may not be called from the thread itself. Instead, you must only call it from another thread (usually the thread that created it, or the main application thread). When this function returns, the thread will be shut down and will no longer be available to receive events. void shutdown() Parameters
None. Exceptions thrown NS_ERROR_UNEXPECTED shutdown() was erroneously called from within the thread itself, the thread was not created with the Thread Manager's nsIThreadManager.newThread() method, or the thread is already in the process of being shut down. hasPendingEvents() Determines whether or not the thread has events that are ready to be processed. Note: This method must be called from...
...ead itself, the thread was not created with the Thread Manager's nsIThreadManager.newThread() method, or the thread is already in the process of being shut down. hasPendingEvents() Determines whether or not the thread has events that are ready to be processed. Note: This method must be called from within the thread itself, and not from another thread. boolean hasPendingEvents() Parameters
None. Return value true if there are pending events at the time the function was called. Since other threads may add events to the current thread, it's possible that by the time this method returns, the event queue may no longer be empty, even if a false result is reported. Exceptions thrown NS_ERROR_UNEXPECTED The method was called when this thread wasn't the current thread. processNextEvent...
nsITransaction
redoTransaction() methods can be called. If the transient state is true, the transaction manager returns immediately after the transaction's doTransaction() method is called, no references to the transaction are maintained. Transient transactions cannot be undone or redone by the transaction manager. Read only. Methods doTransaction() Executes the transaction. void doTransaction(); Parameters
None. merge() Attempts to merge a transaction into "this" transaction. Both transactions must be in their undo state, doTransaction() methods already called. The transaction manager calls this method to coalesce a new transaction with the transaction on the top of the undo stack. This method returns a boolean value that indicates the merge result. A true value indicates that the transactions were merg...
...ction aTransaction ); Parameters aTransaction The previously executed transaction to merge. Return value Missing Description redoTransaction() Executes the transaction again. Can only be called on a transaction that was previously undone. In most cases, the redoTransaction method will actually call the doTransaction() method to execute the transaction again. void redoTransaction(); Parameters
None. undoTransaction() Restores the state to what it was before the transaction was executed. void undoTransaction(); Parameters
None. See also nsITransactionList nsITransactionListener nsITransactionManager ...
nsITransferable
void addDataFlavor( in string aDataFlavor ); Parameters aDataFlavor A string defining a new data flavor that the transferable supports. flavorsTransferableCanExport() Returns a list of flavors (mime types as nsISupportsCString) that the transferable can export, either through intrinsic knowledge or output data converters. nsISupportsArray flavorsTransferableCanExport(); Parameters
None. Return value Missing Description flavorsTransferableCanImport() Computes a list of flavors (MIME types as nsISupportsCString) that the transferable can accept into it, either through intrinsic knowledge or input data converters. nsISupportsArray flavorsTransferableCanImport(); Parameters
None. Return value Missing Description getAnyTransferData() Returns the best flavor in the transf...
...doc.defaultView.QueryInterface(Ci.nsIInterfaceRequestor) .getInterface(Ci.nsIWebNavigation) .QueryInterface(Ci.nsILoadContext); In C++ callers, if you have the corresponding document, you can just call nsIDocument.GetLoadContext() to get to the load context object. isLargeDataSet() Returns true if the data is large. boolean isLargeDataSet(); Parameters
None. Return value true if the data is large; otherwise, the result is false. removeDataFlavor() Removes the data flavor matching the given one (as determined by a string comparison), along with the corresponding data. void removeDataFlavor( in string aDataFlavor ); Parameters aDataFlavor The data flavor to remove. setTransferData() Sets the data in the transferable with the specified...
nsIUTF8StringEnumerator
anged in Gecko 1.7 Method overview AUTF8String getNext(); boolean hasMore(); Methods getNext() Returns the next string in the enumerator. The "next" element is the first string upon the first call. Must be preceded by a call to hasMore(), which returns PR_TRUE. This method is generally called within a loop to iterate over the strings in the enumerator. AUTF8String getNext(); Parameters
None. Return value The next string in the enumerator. Throws an exception if there are no more strings. hasMore() Reports whether or not the enumerator has any strings that can be returned via getNext(). This method is generally used to determine whether or not to initiate or continue iteration over the enumerator, athough it can be called without subsequent getNext() calls. Calling this method doesn'...
... are no more strings. hasMore() Reports whether or not the enumerator has any strings that can be returned via getNext(). This method is generally used to determine whether or not to initiate or continue iteration over the enumerator, athough it can be called without subsequent getNext() calls. Calling this method doesn't affect the internal state of the enumerator. boolean hasMore(); Parameters
None. Return value true if there are remaining strings in the enumerator, otherwise false. ...
nsIWebBrowserChrome
ases. CHROME_OPENAS_CHROME 2147483648 Represent special cases. CHROME_ALL 4094 Represent special cases. CHROME_REMOTE_WINDOW 1048576 Whether this window should use remote (out-of-process) tabs. Methods destroyBrowserWindow() Asks the implementer to destroy the window associated with this WebBrowser object. void destroyBrowserWindow(); Parameters
None. exitModalEventLoop() Exit a modal event loop if we're in one. The implementation should also exit out of the loop if the window is destroyed. void exitModalEventLoop( in nsresult aStatus ); Parameters aStatus The result code to return from showAsModal(). isWindowModal() Is the window modal (that is, currently executing a modal loop)? boolean isWindowModal(); Parameters
None. Return...
...ue if it's a modal window. setStatus() Called when the status text in the chrome needs to be updated. void setStatus( in unsigned long statusType, in wstring status ); Parameters statusType Indicates what is setting the text. status Status string. null is an acceptable value meaning no status. showAsModal() Shows the window as a modal window. void showAsModal(); Parameters
None. Return Value Note: The function error code returned by this corresponds to the status value specified in exitModalEventLoop. sizeBrowserTo() Tells the chrome to size itself such that the browser will be the specified size. void sizeBrowserTo( in long aCX, in long aCY ); Parameters aCX New width of the browser. aCY New height of the browser. ...
nsIWebBrowserPersist
progress notifications. The object that the embbedder supplies may also implement nsIInterfaceRequestor and be prepared to return nsIAuthPrompt or other interfaces that may be required to download data. result unsigned long Value indicating the success or failure of the persist operation. Read only. Constants Constant Value Description PERSIST_FLAGS_
NONE 0 No special persistence behavior. PERSIST_FLAGS_FROM_CACHE 1 Only use cached data (could result in failure if data is not cached). PERSIST_FLAGS_BYPASS_CACHE 2 Bypass the cached data. PERSIST_FLAGS_IGNORE_REDIRECTED_DATA 4 Ignore any redirected data (usually adverts). PERSIST_FLAGS_IGNORE_IFRAMES 8 Ignore iframe content (usually a...
...NTITIES 32768 Encode HTML4 entities. This includes the basic set, accented letters, Greek letters and certain special markup symbols. Methods cancelSave() Cancels the current operation. The caller is responsible for cleaning up partially written files or directories. This has the same effect as calling cancel with an argument of NS_BINDING_ABORTED. void cancelSave(); Parameters
None. saveChannel() Save a channel to a file. It must not be opened yet. void saveChannel( in nsIChannel aChannel, in nsISupports aFile ); Parameters aChannel The nsIChannel to save to a file. aFile Target local file. This may be a nsILocalFile object or an nsIURI object with a file scheme. saveDocument() Save the specified DOM document to file and optionally all linked files (for ex...
nsIXFormsModelElement
stanceDocument( in DOMString instanceID ); Parameters instanceID The ID of the instance element to be returned. Return value An nsIDOMDocument. Exceptions thrown DOMException If there is no matching instance data. rebuild() Signals the XForms Processor to rebuild any internal data structures used to track computational dependencies within the given XForms Model. void rebuild(); Parameters
None. recalculate() Signals the XForms Processor to perform a full recalculation of the given XForms Model. Note: Script invocation is not necessarily equivalent to performing the recalculate action handler. Though the script is assumed to have modified instance data prior to invoking recalculate, the DOM mutations are not cached. Thus, a full recalculation is necessary to ensure the proper changes ar...
...tion of the given XForms Model. Note: Script invocation is not necessarily equivalent to performing the recalculate action handler. Though the script is assumed to have modified instance data prior to invoking recalculate, the DOM mutations are not cached. Thus, a full recalculation is necessary to ensure the proper changes are effected throughout the XForms Model. void recalculate(); Parameters
None. refresh() Signals the XForms Processor to perform a full refresh of form controls bound to instance nodes for the given XForms Model. void refresh(); Parameters
None. revalidate() Signals the XForms Processor to perform a full revalidation of the given XForms Model. void revalidate(); Parameters
None. See also XForms 1.1REC ...
nsIXSLTProcessor
, in nsIVariant value); nsIDOMDocument transformToDocument(in nsIDOMNode source); nsIDOMDocumentFragment transformToFragment(in nsIDOMNode source, in nsIDOMDocument output); Methods clearParameters() Removes all set parameters from this nsIXSLTProcessor. This will make the processor use the default-value for all parameters as specified in the stylesheet. void clearParameters(); Parameters
None. getParameter() Gets a parameter if previously set by setParameter(). Returns null otherwise. nsIVariant getParameter( in DOMString namespaceURI, in DOMString localName ); Parameters namespaceURI The namespaceURI of the XSLT parameter. localName The local name of the XSLT parameter. Return value An nsIVariant containing the value of the parameter. importStylesheet() Imports the specified s...
...set. This will make the processor use the default-value for the parameter as specified in the stylesheet. void removeParameter( in DOMString namespaceURI, in DOMString localName ); Parameters namespaceURI The namespaceURI of the XSLT parameter. localName The local name of the XSLT parameter. reset() Remove all parameters and stylesheets from this nsIXSLTProcessor. void reset(); Parameters
None. setParameter() Sets a parameter to be used in subsequent transformations with this nsIXSLTProcessor. If the parameter doesn't exist in the stylesheet the parameter will be ignored. void setParameter( in DOMString namespaceURI, in DOMString localName, in nsIVariant value ); Parameters namespaceURI The namespaceURI of the XSLT parameter. localName The local name of the XSLT parameter. valu...
nsIXULWindow
sIXULWindow aChild ); Parameters aChild The child window being added. Native code only!applyChromeFlags Back-door method to force application of chrome flags at a particular time. Do NOT call this unless you know what you are doing! In particular, calling this when this XUL window does not yet have a document in its docshell could cause problems. void applyChromeFlags(); Parameters
None. assumeChromeFlagsAreFrozen() Begin assuming chromeFlags do not change hereafter, and assert if they do change. The state change is one-way and idempotent. void assumeChromeFlagsAreFrozen(); Parameters
None. center() Move the window to a centered position. void center( in nsIXULWindow aRelative, in boolean aScreen, in boolean aAlert ); Parameters aRelative If not null, the wi...
...it has lost a child XUL window. Note that XUL windows do not currently track child XUL windows. void removeChildWindow( in nsIXULWindow aChild ); Parameters aChild The child window being removed. showModal() Shows the window as a modal window. That is, ensures that it is visible and runs a local event loop, exiting only once the window has been closed. void showModal(); Parameters
None. ...
Memory - Plugins
ount of memory in the browser's memory space. NPN_MemFree deallocates a block of memory allocated using NPN_MemAlloc. The plug-in can call the Plug-in API NPN_MemAlloc function instead of the standard malloc function to allocate dynamic memory. Using NPN_MemAlloc offers several advantages to the plug-in. A call to NPN_MemAlloc is more likely to succeed. The browser may be able to deallocate
nonessential memory structures in response to a request. NPN_MemAlloc uses the browser's customized memory-allocation scheme, which is typically faster and causes less fragmentation than the standard OS memory functions. If the plug-in uses NPN_MemAlloc, the browser is able to manage memory more efficiently because it knows how much memory the plug-in is using at any given time. Mac OS The Mac OS...
...ock of memory that was allocated using NPN_MemAlloc only. NPN_MemFree does not free memory allocated by other means. void NPN_MemFree (void *ptr); The ptr parameter represents a block of memory previously allocated using NPN_MemAlloc. Flushing memory (Mac OS only) The NPN_MemFlush method frees a specified amount of memory. Normally, plug-ins should use NPN_MemAlloc, which automatically frees
nonessential memory if necessary to fulfill the request. For Communicator 4.0 and later versions, this function is not necessary for the Mac OS platform; NPN_MemAlloc now performs memory flushing internally. You need to use NPN_MemFlush only when it is not possible to call NPN_MemAlloc, for example, when calling system methods that allocate memory indirectly. If NPN_MemAlloc is called, calls to NPN_Me...
Color vision simulation - Firefox Developer Tools
other disorders of the retina; it can be age-related, congenital, or due to an injury. To enable this feature, you must have webrender enabled; it may be enabled by default, depending on your configuration of Firefox. In the Firefox Configuration Editor, make sure the gfx.webrender.all option is set to true. In the Simulate menu, you can choose one option at a time from the following list:
None -- choose this to return to normal display Protanomaly (low red) Deuteranomaly (low green) Tritanomaly (low blue) Protanopia (no red) Deuteranopia (no green) Tritanopia (no blue) Contrast loss These simulations are not completely medically accurate. However, they can give you a sense of what your web site looks like to users with vision problems, and therefore help you judge whether you...
...ot completely medically accurate. However, they can give you a sense of what your web site looks like to users with vision problems, and therefore help you judge whether you need to make adjustments in your color or contrast choices. ...
AnalyserNode - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/AudioNode" target="_top"><rect x="151" y="1" width="90" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="196" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">AudioNode</text></a><polyline points=...
...E4"/><a xlink:href="/docs/Web/API/AudioNode" target="_top"><rect x="151" y="1" width="90" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="196" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">AudioNode</text></a><polyline points="241,25 251,20 251,30 241,25" stroke="#D4DDE4" fill="
none"/><line x1="251" y1="25" x2="281" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/AnalyserNode" target="_top"><rect x="281" y="1" width="120" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="341" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">AnalyserNode</text></a></svg><...
Attr - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Attr" target="_top"><rect x="266" y="1" width="75" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Attr</text></a></svg></div> a:hov...
CSSPositionValue - Web APIs
the the CSS Typed Object Model API represents values for properties that take a position, for example object-position. Constructor CSSPositionValue.CSSPositionValue() Creates a new CSSPositionValue object. Properties CSSPositionValue.x Returns the item's position along the web page's horizontal axis. CSSPositionValue.y Returns the item's position along the vertical axis. Methods
None. Examples The following example positions a container <div> 5 pixels from the top and 10 pixels from the left of the page. let replacedEl = document.getElementById( 'image' ); let position = new CSSPositionValue( CSS.px(35), CSS.px(40) ); replacedEl.attributeStyleMap.set( 'object-position', position ); console.log( position.x.value, position.y.value ); console.log( replacedEl.computedStyleMa...
...lue( CSS.px(35), CSS.px(40) ); replacedEl.attributeStyleMap.set( 'object-position', position ); console.log( position.x.value, position.y.value ); console.log( replacedEl.computedStyleMap().get('object-position') ); We set the object-position property, then check the values returned. #image { width: 300px; height: 300px; border: 1px solid black; background-color: #dededf; object-fit:
none; } <p>Check the developer tools to see the log in the console and to inspect the style attribute on the image.</p> <img id="image" src="https://udn.realityripple.com/samples/db/4f9fbd7dfb.svg" alt="MDN Logo"/> ...
CharacterData - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/CharacterData" target="_top"><rect x="266" y="1" width="130" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="331" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">CharacterData</text></a></svg...
CompositionEvent - Web APIs
o="xMinYMin meet"><a xlink:href="/docs/Web/API/Event" target="_top"><rect x="1" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="38.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Event</text></a><polyline points="76,25 86,20 86,30 76,25" stroke="#D4DDE4" fill="
none"/><line x1="86" y1="25" x2="116" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="19...
...DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="191,25 201,20 201,30 191,25" stroke="#D4DDE4" fill="
none"/><line x1="201" y1="25" x2="231" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/CompositionEvent" target="_top"><rect x="231" y="1" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="311" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">CompositionEvent</text></a...
CredentialsContainer - Web APIs
Methods CredentialsContainer.create()Secure context Returns a Promise that resolves with a new Credential instance based on the provided options, or null if no Credential object can be created. ...
... Methods CredentialsContainer.create()Secure context Returns a Promise that resolves with a new Credential instance based on the provided options, or null if no Credential object can be created. ...
DirectoryEntrySync - Web APIs
ync getDirectory (in DOMString path, in optional Flags options) raises (FileException); void removeRecursively () raises (FileException); Methods createReader() Creates a new DirectoryReaderSync to read entries from this directory. DirectoryReaderSync createReader ( ) raises (FileException); Returns DirectoryReaderSync Represents a directory in a file system. Parameter
None Exceptions This method can raise a FileException with the following codes: Exception Description NOT_FOUND_ERR The directory does not exist. SECURITY_ERR The browser determined that it was not safe to look up the metadata. [ todo: Explain why ] getFile() Depending on how you've set the options parameter, the method either creates a file or looks ...
... Deletes a directory and all of its contents. You cannot delete the root directory of a file system. If you delete a directory that contains a file that cannot be removed or if an error occurs while the deletion is in progress, some of the contents might not be deleted. Catch these cases with error callbacks and retry the deletion. void removeRecursively ( ) raises (FileException); Parameter
None Returns void Exceptions This method can raise a FileException with the following codes: Exception Description NOT_FOUND_ERR The target directory does not exist. INVALID_STATE_ERR This directory is not longer valid for some reason other than being deleted. [todo: Explain more ] NO_MODIFICATION_ALLOWED_ERR One of the following is not w...
Document: DOMContentLoaded event - Web APIs
The DOMContentLoaded event fires when the initial HTML document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading. Bubbles Yes Cancelable Yes (although specified as a simple event that isn't cancelable) Interface Event Event handler property
None A different event, load, should be used only to detect a fully-loaded page. It is a common mistake to use load where DOMContentLoaded would be more appropriate. Synchronous JavaScript pauses parsing of the DOM. If you want the DOM to get parsed as fast as possible after the user has requested the page, you can make your JavaScript asynchronous and optimize loading of stylesheets. If loaded as usual, stylesheets slow down DOM parsing ...
...d</button> </div> <div class="event-log"> <label>Event log:</label> <textarea readonly class="event-log-contents" rows="8" cols="30"></textarea> </div> CSS body { display: grid; grid-template-areas: "control log"; } .controls { grid-area: control; display: flex; align-items: center; justify-content: center; } .event-log { grid-area: log; } .event-log-contents { resize:
none; } label, button { display: block; } #reload { height: 2rem; } JS const log = document.querySelector('.event-log-contents'); const reload = document.querySelector('#reload'); reload.addEventListener('click', () => { log.textContent =''; window.setTimeout(() => { window.location.reload(true); }, 200); }); window.addEventListener('load', (event) => { log.textContent = l...
Document.cookie - Web APIs
expire, which is not necessarily safe. See Date.toUTCString() for help formatting this value. ;secure Cookie to only be transmitted over secure protocol as https. Before Chrome 52, this flag could appear with cookies from http domains. ;samesite SameSite prevents the browser from sending this cookie along with cross-site requests. Possible values are lax, strict or
none. The lax value value will send the cookie for all same-site requests and top-level navigation GET requests. This is sufficient for user tracking, but it will prevent many CSRF attacks. This is the default value in modern browsers. The strict value will prevent the cookie from being sent by the browser to the target site in all cross-site browsing contexts, even when following a reg...
...value value will send the cookie for all same-site requests and top-level navigation GET requests. This is sufficient for user tracking, but it will prevent many CSRF attacks. This is the default value in modern browsers. The strict value will prevent the cookie from being sent by the browser to the target site in all cross-site browsing contexts, even when following a regular link. The
none value explicitly states no restrictions will be applied. The cookie will be sent in all requests--both cross-site and same-site. The cookie value string can use encodeURIComponent() to ensure that the string does not contain any commas, semicolons, or whitespace (which are disallowed in cookie values). Some user agent implementations support the following cookie prefixes: __...
Element: compositionend event - Web APIs
The compositionend event is fired when a text composition system such as an input method editor completes or cancels the current composition session. For example, this event could be fired after a user finishes entering a Chinese character using a Pinyin IME. ...
..." name="example"> </div> <div class="event-log"> <label>Event log:</label> <textarea readonly class="event-log-contents" rows="8" cols="25"></textarea> <button class="clear-log">Clear</button> </div> CSS body { padding: .2rem; display: grid; grid-template-areas: "control log"; } .control { grid-area: control; } .event-log { grid-area: log; } .event-log-contents { resize:
none; } label, button { display: block; } input[type="text"] { margin: .5rem 0; } kbd { border-radius: 3px; padding: 1px 2px 0; border: 1px solid black; } JS const inputElement = document.querySelector('input[type="text"]'); const log = document.querySelector('.event-log-contents'); const clearLog = document.querySelector('.clear-log'); clearLog.addEventListener('click', () => { ...
Element: compositionstart event - Web APIs
The compositionstart event is fired when a text composition system such as an input method editor starts a new composition session. For example, this event could be fired after a user starts entering a Chinese character using a Pinyin IME. ...
..." name="example"> </div> <div class="event-log"> <label>Event log:</label> <textarea readonly class="event-log-contents" rows="8" cols="25"></textarea> <button class="clear-log">Clear</button> </div> CSS body { padding: .2rem; display: grid; grid-template-areas: "control log"; } .control { grid-area: control; } .event-log { grid-area: log; } .event-log-contents { resize:
none; } label, button { display: block; } input[type="text"] { margin: .5rem 0; } kbd { border-radius: 3px; padding: 1px 2px 0; border: 1px solid black; } JS const inputElement = document.querySelector('input[type="text"]'); const log = document.querySelector('.event-log-contents'); const clearLog = document.querySelector('.clear-log'); clearLog.addEventListener('click', () => { ...
Element: compositionupdate event - Web APIs
onupdate event is fired when a new character is received in the context of a text composition session controlled by a text composition system such as an input method editor. For example, this event could be fired while a user enters a Chinese character using a Pinyin IME. ...
..." name="example"> </div> <div class="event-log"> <label>Event log:</label> <textarea readonly class="event-log-contents" rows="8" cols="25"></textarea> <button class="clear-log">Clear</button> </div> CSS body { padding: .2rem; display: grid; grid-template-areas: "control log"; } .control { grid-area: control; } .event-log { grid-area: log; } .event-log-contents { resize:
none; } label, button { display: block; } input[type="text"] { margin: .5rem 0; } kbd { border-radius: 3px; padding: 1px 2px 0; border: 1px solid black; } JS const inputElement = document.querySelector('input[type="text"]'); const log = document.querySelector('.event-log-contents'); const clearLog = document.querySelector('.clear-log'); clearLog.addEventListener('click', () => { ...
Element.getAttributeNS() - Web APIs
ense. The DOM4 specification now says this method should return null for non-existent attributes. Examples The following SVG document reads the value of the foo attribute in a custom namespace. <svg xmlns="http://www.w3.org/2000/svg" xmlns:test="http://www.example.com/2014/test" width="40" height="40"> <circle id="target" cx="12" cy="12" r="10" stroke="#444" stroke-width="2" fill="
none" test:foo="Hello namespaced attribute!"/> <script type="text/javascript"> var ns = 'http://www.example.com/2014/test'; var circle = document.getElementById( 'target' ); console.log( 'attribute test:foo: "' + circle.getAttributeNS( ns, 'foo' ) + '"' ); </script> </svg> In an HTML5 document the attribute has to be accessed with test:foo since namespaces are not supported. <!DOC...
...cle.getAttributeNS( ns, 'foo' ) + '"' ); </script> </svg> In an HTML5 document the attribute has to be accessed with test:foo since namespaces are not supported. <!DOCTYPE html> <html> <body> <svg xmlns="http://www.w3.org/2000/svg" xmlns:test="http://www.example.com/2014/test" width="40" height="40"> <circle id="target" cx="12" cy="12" r="10" stroke="#444" stroke-width="2" fill="
none" test:foo="Foo value"/> </svg> <script type="text/javascript"> var ns = 'http://www.example.com/2014/test'; var circle = document.getElementById( 'target' ); console.log('Attribute value: ' + circle.getAttribute('test:foo')); </script> </body> </html> Notes Namespaces are only supported in XML documents. HTML5 documents have to use getAttribute() instead. getAttributeNS() differs from ...
Element.scrollWidth - Web APIs
button { margin-bottom: 2em; } </style> </head> <body> <div id="aDiv"> FooBar-FooBar-FooBar-FooBar </div> <button id="aButton"> Check for overflow </button> <div id="anotherDiv"> FooBar-FooBar-FooBar-FooBar </div> <button id="anotherButton"> Check for overflow </button> </body> <script> var butto
nOne = document.getElementById('aButton'), buttonTwo = document.getElementById('anotherButton'), divOne = document.getElementById('aDiv'), divTwo = document.getElementById('anotherDiv'); //check to determine if an overflow is happening function isOverflowing(element) { return (element.scrollWidth > element.offsetWidth); } function alertOverflow(element) { ...
... Working Draft I...
Element - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 ...
...e="#D4DDE4"/><a xlink:href="/docs/Web/API/Node" target="_top"><rect x="151" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="188.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Node</text></a><polyline points="226,25 236,20 236,30 226,25" stroke="#D4DDE4" fill="
none"/><line x1="236" y1="25" x2="266" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/Element" target="_top"><rect x="266" y="1" width="75" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="303.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Element</text></a></svg></div> ...
Event.eventPhase - Web APIs
low is currently being evaluated. Syntax let phase = event.eventPhase; Value Returns an integer value which specifies the current evaluation phase of the event flow. Possible values are listed in Event phase constants. Constants Event phase constants These values describe which phase the event flow is currently being evaluated. Constant Value Description Event.
NONE 0 No event is being processed at this time. Event.CAPTURING_PHASE 1 The event is being propagated through the target's ancestor objects. This process starts with the Window, then Document, then the HTMLHtmlElement, and so on through the elements until the target's parent is reached. Event listeners registered for capture mode when EventTarget.addEventListener() was called are...
...EventListener("click", OnDivClick, true) } else { d.addEventListener("click", OnDivClick, false) d.onmousemove = function () { clear = true } } } } } function OnDivClick(e) { if (clear) { Clear() clear = false } if (e.eventPhase == 2) e.currentTarget.style.backgroundColor = 'red'; let level = e.eventPhase == 0 ? "
none" : e.eventPhase == 1 ? "capturing" : e.eventPhase == 2 ? "target" : e.eventPhase == 3 ? "bubbling" : "error"; divInfo.innerHTML += e.currentTarget.id + "; eventPhase: " + level + "<br/>"; } function Clear() { for (let i = 0; i < divs.length; i++) { if (divs[i].id != "divInfo") { divs[i].style.backgroundColor = (i & 1) ? "#f6eedb" : "#cceeff" } } di...
Using Fetch - Web APIs
s your data further */ }) .catch(error => console.error(error)); Guard Since headers can be sent in requests and received in responses, and have various limitations about what information can and should be mutable, headers objects have a guard property. This is not exposed to the Web, but it affects which mutation operations are allowed on the headers object. Possible guard values are:
none: default. request: guard for a headers object obtained from a request (Request.headers). request-no-cors: guard for a headers object obtained from a request created with Request.mode no-cors. response: guard for a Headers obtained from a response (Response.headers). immutable: Mostly used for ServiceWorkers; renders a headers object read-only. Note: You may not append or set a request guar...
...data much easier than it was with XHR. Request bodies can be set by passing body parameters: const form = new FormData(document.getElementById('login-form')); fetch('/login', { method: 'POST', body: form }); Both request and response (and by extension the fetch() function), will try to intelligently determine the content type. A request will also automatically set a Content-Type header if
none is set in the dictionary. Feature detection Fetch API support can be detected by checking for the existence of Headers, Request, Response or fetch() on the Window or Worker scope. For example: if (window.fetch) { // run my fetch request here } else { // do something with XMLHttpRequest? } Polyfill To use Fetch in unsupported browsers, there is a Fetch Polyfill available that recreates t...
FileEntrySync - Web APIs
s. Basic concepts To write content to file, create a FileWriter object by calling createWriter(). Method overview FileWriterSync createWriter () raises (FileException); File file () raises (FileException); Methods createWriter() Creates a new FileWriter associated with the file that the FileEntry represents. void createWriter ( ) raises (FileException); Parameter
None. Returns FileWriterSync Exceptions This method can raise a FileException with the following codes: Exception Description NOT_FOUND_ERR The file does not exist. INVALID_STATE_ERR The file is no longer valid for some reason other than it having been deleted. file() Returns a File that represents the current state of the file that this FileEntr...
...a FileException with the following codes: Exception Description NOT_FOUND_ERR The file does not exist. INVALID_STATE_ERR The file is no longer valid for some reason other than it having been deleted. file() Returns a File that represents the current state of the file that this FileEntry represents. void file ( ) raises (FileException); Parameter
None. Returns File Exceptions This method can raise a FileException with the following codes: Exception Description NOT_FOUND_ERR The file does not exist. INVALID_STATE_ERR The file is no longer valid for some reason other than it having been deleted. Browser compatibility The compatibility table on this page is generated from structured data. If...
FocusEvent - Web APIs
o="xMinYMin meet"><a xlink:href="/docs/Web/API/Event" target="_top"><rect x="1" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="38.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Event</text></a><polyline points="76,25 86,20 86,30 76,25" stroke="#D4DDE4" fill="
none"/><line x1="86" y1="25" x2="116" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="19...
...DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="191,25 201,20 201,30 191,25" stroke="#D4DDE4" fill="
none"/><line x1="201" y1="25" x2="231" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/FocusEvent" target="_top"><rect x="231" y="1" width="100" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="281" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">FocusEvent</text></a></svg></div...
GlobalEventHandlers.onanimationcancel - Web APIs
ich is called in response to the animationcancel event, as set up in the HTML above. All we do here is log information to the console, but you might find other use cases, such as starting a new animation or effect, or terminating some dependent operation. ...
...imation or effect, or terminating some dependent operation. function handleCancelEvent(event) { log("Animation canceled", event); }; Then we add a method to handle toggle display between "flex" and "
none" and establish it as the handler for a click event on the "Hide/Show" the Box button: document.getElementById('toggleBox').addEventListener('click', function() { if (box.style.display == "
none") { box.style.display = "flex"; document.getElementById("toggleBox").innerHTML = "Hide the box"; } else { box.style.display = "
none"; document.getElementById("toggleBox").innerHTML = "Show the box"; } }); Toggling the box to display:
none has the effect of aborting its animation. In browsers that support animationcancel, the event is fired and this handler is called. Result...
HTMLElement: transitionend event - Web APIs
The transitionend event is fired when a CSS transition has completed. In the case where a transition is removed before completion, such as if the transition-property is removed or display is set to
none, then the event will not be generated. Bubbles Yes Cancelable Yes Interface TransitionEvent Event handler property ontransitionend The transitionend event is fired in both directions - as it finishes transitioning to the transitioned state, and when it fully reverts to the default or non-transitioned state. If there is no transition delay or duration, if both are 0s or neither is declared, there is no transition, and
none of the transition events are fired. If the transitioncancel event is fired, the transitionend event will not fire. E...
...tContent = 'transitioncancel fired'; }); el.addEventListener('transitionend', function() { message.textContent = 'transitionend fired'; }); The transitionend event is fired in both directions: when the box finishes turning and the opacity hits 0 or 1, depending on the direction. If there is no transition delay or duration, if both are 0s or neither is declared, there is no transition, and
none of the transition events are fired. If the transitioncancel event is fired, the transitionend event will not fire. Specifications Specification Status Comment CSS TransitionsThe definition of 'transitionend' in that specification. Working Draft Initial definition. ...
IDBDatabase: versionchange event - Web APIs
ase structure change (IDBOpenDBRequest.onupgradeneeded event or IDBFactory.deleteDatabase) was requested. ...
...re.createIndex('year', 'year', { unique: false }); }; dBOpenRequest.addEventListener('success', event => { const db = event.target.result; db.addEventListener('versionchange', event => { console.log('The version of this database has changed'); }); }); The same example, using the onversionchange event handler property: // Open the database const dBOpenRequest = window.indexedDB.open('
Nonexistent', 4); dBOpenRequest.onupgradeneeded = event => { const db = event.target.result; // Create an objectStore for this database const objectStore = db.createObjectStore('toDoList', { keyPath: 'taskTitle' }); // define what data items the objectStore will contain objectStore.createIndex('hours', 'hours', { unique: false }); objectStore.createIndex('minutes', 'minutes', { unique: f...
IDBOpenDBRequest - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/IDBRequest" target="_top"><rect x="151" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="201" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">IDBRequest</text></a><polyline poin...
.../><a xlink:href="/docs/Web/API/IDBRequest" target="_top"><rect x="151" y="1" width="100" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="201" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">IDBRequest</text></a><polyline points="251,25 261,20 261,30 251,25" stroke="#D4DDE4" fill="
none"/><line x1="261" y1="25" x2="291" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/IDBOpenDBRequest" target="_top"><rect x="291" y="1" width="160" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="371" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">IDBOpenDBRequest</text></a...
InputEvent - Web APIs
o="xMinYMin meet"><a xlink:href="/docs/Web/API/Event" target="_top"><rect x="1" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="38.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Event</text></a><polyline points="76,25 86,20 86,30 76,25" stroke="#D4DDE4" fill="
none"/><line x1="86" y1="25" x2="116" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="19...
...DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="191,25 201,20 201,30 191,25" stroke="#D4DDE4" fill="
none"/><line x1="201" y1="25" x2="231" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/InputEvent" target="_top"><rect x="231" y="1" width="100" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="281" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">InputEvent</text></a></svg></div...
InstallEvent - Web APIs
o="xMinYMin meet"><a xlink:href="/docs/Web/API/Event" target="_top"><rect x="1" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="38.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Event</text></a><polyline points="76,25 86,20 86,30 76,25" stroke="#D4DDE4" fill="
none"/><line x1="86" y1="25" x2="116" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/ExtendableEvent" target="_top"><rect x="116" y="1" width="150" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="191" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">ExtendableEvent</text></a><poly...
...:href="/docs/Web/API/ExtendableEvent" target="_top"><rect x="116" y="1" width="150" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="191" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">ExtendableEvent</text></a><polyline points="266,25 276,20 276,30 266,25" stroke="#D4DDE4" fill="
none"/><line x1="276" y1="25" x2="306" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/InstallEvent" target="_top"><rect x="306" y="1" width="120" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="366" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">InstallEvent</text></a></svg><...
KeyboardEvent - Web APIs
o="xMinYMin meet"><a xlink:href="/docs/Web/API/Event" target="_top"><rect x="1" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="38.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Event</text></a><polyline points="76,25 86,20 86,30 76,25" stroke="#D4DDE4" fill="
none"/><line x1="86" y1="25" x2="116" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="19...
...DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="191,25 201,20 201,30 191,25" stroke="#D4DDE4" fill="
none"/><line x1="201" y1="25" x2="231" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/KeyboardEvent" target="_top"><rect x="231" y="1" width="130" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="296" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">KeyboardEvent</text></a></svg...
MediaTrackConstraints - Web APIs
nLong specifying the sample rate or range of sample rates which are acceptable and/or required. sampleSize A ConstrainLong specifying the sample size or range of sample sizes which are acceptable and/or required. volume A ConstrainDouble specifying the volume or range of volumes which are acceptable and/or required. Properties of image tracks whiteBalanceMode A String specifying one of "
none", "manual", "single-shot", or "continuous". exposureMode A String specifying one of "
none", "manual", "single-shot", or "continuous". focusMode A String specifying one of "
none", "manual", "single-shot", or "continuous". pointsOfInterest The pixel coordinates on the sensor of one or more points of interest. This is either an object in the form { x:value, y:value } or an array of such object...
...ptable and/or required. height A ConstrainLong specifying the video height or range of heights which are acceptable and/or required. width A ConstrainLong specifying the video width or range of widths which are acceptable and/or required. resizeMode A ConstrainDOMString object specifying a mode or an array of modes the UA can use to derive the resolution of a video track. Allowed values are
none and crop-and-scale.
none means that the user agent uses the resolution provided by the camera, its driver or the OS. crop-and-scale means that the user agent can use cropping and downscaling on the camera output in order to satisfy other constraints that affect the resolution. Properties of shared screen tracks These constraints apply to MediaTrackConstraints objects specified as part of the ...
OfflineAudioContext - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/AudioContext" target="_top"><rect x="151" y="1" width="120" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="211" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">AudioContext</text></a><polyline ...
... xlink:href="/docs/Web/API/AudioContext" target="_top"><rect x="151" y="1" width="120" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="211" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">AudioContext</text></a><polyline points="271,25 281,20 281,30 271,25" stroke="#D4DDE4" fill="
none"/><line x1="281" y1="25" x2="311" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/OfflineAudioContext" target="_top"><rect x="311" y="1" width="190" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="406" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">OfflineAudioContext</te...
Using the Permissions API - Web APIs
pear). "denied" The "Enable Geolocation" button is revealed (this code needs to be here too, in case the permission state is already set to denied for this origin when the page is first loaded). ...
...ermission state is already set to denied for this origin when the page is first loaded). ...
Pointer events - Web APIs
is used to specify whether or not the browser should apply its default (native) touch behavior (such as zooming or panning) to a region. This property may be applied to all elements except: non-replaced inline elements, table rows, row groups, table columns, and column groups. A value of auto means the browser is free to apply its default touch behavior (to the specified region) and the value of
none disables the browser's default touch behavior for the region. The values pan-x and pan-y, mean that touches that begin on the specified region are only for horizontal and vertical scrolling, respectively. The value manipulation means the browser may consider touches that begin on the element are only for scrolling and zooming. In the following example, the browser's default touch behavior is dis...
... pan-x and pan-y, mean that touches that begin on the specified region are only for horizontal and vertical scrolling, respectively. The value manipulation means the browser may consider touches that begin on the element are only for scrolling and zooming. In the following example, the browser's default touch behavior is disabled for the div element. <html> <body> <div style="touch-action:
none;">Can't touch this ... </div> </body> </html> In the following example, default touch behavior is disabled for some button elements. button#tiny { touch-action:
none; } In the following example, when the target element is touched, it will only pan in the horizontal direction. #target { touch-action: pan-x; } Compatibility with mouse events Although the pointer event interfaces enab...
PublicKeyCredentialCreationOptions.attestation - Web APIs
client and the relying party. The attestation is a mean for the relying party to verify the origin of the authenticator with an attestation certificate authority. The information contained in the attestation may thus disclose some information about the user (e.g. which device they are using). Syntax attestation = publicKeyCredentialCreationOptions.attestation Value A string which may be "
none": the relying party is not interested in this attestation. This avoids making a check with the attestation certificate authority and asking the user consent for sharing identifying information. "indirect": the client may change the assertion from the authenticator (for instance, using an anonymization CA). This value is used when the relying party wishes to verify the attestation. "direct": the...
... certificate authority and asking the user consent for sharing identifying information. "indirect": the client may change the assertion from the authenticator (for instance, using an anonymization CA). This value is used when the relying party wishes to verify the attestation. "direct": the relying party wants to receive the attestation as generated by the authenticator. The default value is "
none". Examples var publicKey = { attestation: "indirect", challenge: new Uint8Array(26) /* this actually is given from the server */, rp: { name: "Example CORP", id : "login.example.com" }, user: { id: new Uint8Array(26), /* To be changed for each user */ name: "jdoe@example.com", displayName: "John Doe", }, pubKeyCredParams: [ { type: "public-key", ...
PublicKeyCredentialCreationOptions - Web APIs
station Optional A String which indicates how the attestation (for the authenticator's origin) should be transported. PublicKeyCredentialCreationOptions.extensions Optional An object with several client extensions' inputs. Those extensions are used to request additional processing (e.g. dealing with legacy FIDO APIs credentials, prompting a specific text on the authenticator, etc.). Methods
None. Examples // some examples of COSE algorithms const cose_alg_ECDSA_w_SHA256 = -7; const cose_alg_ECDSA_w_SHA512 = -36; var createCredentialOptions = { // Format of new credentials is publicKey publicKey: { // Relying Party rp: { name: "Example CORP", id: "login.example.com", icon: "https://login.example.com/login.ico" }, ...
... name: "john.p.smith@example.com", displayName: "John P. ...
RTCPeerConnection.connectionState - Web APIs
ay be. These values are returned by the connectionState property. This state essentially represents the aggregate state of all ICE transports (which are of type RTCIceTransport or RTCDtlsTransport) being used by the connection. Constant Description "new" At least one of the connection's ICE transports (RTCIceTransports or RTCDtlsTransports) are in the "new" state, and
none of them are in one of the following states: "connecting", "checking", "failed", or "disconnected", or all of the connection's transports are in the "closed" state. "connecting" One or more of the ICE transports are currently in the process of establishing a connection; that is, their RTCIceConnectionState is either "checking" or "connected", and no transports are in the "failed" state...
... Make this a link once I know where that will be documented "connected" Every ICE transport used by the connection is either in use (state "connected" or "completed") or is closed (state "closed"); in addition, at least one transport is either "connected" or "completed". "disconnected" At least one of the ICE transports for the connection is in the "disconnected" state and
none of the other transports are in the state "failed", "connecting", or "checking". "failed" One or more of the ICE transports on the connection is in the "failed" state. "closed" The RTCPeerConnection is closed. This value was in the RTCSignalingState enum (and therefore found by reading the value of the signalingState) property until the May 13, 2016 draft of the s...
RadioNodeList - Web APIs
MinYMin meet"><a xlink:href="/docs/Web/API/NodeList" target="_top"><rect x="1" y="1" width="80" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="41" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">NodeList</text></a><polyline points="81,25 91,20 91,30 81,25" stroke="#D4DDE4" fill="
none"/><line x1="91" y1="25" x2="121" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/RadioNodeList" target="_top"><rect x="121" y="1" width="130" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="186" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">RadioNodeList</text></a></svg>...
...vents: all;} Properties The RadioNodeList interface inherits the properties of NodeList. RadioNodeList.value If the underlying element collection contains radio buttons, the value property represents the checked radio button. On retrieving the value property, the value of the currently checked radio button is returned as a string. If the collection does not contain any radio buttons or
none of the radio buttons in the collection is in checked state, the empty string is returned. On setting the value property, the first radio button input element whose value property is equal to the new value will be set to checked. Methods The RadioNodeList interface inherits the methods of NodeList. Specifications Specification Status Comments HTML Living StandardTh...
SVGAnimatedPathData - Web APIs
SVG animated path data interface The SVGAnimatedPathData interface supports elements which have a 'd' attribute which holds SVG path data, and supports the ability to animate that attribute. ...
... SVG animated path data interface The SVGAnimatedPathData interface supports elements which have a 'd' attribute which holds SVG path data, and supports the ability to animate that attribute. ...
SVGAnimatedRect - Web APIs
animVal SVGRect A read only SVGRect representing the current animated value of the given attribute. ...
... animVal SVGRect A read only SVGRect representing the current animated value of the given attribute. ...
SVGDocument - Web APIs
e as a component of a document from another namespace, such as when an "svg" element is embedded inline within an XHTML document, then an SVGDocument object will not exist; instead, the root object in the document object hierarchy will be a Document object of a different type, such as an HTMLDocument object. ...
..., such as when an "svg" element is embedded inline within an XHTML document, then an SVGDocument object will not exist; instead, the root object in the document object hierarchy will be a Document object of a different type, such as an HTMLDocument object. ...
SVGFitToViewBox - Web APIs
SVG fit to view box interface The SVGFitToViewBox interface is used to reflect the viewBox and preserveAspectRatio attributes, and is mixed in to other interfaces for elements that support these two attributes. ...
... SVG fit to view box interface The SVGFitToViewBox interface is used to reflect the viewBox and preserveAspectRatio attributes, and is mixed in to other interfaces for elements that support these two attributes. ...
getBBox() - Web APIs
or the parent elements. ...
...ext_1"> <text x="5" y="16" transform="scale(2, 2)">Hello World!</text> <text x="8" y="32" transform="translate(0 20) scale(1.25 1)">Hello World Again!</text> </g> <!-- Shows BBox in green --> <rect id="rect_1" stroke="#00ff00" stroke-width="3" fill="
none"> </rect> <!-- Shows BoundingClientRect in red --> <rect id="rect_2" stroke="#ff0000" stroke-width="3" fill="
none"></rect> </svg> JavaScript var rectBBox = document.querySelector('#rect_1'); var rectBoundingClientRect = document.querySelector('#rect_2'); var groupElement = document.querySelector('#group_text_1'); var bboxGroup = groupElement.getBBox(); rectBBox.setAttribute('x', bboxGroup.x); rectBBox.setAttribute('y', bboxGroup.y); rectBBox.setAttribute('width', bboxGroup.width); rectBBox.setAttribute('...
SVGPathSeg - Web APIs
SVG path segment interface This is a base interface that corresponds to a single command within a path data specification. ...
... SVG path segment interface This is a base interface that corresponds to a single command within a path data specification. ...
ServiceWorkerGlobalScope - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/WorkerGlobalScope" target="_top"><rect x="151" y="1" width="170" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="236" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">WorkerGlobalScope</text></a>...
...f="/docs/Web/API/WorkerGlobalScope" target="_top"><rect x="151" y="1" width="170" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="236" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">WorkerGlobalScope</text></a><polyline points="321,25 331,20 331,30 321,25" stroke="#D4DDE4" fill="
none"/><line x1="331" y1="25" x2="361" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/ServiceWorkerGlobalScope" target="_top"><rect x="361" y="1" width="240" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="481" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">ServiceWorkerGloba...
TouchEvent - Web APIs
o="xMinYMin meet"><a xlink:href="/docs/Web/API/Event" target="_top"><rect x="1" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="38.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Event</text></a><polyline points="76,25 86,20 86,30 76,25" stroke="#D4DDE4" fill="
none"/><line x1="86" y1="25" x2="116" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="19...
...DDE4"/><a xlink:href="/docs/Web/API/UIEvent" target="_top"><rect x="116" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="153.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">UIEvent</text></a><polyline points="191,25 201,20 201,30 191,25" stroke="#D4DDE4" fill="
none"/><line x1="201" y1="25" x2="231" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/TouchEvent" target="_top"><rect x="231" y="1" width="100" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="281" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">TouchEvent</text></a></svg></div...
WEBGL_draw_buffers.drawBuffersWEBGL() - Web APIs
hod is part of the WEBGL_draw_buffers extension. Note: When using WebGL2, this method is available as gl.drawBuffers() by default and the constants are named gl.COLOR_ATTACHMENT1 etc. without the "WEBGL" suffix. Syntax void gl.getExtension('WEBGL_draw_buffers').drawBuffersWEBGL(buffers); Parameters buffers An Array of GLenum constants defining drawing buffers. Possible values: gl.
NONE: The fragment shader is not written to any color buffer. gl.BACK: The fragment shader is written to the back color buffer. ext.COLOR_ATTACHMENT0_WEBGL The fragment shader is written the the nth color attachment of the framebuffer. ext.COLOR_ATTACHMENT1_WEBGL ext.COLOR_ATTACHMENT2_WEBGL ext.COLOR_ATTACHMENT3_WEBGL ext.COLOR_ATTACHMENT4_WEBGL ext.COLOR_ATTACHMENT5_WEBGL ext.COLOR_AT...
...CHMENT3_WEBGL ext.COLOR_ATTACHMENT4_WEBGL ext.COLOR_ATTACHMENT5_WEBGL ext.COLOR_ATTACHMENT6_WEBGL ext.COLOR_ATTACHMENT7_WEBGL ext.COLOR_ATTACHMENT8_WEBGL ext.COLOR_ATTACHMENT9_WEBGL ext.COLOR_ATTACHMENT10_WEBGL ext.COLOR_ATTACHMENT11_WEBGL ext.COLOR_ATTACHMENT12_WEBGL ext.COLOR_ATTACHMENT13_WEBGL ext.COLOR_ATTACHMENT14_WEBGL ext.COLOR_ATTACHMENT15_WEBGL Return value
None. Examples See WEBGL_draw_buffers for more context with this example code. ext.drawBuffersWEBGL([ ext.COLOR_ATTACHMENT0_WEBGL, // gl_FragData[0] ext.COLOR_ATTACHMENT1_WEBGL, // gl_FragData[1] ext.COLOR_ATTACHMENT2_WEBGL, // gl_FragData[2] ext.COLOR_ATTACHMENT3_WEBGL // gl_FragData[3] ]); Specifications Specification Status Comment WEBGL_draw_buffersThe definit...
WebGL2RenderingContext.drawBuffers() - Web APIs
method of the WebGL 2 API defines draw buffers to which fragment colors are written into. The draw buffer settings are part of the state of the currently bound framebuffer or the drawingbuffer if no framebuffer is bound. Syntax void gl.drawBuffers(buffers); Parameters buffers An Array of GLenum specifying the buffers into which fragment colors will be written. Possible values are: gl.
NONE: Fragment shader output is not written into any color buffer. gl.BACK: Fragment shader output is written into the back color buffer. gl.COLOR_ATTACHMENT{0-15}: Fragment shader output is written in the nth color attachment of the current framebuffer. Return value
None. Exceptions If buffers contains not one of the accepted values, a gl.INVALID_ENUM error is thrown. Examples gl.dr...
...der output is not written into any color buffer. gl.BACK: Fragment shader output is written into the back color buffer. gl.COLOR_ATTACHMENT{0-15}: Fragment shader output is written in the nth color attachment of the current framebuffer. Return value
None. Exceptions If buffers contains not one of the accepted values, a gl.INVALID_ENUM error is thrown. Examples gl.drawBuffers([gl.
NONE, gl.COLOR_ATTACHMENT1]); Specifications Specification Status Comment WebGL 2.0The definition of 'drawBuffers' in that specification. Editor's Draft Initial definition for WebGL. OpenGL ES 3.0The definition of 'glDrawBuffers' in that specification. Standard Man page of the (similar) OpenGL API. ...
WebGL2RenderingContext.resumeTransformFeedback() - Web APIs
Examples var transformFeedback = gl.createTransformFeedback(); gl.bindTransformFeedback(gl.TRANSFORM_FEEDBACK, transformFeedback); gl.beginTransformFeedback(gl.TRIANGLES); gl.pauseTransformFeedback(); //... ...
... Examples var transformFeedback = gl.createTransformFeedback(); gl.bindTransformFeedback(gl.TRANSFORM_FEEDBACK, transformFeedback); gl.beginTransformFeedback(gl.TRIANGLES); gl.pauseTransformFeedback(); //... ...
WebGLRenderingContext.pixelStorei() - Web APIs
The WebGLRenderingContext.pixelStorei() method of the WebGL API specifies the pixel storage modes. Syntax void gl.pixelStorei(pname, param); Parameters pname A Glenum specifying which parameter to set. See below for possible values. param A GLint specifying a value to set the pname parameter to. See below for possible values. Return value
None. Pixel storage parameters Parameter name (for pname) Description Type Default value Allowed values (for param) Specified in gl.PACK_ALIGNMENT Packing of pixel data into memory GLint 4 1, 2, 4, 8 OpenGL ES 2.0 gl.UNPACK_ALIGNMENT Unpacking of pixel data from memory. GLint 4 1, 2, 4, 8 OpenGL ES 2.0 gl.UNPACK_FLIP_Y_WEBGL Flips the source data along its ...
...ertical axis if true. GLboolean false true, false WebGL gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL Multiplies the alpha channel into the other color channels GLboolean false true, false WebGL gl.UNPACK_COLORSPACE_CONVERSION_WEBGL Default color space conversion or no color space conversion. GLenum gl.BROWSER_DEFAULT_WEBGL gl.BROWSER_DEFAULT_WEBGL, gl.
NONE WebGL When using a WebGL 2 context, the following values are available additionally: Constant Description Type Default value Allowed values (for param) Specified in gl.PACK_ROW_LENGTH Number of pixels in a row. GLint 0 0 to Infinity OpenGL ES 3.0 gl.PACK_SKIP_PIXELS Number of pixel locations skipped before the first pixel ...
WebGLRenderingContext.texParameter[fi]() - Web APIs
texture A GLfloat value. Additionally available when using a WebGL 2 context gl.TEXTURE_BASE_LEVEL Texture mipmap level Any int values. gl.TEXTURE_COMPARE_FUNC Texture Comparison function gl.LEQUAL (default value), gl.GEQUAL, gl.LESS, gl.GREATER, gl.EQUAL, gl.NOTEQUAL, gl.ALWAYS, gl.NEVER. gl.TEXTURE_COMPARE_MODE Texture comparison mode gl.
NONE (default value), gl.COMPARE_REF_TO_TEXTURE. gl.TEXTURE_MAX_LEVEL Maximum texture mipmap array level Any int values. gl.TEXTURE_MAX_LOD Texture maximum level-of-detail value Any float values. gl.TEXTURE_MIN_LOD Texture minimum level-of-detail value Any float values. gl.TEXTURE_WRAP_R Wrapping function for texture coordinate r gl.REPEAT (d...
... Maximum texture mipmap array level Any int values. gl.TEXTURE_MAX_LOD Texture maximum level-of-detail value Any float values. gl.TEXTURE_MIN_LOD Texture minimum level-of-detail value Any float values. gl.TEXTURE_WRAP_R Wrapping function for texture coordinate r gl.REPEAT (default value), gl.CLAMP_TO_EDGE, gl.MIRRORED_REPEAT. Return value
None. Examples gl.texParameterf(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR_MIPMAP_NEAREST); Specifications Specification Status Comment WebGL 1.0The definition of 'texParameter[fi]' in that specification. Recommendation Initial definition for WebGL. OpenGL ES 2.0The definition of 'glTexP...
Inputs and input sources - Web APIs
dual XRInputSource has a set of properties that describe the input's available axes and buttons, which hand the user's holding it in, and how the input source is used to handle targeting within the 3D space. Handedness Handedness, indicated by the XRInputSource property handedness, is a string which indicates which of the viewer's hands the controller is in: left or right. It can also be set to
none if the controller isn't hand-held, or if it's unknown which hand the controller is in. Handedness can be used for various things, including selecting an appropriate mesh to use to represent the controller in the view and to help present it in the correct hand if drawing hands on the display. It can also be useful if your app uses the notion of "main hand" and "off hand" for determining the funct...
...le strings is maintained in the WebXR Input Profiles Registry on GitHub. For example, the generic-trigger-squeeze-touchpad profile name can be used to locate the following JSON profile data by locating the profileId field that has the value generic-trigger-squeeze-touchpad. ...
Example and tutorial: Simple synth keyboard - Web APIs
e-space: nowrap; margin: 10px; } .keyboard { width: auto; padding: 0; margin: 0; } .key { cursor: pointer; font: 16px "Open Sans", "Lucida Grande", "Arial", sans-serif; border: 1px solid black; border-radius: 5px; width: 20px; height: 80px; text-align: center; box-shadow: 2px 2px darkgray; display: inline-block; position: relative; margin-right: 3px; user-select:
none; -moz-user-select:
none; -webkit-user-select:
none; -ms-user-select:
none; } .key div { position: absolute; bottom: 0; text-align: center; width: 100%; pointer-events:
none; } .key div sub { font-size: 10px; pointer-events:
none; } .key:hover { background-color: #eef; } .key:active { background-color: #000; color: #fff; } .octave { display: inline-block; padding...
... begins by initializing a number of variables. let audioContext = new (window.AudioContext || window.webkitAudioContext)(); let oscList = []; let masterGainNode = null; audioContext is set to reference the global AudioContext object (or webkitAudioContext if necessary). oscList is set up to be ready to contain a list of all currently-playing oscillators. It starts off empty, since there are
none playing yet. masterGainNode is set to null; during the setup process, it will be configured to contain a GainNode which all playing oscillators will connect to and play through to allow the overall volume to be controlled using a single slider control. let keyboard = document.querySelector(".keyboard"); let wavePicker = document.querySelector("select[name='waveform']"); let volumeControl = doc...
XMLHttpRequest - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/XMLHttpRequestEventTarget" target="_top"><rect x="151" y="1" width="250" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="276" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">XMLHttpRequestEventT...
.../XMLHttpRequestEventTarget" target="_top"><rect x="151" y="1" width="250" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="276" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">XMLHttpRequestEventTarget</text></a><polyline points="401,25 411,20 411,30 401,25" stroke="#D4DDE4" fill="
none"/><line x1="411" y1="25" x2="441" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/XMLHttpRequest" target="_top"><rect x="441" y="1" width="140" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="511" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">XMLHttpRequest</text></a></s...
XREye - Web APIs
Usage notes These values are used by the XRView property eye. ...
... Usage notes These values are used by the XRView property eye. ...
XRInputSource.handedness - Web APIs
perty handedness indicates which of the user's hands the WebXR input source is associated with, or if it's not associated with a hand at all. Syntax let hand = xrInputSource.handedness; Value A DOMString indicating whether the input controller is held in one of the user's hands, and if it is, which hand. The value, which comes from the XRHandedness enumerated type, is one of the following:
none The input controller is not associated with one of the user's hands. left The input controller is being held in, worn on, or is attached to the user's left hand. right The input controller is being held in, worn on, or is attached to the user's right hand. Usage notes If the input source is not a device associated with a user's hand (whether by being held, attached, or worn), the value of...
...troller is not associated with one of the user's hands. left The input controller is being held in, worn on, or is attached to the user's left hand. right The input controller is being held in, worn on, or is attached to the user's right hand. Usage notes If the input source is not a device associated with a user's hand (whether by being held, attached, or worn), the value of handedness is
none. This may indicate, for example, an input source which isn't hand-held, such as controls built into a headset or an input device attached to the head or body. Examples One important usage scentario for handedness is to determine which hand a controller is in so you can draw a representation of that hand (or the device that hand is controlling) in virtual space. function updateInputSources(ses...
ARIA: Region role - Accessibility
<div role="region" aria-label="Example"> <!-- region content --> </div> Description The region role is an ARIA landmark role. Landmark roles provide a way to identify the organization and structure of a web page. ...
... region if it is given an accessible name. Developers should always prefer using the correct semantic HTML element, in this case <section>, over using ARIA. Associated WAI-ARIA Roles, States, and Properties aria-labelledby Use this attribute to label the region. Often, the value of the aria-labelledby attribute will be the id of the element used to title the section. Keyboard Interactions
None. Required JavaScript features
None. Examples <div role="region" aria-labelledby="region-heading"> <h2 id="region-heading">This heading's <code>id</code> attribute helps this region have an accessible name</h2> <!-- region content --> </div> Accessibility concerns Use sparingly! Landmark roles are intended to be used sparingly, to identify larger overall sections of the document. Using ...
ARIA: heading role - Accessibility
The aria-level attribute specifies the heading level in the document structure. If no level is present, a value of 2 is the default. Keyboard interactions This role does not require any special keyboard navigation. As with any heading, giving it an ID ensures it can be referenced from anchor links, making it accessible via the keyboard. Required JavaScript features Required event handlers
None. Changing attribute values Usually not required, unless dynamically inserting content. In that case, the newly-added headings need aria-level attributes whose values are consistent with the rest of the document structure. Instead of using a <div> or <span> with a heading role and aria-level, consider using a native <h1> through <h6> element instead to indicate that this text is a heading, an...
...the results can be unpredictable with other browser/screen reader combinations. Best practices The best way to use this role is to not use it at all, and instead use the native heading tags <h1> through <h6> as shown in the example above. The heading role and aria-level attribute should only be used to retrofit accessibility on legacy code that you cannot make major changes to. Added benefits
None. Specifications Specification Status Accessible Rich Internet Applications (WAI-ARIA) 1.1The definition of 'heading' in that specification. Recommendation Precedence order The heading role overrides the native semantic meaning of the element it is being used for. The aria-level attribute, in addition, determines what level of heading is being exposed. Screen rea...
ARIA: listbox role - Accessibility
man-readable string value which more clearly identifies the role of the listbox. Screen readers will often read this value to the user after reading the label (if there is one), in place of saying "listbox". ...
... If one or more options are selected before the listbox receives focus, focus is set on the first option in the list that is selected. ...
WAI-ARIA Roles - Accessibility
hould use this element instead.ARIA: Navigation RoleThe navigation landmark role is used to identify major groups of links used for navigating through a website or page content.ARIA: Region roleThe region landmark role is used to identify an area in the document that the author has identified as significant. It is used to provide a generic landmark for people to be able to navigate to easily when
none of the other landmark roles are appropriate.ARIA: row roleAn element with role="row" is a row of cells within a tabular structure. A row contains one or more cells, grid cells or column headers, and possibly a row header, within a grid, table or treegrid, and optionally within a rowgroup.ARIA: rowgroup roleAn element with role="rowgroup" is a group of rows within a tabular structure. A rowgroup ...
...ccessibility/ARIA/ARIA_Techniques). Ones for which the first draft is completed have been removed from the below list. ...
An overview of accessible web applications and widgets - Accessibility
attribute selectors to alter the visual appearance based on the state changes (rather than using script to change a class name on the element). Visibility changes When content visibility is changed (i.e., an element is hidden or shown), developers should change the aria-hidden property value. The techniques described above should be used to declare CSS to visually hide an element using display:
none. Here is an example of a tooltip that uses aria-hidden to control the visibility of the tooltip. The example shows a simple web form with tooltips containing instructions associated with the entry fields. In this example, the HTML for the tooltip has the form shown in Example 2a. Line 9 sets the aria-hidden state to true. Example 2a. HTML for a tooltip <div class="text"> <label id="tp1-l...
...uired="false" /> <div id="tp1" class="tooltip" role="tooltip" aria-hidden="true">Your first name is optional</div> </div> The CSS for this markup is shown in Example 2b. Note that there is no custom classname used, only the status of the aria-hidden attribute on line 1. Example 2b. Attribute-based selector for indicating state div.tooltip[aria-hidden="true"] { display:
none; } The JavaScript to update the aria-hidden property has the form shown in Example 2c. Note that the script only updates the aria-hidden attribute (line 2); it does not need to also add or remove a custom classname. Example 2c. JavaScript to update the aria-checked attribute var showTip = function(el) { el.setAttribute('aria-hidden', 'false'); } Role changes ARIA allows developers to dec...
Web accessibility for seizures and physical reactions - Accessibility
and (prefers-reduced-motion: reduce) { } @media screen and (prefers-reduced-motion) { } To see a great example of how to use the code prefers-reduced-motion, visit the MDN document, prefers-reduced-motion, or see the example below from the section on New in Chrome 74. button { animation: vibrate 0.3s linear infinite both; } @media (prefers-reduced-motion: reduce) { button { animation:
none; } } prefers-color-scheme This can be useful if the ambient light API is not available. Support is emerging. @media (prefers-color-scheme: dark) { /* adust styles for dark mode */ } Window.matchMedia() There is a powerful tool available to developers via Window.matchMedia(). A great resource is MDN's document on Window.matchMedia() media update feature The more often the screen is r...
... !important; /* Hat tip Nick/cssremedy (https://css-tricks.com/revisiting-prefers-reduced-motion-the-reduced-motion-media-query/#comment-1700170) */ transition-duration: 0.001ms !important; } } From W3.org's page on Media Queries 4: The update media feature is used to query the ability of the output device to modify the appearance of content once it has been rendered. It has the values of "
none", "slow", and "fast". Developmental & Experimental Features MDN Navigator.doNotTrack From the documentation: "Returns the user's do-not-track setting. This is "1" if the user has requested not to be tracked by web sites, content, or advertising" Media Queries Level 5 EnvironmentMQ (Planned in Media Queries Level 5) light-level Has three valid values: dim, normal, and washed. Interestingly,...
Text labels and names - Accessibility
lt attribute containing a name that describes the symbol. Since mglyph elements are used for non-standard symbols without Unicode definitions, screen readers won't automatically be able to name them. Alternative text helps users of screen readers understand the symbol. Headings must be labeled Make sure that your headings have non-empty text content, and are not hidden, such as with CSS display:
none or aria-hidden=true. Users of screen readers rely on headings to understand the structure and content of a document. Also, be sure you are using heading elements only for actual section headings, and not as a shortcut way to make text stand out. Screen reader users typically "skim" a page's headings, much like sighted users; non-heading text that is marked-up with heading elements can cause conf...
... elements only for actual section headings, and not as a shortcut way to make text stand out. Screen reader users typically "skim" a page's headings, much like sighted users; non-heading text that is marked-up with heading elements can cause confusion. Headings should have visible text content Make sure that your headings have non-empty text content, and are not hidden, such as with CSS display:
none or aria-hidden=true. Users of screen readers rely on headings to understand the structure and content of a document. Do not use heading elements to mark up images or other graphical content. Use title attribute to describe <iframe> content Make sure that <iframe> elements have a title attribute to describe the contents of the frame. Without a title, users of assistive technologies have to navig...
-webkit-border-before - CSS: Cascading Style Sheets
rder-width'> See border-width <'border-style'> See border-style <'color'> See color Formal definition Initial valueas each of the properties of the shorthand:border-width: as each of the properties of the shorthand:border-top-width: mediumborder-right-width: mediumborder-bottom-width: mediumborder-left-width: mediumborder-style: as each of the properties of the shorthand:border-top-style:
noneborder-right-style:
noneborder-bottom-style:
noneborder-left-style:
nonecolor: Varies from one browser to anotherApplies toall elementsInheritedyesPercentagesas each of the properties of the shorthand:-webkit-border-before-width: logical-width of containing blockComputed valueas each of the properties of the shorthand:border-width: as each of the properties of the shorthand:border-bottom-width: th...
...border-left-style:
nonecolor: Varies from one browser to anotherApplies toall elementsInheritedyesPercentagesas each of the properties of the shorthand:-webkit-border-before-width: logical-width of containing blockComputed valueas each of the properties of the shorthand:border-width: as each of the properties of the shorthand:border-bottom-width: the absolute length or 0 if border-bottom-style is
none or hiddenborder-left-width: the absolute length or 0 if border-left-style is
none or hiddenborder-right-width: the absolute length or 0 if border-right-style is
none or hiddenborder-top-width: the absolute length or 0 if border-top-style is
none or hiddenborder-style: as each of the properties of the shorthand:border-bottom-style: as specifiedborder-left-style: as specifiedborder-right-style: as ...
-webkit-line-clamp - CSS: Cascading Style Sheets
nts, the truncating can happen in the middle of the text, not necessarily at the end. Note: This property was originally implemented in WebKit and has some issues. It got standardized for legacy support. The CSS Overflow Module Level 3 specification also defines a line-clamp property, which is meant to replace this property and avoid its issues. Syntax /* Keyword value */ -webkit-line-clamp:
none; /* <integer> values */ -webkit-line-clamp: 3; -webkit-line-clamp: 10; /* Global values */ -webkit-line-clamp: inherit; -webkit-line-clamp: initial; -webkit-line-clamp: unset;
none This value specifies that the content won't be clamped. <integer> This value specifies the number of lines after which the content will be clamped. It must be greater than 0. Formal definition Initial value...
...; /* <integer> values */ -webkit-line-clamp: 3; -webkit-line-clamp: 10; /* Global values */ -webkit-line-clamp: inherit; -webkit-line-clamp: initial; -webkit-line-clamp: unset;
none This value specifies that the content won't be clamped. <integer> This value specifies the number of lines after which the content will be clamped. It must be greater than 0. Formal definition Initial value
noneApplies toall elementsInheritednoComputed valueas specifiedAnimation typeby computed value type Formal syntax
none | <integer> Examples Truncating a paragraph HTML <p> In this example the <code>-webkit-line-clamp</code> property is set to <code>3</code>, which means the text is clamped after three lines. An ellipsis will be shown at the point where the text is clamped. </p> CSS p { w...
-webkit-touch-callout - CSS: Cascading Style Sheets
The -webkit-touch-callout CSS property controls the display of the default callout shown when you touch and hold a touch target. When a target is touched and held on iOS, Safari displays a callout information about the link. This property allows disabling that behavior. ...
...n a target is touched and held on iOS, Safari displays a callout information about the link. This property allows disabling that behavior. /* Keyword values */ -webkit-touch-callout: default; -webkit-touch-callout:
none; /* Global values */ -webkit-touch-callout: initial; -webkit-touch-callout: inherit; -webkit-touch-callout: unset; Syntax Values default The default callout is displayed.
none The callout is disabled. Formal definition Initial valuedefaultApplies toall elementsInheritedyesComputed valueas specifiedAnimation typediscrete Formal syntax default |
none Examples Turn off touch callout .example { -webkit-touch-callout:
none; } Specifications Not part of any standard. Apple has a description in the Safari CSS Reference. ...
::-webkit-progress-bar - CSS: Cascading Style Sheets
the entire bar of a <progress> element. Normally it's only visible as the unfilled portion of the bar, since by default it's rendered below the ::-webkit-progress-value pseudo-element. It is a child of the ::-webkit-progress-inner-element pseudo-element and the parent of the ::-webkit-progress-value pseudo-element. ...
...'s rendered below the ::-webkit-progress-value pseudo-element. It is a child of the ::-webkit-progress-inner-element pseudo-element and the parent of the ::-webkit-progress-value pseudo-element. Note: For ::-webkit-progress-value to take effect, appearance needs to be set to
none on the <progress> element. Syntax ::-webkit-progress-bar Examples CSS content progress { -webkit-appearance:
none; } ::-webkit-progress-bar { background-color: orange; } HTML content <progress value="10" max="50"> Result Result screenshot If you're not using a WebKit or Blink browser, the code above results in a progress bar that looks like this: Specifications Not part of any standard. ...
::-webkit-progress-inner-element - CSS: Cascading Style Sheets
The ::-webkit-progress-inner-element CSS pseudo-element represents the outermost container of the <progress> element. It is the parent of the ::-webkit-progress-bar pseudo-element. Note: In order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to
none on the <progress> element. Syntax ::-webkit-progress-inner-element Examples These examples work only on Blink and WebKit. ...
...ebkit-progress-value take effect, -webkit-appearance needs to be set to
none on the <progress> element. Syntax ::-webkit-progress-inner-element Examples These examples work only on Blink and WebKit. Adding a black border around the progress bar In this example, a 2px black border is added around the progress bar. HTML <progress value="10" max="50"> CSS progress { -webkit-appearance:
none; } ::-webkit-progress-inner-element { border: 2px solid black; } Result Result screenshot If you're not using a Blink or WebKit browsear, the above code resuls in a progress bar looking like this: Specifications Not part of any standard. ...
::before (:before) - CSS: Cascading Style Sheets
3 introduced the ::before notation (with two colons) to distinguish pseudo-classes from pseudo-elements. Browsers also accept :before, introduced in CSS2. Examples Adding quotation marks One simple example of using ::before pseudo-elements is to provide quotation marks. Here we use both ::before and ::after to insert quotation characters. HTML <q>Some quotes,</q> he said, <q>are better than
none.</q> CSS q::before { content: "<<"; color: blue; } q::after { content: ">>"; color: red; } Result Decorative example We can style text or images in the content property almost any way we want. HTML <span class="ribbon">Notice where the orange box is.</span> CSS .ribbon { background-color: #5BC8F7; } .ribbon::before { content: "Look at this orange box."; background-color...
...; border-style: dotted; } Result To-do list In this example we will create a simple to-do list using pseudo-elements. This method can often be used to add small touches to the UI and improve user experience. ...
-ms-high-contrast - CSS: Cascading Style Sheets
play mode that prioritizes making content as legible as possible by dynamically replacing foreground and background colors with a user-specified theme. For web content, theme colors are mapped to content types. This media feature applies to bitmap media types. It does not accept min/max prefixes. Syntax The -ms-high-contrast media feature is specified as one of the following values. Values
none ... No longer supported as of Microsoft Edge 18. active Indicates that the subsequent styling rules will be applied when the system is placed in high contrast mode with any color variation. black-on-white Indicates that the subsequent styling rules will be applied when the system is placed in high contrast mode with a black-on-white color variation. white-on-black Indicates th...
... are dynamic, use these color keywords in place of other CSS color values. This will ensure that content will always be able to be perceived. Content If at all possible, prefer updating HTML markup over modifying content using CSS2 system color keywords. This helps keep the content more predictable. Specifications Not part of any standard. Remarks As of Microsoft Edge 18, -ms-high-contrast:
none is no longer supported. Microsoft Edge versions 18 and higher will be using the forced-colors media feature instead, but the forced-colors media feature specification is still being actively worked on. The -ms-high-contrast media feature works with the -ms-high-contrast-adjust property. The -ms-high-contrast media feature was introduced in Windows 8. ...
any-hover - CSS: Cascading Style Sheets
hover One or more available input mechanisms can conveniently hover over elements. ...
... hover One or more available input mechanisms can conveniently hover over elements. ...
inverted-colors - CSS: Cascading Style Sheets
The inverted-colors CSS media feature can be used to test whether the user agent or underlying OS is inverting colors. Syntax The inverted-colors feature is specified as a keyword value chosen from the list below.
none Colors are displayed normally. inverted All pixels within the displayed area have been inverted. Examples HTML <p>If you're using inverted colors, this text should be blue on white (the inverse of yellow on black). ...
...HTML <p>If you're using inverted colors, this text should be blue on white (the inverse of yellow on black). If you're not, it should be red on light gray.</p> <p>If the text is gray, your browser doesn't support the `inverted-colors` media feature.</p> CSS p { color: gray; } @media (inverted-colors: inverted) { p { background: black; color: yellow; } } @media (inverted-colors:
none) { p { background: #eee; color: red; } } Result Specifications Specification Status Comment Media Queries Level 5The definition of 'inverted-colors' in that specification. Editor's Draft ...
scripting - CSS: Cascading Style Sheets
The scripting CSS media feature can be used to test whether scripting (such as JavaScript) is available. Syntax The scripting feature is specified as a keyword value chosen from the list below.
none Scripting is completely unavailable on the current document. initial-only Scripting is enabled during the initial page load, but not afterwards. enabled Scripting is supported and active on the current document. Examples HTML <p class="script-
none">You do not have scripting available. :-(</p> <p class="script-initial-only">Your scripting is only enabled during the initial page load. ...
... load, but not afterwards. enabled Scripting is supported and active on the current document. Examples HTML <p class="script-
none">You do not have scripting available. :-(</p> <p class="script-initial-only">Your scripting is only enabled during the initial page load. Weird.</p> <p class="script-enabled">You have scripting enabled! :-)</p> CSS p { color: lightgray; } @media (scripting:
none) { .script-
none { color: red; } } @media (scripting: initial-only) { .script-initial-only { color: red; } } @media (scripting: enabled) { .script-enabled { color: red; } } Result Specifications Specification Status Comment Media Queries Level 5The definition of 'scripting' in that specification. Editor's Draft Initial definition ...
marks - CSS: Cascading Style Sheets
iptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets. Crop marks and cross marks are printed outside the page box. To have room to show crop and cross marks, the final pages will have to be somewhat bigger than the page box. ...
...uld be cut. Cross marks are used to align sheets. Crop marks and cross marks are printed outside the page box. To have room to show crop and cross marks, the final pages will have to be somewhat bigger than the page box. Syntax /* Keyword values */ marks:
none; marks: crop; marks: cross; marks: crop cross; Values crop Crop marks will be displayed. cross Cross marks will be displayed.
none No marks will be displayed. Formal definition Related at-rule@pageInitial value
noneComputed valueas specified Formal syntax
none | [ crop | cross ] Examples Adding crop and cross marks @page { marks: crop cross; } Specifications Specification Status Comment CSS Paged Media Module Level 3The definition of 'marks' in that specification. Working Draft ...
width - CSS: Cascading Style Sheets
the other CSS descriptors' values. <length> A non-negative absolute or relative length. <percentage> A percentage value relative to the width or height of the initial viewport at zoom factor 1.0, for horizontal and vertical lengths respectively. Must be non-negative. ...
... Working Draft ...
Basic concepts of flexbox - CSS: Cascading Style Sheets
ues overflow the main axis. The final value is flex-basis; this is the value the items are using as their base value to grow and shrink from. There are also some predefined shorthand values which cover most of the use cases. You will often see these used in tutorials, and in many cases these are all you will need to use. The predefined values are as follows: flex: initial flex: auto flex:
none flex: <positive-number> Setting flex: initial resets the item to the initial values of Flexbox. This is the same as flex: 0 1 auto. In this case the value of flex-grow is 0, so items will not grow larger than their flex-basis size. The value of flex-shrink is 1, so items can shrink if they need to rather than overflowing. The value of flex-basis is auto. Items will either use any size set on t...
... can shrink if they need to rather than overflowing. The value of flex-basis is auto. Items will either use any size set on the item in the main dimension, or they will get their size from the content size. Using flex: auto is the same as using flex: 1 1 auto; everything is as with flex:initial but in this case the items can grow and fill the container as well as shrink if required. Using flex:
none will create fully inflexible flex items. It is as if you wrote flex: 0 0 auto. The items cannot grow or shrink but will be laid out using flexbox with a flex-basis of auto. The shorthand you often see in tutorials is flex: 1 or flex: 2 and so on. This is as if you used flex: 1 1 0. The items can grow and shrink from a flex-basis of 0. Try these shorthand values in the live example below. Ali...
OpenType font features guide - CSS: Cascading Style Sheets
improvement and recipe sites much easier to read and understand. Numerals within paragraphs of text set as 'oldstyle' sit more comfortably between lower-case letters, and likewise setting them as 'tabular numbers' will make them line up better when setting a list of costs in a table say. 'lining' figures on the other hand sit more uniformly on their own or in front of capitalized words. While
none of these features individually will render a site useless due to their absence, each of them in turn can make a site easier to use and more memorable for its attention to detail. OpenType features are like secret compartments in fonts. Unlock them and you'll find ways to make fonts look and behave differently in subtle and dramatic ways. Not all OpenType features are appropriate to use all of t...
...ng of glyphs with only the OpenType set 'jis78' enabled. Uncheck the box below and you'll see more characters displayed. Note: these glyphs were copied out of a font sample and are not intended as prose. Font variant shorthand (font-variant) This is the shorthand syntax for defining all of the above. Setting a value of normal resets all properties to their initial value. Setting a value of
none sets font-variant-ligatures to
none and all other properties to their initial value. (Meaning that if kerning is on by default, it will still be on even with a value of
none being supplied here.) Font feature settings font-feature-settings is the 'low level syntax' that allows explicit access to every named available OpenType feature. This gives a lot of control, but has some disadvantages in...
Variable fonts guide - CSS: Cascading Style Sheets
ons usually occur. Italic and oblique are often used somewhat interchangeably, but in truth are actually quite different. Oblique is defined in this context with the term slant (see the below section), and a typeface would typically have one or the other, but not both. In CSS, both italic and oblique are applied to text using the font-style property. Also note the introduction of font-synthesis:
none;--which will prevent browsers from accidentally applying the variation axis and a synthesized italic. This can be used to prevent faux-bolding as well. font-style: italic; font-variation-settings: 'ital' 1; font-synthesis:
none; The following live example's CSS can be edited to allow you to play with font italics. Slant Slant (represented by the slnt tag), or as it's often referred to, 'o...
...ompensating for screen quality and physical size rendering. Optical size values are generally intended to be automatically applied corresponding to font-size, but can also be manipulated using the lower-level font-variation-settings syntax. There is a new attribute, font-optical-sizing, created to support variable fonts in CSS. When using font-optical-sizing, the only allowed values are auto or
none -- so this attribute only allows for turning optical sizing on or off. However when using font-variation-settings: 'opsz' <num>, you can supply a numeric value. In most cases you would want to match the font-size (the physical size the type is being rendered) with the opsz value (which is how optical sizing is intended to be applied when using auto). The option to provide a specific value is prov...
Using CSS counters - CSS: Cascading Style Sheets
s to track how many times they're used. Using counters Manipulating a counter's value To use a CSS counter, it must first be initialized to a value with the counter-reset property (0 by default). The same property can also be used to change its value to any specific number. Once initialized, a counter's value can be increased or decreased with counter-increment. The counter's name must not be "
none", "inherit", or "initial"; otherwise the declaration is ignored. Displaying a counter The value of a counter can be displayed using either the counter() or counters() function in a content property. The counter() function has two forms: 'counter(name)' or 'counter(name, style)'. The generated text is the value of the innermost counter of the given name in scope at the given pseudo-element.The ...
...lly created in child elements. Using the counters() function, separating text can be inserted between different levels of nested counters. ...
Overview of CSS Shapes - CSS: Cascading Style Sheets
our <basic-shape> values, which are: inset() circle() ellipse() polygon() Using the value inset() wraps text around a rectangular shape however you are able to add offset values, thus pulling the line boxes of any wrapping content closer to the object than would otherwise happen. We have already seen how circle() creates a circular shape. An ellipse() is essentially a squashed circle. If
none of these simple shapes do the trick you can create a polygon() and make the shape as complex as you want. In our Guide to Basic Shapes we explore each of the possible Basic Shapes and how to create them. Shapes from the Box Value Shapes can also be created around the Box Value, therefore you could create your shape on the: border-box padding-box content-box margin-box In the example be...
...n alpha channel -- the text will then wrap around the non-transparent parts of the image. This allows the overlay of wrapped content around an image, or the use of an image which is never displayed on the page purely as a method of creating a complex shape without needing to carefully map a polygon. Note that images used in this way must be CORS compatible, otherwise shape-outside will act as if
none had been given as the value, and you will get no shape. In this next example, we have an image with a fully transparent area, and we are using an image as the URL value for shape-outside. The shape is created around the opaque area -- the image of the balloon. shape-image-threshold The shape-image-threshold property is used to set the threshold of image transparency used to define the area o...
Using CSS transitions - CSS: Cascading Style Sheets
1s ease-out; } a:hover, a:focus { color: #333; background-color: #fff; } This CSS establishes the look of the menu, with the background and text colors both changing when the element is in its :hover and :focus states. JavaScript examples Care should be taken when using a transition immediately after: adding the element to the DOM using .appendChild() removing an element's display:
none; property. This is treated as if the initial state had never occurred and the element was always in its final state. The easy way to overcome this limitation is to apply a window.setTimeout() of a handful of milliseconds before changing the CSS property you intend to transition to. Using transitions to make JavaScript functionality smooth Transitions are a great tool to make things look much...
... Specifications Specification Status Comment CSS Transitions Working Draft Initial definition ...
CSS values and units - CSS: Cascading Style Sheets
See the <custom-ident> and <string> reference pages for more details. Pre-defined keyword values Pre-defined keywords are text values defined by the specification for that property. These keywords are also CSS Identifiers and are therefore used without quotes. ...
...re-defined keywords are text values defined by the specification for that property. These keywords are also CSS Identifiers and are therefore used without quotes. When viewing CSS property value syntax in a CSS specification or the MDN property page, allowable keywords will be listed in the following form. The following values are the pre-defined keyword values allowed for float. left | right |
none | inline-start | inline-end Such values are used without quotes: .box { float: left; } CSS-wide values In addition to the pre-defined keywords that are part of the specification for a property, all CSS properties accept the CSS-wide property values initial, inherit, and unset, which explicitly specify defaulting behaviors. The initial keyword represents the value specified as the proper...
Layout and the containing block - CSS: Cascading Style Sheets
cky). If the position property is fixed, the containing block is established by the viewport (in the case of continuous media) or the page area (in the case of paged media). If the position property is absolute or fixed, the containing block may also be formed by the edge of the padding box of the nearest ancestor element that has the following: A transform or perspective value other than
none A will-change value of transform or perspective A filter value other than
none or a will-change value of filter (only works on Firefox). A contain value of paint (e.g. contain: paint;) Note: The containing block in which the root element (<html>) resides is a rectangle called the initial containing block. It has the dimensions of the viewport (for continuous media) or the page a...
...lbar)) */ height: 50%; /* == (50vh - (height of horizontal scrollbar)) */ margin: 5%; /* == (5vw - (width of vertical scrollbar)) */ padding: 5%; /* == (5vw - (width of vertical scrollbar)) */ background: cyan; } Example 5 In this example, the paragraph's position is absolute, so its containing block is <section>, which is the nearest ancestor with a transform property that isn't
none. <body> <section> <p>This is a paragraph!</p> </section> </body> body { background: beige; } section { transform: rotate(0deg); width: 400px; height: 160px; background: lightgray; } p { position: absolute; left: 80px; top: 30px; width: 50%; /* == 200px */ height: 25%; /* == 40px */ margin: 5%; /* == 20px */ padding: 5%; /* == 20px */ background: cyan...
animation-fill-mode - CSS: Cascading Style Sheets
its execution. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. It is often convenient to use the shorthand property animation to set all animation properties at once. Syntax /* Single animation */ animation-fill-mode:
none; animation-fill-mode: forwards; animation-fill-mode: backwards; animation-fill-mode: both; /* Multiple animations */ animation-fill-mode:
none, backwards; animation-fill-mode: both, forwards,
none; Values
none The animation will not apply any styles to the target when it's not executing. The element will instead be displayed using any other CSS rules applied to it. This is the default valu...
...ds and backwards, thus extending the animation properties in both directions. Note: When you specify multiple comma-separated values on an animation-* property, they will be assigned to the animations specified in the animation-name property in different ways depending on how many there are. For more information, see Setting multiple animation property values. Formal definition Initial value
noneApplies toall elements, ::before and ::after pseudo-elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax <single-animation-fill-mode>#where <single-animation-fill-mode> =
none | forwards | backwards | both Examples You can see the effect of animation-fill-mode in the following example. It demonstrates how, for an animation that runs for an infinite time, you can ca...
backface-visibility - CSS: Cascading Style Sheets
k faces (2, 4, 5) are hidden. ...
...e-visibility: hidden; } /* Define the container div, the cube div, and a generic face */ .container { width: 150px; height: 150px; margin: 75px 0 0 75px; border:
none; } .cube { width: 100%; height: 100%; perspective: 550px; perspective-origin: 150% 150%; transform-style: preserve-3d; } .face { display: block; position: absolute; width: 100px; height: 100px; border:
none; line-height: 100px; font-family: sans-serif; font-size: 60px; color: white; text-align: center; } /* Define each face based on direction */ .front { background: rgba(0, 0, 0, 0.3); transform: translateZ(50px); } .back { background: rgba(0, 255, 0, 1); color: black; transform: rotateY(180deg) translateZ(50px); } .right { background: rgba(196, 0, 0, 0.7); transform: rota...
background - CSS: Cascading Style Sheets
erefore convey nothing to its users. If the image contains information critical to understanding the page's overall purpose, it is better to describe it semantically in the document. MDN Understanding WCAG, Guideline 1.1 explanations Understanding Success Criterion 1.1.1 | W3C Understanding WCAG 2.0 Formal definition Initial valueas each of the properties of the shorthand:background-image:
nonebackground-position: 0% 0%background-size: auto autobackground-repeat: repeatbackground-origin: padding-boxbackground-clip: border-boxbackground-attachment: scrollbackground-color: transparentApplies toall elements. It also applies to ::first-letter and ::first-line.InheritednoPercentagesas each of the properties of the shorthand:background-position: refer to the size of the background positioning...
...f length, percentage, or calcbackground-repeat: discretebackground-attachment: discrete Formal syntax [ <bg-layer> , ]* <final-bg-layer>where <bg-layer> = <bg-image> | <bg-position> [ / <bg-size> ]? | <repeat-style> | <attachment> | <box> | <box><final-bg-layer> = <'background-color'> | <bg-image> | <bg-position> [ / <bg-size> ]? | <repeat-style> | <attachment> | <box> | <box>where <bg-image> =
none | <image><bg-position> = [ [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ center | [ left | right ] <length-percentage>? ] && [ center | [ top | bottom ] <length-percentage>? ] ]<bg-size> = [ <length-percentage> | auto ]{1,2} | cover | contain<repeat-style> = repeat-x | repeat-y |...
border-block-end - CSS: Cascading Style Sheets
element. Values The border-block-end is specified with one or more of the following, in any order: <'border-width'> The width of the border. See border-width. <'border-style'> The line style of the border. See border-style. <'color'> The color of the border. See color. ...
...ine style of the border. See border-style. <'color'> The color of the border. See color. ...
border-block-start-width - CSS: Cascading Style Sheets
border-width'> values */ border-block-start-width: 5px; border-block-start-width: thick; Related properties are border-block-end-width, border-inline-start-width, and border-inline-end-width, which define the other border widths of the element. ...
...lementsInheritednoPercentageslogical-width of containing blockComputed valueabsolute length; 0 if the border style is
none or hiddenAnimation typea length Values <'border-width'> The width of the border. See border-width. ...
border-block - CSS: Cascading Style Sheets
idth Syntax Values The border-block is specified with one or more of the following, in any order: <'border-width'> The width of the border. See border-width. <'border-style'> The line style of the border. See border-style. <'color'> The color of the border. See color. ...
...ine style of the border. See border-style. <'color'> The color of the border. See color. ...
border-inline-end-width - CSS: Cascading Style Sheets
'border-width'> values */ border-inline-end-width: 2px; border-inline-end-width: thick; Related properties are border-block-start-width, border-block-end-width, and border-inline-start-width, which define the other border widths of the element. ...
...lementsInheritednoPercentageslogical-width of containing blockComputed valueabsolute length; 0 if the border style is
none or hiddenAnimation typea length Values <'border-width'> The width of the border. See border-width. ...
border-inline-start-style - CSS: Cascading Style Sheets
please clone https://github.com/mdn/interactive-examples and send us a pull request. Syntax /* <'border-style'> values */ border-inline-start-style: dashed; border-inline-start-style: dotted; border-inline-start-style: groove; Related properties are border-block-start-style, border-block-end-style, and border-inline-end-style, which define the other border styles of the element. ...
...der-inline-start-style: groove; Related properties are border-block-start-style, border-block-end-style, and border-inline-end-style, which define the other border styles of the element. Initial value
noneApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete Values <'border-style'> The line style of the border. See border-style. ...
clear - CSS: Cascading Style Sheets
ly floated elements, its height collapses to nothing. If you want it to always be able to resize, so that it contains floating elements inside it, you need to self-clear its children. This is called clearfix, and one way to do it is to add clear to a replaced ::after pseudo-element on it. #container::after { content: ""; display: block; clear: both; } Syntax /* Keyword values */ clear:
none; clear: left; clear: right; clear: both; clear: inline-start; clear: inline-end; /* Global values */ clear: inherit; clear: initial; clear: unset; Values
none Is a keyword indicating that the element is not moved down to clear past floating elements. left Is a keyword indicating that the element is moved down to clear past left floats. right Is a keyword indicating that the element is ...
...cating that the element is moved down to clear floats on start side of its containing block, that is the left floats on ltr scripts and the right floats on rtl scripts. inline-end Is a keyword indicating that the element is moved down to clear floats on end side of its containing block, that is the right floats on ltr scripts and the left floats on rtl scripts. Formal definition Initial value
noneApplies toblock-level elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax
none | left | right | both | inline-start | inline-end Examples clear: left HTML <div class="wrapper"> <p class="black">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus sit amet diam. Duis mattis varius dui. Suspendisse eget dolor.</p> <p class="red">Lorem ipsum dolo...
column-rule-style - CSS: Cascading Style Sheets
The column-rule-style CSS property sets the style of the line drawn between columns in a multi-column layout. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. ...
...style: outset; /* Global values */ column-rule-style: inherit; column-rule-style: initial; column-rule-style: unset; The column-rule-style property is specified as a single <'border-style'> value. Values <'border-style'> Is a keyword defined by border-style describing the style of the rule. The styling must be interpreted as in the collapsing border model. Formal definition Initial value
noneApplies tomulticol elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax <'border-style'> Examples Setting a dashed column rule HTML <p>This is a bunch of text split into three columns. The `column-rule-style` property is used to change the style of the line that is drawn between columns. Don't you think that's wonderful?</p> CSS p { column-count: 3; ...
column-rule - CSS: Cascading Style Sheets
listed below, in any order. Values <'column-rule-width'> Is a <length> or one of the three keywords, thin, medium, or thick. See border-width for details. <'column-rule-style'> See border-style for possible values and details. <'column-rule-color'> Is a <color> value. ...
...<color> value. ...
column-span - CSS: Cascading Style Sheets
The column-span CSS property makes it possible for an element to span across all columns when its value is set to all. /* Keyword values */ column-span:
none; column-span: all; /* Global values */ column-span: inherit; column-span: initial; column-span: unset; An element that spans more than one column is called a spanning element. Syntax The column-span property is specified as one of the keyword values listed below. Values
none The element does not span multiple columns. all The element spans across all columns. ...
...mn-span property is specified as one of the keyword values listed below. Values
none The element does not span multiple columns. all The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appears. The element establishes a new block formatting context. Formal definition Initial value
noneApplies toin-flow block-level elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax
none | all Examples Making a heading span columns In this example, the heading is made to span across all the columns of the article. HTML <article> <h2>Header spanning all of the columns</h2> <p> The h2 should span all the columns. The rest of the text should be dis...
<display-box> - CSS: Cascading Style Sheets
t "unusual elements" -- elements that aren't rendered purely by CSS box concepts such as replaced elements. See Appendix B: Effects of display: contents on Unusual Elements for more details. Due to a bug in browsers this will currently remove the element from the accessibility tree -- screen readers will not look at what's inside. See the Accessibility concerns section below for more details.
none Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off. To have an element take up the space that it would normally take, but without actually rendering anything, use the visibility property instead. Accessibility concerns Current implementations in most ...
...lement -- and in some browser versions, its descendant elements -- to no longer be announced by screen reading technology. This is incorrect behavior according to the CSSWG specification. More accessible markup with display: contents | Hidde de Vries Display: Contents Is Not a CSS Reset | Adrian Roselli Examples In this first example, the paragraph with a class of secret is set to display:
none; the box and any content is now not rendered. display:
none HTML <p>Visible text</p> <p class="secret">Invisible text</p> CSS p.secret { display:
none; } Result display: contents In this example the outer <div> has a 2-pixel red border and a width of 300px. However it also has display: contents specified therefore this <div> will not be rendered, the border and width will no longer ap...
<easing-function> - CSS: Cascading Style Sheets
jump-start denotes a left-continuous function, so that the first step or jump happens when the animation begins; jump-end denotes a right-continuous function, so that the last step or jump happens when the animation ends; jump-both denotes a right and left continuous function, includes pauses at both the 0% and 100% marks, effectively adding a step during the animation iteration; jump-
none There is no jump on either end. Instead, holding at both the 0% mark and the 100% mark, each for 1/n of the duration start is the equivalent of jump-start end is the equivalent of jump-end end is the default. steps( n, <direction> ) steps(2, jump-start) steps(2, start) steps(4, jump-end) steps(4, end) steps(5, jump-
none) steps(3, jump-both) ste...
...ne happening at the start of the animation. */ steps(2, start) /* The second parameter is optional. */ steps(2) These easing function are invalid: /* The first parameter must be an <integer> and cannot be a real value, even if it is equal to one. */ steps(2.0, jump-end) /* The amount of steps must be non-negative. */ steps(-3, start) /* There must be at least one step.*/ steps(0, jump-
none) Specifications Specification Status Comment CSS AnimationsThe definition of '<timing-function>' in that specification. Working Draft Defines <single-timing-function> as a synonym for <single-transition-timing-function> of the CSS Transitions Module. CSS Timing Functions Level 1The definition of '<easing-function>' in that specification. Working Dra...
font-kerning - CSS: Cascading Style Sheets
, while the ones on the right do: Syntax The font-kerning property is specified as one of the keyword values listed below. Values auto The browser determines whether font kerning should be used or not. For example, some browsers will disable kerning on small fonts, since applying it could harm the readability of text. normal Font kerning information stored in the font must be applied.
none Font kerning information stored in the font is disabled. Formal definition Initial valueautoApplies toall elements. It also applies to ::first-letter and ::first-line.InheritedyesComputed valueas specifiedAnimation typediscrete Formal syntax auto | normal |
none Examples Enabling and disabling kerning HTML <div id="kern"></div> <div id="nokern"></div> <textarea id="input">AV T. ij</text...
...valueautoApplies toall elements. It also applies to ::first-letter and ::first-line.InheritedyesComputed valueas specifiedAnimation typediscrete Formal syntax auto | normal |
none Examples Enabling and disabling kerning HTML <div id="kern"></div> <div id="nokern"></div> <textarea id="input">AV T. ...
font-variant - CSS: Cascading Style Sheets
ariant: common-ligatures small-caps; /* Global values */ font-variant: inherit; font-variant: initial; font-variant: unset; Values normal Specifies a normal font face; each of the longhand properties has an initial value of normal. Longhand properties of font-variant are: font-variant-caps, font-variant-numeric, font-variant-alternates, font-variant-ligatures, and font-variant-east-asian.
none Sets the value of the font-variant-ligatures to
none and the values of the other longhand property as normal, their initial value. <common-lig-values>, <discretionary-lig-values>, <historical-lig-values>, <contextual-alt-values> Specifies the keywords related to the font-variant-ligatures longhand property. The possible values are: common-ligatures, no-common-ligatures, discretionary-ligatures...
... Specifies the keywords related to the font-variant-east-asian longhand property. The possible values are: jis78, jis83, jis90, jis04, simplified, traditional, full-width, proportional-width, ruby. Formal definition Initial valuenormalApplies toall elements. ...
margin-trim - CSS: Cascading Style Sheets
The margin-trim property allows the container to trim the margins of its children where they adjoin the container's edges. Syntax
none Margins are not trimmed by the container. in-flow For in-flow boxes contained by this box, block-axis margins adjacent to the box's edges are truncated to zero. It also truncates any margins collapsed with such a margin. all Trims the margins of in-flow boxes and floats whose margins coincide with the container's content edge. Formal definition Initial value
noneApplies toBlock containers and multi-column containers. ...
...ero. It also truncates any margins collapsed with such a margin. all Trims the margins of in-flow boxes and floats whose margins coincide with the container's content edge. Formal definition Initial value
noneApplies toBlock containers and multi-column containers. ...
offset - CSS: Cascading Style Sheets
thand property sets all the properties required for animating an element along a defined path. Note: Early versions of the spec called this property motion. ...
...ion */ offset: url(circle.svg) 100px; offset: url(circle.svg) 40%; offset: url(circle.svg) 30deg; offset: url(circle.svg) 50px 20deg; /* Including offset anchor */ offset: ray(45deg closest-side) / 40px 20px; offset: url(arc.svg) 2cm / 0.5cm 3cm; offset: url(arc.svg) 30deg / 50px 100px; Formal definition Initial valueas each of the properties of the shorthand:offset-position: autooffset-path:
noneoffset-distance: 0offset-anchor: autooffset-rotate: autoApplies totransformable elementsInheritednoPercentagesas each of the properties of the shorthand:offset-position: referToSizeOfContainingBlockoffset-distance: refer to the total path lengthoffset-anchor: relativeToWidthAndHeightComputed valueas each of the properties of the shorthand:offset-position: for <length> the absolute value, otherwise...
position - CSS: Cascading Style Sheets
. The margins of absolutely positioned boxes do not collapse with other margins. fixed The element is removed from the normal document flow, and no space is created for the element in the page layout. It is positioned relative to the initial containing block established by the viewport, except when one of its ancestors has a transform, perspective, or filter property set to something other than
none (see the CSS Transforms Spec), in which case that ancestor behaves as the containing block. (Note that there are browser inconsistencies with perspective and filter contributing to containing block formation.) Its final position is determined by the values of top, right, bottom, and left. This value always creates a new stacking context. In printed documents, the element is placed in the same po...
...This can be used to create a "floating" element that stays in the same position regardless of scrolling. In the example below, box "One" is fixed at 80 pixels from the top of the page and 10 pixels from the left. Even after scrolling, it remains in the same place relative to the viewport...
quotes - CSS: Cascading Style Sheets
how the browser should render quotation marks that are added using the open-quotes or close-quotes values of the CSS content property. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Syntax /* Keyword value */ quotes:
none; quotes: auto; /* <string> values */ quotes: "<<" ">>"; /* Set open-quote and close-quote to the French quotation marks */ quotes: "<<" ">>" "<" ">"; /* Set two levels of quotation marks */ /* Global values */ quotes: inherit; quotes: initial; quotes: unset; Values
none The open-quote and close-quote values of the content property produce no quotation marks. auto Appropriate...
...attribute). [<string> <string>]+ One or more pairs of <string> values for open-quote and close-quote. The first pair represents the outer level of quotation, the second pair is for the first nested level, next pair for third level and so on. Formal definition Initial valuedepends on user agentApplies toall elementsInheritedyesComputed valueas specifiedAnimation typediscrete Formal syntax
none | auto | [ <string> <string> ]+ Examples Basic quote marks HTML <q>To be or not to be. That's the question!</q> CSS q { quotes: '"' '"' "'" "'"; } q::before { content: open-quote; } q::after { content: close-quote; } Result Auto quotes For most browsers, the default value of quotes is auto (Firefox 70+), or the browser otherwise had this default behavior (Chromiums, Safari, Edge...
scroll-snap-align - CSS: Cascading Style Sheets
ap-align property specifies the box's snap position as an alignment of its snap area (as the alignment subject) within its snap container's snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value. Syntax /* Keyword values */ scroll-snap-align:
none; scroll-snap-align: start end; /* when two values set first is block, second inline */ scroll-snap-align: center; /* Global values */ scroll-snap-align: inherit; scroll-snap-align: initial; scroll-snap-align: unset; Values
none The box does not define a snap position in that axis. start The start alignment of this box's scroll snap area, within the scroll container's snapport is a snap p...
... of this box's scroll snap area, within the scroll container's snapport is a snap position in this axis. center The center alignment of this box's scroll snap area, within the scroll container's snapport is a snap position in this axis. Safari currently has the two value syntax in the wrong order, the first value being inline the second block. See bug #191865. Formal definition Initial value
noneApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax [
none | start | end | center ]{1,2} Specifications Specification Status Comment CSS Scroll Snap Module Level 1The definition of 'scroll-snap-align' in that specification. Candidate Recommendation Initial definition ...
scroll-snap-stop - CSS: Cascading Style Sheets
yntax normal | always Examples Snapping in different axes This example is duplicated from scroll-snap-type with minor variances. ...
...div { scroll-snap-stop: normal; } /* scroll-snap */ .x.mandatory-scroll-snapping { scroll-snap-type: x mandatory; } .y.mandatory-scroll-snapping { scroll-snap-type: y mandatory; } .x.proximity-scroll-snapping { scroll-snap-type: x proximity; } .y.proximity-scroll-snapping { scroll-snap-type: y proximity; } .container > div { text-align: center; scroll-snap-align: center; flex:
none; } .x.container > div { line-height: 128px; font-size: 64px; width: 100%; height: 128px; } .y.container > div { line-height: 256px; font-size: 128px; width: 256px; height: 256px; } /* appearance fixes */ .y.container > div:first-child { line-height: 1.3; font-size: 64px; } /* coloration */ .container > div:nth-child(even) { background-color: #87EA87; } .container > div:nt...
scroll-snap-type-x - CSS: Cascading Style Sheets
The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one. Specifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent. /* Keyword values */ scroll-snap-type-x:
none; scroll-snap-type-x: mandatory; scroll-snap-type-x: proximity; /* Global values */ scroll-snap-type-x: inherit; scroll-snap-type-x: initial; scroll-snap-type-x: unset; Syntax Values
none When the visual viewport of this scroll container is scrolled horizontally, it must ignore snap points. mandatory The visual viewport of this scroll container will rest on a snap point if it isn't currently scrolled horizontally. That means it snaps on th...
...ll be adjusted to maintain the resting on that snap point. proximity The visual viewport of this scroll container may come to rest on a snap point if it isn't currently scrolled horizontally considering the user agent's scroll parameters. If content is added, moved, deleted or resized the scroll offset may be adjusted to maintain the resting on that snap point. Formal definition Initial value
noneApplies toscroll containersInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax
none | mandatory | proximity Specifications Not part of any standard. ...
scroll-snap-type-y - CSS: Cascading Style Sheets
The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one. Specifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent. /* Keyword values */ scroll-snap-type-y:
none; scroll-snap-type-y: mandatory; scroll-snap-type-y: proximity; /* Global values */ scroll-snap-type-y: inherit; scroll-snap-type-y: initial; scroll-snap-type-y: unset; Syntax Values
none When the visual viewport of this scroll container is scrolled vertically, it must ignore snap points. mandatory The visual viewport of this scroll container will rest on a snap point if it isn't currently scrolled vertically. That means it snaps on that poi...
...will be adjusted to maintain the resting on that snap point. proximity The visual viewport of this scroll container may come to rest on a snap point if it isn't currently scrolled vertically considering the user agent's scroll parameters. If content is added, moved, deleted or resized the scroll offset may be adjusted to maintain the resting on that snap point. Formal definition Initial value
noneApplies toscroll containersInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax
none | mandatory | proximity Specifications Not part of any standard. ...
Specified value - CSS: Cascading Style Sheets
y is the value it receives from the document's style sheet. The specified value for a given property is determined according to the following rules: If the document's style sheet explicitly specifies a value for the property, the given value will be used. If the document's style sheet doesn't specify a value but it is an inherited property, the value will be taken from the parent element. ...
... value will be used. If the document's style sheet doesn't specify a value but it is an inherited property, the value will be taken from the parent element. If
none of the above pertain, the element's initial value will be used. Examples HTML <p>My specified color is given explicitly in the CSS.</p> <div>The specified values of all my properties default to their initial values, because
none of them are given in the CSS.</div> <div class="fun"> <p>The specified value of my font family is not given explicitly in the CSS, so it is inherited from my parent. However, the border is not an inheriting property.</p> </div> CSS .fun { border: 1px dotted pink; font-family: fantasy; } p { color: green; } Result Specifications Specification Status Com...
text-emphasis-position - CSS: Cascading Style Sheets
rthand property. Formal definition Initial valueover rightApplies toall elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax [ over | under ] && [ right | left ] Examples Preferring ruby over emphasis marks Some editors prefer to hide emphasis marks when they conflict with ruby. ...
... emphasis marks when they conflict with ruby. In HTML, this can be done with the following style rule: ruby { text-emphasis:
none; } Preferring emphasis marks over ruby Some other editors prefer to hide ruby when they conflict with emphasis marks. In HTML, this can be done with the following pattern: em { text-emphasis: dot; /* Set text-emphasis for <em> elements */ } em rt { display:
none; /* Hide ruby inside <em> elements */ } Specifications Specification Status Comment CSS Text Decoration Module Level 3The definition of 'text-emphasis' in that specification. Candidate Recommendation Initial definition ...
text-shadow - CSS: Cascading Style Sheets
tance; a negative value places the shadow above the text. If both values are 0, the shadow is placed directly behind the text, although it may be partly visible due to the effect of <blur-radius>. <blur-radius> Optional. This is a <length> value. The higher the value, the bigger the blur; the shadow becomes wider and lighter. If not specified, it defaults to 0. ...
...lur-radius>. <blur-radius> Optional. This is a <length> value. The higher the value, the bigger the blur; the shadow becomes wider and lighter. If not specified, it defaults to 0. Formal definition Initial value
noneApplies toall elements. ...
transition-property - CSS: Cascading Style Sheets
l request. Note: The set of properties that can be animated is subject to change. As such, you should avoid including any properties in the list that don't currently animate, as someday they might, causing unexpected results. If you specify a shorthand property (e.g., background), all of its longhand sub-properties that can be animated will be. ...
...stom-ident> values */ transition-property: test_05; transition-property: -specific; transition-property: sliding-vertically; /* Multiple values */ transition-property: test1, animation4; transition-property: all, height, color; transition-property: all, -moz-specific, sliding; /* Global values */ transition-property: inherit; transition-property: initial; transition-property: unset; Values
none No properties will transition. all All properties that can transition will. <custom-ident> A string identifying the property to which a transition effect should be applied when its value changes. Formal definition Initial valueallApplies toall elements, ::before and ::after pseudo-elementsInheritednoComputed valueas specifiedAnimation typediscrete Formal syntax
none | <single-transition...
visibility - CSS: Cascading Style Sheets
layout of a document. The property can also hide rows or columns in a <table>. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. To both hide an element and remove it from the document layout, set the display property to
none instead of using visibility. Syntax /* Keyword values */ visibility: visible; visibility: hidden; visibility: collapse; /* Global values */ visibility: inherit; visibility: initial; visibility: unset; The visibility property is specified as one of the keyword values listed below. Values visible The element box is visible. hidden The element box is invisible (not drawn), but still affe...
...x is invisible (not drawn), but still affects layout as normal. Descendants of the element will be visible if they have visibility set to visible. The element cannot receive focus (such as when navigating through tab indexes). collapse For <table> rows, columns, column groups, and row groups, the row(s) or column(s) are hidden and the space they would have occupied is removed (as if display:
none were applied to the column/row of the table). However, the size of other rows and columns is still calculated as though the cells in the collapsed row(s) or column(s) are present. This value allows for the fast removal of a row or column from a table without forcing the recalculation of widths and heights for the entire table. Collapsed flex items are hidden, and the space they would have occupi...
Overview of events and handlers - Developer guides
ally, browsers define a large number of objects as event emitters and define a wide variety of event types generated by the objects. Button event handler demo For example, browser <button> elements are intended to emit events named 'click' in response to a mouse click or, when displayed in touch sensitive surfaces, to a finger tap. ...
... This code relies on the agreement that there is a kind of event called 'click' which will call any listener (or 'handler') function with an Event object argumen...
<abbr>: The Abbreviation element - HTML: Hypertext Markup Language
n and nothing else. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, palpable content Permitted content Phrasing content Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM Interface HTMLElement Attributes This element only supports the global attributes. The title attribute has a specific semantic meaning when used with the <abbr> ele...
...line) by default, though its default styling varies from one browser to another: Some browsers, like Internet Explorer, do not style it differently than a <span> element. Opera, Firefox, and some others add a dotted underline to the content of the element. A few browsers not only add a dotted underline, but also put it in small caps; to avoid this styling, adding something like font-variant:
none in the CSS takes care of this case. Examples Marking up an abbreviation semantically To mark up an abbreviation without providing an expansion or description, simply use <abbr> without any attributes, as seen in this example. HTML <p>Using <abbr>HTML</abbr> is fun and easy!</p> Result Styling abbreviations You can use CSS to set a custom style to be used for abbreviations, as seen in t...
<audio>: The Embed Audio element - HTML: Hypertext Markup Language
dio player will automatically seek back to the start upon reaching the end of the audio. muted A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is false. preload This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:
none: Indicates that the audio should not be preloaded. metadata: Indicates that only audio metadata (e.g. length) is fetched. auto: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it. empty string: A synonym of the auto value. The default value is different for each browser. The spec advises it to be set to metadata. Usage notes: The aut...
...ntent and palpable content. Permitted content If the element has a src attribute: zero or more <track> elements followed by transparent content that contains no <audio> or <video> media elements. Else: zero or more <source> elements followed by zero or more <track> elements followed by transparent content that contains no <audio> or <video> media elements. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts embedded content. Implicit ARIA role No corresponding role Permitted ARIA roles application DOM interface HTMLAudioElement Specifications Specification Status Comment HTML Living StandardThe definition of '<audio>' in that ...
<button>: The Button element - HTML: Hypertext Markup Language
to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, Interactive content, listed, labelable, and submittable form-associated element, palpable content. Permitted content Phrasing content but there must be no Interactive content Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role button Permitted ARIA roles checkbox, link, menuitem, menuitemcheckbox, menuitemradio, option, radio, switch, tab DOM interface HTMLButtonElement Attributes This element's attributes include the global attributes. ...
... form to the id of the form. <button> elements are much easier to style than <input> elements. You can add inner HTML content (think <i>, <br>, or even <img>), and use ::after and ::before pseudo-elements for complex rendering. If your buttons are not for submitting form data to a server, be sure to set their type attribute to button. Otherwise they will try to submit form data and to load the (
nonexistent) response, possibly destroying the current state of the document. Example <button name="button">Press me</button> Accessibility concerns Icon buttons Buttons that only show an icon to represent do not have an accessible name. Accessible names provide information for assistive technology, such as screen readers, to access when they parse the document and generate an accessibility tr...
<col> - HTML: Hypertext Markup Language
e source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. <col> allows styling columns using CSS, but only a few properties will have an effect on the column (see the CSS 2.1 specification for a list). Content categories
None. Permitted content
None, it is an empty element. Tag omission It must have start tag, but must not have an end tag. Permitted parents <colgroup> only, though it can be implicitly defined as its start tag is not mandatory. The <colgroup> must not have a span attribute. Implicit ARIA role No corresponding role Permitted ARIA roles No role ...
...are: left, aligning the content to the left of the cell center, centering the content in the cell right, aligning the content to the right of the cell justify, inserting spaces into the textual content so that the content is justified in the cell If this attribute is not set, its value is inherited from the align of the <colgroup> element this <col> element belongs too. If there are
none, the left value is assumed. Note: To achieve the same effect as the left, center, right or justify values: Do not try to set the text-align property on a selector giving a <col> element. Because <td> elements are not descendant of the <col> element, they won't inherit it. If the table doesn't use a colspan attribute, use the td:nth-child(an+b) CSS selector. Set a to zero and ...
<colgroup> - HTML: Hypertext Markup Language
Permitted content If the span attribute is present:
none, it is an empty element. ...
...he HTML <colgroup> element defines a group of columns within a table. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories
None. Permitted content If the span attribute is present:
none, it is an empty element. If the attribute is not present: zero or more <col> element Tag omission The start tag may be omitted, if it has a <col> element as its first child and if it is not preceded by a <colgroup> whose end tag has been omitted. The end tag may be omitted, if it is not followed by a space or a comment. Permitted parents A <table> element. The <col...
<command>: The HTML Command element - HTML: Hypertext Markup Language
You should use the <menuitem> element instead, although that element is non-standard and only supported in Edge and Firefox. ...
...used anywhere on the page. The <command> element is included in the W3C specification, but not in the WHATWG specification, and browser support is
nonexistent. You should use the <menuitem> element instead, although that element is non-standard and only supported in Edge and Firefox. Content categories Flow content, phrasing content, metadata content. Permitted content
None, it is an empty element. Tag omission The start tag is mandatory, but, as it is a void element, the use of an end tag is forbidden. Permitted parent elements <colgroup> only, though it can be implicitly defined as its start tag is not mandatory. The <colgroup> must not have a <span> as child. DOM interface HTMLCommandElement Attributes This element incl...
<footer> - HTML: Hypertext Markup Language
source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, palpable content. Permitted content Flow content, but with no <footer> or <header> descendants. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Note that a <footer> element must not be a descendant of an <address>, <header> or another <footer> element. Implicit ARIA role contentinfo, or no corresponding role if a descendant of an article, aside, main, nav or section element, or an element with role=article, co...
... accepts flow content. Note that a <footer> element must not be a descendant of an <address>, <header> or another <footer> element. Implicit ARIA role contentinfo, or no corresponding role if a descendant of an article, aside, main, nav or section element, or an element with role=article, complementary, main, navigation or region Permitted ARIA roles group, presentation or
none DOM interface HTMLElement Attributes This element only includes the global attributes. Usage notes Enclose information about the author in an <address> element that can be included into the <footer> element. The <footer> element is not sectioning content and therefore doesn't introduce a new section in the outline. Examples <footer> Some copyright info or perhaps som...
<form> - HTML: Hypertext Markup Language
one https://github.com/mdn/interactive-examples and send us a pull request. It is possible to use the :valid and :invalid CSS pseudo-classes to style a <form> element based on whether or not the elements inside the form are valid. Content categories Flow content, palpable content Permitted content Flow content, but not containing <form> elements Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content Implicit ARIA role form if the form has an accessible name, otherwise no corresponding role Permitted ARIA roles search,
none or presentation DOM interface HTMLFormElement Attributes This element includes the global attributes. accept ...
...er in which they are listed. The default value means the same encoding as the page. (In previous versions of HTML, character encodings could also be delimited by commas.) autocapitalize A nonstandard attribute used by iOS Safari that controls how textual form elements should be automatically capitalized. autocapitalize attributes on a form elements override it on <form>. Possible values:
none: No automatic capitalization. sentences (default): Capitalize the first letter of each sentence. words: Capitalize the first letter of each word. characters: Capitalize all characters -- that is, uppercase. autocomplete Indicates whether input elements can by default have their values automatically completed by the browser. autocomplete attributes on form elements override it on <form...
<header> - HTML: Hypertext Markup Language
source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, palpable content. Permitted content Flow content, but with no <header> or <footer> descendant. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Note that a <header> element must not be a descendant of an <address>, <footer> or another <header> element. Implicit ARIA role banner, or no corresponding role if a descendant of an article, aside, main, nav or section element, or an element with role=article, complem...
... that accepts flow content. Note that a <header> element must not be a descendant of an <address>, <footer> or another <header> element. Implicit ARIA role banner, or no corresponding role if a descendant of an article, aside, main, nav or section element, or an element with role=article, complementary, main, navigation or region Permitted ARIA roles group, presentation or
none DOM interface HTMLElement Usage notes The <header> element is not sectioning content and therefore does not introduce a new section in the outline. That said, a <header> element is intended to usually contain the surrounding section's heading (an h1-h6 element), but this is not required. Historical Usage Although the <header> element didn't make its way into specifications u...
<input type="datetime-local"> - HTML: Hypertext Markup Language
lbackDateTimePicker'); var fallbackLabel = document.querySelector('.fallbackLabel'); var yearSelect = document.querySelector('#year'); var monthSelect = document.querySelector('#month'); var daySelect = document.querySelector('#day'); var hourSelect = document.querySelector('#hour'); var minuteSelect = document.querySelector('#minute'); // hide fallback initially fallbackPicker.style.display = '
none'; fallbackLabel.style.display = '
none'; // test whether a new datetime-local input falls back to a text input or not var test = document.createElement('input'); try { test.type = 'datetime-local'; } catch (e) { console.log(e.description); } // if it does, run the code inside the if() {} block if(test.type === 'text') { // hide the native picker and show the fallback nativePicker.style.
...Label.style.display = '
none'; // test whether a new datetime-local input falls back to a text input or not var test = document.createElement('input'); try { test.type = 'datetime-local'; } catch (e) { console.log(e.description); } // if it does, run the code inside the if() {} block if(test.type === 'text') { // hide the native picker and show the fallback nativePicker.style.display = '
none'; fallbackPicker.style.display = 'block'; fallbackLabel.style.display = 'block'; // populate the days and years dynamically // (the months are always the same, therefore hardcoded) populateDays(monthSelect.value); populateYears(); populateHours(); populateMinutes(); } function populateDays(month) { // delete the current set of <option> elements out of the // day <select>, re...
<input type="file"> - HTML: Hypertext Markup Language
ly selected for upload</p> </div> <div> <button>Submit</button> </div> </form> html { font-family: sans-serif; } form { width: 580px; background: #ccc; margin: 0 auto; padding: 20px; border: 1px solid black; } form ol { padding-left: 0; } form li, div > p { background: #eee; display: flex; justify-content: space-between; margin-bottom: 10px; list-style-type:
none; border: 1px solid black; } form img { height: 64px; order: 1; } form p { line-height: 32px; padding-left: 10px; } form label, form button { background-color: #7F9CCB; padding: 5px 10px; border-radius: 5px; border: 1px ridge black; font-size: 0.8rem; height: auto; } form label:hover, form button:hover { background-color: #2D5BA3; color: white; } form label:active, f...
...t element by clicking its <label>, so it is better to visually hide the input and style the label like a button, so the user will know to interact with it if they want to upload files. const input = document.querySelector('input'); const preview = document.querySelector('.preview'); input.style.opacity = 0; Note: opacity is used to hide the file input instead of visibility: hidden or display:
none, because assistive technology interprets the latter two styles to mean the file input isn't interactive. Next, we add an event listener to the input to listen for changes to its selected value changes (in this case, when files are selected). The event listener invokes our custom updateImageDisplay() function. input.addEventListener('change', updateImageDisplay); Whenever the updateImageDispla...
<input type="image"> - HTML: Hypertext Markup Language
<input> elements of type image are used to create graphical submit buttons, i.e. submit buttons that take the form of an image rather than text. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Value
None -- the value attribute should not be specified. Events
None. Supported common attributes alt, src, width, height, formaction, formenctype, formmethod, formnovalidate, formtarget IDL attributes
None. Methods
None. Value <input type="image"> elements do not accept value attributes. The path to the image to be displayed is specified in the src attribut...
... overrides any target given by the target attribute on the <form> that owns this input. In addition to the actual names of tabs, windows, or inline frames, there are a few special keywords that can be used: _self Loads the response into the same browsing context as the one that contains the form. This will replace the current document with the received data. This is the default value used if
none is specified. _blank Loads the response into a new, unnamed, browsing context. This is typically a new tab in the same window as the current document, but may differ depending on the configuration of the user agent. _parent Loads the response into the parent browsing context of the current one. If there is no parent context, this behaves the same as _self. _top Loads the response into the t...
<input type="month"> - HTML: Hypertext Markup Language
ck picker UI instead. ...
...bles var nativePicker = document.querySelector('.nativeDatePicker'); var fallbackPicker = document.querySelector('.fallbackDatePicker'); var fallbackLabel = document.querySelector('.fallbackLabel'); var yearSelect = document.querySelector('#year'); var monthSelect = document.querySelector('#month'); // hide fallback initially fallbackPicker.style.display = '
none'; fallbackLabel.style.display = '
none'; // test whether a new date input falls back to a text input or not var test = document.createElement('input'); try { test.type = 'month'; } catch (e) { console.log(e.description); } // if it does, run the code inside the if() {} block if(test.type === 'text') { // hide the native picker and show the fallback nativePicker.style.display = '
none'; fallbackPicker.style.display = 'block...
<input type="range"> - HTML: Hypertext Markup Language
apparent than in the area of hash marks and, to a lesser degree, labels. The specification describes how to add custom points to the range control using the list attribute and a <datalist> element, but does not have any requirements or even recommendations for standardized hash or tick marks along the length of the control. Range control mockups Since browsers have this flexibility, and to date
none support all of the features HTML defines for range controls, here are some mockups to show you what you might get on macOS in a browser which supports them. An unadorned range control This is what you get if you don't specify a list attribute, or if the browser doesn't support it. HTML Examples <input type="range"> Screenshot Live ...
...on> </datalist> Screenshot Live Note: Currently, no browser fully supports these features. Firefox doesn't support hash marks and labels at all, for example, while Chrome supports hash marks but doesn't support labels. Version 66 (66.0.3359.181) of Chrome supports labels but the <datalist> tag has to be styled with CSS as its display property is set to
none by default, hiding the labels. Change the orientation By default, if a browser renders a range input as a slider, it will render it so that the knob slides left and right. When supported, we will be able to make the range vertical, to slide up and down with CSS by declaring a height value greater than the width value. This is not actually implemented yet by any of the major browsers. (See Fir...
<input type="submit"> - HTML: Hypertext Markup Language
are rendered as buttons. When the click event occurs (typically because the user clicked the button), the user agent attempts to submit the form to the server. <input type="submit" value="Send Request"> Value A DOMString used as the button's label Events click Supported common attributes type and value IDL attributes value Methods
None Value An <input type="submit"> element's value attribute contains a DOMString which is displayed as the button's label. Buttons do not have a true value otherwise. <input type="submit" value="Send Request"> If you don't specify a value, the button will have a default label, chosen by the user agent. This label is likely to be something along the lines of "Submit" or "Submit Query." ...
... overrides any target given by the target attribute on the <form> that owns this input. In addition to the actual names of tabs, windows, or inline frames, there are a few special keywords that can be used: _self Loads the response into the same browsing context as the one that contains the form. This will replace the current document with the received data. This is the default value used if
none is specified. _blank Loads the response into a new, unnamed, browsing context. This is typically a new tab in the same window as the current document, but may differ depending on the configuration of the user agent. _parent Loads the response into the parent browsing context of the current one. If there is no parent context, this behaves the same as _self. _top Loads the response into the t...
<input type="time"> - HTML: Hypertext Markup Language
<select>s) instead. ...
...es var nativePicker = document.querySelector('.nativeTimePicker'); var fallbackPicker = document.querySelector('.fallbackTimePicker'); var fallbackLabel = document.querySelector('.fallbackLabel'); var hourSelect = document.querySelector('#hour'); var minuteSelect = document.querySelector('#minute'); // hide fallback initially fallbackPicker.style.display = '
none'; fallbackLabel.style.display = '
none'; // test whether a new date input falls back to a text input or not var test = document.createElement('input'); try { test.type = 'time'; } catch (e) { console.log(e.description); } // if it does, run the code inside the if() {} block if(test.type === 'text') { // hide the native picker and show the fallback nativePicker.style.display = '
none'; fallbackPicker.style.display = 'block'...
<input type="week"> - HTML: Hypertext Markup Language
ect>s) instead. ...
...ar nativePicker = document.querySelector('.nativeWeekPicker'); var fallbackPicker = document.querySelector('.fallbackWeekPicker'); var fallbackLabel = document.querySelector('.fallbackLabel'); var yearSelect = document.querySelector('#year'); var weekSelect = document.querySelector('#fallbackWeek'); // hide fallback initially fallbackPicker.style.display = '
none'; fallbackLabel.style.display = '
none'; // test whether a new date input falls back to a text input or not var test = document.createElement('input'); try { test.type = 'week'; } catch (e) { console.log(e.description); } // if it does, run the code inside the if() {} block if(test.type === 'text') { // hide the native picker and show the fallback nativePicker.style.display = '
none'; fallbackPicker.style.display = 'block'...
<li> - HTML: Hypertext Markup Language
played using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories
None. Permitted content Flow content. Tag omission The end tag can be omitted if the list item is immediately followed by another <li> element, or if there is no more content in its parent element. Permitted parents An <ul>, <ol>, or <menu> element. Though not a conforming usage, the obsolete <dir> can also be a parent. Implicit ARIA role listitem when c...
...item is immediately followed by another <li> element, or if there is no more content in its parent element. Permitted parents An <ul>, <ol>, or <menu> element. Though not a conforming usage, the obsolete <dir> can also be a parent. Implicit ARIA role listitem when child of an ol, ul or menu Permitted ARIA roles menuitem, menuitemcheckbox, menuitemradio, option,
none, presentation, radio, separator, tab, treeitem DOM interface HTMLLIElement Attributes This element includes the global attributes. value This integer attribute indicates the current ordinal value of the list item as defined by the <ol> element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items th...
<menuitem> - HTML: Hypertext Markup Language
nd optional icon to describe its appearance, or alternatively as an indirect command whose behavior is defined by a separate element. Commands can also optionally include a checkbox or be grouped to share radio buttons. (Menu items for indirect commands gain checkboxes or radio buttons when defined against elements <input type="checkbox"> and <input type="radio">.) Content categories
None. Permitted content
None, it is an empty element. Tag omission Must have a start tag and must not have an end tag. Permitted parents The <menu> element, where that element is in the popup menu state. (If specified, the type attribute of the <menu> element must be popup; if missing, the parent element of the <menu> must itself be a <menu> in the popup menu state.
...e, it is an empty element. Tag omission Must have a start tag and must not have an end tag. Permitted parents The <menu> element, where that element is in the popup menu state. (If specified, the type attribute of the <menu> element must be popup; if missing, the parent element of the <menu> must itself be a <menu> in the popup menu state.) Permitted ARIA roles
None DOM interface HTMLMenuItemElement Attributes This element includes the global attributes; in particular title can be used to describe the command, or provide usage hints. checked Boolean attribute which indicates whether the command is selected. May only be used when the type attribute is checkbox or radio. command Specifies the ID of a separate element, indicating a com...
<optgroup> - HTML: Hypertext Markup Language
Permitted content Zero or more <option> elements. ...
...roup> element, or if the parent element has no more content. Permitted parents A <select> element. Implicit ARIA role group Permitted ARIA roles No role permitted DOM interface HTMLOptGroupElement Note: Optgroup elements may not be nested. Attributes This element includes the global attributes. disabled If this Boolean attribute is set,
none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones. label The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used. Examples <select> <optgroup label="Group 1"> <optio...
<picture>: The Picture element - HTML: Hypertext Markup Language
amples and send us a pull request. To decide which URL to load, the user agent examines each <source>'s srcset, media, and type attributes to select a compatible image that best matches the current layout and capabilities of the display device. The <img> element serves two purposes: It describes the size and other attributes of the image and its presentation. It provides a fallback in case
none of the offered <source> elements are able to provide a usable image. Common use cases for <picture>: Art direction. Cropping or modifying images for different media conditions (for example, loading a simpler version of an image which has too many details, on smaller displays). Offering alternative image formats, for cases where certain formats are not supported. Saving bandwidth and speedi...
...> element instead. This lets browsers opt for lower-density versions in data-saving modes, and you don't have to write explicit media conditions. Content categories Flow content, phrasing content, embedded content Permitted content Zero or more <source> elements, followed by one <img> element, optionally intermixed with script-supporting elements. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that allows embedded content. Implicit ARIA role No corresponding role Permitted ARIA roles No role permitted DOM interface HTMLPictureElement Attributes This element includes only global attributes. Usage notes You can use the object-position property to adjust...
<section>: The Generic Section element - HTML: Hypertext Markup Language
results and a map display and its controls don't have specific elements, and could be put inside a <section>. Note: If the contents of the element would make sense syndicated as a standalone piece, the <article> element may be a better choice. Content categories Flow content, Sectioning content, palpable content. Permitted content Flow content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Note that a <section> element must not be a descendant of an <address> element. Implicit ARIA role region if the element has an accessible name, otherwise no corresponding role Permitted ARIA roles alert, alertdialog, application, banner, complementary, con...
...ed parents Any element that accepts flow content. Note that a <section> element must not be a descendant of an <address> element. Implicit ARIA role region if the element has an accessible name, otherwise no corresponding role Permitted ARIA roles alert, alertdialog, application, banner, complementary, contentinfo, dialog, document, feed, log, main, marquee, navigation,
none, note, presentation, search, status, tabpanel DOM interface HTMLElement Attributes This element only includes the global attributes. Usage notes Each <section> should be identified, typically by including a heading (<h1>-<h6> element) as a child of the <section> element. If it makes sense to separately syndicate the content of a <section> element, use an <article> element...
<slot> - HTML: Hypertext Markup Language
The HTML <slot> element--part of the Web Components technology suite--is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together. Content categories Flow content, phrasing content Permitted content Transparent Events slotchange Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content Implicit ARIA role No corresponding role Permitted ARIA roles No role permitted DOM interface HTMLSlotElement Attributes This element includes the global attributes. name The slot's name. A named slot is a <slot> element with a name attribute. Exam...
...In addition, you can find an explanation at Using templates and slots. Specifications Specification Status Comments HTML Living StandardThe definition of '<slot>' in that specification. Living Standard DO...
<table>: The Table element - HTML: Hypertext Markup Language
Permitted parents Any element that accepts flow content Implicit ARIA role table Permitted ARIA roles Any DOM interface HTMLTableElement Attributes This element includes the global attributes. Deprecated attributes align This enumerated attribute indicates how the table must be aligne...
...ing does not have any effect if border-collapse is set to collapse. frame This enumerated attribute defines which side of the frame surrounding the table must be displayed. To achieve a similar effect, use the border-style and border-width properties. rules This enumerated attribute defines where rules, i.e. lines, should appear in a table. ...
<tt>: The Teletype Text element (obsolete) - HTML: Hypertext Markup Language
sed interchangeably and have the same general meaning: they describe a typeface whose characters are all the same number of pixels wide. This element is obsolete, however. You should use the more semantically helpful <code>, <kbd>, <samp>, or <var> elements for inline text that needs to be presented in monospace type, or the <pre> tag for content that should be presented as a separate block. If
none of the semantic elements are appropriate for your use case (for example, if you simply need to show some content in a non-proportional font), you should consider using the <span> element, styling it as desired using CSS. The font-family property is a good place to start. Content categories Flow content, phrasing content, palpable content. Permitted content Phrasing conten...
...e appropriate for your use case (for example, if you simply need to show some content in a non-proportional font), you should consider using the <span> element, styling it as desired using CSS. The font-family property is a good place to start. Content categories Flow content, phrasing content, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Permitted ARIA roles Any DOM interface HTMLElement Attributes This element only includes the global attributes Examples Basic example This example uses <tt> to show text entered into, and output by, a terminal application. <p>Enter the follo...
<video>: The Video Embed element - HTML: Hypertext Markup Language
this attribute isn't specified, nothing is displayed until the first frame is available, then the first frame is shown as the poster frame. preload This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience with regards to what content is loaded before the video is played. It may have one of the following values:
none: Indicates that the video should not be preloaded. metadata: Indicates that only video metadata (e.g. length) is fetched. auto: Indicates that the whole video file can be downloaded, even if the user is not expected to use it. empty string: Synonym of the auto value. The default value is different for each browser. The spec advises it to be set to metadata. Note: The autoplay att...
... Permitted content If the element has a src attribute: zero or more <track> elements, followed by transparent content that contains no media elements-that is no <audio> or <video> Else: zero or more <source> elements, followed by zero or more <track> elements, followed by transparent content that contains no media elements-that is no <audio> or <video>. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts embedded content. Implicit ARIA role No corresponding role Permitted ARIA roles application DOM interface HTMLVideoElement Specifications Specification Feedback HTML Living StandardThe definition of '<video>' in that specifica...
HTTP caching - HTTP
esource changes; they have to communicate an expiration time for the resource. Before this expiration time, the resource is fresh; after the expiration time, the resource is stale. Eviction algorithms often privilege fresh resources over stale resources. Note that a stale resource is not evicted or ignored; when the cache receives a request for a stale resource, it forwards this request with a If-
None-Match to check if it is in fact still fresh. If so, the server returns a 304 (Not Modified) header without sending the body of the requested resource, saving some bandwidth. Here is an example of this process with a shared cache proxy: The freshness lifetime is calculated based on several headers. If a "Cache-Control: max-age=N" header is specified, then the freshness lifetime is equal to N. ...
...n option to force a validation each time a document is loaded. ETags The ETag response header is an opaque-to-the-useragent value that can be used as a strong validator. That means that a HTTP user-agent, such as the browser, does not know what this string represents and can't predict what its value would be. If the ETag header was part of the response for a resource, the client can issue an If-
None-Match in the header of future requests - in order to validate the cached resource. The Last-Modified response header can be used as a weak validator. It is considered weak because it only has 1-second resolution. If the Last-Modified header is present in a response, then the client can issue an If-Modified-Since request header to validate the cached document. When a validation request is made, ...
HTTP conditional requests - HTTP
ortance of the different elements of a page, but is very useful towards optimizing cache performance. Conditional headers Several HTTP headers, called conditional headers, lead to conditional requests. These are: If-Match Succeeds if the ETag of the distant resource is equal to one listed in this header. By default, unless the etag is prefixed with 'W/', it performs a strong validation. If-
None-Match Succeeds if the ETag of the distant resource is different to each listed in this header. By default, unless the etag is prefixed with 'W/', it performs a strong validation. If-Modified-Since Succeeds if the Last-Modified date of the distant resource is more recent than the one given in this header. If-Unmodified-Since Succeeds if the Last-Modified date of the distant resource is older ...
...rsion), or by showing the user a diff of both versions, helping them decide which changes they wish to keep. Dealing with the first upload of a resource The first upload of a resource is an edge case of the previous. Like any update of a resource, it is subject to a race condition if two clients try to perform at the similar times. To prevent this, conditional requests can be used: by adding If-
None-Match with the special value of '*', representing any etag. The request will succeed, only if the resource didn't exist before: If-
None-Match will only work with HTTP/1.1 (and later) compliant servers. If unsure if the server will be compliant, you need first to issue a HEAD request to the resource to check this. Conclusion Conditional requests are a key feature of HTTP, and allow the buildi...
Accept-Ranges - HTTP
advertise its support of partial requests. The value of this field indicates the unit that can be used to define a range. In presence of an Accept-Ranges header, the browser may try to resume an interrupted download, rather than to start it from the start again. ...
...ther than to start it from the start again. Header type Response header Forbidden header name no Syntax Accept-Ranges: <range-unit> Accept-Ranges:
none Directives <range-unit> Defines the range unit the server supports. Though bytes is the only range unit formally defined by RFC 7233, additional range units may be registered in the HTTP Range Unit Registry.
none No range unit is supported, this makes the header equivalent of its own absence and is therefore rarely used, though some browsers, like IE9, it is used to disable or remove the pause buttons in the download manager. Examples Accept-Ranges: bytes Specifications Specification Title RFC 7233, section 2.3: Accept-Ranges Hypertext Transfer Protocol (HTTP/1.1): Range...
Cache-Control - HTTP
not use their stale copy without successful validation on the origin server. proxy-revalidate Like must-revalidate, but only for shared caches (e.g., proxies). Ignored by private caches. immutable Indicates that the response body will not change over time. The resource, if unexpired, is unchanged on the server and therefore the client should not send a conditional revalidation for it (e.g. If-
None-Match or If-Modified-Since) to check for updates, even when the user explicitly refreshes the page. Clients that aren't aware of this extension must ignore them as per the HTTP specification. In Firefox, immutable is only honored on https:// transactions. For more information, see also this blog post. Other no-transform An intermediate cache or proxy cannot edit the response body, Content-E...
...Content-Range, or Content-Type. It therefore forbids a proxy or browser feature, such as Google's Web Light, from converting images to minimize data for a cache store or slow connection. only-if-cached Set by the client to indicate "do not use the network" for the response. The cache should either respond using a stored response, or respond with a 504 status code. Conditional headers such as If-
None-Match should not be set. There is no effect if only-if-cached is set by a server as part of a response. Examples Preventing caching To disable caching of a resource, you can send the following response header: Good: Cache-Control: no-store Bad: Cache-Control: private,no-cache,no-store,max-age=0,must-revalidate,pre-check=0,post-check=0 Caching static assets For the files in th...
CSP: frame-ancestors - HTTP
CSP version 2 Directive type Navigation directive default-src fallback No. Not setting this allows anything. This directive is not supported in the <meta> element. ...
...esystem: Allows filesystem: URIs to be used as a content source. 'self' Refers to the origin from which the protected document is being served, including the same URL scheme and port number. You must include the single quotes. Some browsers specifically exclude blob and filesystem from source directives. Sites needing to allow these content types can specify them using the Data attribute. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. Examples Content-Security-Policy: frame-ancestors '
none'; Content-Security-Policy: frame-ancestors 'self' https://www.example.org; Specifications Specification Status Comment Content Security Policy Level 3The definition of 'frame-ancestors' in that specification. Working Draft N...
CSP: object-src - HTTP
To set allowed types for <object>, <embed>, and <applet> elements, use the plugin-types directive. Elements controlled by object-src are perhaps coincidentally considered legacy HTML elements and aren't receiving new standardized features (such as the security attributes sandbox or allow for <iframe>). Therefore it is recommended to restrict this fetch-directive (e.g. explicitly set object-src '
none' if possible). CSP version 1 Directive type Fetch directive default-src fallback Yes. If this directive is absent, the user agent will look for the default-src directive. Syntax One or more sources can be allowed for the object-src policy: Content-Security-Policy: object-src <source>; Content-Security-Policy: object-src <source> <source>; Sources <...
...pecific inline event handlers. If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method compared to using the unsafe-inline expression. 'unsafe-inline' Allows the use of inline resources, such as inline <script> elements, javascript: URLs, inline event handlers, and inline <style> elements. You must include the single quotes. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. 'nonce-<base64-value>' A whitelist for specific inline scripts using a cryptographic nonce (number used once). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource's policy is otherwise trivial. See unsafe inline scr...
CSP: plugin-types - HTTP
fallback No. Not setting this allows anything. Syntax One or more MIME types can be set for the plugin-types policy: Content-Security-Policy: plugin-types <type>/<subtype>; Content-Security-Policy: plugin-types <type>/<subtype> <type>/<subtype>; <type>/<subtype> A valid MIME type. ...
...-Security-Policy: plugin-types <type>/<subtype> <type>/<subtype>; <type>/<subtype> A valid MIME type. Examples Disallowing plugins To disallow all plugins, the object-src directive should be set to '
none' which will disallow plugins. The plugin-types directive is only used if you are allowing plugins with object-src at all. ...
CSP: referrer - HTTP
this was a typo in the original spec) for links away from a page. This API is deprecated and removed from browsers. Use the Referrer-Policy header instead. Syntax Content-Security-Policy: referrer <referrer-policy>; where <referrer-policy> can be one of the following values: "no-referrer" The Referer header will be omitted entirely. No referrer information is sent along with requests. "
none-when-downgrade" This is the user agent's default behavior if no policy is specified. The origin is sent as referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but isn't sent to a less secure destination (HTTPS->HTTP). "origin" Only send the origin of the document as the referrer in all cases. The document https://example.com/page.html will send the referrer https://example.com/. ...
... ...
Content-Security-Policy-Report-Only - HTTP
tatus-code The HTTP status code of the resource on which the global object was instantiated. violated-directive The name of the policy section that was violated. Sample violation report Let's consider a page located at http://example.com/signup.html. It uses the following policy, disallowing everything but stylesheets from cdn.example.com. Content-Security-Policy-Report-Only: default-src '
none'; style-src cdn.example.com; report-uri /_/csp-reports The HTML of signup.html looks like this: <!DOCTYPE html> <html> <head> <title>Sign Up</title> <link rel="stylesheet" href="css/style.css"> </head> <body> ... Content ... </body> </html> Can you spot the violation? Stylesheets are only allowed to be loaded from cdn.example.com, yet the website tries to load one from its...
...This is not always the case. For example, when the signup.html would attempt to load CSS from http://anothercdn.example.com/stylesheet.css, the browser would not include the full path but only the origin (http://ano...
Cross-Origin-Opener-Policy - HTTP
OP is opened in a new window, the opening document will not have a reference to it, and the window.opener property of the new window will be null. This allows you to have more control over references to a window than rel=noopener, which only affects outgoing navigations. Header type Response header Forbidden header name no Syntax Cross-Origin-Opener-Policy: unsafe-
none | same-origin-allow-popups | same-origin Directives unsafe-
none This is the default value. Allows the document to be added to its opener's browsing context group unless the opener itself has a COOP of same-origin or same-origin-allow-popups. same-origin-allow-popups Retains references to newly opened windows or tabs which either don't set COOP or which opt out of isolation by setting a CO...
... same-origin Isolates the browsing context exclusively to same-origin documents. Cross-origin documents are not loaded in the same browsing context. ...
ETag - HTTP
hes don't match, it means that the document has been edited in-between and a 412 Precondition Failed error is thrown. Caching of unchanged resources Another typical use of the ETag header is to cache resources that are unchanged. ...
...t the document has been edited in-between and a 412 Precondition Failed error is thrown. Caching of unchanged resources Another typical use of the ETag header is to cache resources that are unchanged. If a user visits a given URL again (that has an ETag set), and it is stale (too old to be considered usable), the client will send the value of its ETag along in an If-
None-Match header field: If-
None-Match: "33a64df551425fcc55e4d42a148795d9f25f89d4" The server compares the client's ETag (sent with If-
None-Match) with the ETag for its current version of the resource, and if both values match (that is, the resource has not changed), the server sends back a 304 Not Modified status, without a body, which tells the client that the cached version of the response is still good to use (fresh). Spec...
Feature-Policy: accelerometer - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The default value is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. AccelerometerThe definition of 'Accelerometer' in that specification. Candidate Recommendation ...
Feature-Policy: ambient-light-sensor - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The default value is 'self'. Specification Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: autoplay - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The default value in Google Chrome is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: battery - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The default value is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. Battery Status APIThe definition of 'Feature Policy integration' in that specification. Candidate Recommendation ...
Feature-Policy: camera - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The default value is 'self'. Specification Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: display-capture - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The default alowlist is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. Screen CaptureThe definition of 'display-capture' in that specification. Working Draft Feature policy directive definition. ...
Feature-Policy: document-domain - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The default value is *. Specifications Specification Status Comment HTML Living StandardThe definition of 'document-domain' in that specification. Living Standard ...
Feature-Policy: encrypted-media - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The allow list is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. Encrypted Media ExtensionsThe definition of 'Feature Policy integration' in that specification. Recommendation ...
Feature-Policy: fullscreen - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The default value is 'self'. Examples General example SecureCorp Inc. wants to disable the Fullscreen API within all browsing contexts except for its own origin and those whose origin is https://example.com. It can do so by delivering the following HTTP response header to define a feature policy: Feature-P...
Feature-Policy: geolocation - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. The default value is 'self'. Examples General example SecureCorp Inc. wants to disable the Geolocation API within all browsing contexts except for its own origin and those whose origin is https://example.com. It can do so by delivering the following HTTP response header to define a feature policy: Feature-Policy: geolocatio...
Feature-Policy: gyroscope - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. The default value is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: layout-animations - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. The default value is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: legacy-image-formats - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. The default value is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: magnetometer - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. The default value is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: microphone - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. The default value is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: midi - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The allow list is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: oversized-images - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default value The default value is '*'. Specification Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: payment - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The payment feature's default allowlist value is 'self'. Specifications Specification Status Comment Payment Request API Candidate Recommendation See Section 16. Feature Policy integration. Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: picture-in-picture - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy As of June 2019, the spec draft and Google Chrome set default allow list to *. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: publickey-credentials-get - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The default allowlist is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. Web Authentication Level 2 Editor's draft. Definition of publickey-credentials-get directive, default allowlist. ...
Feature-Policy: screen-wake-lock - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy Default allow list for screen-wake-lock is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. Screen Wake Lock API Editor's Draft Initial definition of screen-wake-lock feature directive. ...
Feature-Policy: sync-xhr - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy By default the policy is set to *, which means synchronous requests are allowed in all frames. Specification Specification Status Comment Feature Policy Editor's Draft Initial definition. WHATWG Spec Default policy is *. ...
Feature-Policy: unoptimized-images - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. The default value is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: unsized-media - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default value The default value for unsized-media is '*', that is unsized media elements are allowed for all origins by default. The page will re-flow every time an image with unknown dimensions is loaded. Specifications Specification Status Comment Feature Policy Editor's Draft Initial de...
Feature-Policy: usb - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The default value is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. WebUSBThe definition of 'Feature-Policy integration' in that specification. Draft Default allow list is 'self'. ...
Feature-Policy: vibrate - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. The default value is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. ...
Feature-Policy: wake-lock - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy Default allow list for wake-lock is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. Wake Lock API 1 Candidate Recommendation Initial definition of wake-lock feature directive. ...
web-share - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The default value is 'self'. Specifications Specification Status Comment Feature Policy Editor's Draft Initial definition. Web Share API Draft ...
Feature-Policy: xr-spatial-tracking - HTTP
document, and all nested browsing contexts (iframes) regardless of their origin. 'self': The feature will be allowed in this document, and in all nested browsing contexts (iframes) in the same origin. 'src': (In an iframe allow attribute only) The feature will be allowed in this iframe, as long as the document loaded into it comes from the same origin as the URL in the iframe's src attribute. '
none': The feature is disabled in top-level and nested browsing contexts. <origin(s)>: The feature is allowed for specific origins (for example, https://example.com). Origins should be separated by a space. The values * (enable for all origins) or '
none' (disable for all origins) may only be used alone, while 'self' and 'src' may be used with one or more origins. Features are each defined to have ...
...s are each defined to have a default allowlist, which is one of: *: The feature is allowed by default in top-level browsing contexts and all nested browsing contexts (iframes). 'self': The feature is allowed by default in top-level browsing contexts and in nested browsing contexts (iframes) in the same origin. The feature is not allowed in cross-origin documents in nested browsing contexts. '
none': The feature is disabled in top-level and nested browsing contexts. Default policy The default allowlist is 'self'. Specifications Specification Status Comment WebXR Device APIThe definition of 'Permissions Policy' in that specification. Working Draft ...
Index - HTTP
l send back the requested resource, with a 200 status, only if it has been last modified after the given date. If the request has not been modified since, the response will be a 304 without any body; the Last-Modified response header of a previous request will contain the date of last modification. Unlike If-Unmodified-Since, If-Modified-Since can only be used with a GET or HEAD. 79 If-
None-Match Conditional Requests, HTTP, HTTP Header, Reference, Request header The If-
None-Match HTTP request header makes the request conditional. For GET and HEAD methods, the server will send back the requested resource, with a 200 status, only if it doesn't have an ETag matching the given ones. For other methods, the request will be processed only if the eventually existing resource's ETa...
... server has responded with a 407 Proxy Authentication Required status and the Proxy-Authenticate header. 91 Public-Key-Pins HPKP, HTTP, Reference, Security, header The HTTP Public-Key-Pins response header associates a specific cryptographic public key with a certain web server to decrease the risk of MITM attacks with forged certificates. If one or several keys are pinned and
none of them are used by the server, the browser will not accept the response as legitimate, and will not display it. 92 Public-Key-Pins-Report-Only HPKP, HTTP, Security, header The HTTP Public-Key-Pins-Report-Only response header sends reports of pinning violation to the report-uri specified in the header but, unlike Public-Key-Pins still allows browsers to connect to the server ...
Set-Cookie - HTTP
It also must not contain a separator character like the following: ( ) < > @ , ...
...quests (that is, requests originating from the same site that set the cookie). If the request originated from a different URL than the current one, no cookies with the SameSite=Strict attribute are sent. Lax: The cookie is withheld on cross-site subrequests, such as calls to load images or frames, but is sent when a user navigates to the URL from an external site, such as by following a link.
None: The browser sends the cookie with both cross-site and same-site requests. Asserts that a cookie must not be sent with cross-origin requests, providing some protection against cross-site request forgery attacks (CSRF). Browsers are migrating to have cookies default to SameSite=Lax. If a cookie is needed to be sent cross-origin, opt out of the SameSite restriction using the
None value. The N...
HTTP headers - HTTP
st modification date of the resource, used to compare several versions of the same resource. It is less accurate than ETag, but easier to calculate in some environments. Conditional requests using If-Modified-Since and If-Unmodified-Since use this value to change the behavior of the request. ETag A unique string identifying the version of the resource. Conditional requests using If-Match and If-
None-Match use this value to change the behavior of the request. If-Match Makes the request conditional, and applies the method only if the stored resource matches one of the given ETags. If-
None-Match Makes the request conditional, and applies the method only if the stored resource doesn't match any of the given ETags. This is used to update caches (for safe requests), or to prevent to upload a n...
...eport-uri specified in the header and does still allow clients to connect to the server even if the pinning is violated. Fetch metadata request headers Sec-Fetch-Site It is a request header that indicates the relationship between a request initiator's origin and its target's origin. It is a Structured Header whose value is a token with possible values cross-site, same-origin, same-site, and
none. Sec-Fetch-Mode It is a request header that indicates the request's mode to a server. It is a Structured Header whose value is a token with possible values cors, navigate, nested-navigate, no-cors, same-origin, and websocket. Sec-Fetch-User It is a request header that indicates whether or not a navigation request was triggered by user activation. It is a Structured Header whose value is a boo...
Character classes - JavaScript
for a word (from Unicode characters) Instead of the Latin alphabet, we can use a range of Unicode characters to identify a word (thus being able to deal with text in other languages like Russian or Arabic). The "Basic Multilingual Plane" of Unicode contains most of the characters used around the world and we can use character classes and ranges to match words written with those characters. ...
...s like Russian or Arabic). The "Basic Multilingual Plane" of Unicode contains most of the characters used around the world and we can use character classes and ranges to match words written with those characters. var
nonEnglishText = "??????????? ????? ? ?????? ?????"; var regexpBMPWord = /([\u0000-\u0019\u0021-\uFFFF])+/gu; // BMP goes through U+0000 to U+FFFF but space is U+0020 console.table(
nonEnglishText.match(regexpBMPWord)); [ '???????????', '?????', '?', '??????', '?????' ] Note for MDN editors: please do not try to add funny examples with emoji as those characters are not handled by the platform (Kuma). Specifications Specification ECMAScript Latest Draft (ECMA-262)The definition of 'RegExp: Character classes' in that specification. ...
Unicode property escapes - JavaScript
s or digits. However, such forms only match characters from the Latin script (in other words, a to z and A to Z for \w and 0 to 9 for \d). As shown in this example, it might be a bit clumsy to work with non Latin texts. Unicode property escapes categories encompass much more characters and \p{Letter} or \p{Number} will work for any script. ...
...lumsy to work with non Latin texts. Unicode property escapes categories encompass much more characters and \p{Letter} or \p{Number} will work for any script. // Trying to use ranges to avoid \w limitations: const
nonEnglishText = "??????????? ????? ? ?????? ?????"; const regexpBMPWord = /([\u0000-\u0019\u0021-\uFFFF])+/gu; // BMP goes through U+0000 to U+FFFF but space is U+0020 console.table(
nonEnglishText.match(regexpBMPWord)); // Using Unicode property escapes instead const regexpUPE = /\p{L}+/gu; console.table(
nonEnglishText.match(regexpUPE)); Specifications Specification ECMAScript (ECMA-262)The definition of 'RegExp: Unicode property escapes' in that specification. ...
BigInt64Array - JavaScript
) Calls a function for each element in the array. See also Array.prototype.forEach(). BigInt64Array.prototype.includes() Determines whether a typed array includes a certain element, returning true or false as appropriate. See also Array.prototype.includes(). BigInt64Array.prototype.indexOf() Returns the first (least) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.indexOf(). BigInt64Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). BigInt64Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). BigInt64Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within...
...gInt64Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). BigInt64Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). BigInt64Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.lastIndexOf(). BigInt64Array.prototype.map() Creates a new array with the results of calling a provided function on every element in this array. See also Array.prototype.map(). BigInt64Array.prototype.reduce() Applies a function against an accumulator and each value of the array (from left-to-right) so as to reduce it to a single value. See also Array.protot...
BigUint64Array - JavaScript
Calls a function for each element in the array. See also Array.prototype.forEach(). BigUint64Array.prototype.includes() Determines whether a typed array includes a certain element, returning true or false as appropriate. See also Array.prototype.includes(). BigUint64Array.prototype.indexOf() Returns the first (least) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.indexOf(). BigUint64Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). BigUint64Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). BigUint64Array.prototype.lastIndexOf() Returns the last (greatest) index of an element wit...
...nt64Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). BigUint64Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). BigUint64Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.lastIndexOf(). BigUint64Array.prototype.map() Creates a new array with the results of calling a provided function on every element in this array. See also Array.prototype.map(). BigUint64Array.prototype.reduce() Apply a function against an accumulator and each value of the array (from left-to-right) so as to reduce it to a single value. See also Array.protot...
Float32Array - JavaScript
h() Calls a function for each element in the array. See also Array.prototype.forEach(). Float32Array.prototype.includes() Determines whether a typed array includes a certain element, returning true or false as appropriate. See also Array.prototype.includes(). Float32Array.prototype.indexOf() Returns the first (least) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.indexOf(). Float32Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Float32Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Float32Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within th...
... Float32Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Float32Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Float32Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.lastIndexOf(). Float32Array.prototype.map() Creates a new array with the results of calling a provided function on every element in this array. See also Array.prototype.map(). Float32Array.prototype.reduce() Apply a function against an accumulator and each value of the array (from left-to-right) as to reduce it to a single value. See also Array.prototype.red...
Float64Array - JavaScript
h() Calls a function for each element in the array. See also Array.prototype.forEach(). Float64Array.prototype.includes() Determines whether a typed array includes a certain element, returning true or false as appropriate. See also Array.prototype.includes(). Float64Array.prototype.indexOf() Returns the first (least) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.indexOf(). Float64Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Float64Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Float64Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within th...
... Float64Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Float64Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Float64Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.lastIndexOf(). Float64Array.prototype.map() Creates a new array with the results of calling a provided function on every element in this array. See also Array.prototype.map(). Float64Array.prototype.reduce() Apply a function against an accumulator and each value of the array (from left-to-right) as to reduce it to a single value. See also Array.prototype.red...
Int16Array - JavaScript
rEach() Calls a function for each element in the array. See also Array.prototype.forEach(). Int16Array.prototype.includes() Determines whether a typed array includes a certain element, returning true or false as appropriate. See also Array.prototype.includes(). Int16Array.prototype.indexOf() Returns the first (least) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.indexOf(). Int16Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Int16Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Int16Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the arra...
...Of(). Int16Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Int16Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Int16Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.lastIndexOf(). Int16Array.prototype.map() Creates a new array with the results of calling a provided function on every element in this array. See also Array.prototype.map(). Int16Array.prototype.reduce() Apply a function against an accumulator and each value of the array (from left-to-right) as to reduce it to a single value. See also Array.prototype.reduce(...
Int32Array - JavaScript
rEach() Calls a function for each element in the array. See also Array.prototype.forEach(). Int32Array.prototype.includes() Determines whether a typed array includes a certain element, returning true or false as appropriate. See also Array.prototype.includes(). Int32Array.prototype.indexOf() Returns the first (least) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.indexOf(). Int32Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Int32Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Int32Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the arra...
...Of(). Int32Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Int32Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Int32Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.lastIndexOf(). Int32Array.prototype.map() Creates a new array with the results of calling a provided function on every element in this array. See also Array.prototype.map(). Int32Array.prototype.reduce() Apply a function against an accumulator and each value of the array (from left-to-right) as to reduce it to a single value. See also Array.prototype.reduce(...
Int8Array - JavaScript
forEach() Calls a function for each element in the array. See also Array.prototype.forEach(). Int8Array.prototype.includes() Determines whether a typed array includes a certain element, returning true or false as appropriate. See also Array.prototype.includes(). Int8Array.prototype.indexOf() Returns the first (least) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.indexOf(). Int8Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Int8Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Int8Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array e...
...dexOf(). Int8Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Int8Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Int8Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.lastIndexOf(). Int8Array.prototype.map() Creates a new array with the results of calling a provided function on every element in this array. See also Array.prototype.map(). Int8Array.prototype.reduce() Apply a function against an accumulator and each value of the array (from left-to-right) as to reduce it to a single value. See also Array.prototype.reduce().
TypedArray - JavaScript
rEach() Calls a function for each element in the array. See also Array.prototype.forEach(). TypedArray.prototype.includes() Determines whether a typed array includes a certain element, returning true or false as appropriate. See also Array.prototype.includes(). TypedArray.prototype.indexOf() Returns the first (least) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.indexOf(). TypedArray.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). TypedArray.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). TypedArray.prototype.lastIndexOf() Returns the last (greatest) index of an element within the arra...
...Of(). TypedArray.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). TypedArray.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). TypedArray.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.lastIndexOf(). TypedArray.prototype.map() Creates a new array with the results of calling a provided function on every element in this array. See also Array.prototype.map(). TypedArray.prototype.reduce() Apply a function against an accumulator and each value of the array (from left-to-right) as to reduce it to a single value. See also Array.prototype.reduce(...
Uint16Array - JavaScript
ach() Calls a function for each element in the array. See also Array.prototype.forEach(). Uint16Array.prototype.includes() Determines whether a typed array includes a certain element, returning true or false as appropriate. See also Array.prototype.includes(). Uint16Array.prototype.indexOf() Returns the first (least) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.indexOf(). Uint16Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Uint16Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Uint16Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the a...
...). Uint16Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Uint16Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Uint16Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.lastIndexOf(). Uint16Array.prototype.map() Creates a new array with the results of calling a provided function on every element in this array. See also Array.prototype.map(). Uint16Array.prototype.reduce() Apply a function against an accumulator and each value of the array (from left-to-right) as to reduce it to a single value. See also Array.prototype.reduc...
Uint32Array - JavaScript
ach() Calls a function for each element in the array. See also Array.prototype.forEach(). Uint32Array.prototype.includes() Determines whether a typed array includes a certain element, returning true or false as appropriate. See also Array.prototype.includes(). Uint32Array.prototype.indexOf() Returns the first (least) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.indexOf(). Uint32Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Uint32Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Uint32Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the a...
...). Uint32Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Uint32Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Uint32Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.lastIndexOf(). Uint32Array.prototype.map() Creates a new array with the results of calling a provided function on every element in this array. See also Array.prototype.map(). Uint32Array.prototype.reduce() Apply a function against an accumulator and each value of the array (from left-to-right) as to reduce it to a single value. See also Array.prototype.reduc...
Uint8Array - JavaScript
rEach() Calls a function for each element in the array. See also Array.prototype.forEach(). Uint8Array.prototype.includes() Determines whether a typed array includes a certain element, returning true or false as appropriate. See also Array.prototype.includes(). Uint8Array.prototype.indexOf() Returns the first (least) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.indexOf(). Uint8Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Uint8Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Uint8Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the arra...
...Of(). Uint8Array.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Uint8Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Uint8Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.lastIndexOf(). Uint8Array.prototype.map() Creates a new array with the results of calling a provided function on every element in this array. See also Array.prototype.map(). Uint8Array.prototype.reduce() Apply a function against an accumulator and each value of the array (from left-to-right) as to reduce it to a single value. See also Array.prototype.reduce(...
Uint8ClampedArray - JavaScript
a function for each element in the array. See also Array.prototype.forEach(). Uint8ClampedArray.prototype.includes() Determines whether a typed array includes a certain element, returning true or false as appropriate. See also Array.prototype.includes(). Uint8ClampedArray.prototype.indexOf() Returns the first (least) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.indexOf(). Uint8ClampedArray.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Uint8ClampedArray.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Uint8ClampedArray.prototype.lastIndexOf() Returns the last (greatest) index of an el...
...ray.prototype.join() Joins all elements of an array into a string. See also Array.prototype.join(). Uint8ClampedArray.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. See also Array.prototype.keys(). Uint8ClampedArray.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to the specified value, or -1 if
none is found. See also Array.prototype.lastIndexOf(). Uint8ClampedArray.prototype.map() Creates a new array with the results of calling a provided function on every element in this array. See also Array.prototype.map(). Uint8ClampedArray.prototype.reduce() Apply a function against an accumulator and each value of the array (from left-to-right) as to reduce it to a single value. See also Array.pro...
<mmultiscripts> - MathML
presubscript presuperscript)* ] </mmultiscripts> After the base expression you can specify a postsubscript and a postsuperscript. Prescripts are optional and are separated by the empty tag <mprescripts/> (only one <mprescripts /> element is allowed, otherwise you will get an DuplicateMprescripts error in the Error Console and "invalid-markup" in your rendering). In addition you are able to use <
none/> as a placeholder for empty scripts (not for the base). See the examples section for a correct usage. Attributes class, id, style Provided for use with stylesheets. href Used to set a hyperlink to a specified URI. mathbackground The background color. You can use #rgb, #rrggbb and HTML color names. mathcolor The text color. You can use #rgb, #rrggbb and HTML color names. subscriptshif...
...> Sample rendering: Rendering in your browser: X d c b a <math> <mmultiscripts> <mi>X</mi> <!-- base expression --> <mi>d</mi> <!-- postsubscript --> <mi>c</mi> <!-- postsuperscript --> <mprescripts /> <mi>b</mi> <!-- presubscript --> <mi>a</mi> <!-- presuperscript --> </mmultiscripts> </math> Using <
none/> Sample rendering: Rendering in your browser: X c b <math> <mmultiscripts> <mi>X</mi> <!-- base expression --> <
none /> <!-- postsubscript --> <mi>c</mi> <!-- postsuperscript --> <mprescripts /> <mi>b</mi> <!-- presubscript --> <
none /> <!-- presuperscript --> </mmultiscripts> </math> Specific...
Media - Progressive web apps (PWAs)
on area that contains the primary site menu. In the markup language, the navigation area's parent element has the id nav-area. (In HTML5, this can be marked up with the <nav> element instead of <div> with an id attribute.) When printing the document, the navigation area has no purpose. This CSS (below) removes the navigation area when printing the document: @media print { #nav-area {display:
none;} } Some common media types are: screen Color device display print Printed paged media projection Projected display all All media (the default) More details There are other ways to specify the media type for a set of rules. The document's markup language might allow the media type to be specified when the stylesheet is linked to the ...
...<p>This is the first section...</p> <h1>Section B</h1> <p>This is the second section...</p> <div id="print-head"> Heading for paged media </div> <div id="print-foot"> Page: </div> </body> </html> Make a new stylesheet, style4.css. ...
begin - SVG: Scalable Vector Graphics
teName="width" from="0" to="100" begin="startButton.click" dur="8s" fill="freeze" /> </rect> <!-- trigger --> <rect id="startButton" style="cursor:pointer;" x="19.5" y="62.5" rx="5" height="25" width="80" fill="#EFEFEF" stroke="black" stroke-width="1" /> <text x="60" y="80" text-anchor="middle" style="pointer-events:
none;">Click me.</text> <!-- grid --> <text x="10" y="20" text-anchor="middle">0s</text> <line x1="10" y1="25" x2="10" y2="55" stroke="grey" stroke-width=".5" /> <text x="35" y="20" text-anchor="middle">2s</text> <line x1="35" y1="25" x2="35" y2="55" stroke="grey" stroke-width=".5" /> <text x="60" y="20" text-anchor="middle">4s</text> <line x1="60" y1="25" x2="60" y2="55" ...
... xmlns:xlink="http://www.w3.org/1999/xlink"> <!-- animated rectangles --> <rect x="10" y="35" height="15" width="0"> <animate attributeType="XML" attributeName="width" from="0" to="100" begin="accessKey(s)" dur="8s" fill="freeze" /> </rect> <!-- trigger --> <text x="60" y="80" text-anchor="middle" style="pointer-events:
none;">Hit the "s" key</text> <!-- grid --> <text x="10" y="20" text-anchor="middle">0s</text> <line x1="10" y1="25" x2="10" y2="55" stroke="grey" stroke-width=".5" /> <text x="35" y="20" text-anchor="middle">2s</text> <line x1="35" y1="25" x2="35" y2="55" stroke="grey" stroke-width=".5" /> <text x="60" y="20" text-anchor="middle">4s</text> <line x1="60" y1="25" x2="60" y2...
name - SVG: Scalable Vector Graphics
The name attribute specifies either the name of a color profile or a font face. Two elements are using this attribute: <color-profile> and <font-face-name> color-profile For <color-profile>, name defines the name of the color profile. Value <name> Default value
None Animatable Yes <name> This value is the name which is used as the first parameter for ICC color specifications within fill, stroke, stop-color, flood-color and lighting-color property values to identify the color profile to use for the ICC color specification and the name which can be the value of the color-profile property. Note: If no name is provided, it will be impossible to reference the given color profile description. The name "sRGB" is predefined; any color profile ...
... of the color-profile property. Note: If no name is provided, it will be impossible to reference the given color profile description. The name "sRGB" is predefined; any color profile descriptions with <name> set to "sRGB" (case-insensitively) will be ignored. font-face-name For <font-face-name>, name defines the name of the font face. Value <name> Default value
None Animatable Yes <name> This value specifies the name of a local font. Unlike the syntax allowed between the parentheses of the local(...) clause in an @font-face rule src descriptor, the font name specified in this attribute is not surrounded in single or double quotes. Specifications Specification Status Comment Scalable Vector Graphics (SVG) 1...
path - SVG: Scalable Vector Graphics
The path attribute has two different meanings, either it defines a text path along which the characters of a text are rendered, or a motion path along which a referenced element is animated. Two elements are using this attribute: <animateMotion> and <textPath> html, body, svg { height: 100%; } <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"> <path id="MyPath" fill="
none" stroke="silver" d="M10,90 Q90,90 90,45 Q90,10 50,10 Q10,10 10,40 Q10,70 45,70 Q70,70 75,50" /> <text> <textPath path="M10,90 Q90,90 90,45 Q90,10 50,10 Q10,10 10,40 Q10,70 45,70 Q70,70 75,50"> Quick brown fox jumps over the lazy dog. </textPath> </text> </svg> animateMotion For <animateMotion>, path defines the motion path, expressed in the same format and interpreted the...
...vg> animateMotion For <animateMotion>, path defines the motion path, expressed in the same format and interpreted the same way as the d geometric property for the <path> element. The effect of a motion path animation is a translation along the x- and y-axes of the current user coordinate system by the x and y values computed over time. Value <path-data> Default value
None Animatable No <path-data> This value defines the motion path along which the referenced element is animated. For detailed information about the commands that can be used, see the explanation for the d attribute. textPath For <textPath>, path defines the path onto which the glyphs of a <text> element will be rendered. An empty string indicates that there is no path data fo...
pointer-events - SVG: Scalable Vector Graphics
0" fill="black" /> <circle cx="5" cy="5" r="4" fill="white" pointer-events="visiblePoint" /> <!-- The circle below will never catch a mouse event. ...
... Browser compatibility The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull req...
requiredExtensions - SVG: Scalable Vector Graphics
The requiredExtensions attribute defines a list of required language extensions. Language extensions are capabilities within a user agent that go beyond the feature set defined in this specification. Each extension is identified by an URL reference. Usage notes Value <list-of-extensions> Default value
None Animatable No <list-of-extensions> The value is a list of references (IRI references in SVG 1, URL References in SVG 2) which identify the required extensions, with the individual values separated by white space. Determines whether all of the named extensions are supported by the user agent. If all of the given extensions are supported, then the attribute evaluates to true; otherwise, the current element and its children are skipped and thus...
...Note: If a given extension reference contains white space within itself, that white space must be escaped. requiredExtensions is often used in conjunction with the <switch> element. If the attribute is used in other situations, then it represents a simple switch on the given element whether to render the element or not. Note: If several extension reference objects are enclosed in a <switch> and
none of them matches, this may lead to situations where no content is displayed. It is thus recommended to include a "catch-all" choice at the end of such a <switch> which is acceptable in all cases. If the attribute is not present, then it implicitly evaluates to "true". If a null string or empty string value is given, the attribute evaluates to "false". The IRI names for the extension should inclu...
stroke-dasharray - SVG: Scalable Vector Graphics
If an odd number of values is provided, then the list of values is repeated to yield an even number of values. Thus, 5,3,2 is equivalent to 5,3,2,5,3,2. Browser compat...
... If an odd number of values is provided, then the list of values is repeated to yield an even number of values. Thus, 5,3,2 is equivalent to 5,3,2,5,3,2. Browser compatibility The compatibility table on this page...
stroke - SVG: Scalable Vector Graphics
a presentation attribute, it can be applied to any element but it has effect only on the following twelve elements: <altGlyph>, <circle>, <ellipse>, <line>, <path>, <polygon>, <polyline>, <rect>, <text>, <textPath>, <tref>, and <tspan> html,body,svg { height:100% } <svg viewBox="0 0 20 10" xmlns="http://www.w3.org/2000/svg"> <!-- Simple color stroke --> <circle cx="5" cy="5" r="4" fill="
none" stroke="green" /> <!-- Stroke a circle with a gradient --> <defs> <linearGradient id="myGradient"> <stop offset="0%" stop-color="green" /> <stop offset="100%" stop-color="white" /> </linearGradient> </defs> <circle cx="15" cy="5" r="4" fill="
none" stroke="url(#myGradient)" /> </svg> Usage notes Value <paint> Default...
... Candidate Recommendation Definition for shapes and texts. Adds context-fill and context-stroke. Scalable Vector Graphics (SVG) 1.1 (Second Edition)The definition of 'stroke' in that specifica...
systemLanguage - SVG: Scalable Vector Graphics
systemLanguage is often used in conjunction with the <switch> element. If the attribute is used in other situations, then it represents a simple switch on the given element whether to render the element or not. Note: If several alte...
... value is a set of comma-separated tokens, each of which must be a Language-Tag value, as defined in BCP 47. systemLanguage is often used in conjunction with the <switch> element. If the attribute is used in other situations, then it represents a simple switch on the given element whether to render the element or not. Note: If several alternative language objects are enclosed in a <switch> and
none of them matches, this may lead to situations where no content is displayed. It is thus recommended to include a "catch-all" choice at the end of such a <switch> which is acceptable in all cases. The attribute evaluates to "true" if one of the language tags indicated by user preferences is a case-insensitive match or prefix (followed by a "-") of one of the language tags given in the value of thi...
textLength - SVG: Scalable Vector Graphics
t). Four elements are using this attribute: <text>, <textPath>, <tref>, and <tspan> html, body, svg { height: 100%; } <svg viewBox="0 0 200 60" xmlns="http://www.w3.org/2000/svg"> <text y="20" textLength="6em">Small text length</text> <text y="40" textLength="120%">Big text length</text> </svg> Usage notes Value <length-percentage> | <number> Default value
None Animatable Yes <length-percentage> This value specifies the width of the space the text will be adjusted to occupy as absolute length or percentage. <number> A numeric value outlines a length referring to the units of the current coordinate system. Example Let's create a simple example that presents text you can resize using an <input> element of type "range". CSS .c...
...size using an <input> element of type "range". CSS .controls { font: 16px "Open Sans", "Arial", sans-serif; } SVG Let's start with the SVG. It's pretty basic, with a 1000-by-300 pixel space mapped into a 10 centimeter by 3 centimeter box. <svg width="10cm" height="3cm" viewBox="0 0 1000 300" xmlns="http://www.w3.org/2000/svg"> <rect x="1" y="1" width="998" height="298" fill="
none" stroke="green" stroke-width="2"/> <text id="hello" x="10" y="150" font-family="sans-serif" font-size="60" fill="green"> Hello world! </text> </svg> First, a <rect> element is used to create and stroke a rectangle to contain the text. Then <text> is used to create the text element itself, with an id of "hello". HTML The HTML is also simple, with only two displayed elements conta...
to - SVG: Scalable Vector Graphics
t x="10" y="10" width="100" height="100"> <animate attributeType="XML" attributeName="width" fill="freeze" from="100" to="150" dur="3s"/> </rect> </svg> animate, animateColor, animateMotion, animateTransform For <animate>, <animateColor>, <animateMotion>, and <animateTransform>, to specifies the ending value of the animation. ...
... Specifications Specification Status Comment SVG Animations Level 2The definition of 'to for <set>' in that specification. ...
transform - SVG: Scalable Vector Graphics
However, be aware that there are some difference in syntax between the CSS property and the attribute. See the documentation for the CSS property transform for the specific syntax to use in that case. As a presentation attribute, transform can be used by any element (in ...
...ipse>, <foreignObject>, <g>, <image>, <line>, <path>, <polygon>, <polyline>, <rect>, <switch>, <text>, and <use>). Also, as a legacy from SVG 1.1, <linearGradient> and <radialGradient> support the gradientTransform attribute, and <pattern> supports the patternTransform attribute, both of which act exactly like the transform attribute. Value <transform-list> Default value
none Animatable Yes Transform functions The following transform functions can be used by the transform attribute <transform-list> Warning: As per the spec, you should be able to also use CSS transform functions. However, the compatibility isn't guaranteed. Matrix The matrix(<a> <b> <c> <d> <e> <f>) transform function specifies a transformation in the form of a transformation mat...
xlink:show - SVG: Scalable Vector Graphics
The xlink:show attribute indicates how a linked resource should be opened and is meant for XLink-aware processors. In case of a conflict, the target attribute has priority, since it can express a wider range of values. Only one element is using this attribute: <a> Usage notes Value new | replace | embed | other |
none Default value replace Animatable No new This value specifies that the referenced resource is opened in a new window or tab. This is similar to the effect achieved by an HTML <a> element with target set to _blank. replace This value specifies that the referenced resource is opened in the same window or tab. This is similar to the effect achieved by an HTML <a> element with target set to _self. embed This value specifies that i...
...or tab. This is similar to the effect achieved by an HTML <a> element with target set to _self. embed This value specifies that instead of linking to the resource it will be loaded and shown within the document. This is similar to the effect achieved by an HTML <img> element. other This value indicates that other markup present in the link, i.e. the target attribute, determines its behavior.
none This value specifies that there is no indication for how to refer to the linked resource. Specifications Specification Status Comment Scalable Vector Graphics (SVG) 1.1 (Second Edition)The definition of 'xlink:show' in that specification. Recommendation Initial definition ...
<animateMotion> - SVG: Scalable Vector Graphics
The SVG <animateMotion> element let define how an element moves along a motion path. Note: To reuse an existing path, it will be necessary to use an <mpath> element inside the <animateMotion> element instead of the path attribute. ...
...0,50 C20,-50 180,150 180,50 C180-50 20,150 20,50 z" /> </circle> </svg> Usage context CategoriesAnimation elementPermitted contentAny number of the following elements, in any order:Descriptive elements<mpath> Attributes keyPoints This attribute indicate, in the range [0,1], how far is the object along the path for each keyTimes associated values. Value type: <number>*; Default value:
none; Animatable: no path This attribute defines the path of the motion, using the same syntax as the d attribute. Value type: <string>; Default value:
none; Animatable: no rotate This attribute defines a rotation applied to the elment animated along a path, usually to make it pointing in the direction of the animation. Value type: <number>|auto|auto-reverse; Default value: 0; Animatable: no ...
<feFuncA> - SVG: Scalable Vector Graphics
Specifications Specification Status Comment Filter Effects Module Level 1The definition of '<feFuncA>' in that specification. ...
... Specifications Specification Status Comment Filter Effects Module Level 1The definition of '<feFuncA>' in that specification. ...
<feFuncB> - SVG: Scalable Vector Graphics
Specifications Specification Status Comment Filter Effects Module Level 1The definition of '<feFuncB>' in that specification. ...
... Specifications Specification Status Comment Filter Effects Module Level 1The definition of '<feFuncB>' in that specification. ...
<feFuncG> - SVG: Scalable Vector Graphics
Specifications Specification Status Comment Filter Effects Module Level 1The definition of '<feFuncG>' in that specification. ...
... Specifications Specification Status Comment Filter Effects Module Level 1The definition of '<feFuncG>' in that specification. ...
<feFuncR> - SVG: Scalable Vector Graphics
Specifications Specification Status Comment Filter Effects Module Level 1The definition of '<feFuncR>' in that specification. ...
... Specifications Specification Status Comment Filter Effects Module Level 1The definition of '<feFuncR>' in that specification. ...
<linearGradient> - SVG: Scalable Vector Graphics
tBoundingBox ; Default value: objectBoundingBox; Animatable: yes gradientTransform This attribute provides additional transformation to the gradient coordinate system. Value type: <transform-list> ; Default value: identity transform; Animatable: yes href This attribute defines a reference to another <linearGradient> element that will be used as a template. Value type: <URL> ; Default value:
none; Animatable: yes spreadMethod This attribute indicates how the gradient behaves if it starts or ends inside the bounds of the shape containing the gradient. Value type: pad|reflect|repeat ; Default value: pad; Animatable: yes x1 This attribute defines the x coordinate of the starting point of the vector gradient along which the linear gradient is drawn. Value type: <length> ; Default value:...
...t is drawn. Value type: <length> ; Default value: 0%; Animatable: yes x2 This attribute defines the x coordinate of the ending point of the vector gradient along which the linear gradient is drawn. Value type: <length> ; Default value: 100%; Animatable: yes xlink:href An <IRI> reference to another <linearGradient> element that will be used as a template. Value type: <IRI> ; Default value:
none; Animatable: yes y1 This attribute defines the y coordinate of the starting point of the vector gradient along which the linear gradient is drawn. Value type: <length> ; Default value: 0%; Animatable: yes y2 This attribute defines the y coordinate of the ending point of the vector gradient along which the linear gradient is drawn. Value type: <length> ; Default value: 0%; Animatable: yes ...
<mpath> - SVG: Scalable Vector Graphics
s Core attributes >> Xlink attributes >> externalResourcesRequired Specific attributes xlink:href DOM Interface This element implements the SVGMPathElement interface. ...
... 0 500 300" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" > <rect x="1" y="1" width="498" height="298" fill="
none" stroke="blue" stroke-width="2" /> <!-- Draw the outline of the motion path in blue, along with three small circles at the start, middle and end. --> <path id="path1" d="M100,250 C 100,50 400,50 400,250" fill="
none" stroke="blue" stroke-width="7.06" /> <circle cx="100" cy="250" r="17.64" fill="blue" /> <circle cx="250" cy="100" r="17.64" fill="blue" /> <circle cx="400" cy="250" r="17.64" fill="blue" /> <!-- Here is a triangle which will be moved about the motion path. It is defined with an upright orientation with the base of the triangle centered horizontally just above the origi...
<polygon> - SVG: Scalable Vector Graphics
o the first point. For open shapes, see the <polyline> element. ...
...="100,100 150,25 150,75 200,0" fill="
none" stroke="black" /> </svg> Attributes points This attribute defines the list of points (pairs of x,y absolute coordinates) required to draw the polygon. Value type: <number>+ ; Default value: ""; Animatable: yes pathLength This attribute lets specify the total length for the path, in user units. ...
<polyline> - SVG: Scalable Vector Graphics
he first point. For closed shapes see the <polygon> element. ...
...="100,100 150,25 150,75 200,0" fill="
none" stroke="black" /> </svg> Attributes points This attribute defines the list of points (pairs of x,y absolute coordinates) required to draw the polyline Value type: <number>+ ; Default value: ""; Animatable: yes pathLength This attribute lets specify the total length for the path, in user units. ...
<radialGradient> - SVG: Scalable Vector Graphics
tBoundingBox ; Default value: objectBoundingBox; Animatable: yes gradientTransform This attribute provides additional transformation to the gradient coordinate system. Value type: <transform-list> ; Default value: identity transform; Animatable: yes href This attribute defines a reference to another <linearGradient> element that will be used as a template. Value type: <URL> ; Default value:
none; Animatable: yes r This attribute defines the radius of the end circle of the radial gradient. The gradient will be drawn such that the 100% <stop> is mapped to the perimeter of the end circle. Value type: <length> ; Default value: 50%; Animatable: yes spreadMethod This attribute indicates how the gradient behaves if it starts or ends inside the bounds of the shape containing the gradient. ...
...e: <length> ; Default value: 50%; Animatable: yes spreadMethod This attribute indicates how the gradient behaves if it starts or ends inside the bounds of the shape containing the gradient. Value type: pad|reflect|repeat ; Default value: pad; Animatable: yes xlink:href An <IRI> reference to another <linearGradient> element that will be used as a template. ...
<style> - SVG: Scalable Vector Graphics
type of the style sheet language to use as a media type string. Value type: <string>; Default value: text/css; Animatable: no media This attribute defines to which media the style applies. Value type: <string>; Default value: all; Animatable: no title This attribute the title of the style sheet which can be used to switch between alternate style sheets. ...
...Default value: all; Animatable: no title This attribute the title of the style sheet which can be used to switch between alternate style sheets. Value type: <string>; Default value:
none; Animatable: no Global attributes Core Attributes Most notably: id Styling Attributes class, style Event Attributes Global event attributes, Document element event attributes Usage notes Categories
NonePermitted contentAny elements or character data Specifications Specification Status Comment Scalable Vector Graphics (SVG) 2The definition of '<style>' in that specification. Candidate Recommendation Scalable Vector Graphics (SVG) 1.1 (Second Edition)The definition of '<style>' in that specification. Recommendation Initial definition ...
<switch> - SVG: Scalable Vector Graphics
lements in order, and then renders the first child where these attributes evaluate to true. Other direct children will be bypassed and therefore not rendered. If a child element is a container element, like <g>, then its subtree is also processed/rendered or bypassed/not rendered. The display and visibility properties have no effect on <switch> element processing. In particular, setting display:
none on a child has no effect on the true/false testing for <switch> processing. Usage context CategoriesContainer elementPermitted contentAny number of the following elements, in any order:Animation elementsDescriptive elementsShape elements<a>, <foreignObject>, <g>, <image>, <svg>, <switch>, <text>, <use> Attributes Global attributes Conditional processing attributes Core attributes Graphi...
...uired transform DOM Interface This element implements the SVGSwitchElement interface. SVG <switch> example This example demonstrates showing different text content depending on the browser's language settings. The switch element will display the first of its child elements whose systemLanguage attribute matches the user's language, or the fallback element with no systemLanguage attribute if
none of them match. HTML Content <svg viewBox="0 -20 100 50"> <switch> <text systemLanguage="ar">?????</text> <text systemLanguage="de,nl">Hallo!</text> <text systemLanguage="en-us">Howdy!</text> <text systemLanguage="en-gb">Wotcha!</text> <text systemLanguage="en-au">G'day!</text> <text systemLanguage="en">Hello!</text> <text systemLanguage="es">Hola!</...
Basic shapes - SVG: Scalable Vector Graphics
Rectangle The <rect> element draws a rectangle on the screen. There are 6 basic attributes that control the position and shape of the rectangles on screen. The one on the right has its rx and ry parameters set, giving it rounded corners. If they're not set, they def...
... you can draw rectangles (with or without rounded corners), circles, ellipses, polylines, and polygons. Basically any of the other types of shapes, bezier curves, quadratic curves, and many more. For this reason, the next section in this tutorial will be focused on paths. But for now, note that there is a single parameter used to control its shape. <path d="M20,230 Q40,205 50,230 T90,230" fill="
none" stroke="blue" stroke-width="5"/> d A list of points and other information about how to draw the path. See the Paths section for more information. << PreviousNext >> ...
Fills and Strokes - SVG: Scalable Vector Graphics
the end of the stroke. The radius of this curve is also controlled by the stroke-width. Use stroke-linejoin to control how the joint between two line segments is drawn. <?xml version="1.0" standalone="no"?> <svg width="160" height="280" xmlns="http://www.w3.org/2000/svg" version="1.1"> <polyline points="40 60 80 20 120 60" stroke="black" stroke-width="20" stroke-linecap="butt" fill="
none" stroke-linejoin="miter"/> <polyline points="40 140 80 100 120 140" stroke="black" stroke-width="20" stroke-linecap="round" fill="
none" stroke-linejoin="round"/> <polyline points="40 220 80 180 120 220" stroke="black" stroke-width="20" stroke-linecap="square" fill="
none" stroke-linejoin="bevel"/> </svg> Each of these polylines has two segments. The joint where the two meet is c...
... angle to aid in the transition between the two segments. Finally, you can also use dashed line types on a stroke by specifying the stroke-dasharray attribute. <?xml version="1.0" standalone="no"?> <svg width="200" height="150" xmlns="http://www.w3.org/2000/svg" version="1.1"> <path d="M 10 75 Q 50 10 100 75 T 190 75" stroke="black" stroke-linecap="round" stroke-dasharray="5,10,5" fill="
none"/> <path d="M 10 75 L 190 75" stroke="red" stroke-linecap="round" stroke-width="1" stroke-dasharray="5,5" fill="
none"/> </svg> The stroke-dasharray attribute takes a series of comma-separated numbers as its argument. Note: Unlike <path>s, these numbers must be comma-separated (whitespace is ignored). The first number specifies a distance for the filled area, and the second a distance ...
Using templates and slots - Web Components
The <template> uses <slot> and its name attribute to make three named slots: <slot name="element-name"> <slot name="description"> <slot name="attributes...
...yle: italic } </style> <details> <summary> <span> <code class="name"><<slot name="element-name">NEED NAME</slot>></code> <i class="desc"><slot name="description">NEED DESCRIPTION</slot></i> </span> </summary> <div class="attributes"> <h4><span>Attributes</span></h4> <slot name="attributes"><p>
None</p></slot> </div> </details> <hr> </template> <element-details> <span slot="element-name">slot</span> <span slot="description">A placeholder inside a web component that users can fill with their own markup, with the effect of composing different DOM trees together.</span> <dl slot="attributes"> <dt>name</dt> <d...
<xsl:otherwise> - XSLT: Extensible Stylesheet Language Transformations
It is similar to the else or default case in other programing languages. Syntax <xsl:otherwise> TEMPLATE </xsl:otherwise> Required Attributes
None. Optional Attributes
None. ...
... XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes The <xsl:otherwise> element is used to define the action that should be taken when
none of the <xsl:when> conditions apply. It is similar to the else or default case in other programing languages. Syntax <xsl:otherwise> TEMPLATE </xsl:otherwise> Required Attributes
None. Optional Attributes
None. Type Subinstruction, must appear as the last child of an <xsl:choose> element, within a template. Defined XSLT, section 9.2 Gecko support Supported. ...
Window: deviceproximity event - Archive of obsolete content
The deviceproximity event is fired when fresh data is available from a proximity sensor. Note: This event has been disabled by default in Firefox 62, behind the device.sensors.proximity.enabled preference (bug 1462308). Bubbles No Cancelable No Interface DeviceProximityEvent Target DefaultView (window) Default Action
None Event handler property Window.ondeviceproximity Specification Proximity Sensor Other properties Property Type Description value Read only Double (float) The measured proximity of the distant device (distance in centimetres). min Read only Double (float) The minimum value in the range the sensor detects (if available, 0 otherwise...
Styling Abbreviations and Acronyms - Archive of obsolete content
The underline tells readers that the word in question has extra information associated with it. In Mozilla, placing the mouse pointer over the element and leaving it for a moment will cause the contents of the title attribute to appear as a tooltip next to the mouse pointer. Removing the underline from th...
XUL Parser in Python - Archive of obsolete content
I have put together this little Python script that parses your local XUL and builds a list of all the XUL elements and their attributes in an HTML page. With new widgets and attributes landing all the time, I wanted to get some quicker way of looking at the XUL--at particular builds, at particular widgets, at which elements had which attributes, etc. The script writes out all the attributes and
none of the values, but the parser itself is seeing the elements, their attributes, and the values of those attributes, and you just have to ask for them if you want them. For example, you could easily adapt this to: return the id values of all the elements take elements on the command line and only spell them out build new chrome subdirectories (i.e. new "packages") on the fly using search and r...
Archive of obsolete content
wsers. Plugins For more information about plugin roadmap, see non-archived plugin information. RSS Really Simple Syndication (RSS) is a popular HTML-like XML-based data format used for syndication. RSS has a sordid history and a multitude of different incompatible RSS versions. (Some being based on RDF, but most only being based on XML.)
Nonetheless, RSS is an extremely popular format that is used for syndicating news, blog posts, IPradio, and IPTV, with an amazing amount of momentum. SAX SAX, short forSimple API for XML, is a parsing API. SAX was the first widely adopted API for XML in Java, and later implemented in several other programming language environments. Starting with Fir...
Anatomy of a video game - Game development
ry Games, where they adjust their rate of garbage generation to optimize garbage collection. Obviously, cleaning up resources is not time sensitive (especially if tidying is more disruptive than the garbage itself). This may also apply to some of your own tasks. Those are good candidates to throttle when available resources become a concern. Summary I want to be clear that any of the above, or
none of them, could be best for your game. The correct decision entirely depends on the trade-offs that you are willing (and unwilling) to make. The concern is mostly with switching to another option. Fortunately, I do not have any experience with this, but I have heard it is an excruciating game of Whack-a-Mole. An important thing to remember for managed platforms, like the web, is that your loop ma...
Index - Game development
HTML5 Games, JavaScript Games, Web Gaming is one of the most popular computer activities. New technologies are constantly arriving to make it possible to develop better and more powerful games that can be run in any standards-compliant web browser. 2 Anatomy of a video game Games, JavaScript, Main Loop, requestAnimationFrame I want to be clear that any of the above, or
none of them, could be best for your game. The correct decision entirely depends on the trade-offs that you are willing (and unwilling) to make. The concern is mostly with switching to another option. Fortunately, I do not have any experience with this, but I have heard it is an excruciating game of Whack-a-Mole. 3 Examples Demos, Example, Games, Web This page lists a number of im...
Audio for Web games - Game development
ing" text and displaying the play button: trackEls.forEach((el, i) => { // get children const anchor = el.querySelector('a'); const loadText = el.querySelector('p'); const playButton = el.querySelector('button'); // load file loadFile(anchor.href).then((track) => { // set loading to false el.dataset.loading = 'false'; // hide loading text loadText.style.display = '
none'; // show button playButton.style.display = 'inline-block'; // allow play on click playButton.addEventListener('click', function() { // check if context is in suspended state (autoplay policy) if (audioCtx.state === 'suspended') { audioCtx.resume(); } playTrack(track); playButton.dataset.playing = true; }) }) }) Note: You can see...
Crisp pixel art look with image-rendering - Game development
screens render content at high resolutions, there is a problem with making sure the pixel art does not look blurry. Developers have been manually scaling up graphics so they are shown with blocks that represent pixels. Two downsides to this method are larger file sizes and compression artifacts. original size 4x size 4x size (scaled with an image editor)
none vendor's algorithm nearest-neighbor algorithm A CSS-based solution The good news is that you can use CSS to automatically do the up-scaling, which not only solves the blur problem, but also allows you to use the images in their original, smaller size, thus saving download time. Also, some game techniques require algorithms that analyse images, which also benefit from working with sm...
Animations and tweens - Game development
uentially, tweens smoothly animate properties of an object in the gameworld, such as width or opacity. Let's add a tween to our game to make the bricks smoothly disappear when they are hit by the ball. Go to your ballhitBrick() function, find your brick.kill(); line, and replace it with the following: var killTween = game.add.tween(brick.scale); killTween.to({x:0,y:0}, 200, Phaser.Easing.Linear.
None); killTween.onComplete.addOnce(function(){ brick.kill(); }, this); killTween.start(); Let's walk through this so you can see what's happening here: When defining a new tween you have to specify which property will be tweened -- in our case, instead of hiding the bricks instantly when hit by the ball, we will make their width and height scale to zero, so they will nicely disappear. To the...
Index - MDN Web Docs Glossary: Definitions of Web-related terms
that are marked as non-normative or informative, which means those are provided there for the purpose of helping the reader understand the specifications better or to showcase an example or best practice, which need not be followed as a rule. 292 Null CodingScripting, Glossary In computer science, a null value represents a reference that points, generally intentionally, to a
nonexistent or invalid object or address. The meaning of a null reference varies among language implementations. 293 Nullish value Glossary, JavaScript, Null, Primitive, undefined In JavaScript, a nullish value is the value which is either null or undefined. Nullish values are always falsy. 294 Number CodingScripting, Glossary, JavaScript In JavaScript, Number...
Request header - MDN Web Docs Glossary: Definitions of Web-related terms
zilla.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:50.0) Gecko/20100101 Firefox/50.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Referer: https://developer.mozilla.org/testpage.html Connection: keep-alive Upgrade-Insecure-Requests: 1 If-Modified-Since: Mon, 18 Jul 2016 02:36:04 GMT If-
None-Match: "c561c68d0ba92bbeb8b0fff2a9199f722e3a621a" Cache-Control: max-age=0 Strictly speaking, the Content-Length header in this example is not a request header like the others, but an entity header: POST /myform.html HTTP/1.1 Host: developer.mozilla.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:50.0) Gecko/20100101 Firefox/50.0 Content-Length: 128 Learn more Technical knowl...
Advanced styling effects - Learn web development
text-shadow, box-shadow has an inset keyword available -- putting this at the start of a shadow declaration causes it to become an inner shadow, rather than an outer shadow. Let's have a look and see what we mean. ...
Cascade and inheritance - Learn web development
s are very specific in what they target), the red background color and the 1 pixel black border should both be applied to the 2nd element, with the first element getting the gray background color, and no border, as specified by the class. The 2nd element does get the red background color, but no border. Why? Because of the !important declaration in the second rule -- including this after border:
none means that this declaration will win over the border value in the previous rule, even though the ID has higher specificity. Note: The only way to override this !important declaration would be to include another !important declaration on a declaration with the same specificity later in the source order, or one with a higher specificity. It is useful to know that !important exists so that you ...
Organizing your CSS - Learn web development
h3, h4 { ... } ul { ... } blockquote { ... } After this section we could define a few utility classes, for example a class that removes the default list style for lists we're going to display as flex items or in some other way. If you have a few things you know you will want to apply to lots of different elements, they can come in this section. /* || UTILITIES */ .nobullets { list-style:
none; margin: 0; padding: 0; } ... Then we can add everything that is used sitewide. That might be things like the basic page layout, the header, navigation styling, and so on. /* || SITEWIDE */ .main-nav { ... } .logo { ... } Finally we will include CSS for specific things, broken down by the context, page or even component in which they are used. /* || STORE PAGES */ .product-listing ...
Ember resources and troubleshooting - Learn web development
ious / "less magic" concepts, avoiding build-time transforms and implicit Glimmer VM behavior. With ember-set-helper: <Checkbox @value={{this.someData}} @onToggle={{set this "someData" (not this.someData)}} /> With ember-box: {{#let (box this.someData) as |someData|}} <Checkbox @value={{unwrap someData}} @onToggle={{update someData (not this.someData)}} /> {{/let}} Note that
none of these solutions are particularly common among members of the community, and as a whole, people are still trying to figure out an ergonomic and simple API for setting data in a template-only context, without backing JS. What is the purpose of Controllers? Controllers are Singletons, which may help manage the rendering context of the active route. On the surface, they function much the same a...
Handling common HTML and CSS problems - Learn web development
at the bottom of the DOM inspector: If for example you were trying to use this selector, you'd be able to see that it wouldn't select the input element as desired: form > #date (The date form input isn't directly inside the <form>; you'd be better off using a general descendant selector instead of a child selector). However, another issue that appears in versions of IE older than 9 is that
none of the newer selectors (mainly pseudo-classes and pseudo-elements like :nth-of-type, :not, ::selection, etc.) work. If you want to use these in your CSS and you need to support older IE versions, a good move is to use Keith Clark's Selectivizr library -- this is a small JavaScript library that works on top of an existing JavaScript library like jQuery or MooTools. To try this example, make a l...
Package management basics - Learn web development
avaScript languages. Objective: To understand what package managers and package repositories are, why they are needed, and the basics of how to use them. A dependency in your project A dependency is a third-party bit of software that was probably written by someone else and ideally solves a single problem for you. A web project can have any number of dependencies, ranging from
none to many, and your dependencies might include sub-dependencies that you didn't explicitly install -- your dependencies may have their own dependencies. A simple example of a useful dependency that your project might need is some code to calculate relative dates as human-readable text. You could certainly code this yourself, but there's a strong chance that someone else has already solved this pro...
Accessibility API cross-reference
NUPOPUP POPUP_MENU, MENU POPUP_MENU, MENU menu A collection of navigational elements (usually links) for navigating the document or related documents. navigation <nav> If it's a table of contents, use <TOC> An element whose implicit native role semantics (if any) will not be mapped to the accessibility API.
none, presentation <Private> or perhaps <Artifact> A section whose content is parenthetic or ancillary to the main content of the resource. note A selectable item in a select list. option A tree with expandable & collapseable elements OUTLINE TREE TREE tree A tree it...
Embedding API for Accessibility
tBoolPref("browser.accept.background_images", acceptBackgroundImages); No Blinking text SetBoolPref("browser.blink_allowed", acceptBlinkText); No Animations SetCharPref("image.animation_mode", animationMode); animationMode: "normal", "
none", "once" Moz 0.8 Applets SetBoolPref("browser.accept.applets", acceptApplets); No Scripts SetBoolPref("browser.accept.scripts", acceptScripts); No Popup windows // Turn window.open off f...
Gecko info for Windows accessibility vendors
. K-Meleon: a light, ultra-fast and more advanced (fully configurable) Gecko-based web browser available on the Windows platform XUL-Based Clients (support MSAA) XUL-based clients make full use of the Gecko architecture, not only for HTML content, as well as for menus, dialogs and the entire user interface via an XML language called XUL (eXtensible User-interface Language).
None of the user interface contains standard Windows controls -- not even the menus! This is done to ensure a common look and feel across all supported platforms, and to allow for different skins (appearances). Firefox (please use version 1.1 alpha builds or later) Thunderbird (please use version 1.1 alpha builds or later) Mozilla Seamonkey (please use 1.8 alpha builds or later)...
Multiprocess on Windows
is should be the IID that we want the interceptor to actually use when wrapping the array element. mLengthParamIndex is the index of the out parameter that contains the length of the array (excluding the this pointer). The interceptor needs to be able to read this parameter to know how many interface pointers exist in the array. mFlag may currently be set to one of two values: ArrayData::Flag::e
None or ArrayData::Flag::eAllocatedByServer. Setting eAllocatedByServer signals to the interceptor that the array is allocated within the method's implementation by calling CoTaskMemAlloc(). Using the interceptor in a11y code Unlike the built in COM marshaling schemes, we must explicitly wrap any COM objects that we want to expose, through the MTA with interceptors. The function call to wrap a COM ...
Mozilla’s UAAG evaluation report
d/remove toolbar icons Bug 47418 is for the ability to rearrange toolbars Guideline 12. Provide accessible user agent documentation and help. Checkpoint Title Status Notes/plans 12.1 Accessible documentation. (P1) NR Some end user docs are under Help, Help Contents in Mozilla Here is the main page for Mozilla end user documentation
None of these resources have been evaluated for WCAG compliance 12.2 Document accessibility features. (P1) NI No end user accessibility documentation yet 12.3 Document default bindings. (P1) NI No end user accessibility documentation yet 12.4 Document changes. (P2) NI No end user accessibility documentation yet 12.5 Dedicated section on accessi...
Debugging Table Reflow
Leaving AssignNonPctColWidths shows that already to all columns a width of 360 twips has been assigned AssignNonPctColWidths ex ***START TABLE DUMP*** mColWidths=360 360 360 360 col frame cache -> 0=00B93138 1=00B931F0 2=024DD728 3=024DD780 **START COL DUMP** colIndex=0 isAnonymous=0 constraint=0 widths=360 540 1230 -1 -1 -1 -1 -1 -1 360 **END COL DUMP** **S...
Debugging on Mac OS X
and typing in the name of a file.) In the Product menu, select Scheme > New Scheme and name your scheme (for example, "Debug"). After you click OK, Xcode should open the settings window for the new scheme. (If not, then open its settings from the Product > Edit Scheme menu.) Select "Run" on the left-hand side of the settings window, then select the "Info" tab. Set the Executable by clicking on "
None" and selecting "Other...". A new dialog titled "Choose an executable to launch" will pop up. Browse to the .app file that you want to debug (Firefox.app, NightlyDebug.app etc). The .app file is typically found inside the dist folder in your build directory. If you are debugging Firefox, Thunderbird, or some other application that supports multiple profiles, using a separate profile for debugging...
SVG Guidelines
stead of introducing a class just for that shape. You can also use SVG grouping to avoid duplicating those attributes Avoid introducing variants of the same file (color/style variants), and use sprites instead (with class names) Default style values There's usually no need to set the default style value unless you're overriding a style. Here are some commonly seen examples: style="display:
none;" on <defs> elements (a <defs> element is hidden by default) type="text/css" on <style> elements stroke:
none or stroke-width: 0 SVG grouping Style grouping Group similarly styled shapes under one <g> tag; this avoids having to set the same class/styles on many shapes. Avoid excessive grouping Editors can sometimes do excessive grouping while exporting SVGs. This is due to the way editors...
mach
ging manager, the settings object, and information about available mach commands. The arguments registered with @CommandArgument are passed to your method as keyword arguments using the **kwargs calling convention. So, you should define default values for all of your method's arguments. The return value from the @Command method should be the integer exit code from the process. If not defined or
None, 0 will be used. Registering mach Command Providers Once you've written a Python module providing a mach command, you'll need to register it with mach. There are two ways to do this. If you have a single file, the easiest solution is probably to register it as a one-off inside build/mach_bootstrap.py. There should be a Python list of paths named MACH_MODULES or similar. Just add your file to t...
Displaying Places information using views
dexInParent" /> <splitter class="tree-splitter" /> <treecol id="parity" label="parity" /> </treecols> <treechildren /> </tree> The full code listing is available in the Files section of the page below. Note that the tree element above does not have the special type attribute common to the built-in views. It's just a regular tree element that you've hooked up to a Places query, with
none of the convenience properties or methods of the built-in Places tree view. If your custom view is used only once in your application, code similar to the above will likely be sufficient; it's enough to create a single PlacesTreeView object, modify it, and attach it to a regular tree. If your view is widely used, however, you may want to take a cue from the built-in tree view and create your own J...
Message manager
Message managers provide a way for chrome-privileged JavaScript code to communicate across process boundaries. They are particularly useful for allowing chrome code, including the browser's code and extension's code, to access web content while the browser is running web content in a separate process. These guides explain how to use message managers in multiprocess Firefox. Note that
none of this requires multiprocess Firefox: everything described here will work with single-process Firefox, so the same code will work on both variants. Guides Message manager overview Frame script loading and lifetime Communicating with frame scripts Performance Best Practices Frame script environment Limitations of frame scripts Process scripts API reference...
Firefox UI considerations for web developers
con" href="/dist/images/icons/favicon.ico"> <link rel="apple-touch-icon-precomposed" href="/dist/images/icons/apple-touch-icon.png"> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/dist/images/icons/apple-touch-icon_72.png"> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/dist/images/icons/apple-touch-icon@2x.png"> Firefox starts by looking for an SVG icon; there is
none. So it then goes on to look through the rich icons. Here, there are three of them, each specified as apple-touch-icon-precomposed. Since
none of them are 96 pixels wide, the smallest icon which is at least 96 pixels wide is chosen; that's the 114x114 pixel apple-touch-icon@2x.png file. That image is then scaled down to be 96 pixels wide and is used in the user interface as seen in the example. ...
JSAPI User Guide
act with the JavaScript exception-handling language features, try, catch, and finally. However, in some cases we do not want scripts to be able to catch an error; we want script execution to terminate right away. If the system runs out of memory in the middle of a script, we do not want finally blocks to execute, because almost anything a script does requires at least a little memory, and we have
none. If a script has been running too long and we want to kill it, it's no good to throw an exception--the script could just catch it and keep going. Therefore JS_ReportOutOfMemory(cx) does not set the pending exception. It is an uncatchable error. If SpiderMonkey runs out of memory, or a JSAPI callback returns false without an exception pending, this is treated as an uncatchable error. The JavaScr...
JSExnType
This article covers features introduced in SpiderMonkey 17 Possible exception types. Value Prototype in JavaScript JSEXN_
NONE An unthrowable error. (lower bound) JSEXN_ERR Error JSEXN_INTERNALERR InternalError JSEXN_EVALERR EvalError JSEXN_RANGEERR RangeError JSEXN_REFERENCEERR ReferenceError JSEXN_SYNTAXERR SyntaxError JSEXN_TYPEERR TypeError JSEXN_URIERR URIError JSEXN_LIMIT (upper bound) Description These types are part of a JSErrorFormatString structure. They define which error to throw in case of a runtime error. JSEXN_
NONE marks an unthrowable error. See Also MXR ID Search for JSExnType JSErrorFormatString bug 684526 ...
JSPropertyOp
he post-callback value of *vp is returned to the caller. This value also becomes the property's new stored value, if the property exists and has a stored value. JSStrictPropertyOp JSClass.setProperty is the default setter for new properties. See the section on getters and setters above. A property's setter is called each time the property is assigned. Hence when a script assigns to a
nonexisting property, first the object's class's addProperty hook is called, then the setProperty hook. See Also MXR ID Search for JSPropertyOp MXR ID Search for JSStrictPropertyOp bug 312354 bug 537873 - added JSStrictPropertyOp ...
JS_ConvertArguments
s to be a native function, this means it isn't attached to any global or enclosing scope, and therefore must not be treated like a real function. Instead, use JSVAL_IS_OBJECT and JS_ObjectIsFunction() to check whether a value is already a function, or use JS_ConvertValue() to convert a value to JSTYPE_FUNCTION safely. v jsval Argument value (no conversion) * N/A
None. If an asterisk (*) is present in format, it tells the conversion routine to skip converting the current argument. / N/A
None. Arguments after the slash are optional. If an optional argument is missing from argv, JS_ConvertArguments neither assigns anything to any variable nor reports an error. This function also takes in consideration any additional custom types defined on ...
JS_PushArguments
signed integer) u uint32 (32-bit, ECMA-compliant, unsigned integer) j int32 (32-bit, signed integer) d jsdouble I jsdouble (converted to an integer value) s char * (C string) S JSString * (Unicode string) W jschar * (Unicode null-terminated string) o JSObject * f JSFunction * *
None. Any asterisks (*) in format are ignored. This function also takes in consideration any additional custom types defined in cx using JS_AddArgumentFormatter. For example, if format is "bIob", then there must be four arguments after format. Their types must be JSBool, jsdouble, JSObject *, and JSBool. If successful, JS_PushArguments would return a pointer to the first element of an array of f...
JS_ReportErrorNumber
ort, populate it with an error message obtained from the given JSErrorCallback, and either report it to the current error reporter callback or create an Error object and set it as the pending exception. First errorCallback(userRef, errorNumber) is called. If errorCallback returns NULL, (??? what happens?). Otherwise, if the JSErrorFormatString returned by the JSErrorCallback has .exnType == JSEXN_
NONE, then the error reporter, if any, is called, and no Error object is created. (??? The source code seems to say we ignore the .exnType, actually, but surely I'm just missing something.) Otherwise, if any JavaScript code is running in cx (for example, if the caller is a JSNative that was called from a script), then an Error object is created and becomes the pending exception. The error reporter is ...
JS_SetInterruptCallback
ion periodically, by calling JS_MaybeGC; To periodically take a break from script execution to update the UI (though note that Mozilla does not do this, by design); To enforce application limits on the amount of time a script may run. (In this case, the callback may terminate the script by returning false.) JS_GetInterruptCallback returns the currently installed interrupt callback, or NULL if
none is currently installed. JS_RequestInterruptCallback requests a callback set using JS_SetInterruptCallback. See Also MXR ID Search for JS_SetInterruptCallback MXR ID Search for JS_GetInterruptCallback MXR ID Search for JS_RequestInterruptCallback bug 977287 ...
JS_SetOperationCallback
periodically, by calling JS_MaybeGC; To periodically take a break from script execution to update the UI (though note that Mozilla does not do this, by design); To enforce application limits on the amount of time a script may run. (In this case, the callback may terminate the script by returning JS_FALSE.) JS_GetOperationCallback returns the currently installed operation callback, or NULL if
none is currently installed. JS_TriggerOperationCallback triggers a callback set using JS_SetOperationCallback. JS_ClearOperationCallback clears the current operation callback. Obsolete since JavaScript 1.9.1 JS_SetOperationCallbackFunction sets the operation callback without changing the operation limit. Obsolete since JavaScript 1.9.1 JS_GetOperationLimit returns the current operation limit, or ...
JS_SetParent
ject is created. Applications can get an object's parent using JS_GetParent. Scripts can determine an object's parent by using the __parent__ property, but scripts cannot assign to the __parent__ property. In fact, once an object is exposed to a script, the object's parent must not change. The JavaScript engine relies on this invariant. JS_SetParent has no way to check that this is the case, but
nonetheless, applications must not call JS_SetParent on an object that has already been exposed to a script. If an application does this, the behavior is undefined. On success, JS_SetParent returns JS_TRUE. Otherwise, it reports an error or sets an exception and returns JS_FALSE. See Also MXR ID Search for JS_SetParent bug 1136980 - removed ...
Running Automated JavaScript Tests
Most of the options in the jstests harness are also available for this one, but a few have different names. Use -h to see all the options. The --jitflags option allows you to test the JS executable with different flags. The flags are used to control which features are run, such as which JITs are enabled and how quickly they will kick in. The valid options are named bundles like 'all', 'interp', '
none', etc. See the full list in the -h / --help output. One helpful option specific to jit-tests is -R filename (or --retest filename). The first time this is run, it runs the suite and writes a list of tests that failed to the given filename. The next time it is run, it will run only the tests in the given filename, and then will write the list of tests that failed when it is done. Thus, you can ke...
Shell global objects
on Debugger instances that are observing the given promise's global as a debuggee. Functions available only if JS_GC_ZEAL is defined gczeal(level, [N]) Specifies how zealous the garbage collector should be. Some of these modes can be set simultaneously, by passing multiple level options, e.g. "2;4" will activate both modes 2 and 4. Modes can be specified by name or number. ...
Split object
returned in this case. For consistency with the rule, if that global object is an outer object, SpiderMonkey returns the inner object instead. Inner and outer objects are in certain other respects the same object: If Object.hasOwnProperty is called on an inner object, and the named property is found on an outer object, that's considered close enough and hasOwnProperty returns true. Note that
none of the rules listed here affects ordinary property accesses. SpiderMonkey's split object support, by itself, does not cause inner object properties to appear on the outer object or vice versa. Split objects that need this behavior must implement it in custom JSClass hooks. In the case of window, each half has custom hooks. ...
AT APIs Support
daring functionality to users of the GNOME desktop. on Mac platform Camino - web browser for OS X XUL Applications XUL applications make full use of the Gecko architecture, not only for HTML content, but also for the entire user interface. Widgets such as menus, tab panels, tree views and dialogs are provided via an XML language called XUL (eXtensible User-interface Language).
None of the user interface contains standard OS controls. This is done to ensure a common look and feel across all supported platforms, and to allow for different skins (appearances). Developing a XUL window is not that different from developing a web page, but the elements available to add widgets are more powerful and designed to be similar to desktop widgets. Examples of XUL applications: Firef...
extIApplication
n value indicating whether the shutdown was successful. restart() Attempts to restart the application. It is possible for the restart to be canceled. boolean restart() Return value boolean value indicating whether the restart was successful. getExtensions(aCallback) Calls aCallback with the list of installed extensions. void getExtensions(extIExtensionsCallback aCallback) Return value
none. XPCOM Although the Application object is preloaded into XUL scripts, it is not preloaded into JavaScript XPCOM code. The object needs to be accessed like any other XPCOM service: var Application = Components.classes["@mozilla.org/fuel/application;1"].getService(Components.interfaces.fuelIApplication); See also FUEL (Firefox), STEEL (Thunderbird) and SMILE (SeaMonkey) ...
Creating a Python XPCOM component
py nsISample class nsISample: _com_interfaces_ = xpcom.components.interfaces.nsISample # If this object needs to be registered, the following 2 are also needed. # _reg_clsid_ = "{a new clsid generated for this object}" # _reg_contractid_ = "The.Object.Name" def get_value( self ): # Result: string pass def set_value( self, param0 ): # Result: void -
None # In: param0: string pass As you can see, the output is valid Python code, with basic signatures and useful comments for each of the methods. Testing it To see this work, you will have to start Firefox from the command line, since that'll be where the stuff will be printed out. External links Creating XPCOM components, on which this short tutorial is based. A three-part tuto...
Using microtasks in JavaScript with queueMicrotask() - Web APIs
otasks in the microtask queue. The microtask queue is, then, processed multiple times per iteration of the event loop, including after handling events and other callbacks. Second, if a microtask adds more microtasks to the queue by calling queueMicrotask(), those newly-added microtasks execute before the next task is run. That's because the event loop will keep calling microtasks until there are
none left in the queue, even if more keep getting added. Warning: Since microtasks can themselves enqueue more microtasks, and the event loop continues processing microtasks until the queue is empty, there's a real risk of getting the event loop endlessly processing microtasks. Be cautious with how you go about recursively adding microtasks. Using microtasks Before getting farther into this, it's...
Dragging and Dropping Multiple Items - Web APIs
ct consistent data. To check if multiple files are being dragged, check the mozItemCount property. It will be set to the number of items being dragged. If a particular drop target only supports dropping a single item, it could either reject the dragged items or it could just use just the first item. To reject the items, either don't cancel the dragover event, or set the effectAllowed property to
none. You may wish to do both in case another listener has already cancelled the event. To just take the first item being dropped, use the getData() method as with a single item. This is convenient as drop targets which only need to support a single item do not need to do anything extra. However, use the mozGetDataAt() method to retrieve a specific item from the data transfer. The following example ...
HashChangeEvent - Web APIs
o="xMinYMin meet"><a xlink:href="/docs/Web/API/Event" target="_top"><rect x="1" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="38.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Event</text></a><polyline points="76,25 86,20 86,30 76,25" stroke="#D4DDE4" fill="
none"/><line x1="86" y1="25" x2="116" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/HashChangeEvent" target="_top"><rect x="116" y="1" width="150" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="191" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">HashChangeEvent</text></a></...
Headers - Web APIs
() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence. For security reasons, some headers can only be controlled by the user agent. These headers include the forbidden header names and forbidden response header names. A Headers object also has an associated guard, which takes a value of immutable, request, request-no-cors, response, or
none. This affects whether the set(), delete(), and append() methods will mutate the header. For more information see Guard. You can retrieve a Headers object via the Request.headers and Response.headers properties, and create a new Headers object using the Headers.Headers() constructor. An object implementing Headers can directly be used in a for...of structure, instead of entries(): for (var p of ...
IDBCursorWithValue - Web APIs
Min meet"><a xlink:href="/docs/Web/API/IDBCursor" target="_top"><rect x="1" y="1" width="90" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="46" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">IDBCursor</text></a><polyline points="91,25 101,20 101,30 91,25" stroke="#D4DDE4" fill="
none"/><line x1="101" y1="25" x2="131" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/IDBCursorWithValue" target="_top"><rect x="131" y="1" width="180" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="221" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">IDBCursorWithValue</text...
IDBDatabase - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/IDBDatabase" target="_top"><rect x="151" y="1" width="110" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="206" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">IDBDatabase</text></a></svg></d...
IDBRequest - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/IDBRequest" target="_top"><rect x="151" y="1" width="100" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="201" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">IDBRequest</text></a></svg></div...
IDBTransaction.commit() - Web APIs
t when all outstanding requests have been satisfied and no new requests have been made. commit() can be used to start the commit process without waiting for events from outstanding requests to be dispatched. If it is called on a transaction that is not active, it throws an InvalidStateError DOMException. Note: This feature is available in Web Workers. Syntax transaction.commit(); Parameters
None. Return value Void. Exceptions Exception Description InvalidStateError The transaction state is not active. Examples // open a read/write db transaction, ready for adding the data var transaction = db.transaction(["myDB"], "readwrite"); // report on the success of opening the transaction transaction.oncomplete = function(event) { note.innerHTML += '<li>T...
IDBTransaction - Web APIs
t"><a xlink:href="/docs/Web/API/EventTarget" target="_top"><rect x="1" y="1" width="110" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="56" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">EventTarget</text></a><polyline points="111,25 121,20 121,30 111,25" stroke="#D4DDE4" fill="
none"/><line x1="121" y1="25" x2="151" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/IDBTransaction" target="_top"><rect x="151" y="1" width="140" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="221" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">IDBTransaction</text></a></s...
Using IndexedDB - Web APIs
ting an index using IDBObjectStore.createIndex() (check out its parameters.) In such cases, when a cursor is then used to iterate through the dataset, and you want to specify locale-aware sorting, you can use a specialized IDBLocaleAwareKeyRange. IDBIndex has also had new properties added to it to specify if it has a locale specified, and what it is: locale (returns the locale if any, or null if
none is specified) and isAutoLocale (returns true if the index was created with an auto locale, meaning that the platform's default locale is used, false otherwise.) Note: This feature is currently hidden behind a flag -- to enable it and experiment, go to about:config and enable dom.indexedDB.experimental. Full IndexedDB example HTML Content <script type="text/javascript" src="https://ajax.goog...
InputDeviceCapabilities - Web APIs
ces. This allows, for example, touchscreen keyboards and physical keyboards to be represented the same way when they produce the same input. Constructors InputDeviceCapabilities.InputDeviceCapabilities() Creates an InputDeviceCapabilities object. Properties InputDeviceCapabilities.firesTouchEventsRead only A Boolean that indicates whether the device dispatches touch events. Methods
None. Specifications Specification Status Comment InputDeviceCapabilitiesThe definition of 'sourceCapabilities' in that specification. Draft Initial definition. ...
InputEvent.getTargetRanges() - Web APIs
Return value An array of StaticRange objects. Specifications Specification Status Comment Input Events Level 2The definition of 'getTargetRanges()' in that specification. Working Draft Initial definition. ...
enabled - Web APIs
The method reflects the value of the Software Installation preference in the user interface, and of the xpinstall.enabled preference in pref.js. ...
IntersectionObserver.takeRecords() - Web APIs
were checked, either explicitly through a call to this method or implicitly by an automatic call to the observer's callback. Note: If you use the callback to monitor these changes, you don't need to call this method. Calling this method clears the pending intersection list, so the callback will not be run. Syntax intersectionObserverEntries = intersectionObserver.takeRecords(); Parameters
None. Return value An array of IntersectionObserverEntry objects, one for each target element whose intersection with the root has changed since the last time the intersections were checked. Examples <<<...>>> Specifications Specification Status Comment Intersection ObserverThe definition of 'IntersectionObserver.takeRecords()' in that specification. Working Dra...
WebGL2RenderingContext.samplerParameter[if]() - Web APIs
GLenum specifying the texture wrapping function for the texture coordinate r. gl.TEXTURE_WRAP_S: A GLenum specifying the texture wrapping function for the texture coordinate s. gl.TEXTURE_WRAP_T: A GLenum specifying the texture wrapping function for the texture coordinate t. param A GLint (samplerParameteri) or a GLfloat (samplerParameterf) specifying a value for pname. Return value
None. Examples var sampler = gl.createSampler(); gl.samplerParameteri(sampler, gl.TEXTURE_MAG_FILTER, gl.NEAREST); Specifications The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request. DesktopMobileChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid w...
WebGL2RenderingContext.texImage3D() - Web APIs
One of the following objects can be used as a pixel source for the texture: ArrayBufferView, ImageBitmap, ImageData, HTMLImageElement, HTMLCanvasElement, HTMLVideoElement. offset A GLintptr byte offset into the WebGLBuffer's data store. Used to upload data to the currently bound WebGLTexture from the WebGLBuffer bound to the PIXEL_UNPACK_BUFFER target. Return value
None. Examples gl.texImage3D(gl.TEXTURE_3D, 0, // level gl.RGBA, // internalFormat 1, // width 1, // height 1, // depth ...
WebGL2RenderingContext.texStorage2D() - Web APIs
.COMPRESSED_RG11_EAC gl.COMPRESSED_SIGNED_RG11_EAC gl.COMPRESSED_RGB8_ETC2 gl.COMPRESSED_RGBA8_ETC2_EAC gl.COMPRESSED_SRGB8_ETC2 gl.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC gl.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 gl.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 width A GLsizei specifying the width of the texture. height A GLsizei specifying the height of the texture. Return value
None. Examples gl.texStorage2D(gl.TEXTURE_2D, 1, gl.RGB8, 256, 256); Specifications Specification Status Comment WebGL 2.0The definition of 'texStorage2D' in that specification. Editor's Draft Initial definition for WebGL. OpenGL ES 3.0The definition of 'glTexStorage2D' in that specification. Standard Man page of the (similar) OpenGL ES 3.0 API. ...
WebGL2RenderingContext.texStorage3D() - Web APIs
gl.COMPRESSED_RGB8_ETC2 gl.COMPRESSED_RGBA8_ETC2_EAC gl.COMPRESSED_SRGB8_ETC2 gl.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC gl.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 gl.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 width A GLsizei specifying the width of the texture. height A GLsizei specifying the height of the texture. depth A GLsizei specifying the depth of the texture. Return value
None. Examples gl.texStorage3D(gl.TEXTURE_3D, 1, gl.RGB8, 256, 256, 256); Specifications Specification Status Comment WebGL 2.0The definition of 'texStorage3D' in that specification. Editor's Draft Initial definition for WebGL. OpenGL ES 3.0The definition of 'glTexStorage3D' in that specification. Standard Man page of the (similar) OpenGL ES 3.0 API. ...
WebGL2RenderingContext.texSubImage3D() - Web APIs
SHORT_5_5_5_1, or ext.HALF_FLOAT_OES. A Float32Array must be used if type is gl.FLOAT. ImageBitmap, ImageData, HTMLImageElement, HTMLCanvasElement, HTMLVideoElement. offset A GLintptr byte offset into the WebGLBuffer's data store. Used to upload data to the currently bound WebGLTexture from the WebGLBuffer bound to the PIXEL_UNPACK_BUFFER target. Return value
None. Examples gl.texSubImage3D(gl.TEXTURE_3D, 0, 0, 0, 0, image.width, image.height, 1, gl.RGBA, gl.UNSIGNED_BYTE, image); Specifications Specification Status Comment WebGL 2.0The definition of 'texSubImage3D' in that specification. Editor's Draft Initial definition for WebGL. OpenGL ES 3.0The definition of 'glTexSubImage2D' in that specification. Standa...
WebGL2RenderingContext.transformFeedbackVaryings() - Web APIs
in WebGLTransformFeedback buffers. Syntax void gl.transformFeedbackVaryings(program, varyings, bufferMode); Parameters program A WebGLProgram. varyings An Array of DOMString specifying the the names of the varying variables to use. bufferMode A GLenum specifying the mode to use when capturing the varying variables. Either gl.INTERLEAVED_ATTRIBS or gl.SEPARATE_ATTRIBS. Return value
None. Examples var transformFeedback = gl.createTransformFeedback(); gl.bindTransformFeedback(gl.TRANSFORM_FEEDBACK, transformFeedback); var transformFeedbackOutputs = ['gl_Position', 'anotherOutput']; gl.transformFeedbackVaryings(shaderProg, transformFeedbackOutputs, gl.INTERLEAVED_ATTRIBS); gl.linkProgram(shaderProg); Specifications Specification Status...
WebGL2RenderingContext.uniform[1234][uif][v]() - Web APIs
A WebGLUniformLocation object containing the location of the uniform attribute to modify. data, v0, v1, v2, v3 A new value to be used for the uniform variable. Possible types: A Number for unsigned integer values (methods with ui), for integer values (methods with i), or for floats (methods with f). A Uint32Array for unsigned integer vector methods (methods with uiv). Return value
None. Specifications Specification Status Comment WebGL 2.0The definition of 'uniform' in that specification. Editor's Draft Initial definition for WebGL. OpenGL ES 3.0The definition of 'glUniform' in that specification. Standard Man page of the (similar) OpenGL API. ...
WebGL2RenderingContext.uniformBlockBinding() - Web APIs
s. Syntax void gl.uniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); Parameters program A WebGLProgram containing the active uniform block whose binding to assign. uniformBlockIndex A GLuint specifying the index of the active uniform block within the program. uniformBlockBinding A GLuint specifying the binding point to which to bind the uniform block. Return value
None. Examples gl.uniformBlockBinding(program, 0, 1); Specifications Specification Status Comment WebGL 2.0The definition of 'uniformBlockBinding' in that specification. Editor's Draft Initial definition for WebGL. OpenGL ES 3.0The definition of 'glUniformBlockBinding' in that specification. Standard Man page of the (similar) OpenGL API. ...
WebGL2RenderingContext.uniformMatrix[234]x[234]fv() - Web APIs
pose, data, optional srcOffset, optional srcLength); void gl.uniformMatrix4fv(location, transpose, data, optional srcOffset, optional srcLength); Parameters location A WebGLUniformLocation object containing the location of the uniform attribute to modify. transpose A GLboolean specifying whether to transpose the matrix. Must be false. data A Float32Array of float values. Return value
None. Examples gl.uniformMatrix2x3fv(loc, false, [1, 2, 3, 4, 5, 6]); Specifications Specification Status Comment WebGL 2.0The definition of 'uniformMatrix' in that specification. Editor's Draft Initial definition for WebGL. OpenGL ES 3.0The definition of 'glUniformMatrix' in that specification. Standard Man page of the (similar) OpenGL API. ...
WebGL2RenderingContext.vertexAttribDivisor() - Web APIs
d() and gl.drawElementsInstanced(). Note: When using WebGL 1, the ANGLE_instanced_arrays extension can provide this method, too. Syntax void gl.vertexAttribDivisor(index, divisor); Parameters index A GLuint specifying the index of the generic vertex attributes. divisor A GLuint specifying the number of instances that will pass between updates of the generic attribute. Return value
None. Examples gl.vertexAttribDivisor(0, 2); Specifications Specification Status Comment WebGL 2.0The definition of 'vertexAttribDivisor' in that specification. Editor's Draft Initial definition for WebGL. OpenGL ES 3.0The definition of 'glVertexAttribDivisor' in that specification. Standard Man page of the (similar) OpenGL API. ...
WebGL2RenderingContext.vertexAttribI4[u]i[v]() - Web APIs
4ui(index, v0, v1, v2, v3); void gl.vertexAttribI4iv(index, value); void gl.vertexAttribI4uiv(index, value); Parameters index A GLuint specifying the position of the vertex attribute to be modified. v0, v1, v2, v3 An integer Number for the vertex attribute value. value A Uint32Array/Int32Array or sequences of GLuint/ GLint for integer vector vertex attribute values. Return value
None. Examples gl.vertexAttribI4i(a_foobar, 10); Specifications Specification Status Comment WebGL 2.0The definition of 'vertexAttribI' in that specification. Editor's Draft Initial definition for WebGL. OpenGL ES 3.0The definition of 'glVertexAttribI' in that specification. Standard Man page of the (similar) OpenGL API. ...
WebGL2RenderingContext.vertexAttribIPointer() - Web APIs
the data type of each component in the array. Must be one of: gl.BYTE, gl.UNSIGNED_BYTE, gl.SHORT, gl.UNSIGNED_SHORT, gl.INT, or gl.UNSIGNED_INT. stride A GLsizei specifying the offset in bytes between the beginning of consecutive vertex attributes. offset A GLintptr specifying an offset in bytes of the first component in the vertex attribute array. Must be a multiple of type. Return value
None. Description Very similar to WebGLRenderingContext.vertexAttribPointer(). The main difference is that while values specified by vertexAttribPointer are always interpreted as floating-point values in the shader (even if they were originally specified as integers in the buffer), this method allows specifying values which are interpreted as integers in the shader. Examples Linear Blend Skinning...
WebGL2RenderingContext.waitSync() - Web APIs
n multiple GL contexts. Syntax void gl.waitSync(sync, flags, timeout); Parameters sync A WebGLSync object on which to wait on. flags A GLbitfield specifying a bitwise combination of flags controlling the flushing behavior. Must be 0 (exists for extensions only). timeout A GLint64 specifying a timeout the server should wait before continuing. Must be gl.TIMEOUT_IGNORED. Return value
None. Examples var sync = gl.fenceSync(gl.SYNC_GPU_COMMANDS_COMPLETE, 0); gl.waitSync(sync, 0, gl.TIMEOUT_IGNORED); Specifications Specification Status Comment WebGL 2.0The definition of 'waitSync' in that specification. Editor's Draft Initial definition for WebGL. OpenGL ES 3.0The definition of 'glWaitSync' in that specification. Standard Man page of ...
WebGLContextEvent - Web APIs
o="xMinYMin meet"><a xlink:href="/docs/Web/API/Event" target="_top"><rect x="1" y="1" width="75" height="50" fill="#fff" stroke="#D4DDE4" stroke-width="2px" /><text x="38.5" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">Event</text></a><polyline points="76,25 86,20 86,30 76,25" stroke="#D4DDE4" fill="
none"/><line x1="86" y1="25" x2="116" y2="25" stroke="#D4DDE4"/><a xlink:href="/docs/Web/API/WebGLContextEvent" target="_top"><rect x="116" y="1" width="170" height="50" fill="#F4F7F8" stroke="#D4DDE4" stroke-width="2px" /><text x="201" y="30" font-size="12px" font-family="Consolas,Monaco,Andale Mono,monospace" fill="#4D4E53" text-anchor="middle" alignment-baseline="middle">WebGLContextEvent</text></...
WebGLRenderingContext.activeTexture() - Web APIs
The WebGLRenderingContext.activeTexture() method of the WebGL API specifies which texture unit to make active. Syntax void gl.activeTexture(texture); Parameters texture The texture unit to make active. The value is a gl.TEXTUREI where I is within the range from 0 to gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1. Return value
None. Exceptions If texture is not one of gl.TEXTUREI, where I is within the range from 0 to gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1, a gl.INVALID_ENUM error is thrown. Examples The following call selects gl.TEXTURE1 as the current texture. Subsequent calls that modify the texture state will affect this texture. gl.activeTexture(gl.TEXTURE1); The number of texture units is implementation dependent, you can get this number with the help of the MAX_COMBINED_TEXT...
WebGLRenderingContext.bindAttribLocation() - Web APIs
ribute variable. Syntax void gl.bindAttribLocation(program, index, name); Parameters program A WebGLProgram object to bind. index A GLuint specifying the index of the generic vertex to bind. name A DOMString specifying the name of the variable to bind to the generic vertex index. This name cannot start with "webgl_" or "_webgl_", as these are reserved for use by WebGL. Return value
None. Examples gl.bindAttribLocation(program, colorLocation, 'vColor'); Specifications Specification Status Comment WebGL 1.0The definition of 'bindAttribLocation' in that specification. Recommendation Initial definition. OpenGL ES 2.0The definition of 'glBindAttribLocation' in that specification. Standard Man page of the (similar) OpenGL API. ...
WebGLRenderingContext.bindBuffer() - Web APIs
BUFFER: Buffer for copying from one buffer object to another. gl.TRANSFORM_FEEDBACK_BUFFER: Buffer for transform feedback operations. gl.UNIFORM_BUFFER: Buffer used for storing uniform blocks. gl.PIXEL_PACK_BUFFER: Buffer used for pixel transfer operations. gl.PIXEL_UNPACK_BUFFER: Buffer used for pixel transfer operations. buffer A WebGLBuffer to bind. Return value
None. Exceptions Only one target can be bound to a given WebGLBuffer. An attempt to bind the buffer to another target will throw an INVALID_OPERATION error and the current buffer binding will remain the same. A WebGLBuffer which has been marked for deletion with deleteBuffer cannot be (re-)bound. An attempt to do so will generate an INVALID_OPERATION error, and the current binding will remain untou...
WebGLRenderingContext.bindFramebuffer() - Web APIs
ncil buffers used to render an image. When using a WebGL 2 context, the following values are available additionally: gl.DRAW_FRAMEBUFFER: Equivalent to gl.FRAMEBUFFER. Used as a destination for drawing, rendering, clearing, and writing operations. gl.READ_FRAMEBUFFER: Used as a source for reading operations. framebuffer A WebGLFramebuffer object to bind. Return value
None. Exceptions A gl.INVALID_ENUM error is thrown if target is not gl.FRAMEBUFFER, gl.DRAW_FRAMEBUFFER, or gl.READ_FRAMEBUFFER. Examples Binding a frame buffer var canvas = document.getElementById('canvas'); var gl = canvas.getContext('webgl'); var framebuffer = gl.createFramebuffer(); gl.bindFramebuffer(gl.FRAMEBUFFER, framebuffer); Getting current bindings To check the current frame buffer...
WebGLRenderingContext.bindRenderbuffer() - Web APIs
the WebGL API binds a given WebGLRenderbuffer to a target, which must be gl.RENDERBUFFER. Syntax void gl.bindRenderbuffer(target, renderbuffer); Parameters target A GLenum specifying the binding point (target). Possible values: gl.RENDERBUFFER: Buffer data storage for single images in a renderable internal format. renderbuffer A WebGLRenderbuffer object to bind. Return value
None. Exceptions A gl.INVALID_ENUM error is thrown if target is not gl.RENDERBUFFER. Examples Binding a renderbuffer var canvas = document.getElementById('canvas'); var gl = canvas.getContext('webgl'); var renderbuffer = gl.createRenderbuffer(); gl.bindRenderbuffer(gl.RENDERBUFFER, renderbuffer); Getting current bindings To check the current renderbuffer binding, query the RENDERBUFFER_BINDIN...
WebGLRenderingContext.bindTexture() - Web APIs
ing the binding point (target). Possible values: gl.TEXTURE_2D: A two-dimensional texture. gl.TEXTURE_CUBE_MAP: A cube-mapped texture. When using a WebGL 2 context, the following values are available additionally: gl.TEXTURE_3D: A three-dimensional texture. gl.TEXTURE_2D_ARRAY: A two-dimensional array texture. texture A WebGLTexture object to bind. Return value
None. Exceptions A gl.INVALID_ENUM error is thrown if target is not gl.TEXTURE_2D, gl.TEXTURE_CUBE_MAP, gl.TEXTURE_3D, or gl.TEXTURE_2D_ARRAY. Examples Binding a texture var canvas = document.getElementById('canvas'); var gl = canvas.getContext('webgl'); var texture = gl.createTexture(); gl.bindTexture(gl.TEXTURE_2D, texture); Getting current bindings To check the current texture binding, que...
WebGLRenderingContext.blendColor() - Web APIs
rce and destination blending factors. Syntax void gl.blendColor(red, green, blue, alpha); Parameters red A GLclampf for the red component in the range of 0 to 1. green A GLclampf for the green component in the range of 0 to 1. blue A GLclampf for the blue component in the range of 0 to 1. alpha A GLclampf for the alpha component (transparency) in the range of 0 to 1. Return value
None. Examples To set the blend color, use: gl.blendColor(0, 0.5, 1, 1); To get the blend color, query the BLEND_COLOR constant which returns a Float32Array. gl.getParameter(gl.BLEND_COLOR); // Float32Array[0, 0.5, 1, 1] Specifications Specification Status Comment WebGL 1.0The definition of 'blendColor' in that specification. Recommendation Initial definition. ...
WebGLRenderingContext.blendEquation() - Web APIs
tination, ext.MAX_EXT: Maximum of source and destination. When using a WebGL 2 context, the following values are available additionally: gl.MIN: Minimum of source and destination, gl.MAX: Maximum of source and destination. default value: gl.FUNC_ADD Exception If mode is not one of the three possible values, a gl.INVALID_ENUM error is thrown. Return value
None. Examples To set the blend equation, use: gl.blendEquation(gl.FUNC_ADD); gl.blendEquation(gl.FUNC_SUBTRACT); gl.blendEquation(gl.FUNC_REVERSE_SUBTRACT); To get the blend equations, query the BLEND_EQUATION, BLEND_EQUATION_RGB and BLEND_EQUATION_ALPHA constants which return gl.FUNC_ADD, gl.FUNC_SUBTRACT, gl.FUNC_REVERSE_SUBTRACT, or if the EXT_blend_minmax is enabled: ext.MIN_EXT or ext.MAX_E...
WebGLRenderingContext.blendEquationSeparate() - Web APIs
E_SUBTRACT: destination - source, When using the EXT_blend_minmax extension: ext.MIN_EXT: Minimum of source and destination, ext.MAX_EXT: Maximum of source and destination. When using a WebGL 2 context, the following values are available additionally: gl.MIN: Minimum of source and destination, gl.MAX: Maximum of source and destination. Return value
None. Exceptions If mode is not one of the three possible values, a gl.INVALID_ENUM error is thrown. Examples To set the blend equations, use: gl.blendEquationSeparate(gl.FUNC_ADD, gl.FUNC_SUBTRACT); To get the current blend equations, query the BLEND_EQUATION, BLEND_EQUATION_RGB and BLEND_EQUATION_ALPHA constants which return gl.FUNC_ADD, gl.FUNC_SUBTRACT, gl.FUNC_REVERSE_SUBTRACT, or if the E...
WebGLRenderingContext.blendFunc() - Web APIs
ion is used for blending pixel arithmetic. Syntax void gl.blendFunc(sfactor, dfactor); Parameters sfactor A GLenum specifying a multiplier for the source blending factors. The default value is gl.ONE. For possible values, see below. dfactor A GLenum specifying a multiplier for the destination blending factors. The default value is gl.ZERO. For possible values, see below. Return value
None. Exceptions If sfactor or dfactor is not one of the listed possible values, a gl.INVALID_ENUM error is thrown. If a constant color and a constant alpha value are used together as source and destination factors, a gl.INVALID_ENUM error is thrown. Constants The following constants can be used for sfactor and dfactor. The formula for the blending color can be described like this: color(RGBA...
WebGLRenderingContext.blendFuncSeparate() - Web APIs
destination blending factors. The default value is gl.ZERO. For possible values, see below. srcAlpha A GLenum specifying a multiplier for the alpha source blending factor. The default value is gl.ONE. For possible values, see below. dstAlpha A GLenum specifying a multiplier for the alpha destination blending factor. The default value is gl.ZERO. For possible values, see below. Return value
None. Exceptions If srcRGB, dstRGB, srcAlpha, or dstAlpha is not one of the listed possible values, a gl.INVALID_ENUM error is thrown. If a constant color and a constant alpha value are used together as source (srcRGB) and destination (dstRGB) factors, a gl.INVALID_ENUM error is thrown. Constants The following constants can be used for srcRGB, dstRGB, srcAlpha, and dstAlpha The formulas for t...
WebGLRenderingContext.bufferData() - Web APIs
WebGL drawing and image specification commands. gl.STREAM_COPY: The contents are intended to be specified once by reading data from WebGL, and used at most a few times as the source for WebGL drawing and image specification commands. srcOffset A GLuint specifying the element index offset where to start reading the buffer. length Optional A GLuint defaulting to 0. Return value
None. Exceptions A gl.OUT_OF_MEMORY error is thrown if the context is unable to create a data store with the given size. A gl.INVALID_VALUE error is thrown if size is negative. A gl.INVALID_ENUM error is thrown if target or usage are not one of the allowed enums. Examples Using bufferData var canvas = document.getElementById('canvas'); var gl = canvas.getContext('webgl'); var buffer = gl.cre...
WebGLRenderingContext.bufferSubData() - Web APIs
dstByteOffset A GLintptr specifying an offset in bytes where the data replacement will start. srcData Optional An ArrayBuffer, SharedArrayBuffer or one of the ArrayBufferView typed array types that will be copied into the data store. srcOffset A GLuint specifying the element index offset where to start reading the buffer. length Optional A GLuint defaulting to 0. Return value
None. Exceptions A gl.INVALID_VALUE error is thrown if the data would be written past the end of the buffer or if data is null. A gl.INVALID_ENUM error is thrown if target is not one of the allowed enums. Examples Using bufferSubData var canvas = document.getElementById('canvas'); var gl = canvas.getContext('webgl'); var buffer = gl.createBuffer(); gl.bindBuffer(gl.ARRAY_BUFFER, buffer); gl.b...
WebGLRenderingContext.checkFramebufferStatus() - Web APIs
different among attached renderbuffers, or are non-zero if the attached images are a mix of renderbuffers and textures. When using the OVR_multiview2 extension, the following value can be returned additionally: ext.FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR: If baseViewIndex is not the same for all framebuffer attachment points where the value of FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE is not
NONE, the framebuffer is considered incomplete. Examples var canvas = document.getElementById('canvas'); var gl = canvas.getContext('webgl'); var framebuffer = gl.createFramebuffer(); // ... gl.checkFramebufferStatus(gl.FRAMEBUFFER); Specifications Specification Status Comment WebGL 1.0The definition of 'checkFramebufferStatus' in that specification. Recommendat...
WebGLRenderingContext.clear() - Web APIs
ues. The preset values can be set by clearColor(), clearDepth() or clearStencil(). The scissor box, dithering, and buffer writemasks can affect the clear() method. Syntax void gl.clear(mask); Parameters mask A GLbitfield bitwise OR mask that indicates the buffers to be cleared. Possible values are: gl.COLOR_BUFFER_BIT gl.DEPTH_BUFFER_BIT gl.STENCIL_BUFFER_BIT Return value
None. Exceptions If mask is not one of the listed possible values, a gl.INVALID_ENUM error is thrown. Examples The clear() method accepts multiple values. gl.clear(gl.DEPTH_BUFFER_BIT); gl.clear(gl.DEPTH_BUFFER_BIT | gl.COLOR_BUFFER_BIT); To get the current clear values, query the COLOR_CLEAR_VALUE, DEPTH_CLEAR_VALUE, and STENCIL_CLEAR_VALUE constants. gl.getParameter(gl.COLOR_CLEAR_VALUE); gl...
WebGLRenderingContext.clearColor() - Web APIs
olor buffers are cleared. Default value: 0. green A GLclampf specifying the green color value used when the color buffers are cleared. Default value: 0. blue A GLclampf specifying the blue color value used when the color buffers are cleared. Default value: 0. alpha A GLclampf specifying the alpha (transparency) value used when the color buffers are cleared. Default value: 0. Return value
None. Examples gl.clearColor(1, 0.5, 0.5, 3); To get the current clear color, query the COLOR_CLEAR_VALUE constant which returns a Float32Array. gl.getParameter(gl.COLOR_CLEAR_VALUE); // Float32Array[1, 0.5, 0.5, 1] Specifications Specification Status Comment WebGL 1.0The definition of 'clearColor' in that specification. Recommendation Initial definition. ...
WebGLRenderingContext.scissor() - Web APIs
inate for the lower left corner of the box. Default value: 0. y A GLint specifying the vertical coordinate for the lower left corner of the box. Default value: 0. width A non-negative Glsizei specifying the width of the scissor box. Default value: width of the canvas. height A non-negative Glsizei specifying the height of the scissor box. Default value: height of the canvas. Return value
None. Exceptions If either width or height is a negative value, a gl.INVALID_VALUE error is thrown. Examples When the scissor test is enabled, only pixels within the scissor box can be modified by drawing commands. // turn on scissor test gl.enable(gl.SCISSOR_TEST); // set the scissor rectangle gl.scissor(x, y, width, height); // execute drawing commands in the scissor box (e.g. clear) // turn...
WebGLRenderingContext.shaderSource() - Web APIs
The WebGLRenderingContext.shaderSource() method of the WebGL API sets the source code of a WebGLShader. Syntax void gl.shaderSource(shader, source); Parameters shader A WebGLShader object in which to set the source code. source A DOMString containing the GLSL source code to set. Return value
None. Examples var shader = gl.createShader(gl.VERTEX_SHADER); gl.shaderSource(shader, originalSource); var source = gl.getShaderSource(shader); Specifications Specification Status Comment WebGL 1.0The definition of 'shaderSource' in that specification. Recommendation Initial definition. OpenGL ES 2.0The definition of 'glShaderSource' in that specification. Standard Man page of the (similar) OpenGL API. ...
WebGLRenderingContext.stencilFunc() - Web APIs
AYS: Always pass. ref A GLint specifying the reference value for the stencil test. This value is clamped to the range 0 to 2n -1 where n is the number of bitplanes in the stencil buffer. The default value is 0. mask A GLuint specifying a bit-wise mask that is used to AND the reference value and the stored stencil value when the test is done. The default value is all 1. Return value
None. Examples The stencil testing is disabled by default. To enable or disable stencil testing, use the enable() and disable() methods with the argument gl.STENCIL_TEST. gl.enable(gl.STENCIL_TEST); gl.stencilFunc(gl.LESS, 0, 0b1110011); To get the current stencil function, reference value, or other stencil information, query the following constants with getParameter(). gl.getParameter(gl.STENCI...
WebGLRenderingContext.stencilFuncSeparate() - Web APIs
AYS: Always pass. ref A GLint specifying the reference value for the stencil test. This value is clamped to the range 0 to 2n -1 where n is the number of bitplanes in the stencil buffer. The default value is 0. mask A GLuint specifying a bit-wise mask that is used to AND the reference value and the stored stencil value when the test is done. The default value is all 1. Return value
None. Examples The stencil testing is disabled by default. To enable or disable stencil testing, use the enable() and disable() methods with the argument gl.STENCIL_TEST. gl.enable(gl.STENCIL_TEST); gl.stencilFuncSeparate(gl.FRONT, gl.LESS, 0.2, 1110011); To get the current stencil function, reference value, or other stencil information, query the following constants with getParameter(). gl.getP...
WebGLRenderingContext.stencilMask() - Web APIs
both the front and back writing of individual bits in the stencil planes. The WebGLRenderingContext.stencilMaskSeparate() method can set front and back stencil writemasks to different values. Syntax void gl.stencilMask(mask); Parameters mask A GLuint specifying a bit mask to enable or disable writing of individual bits in the stencil planes. By default, the mask is all 1. Return value
None. Examples gl.stencilMask(110101); To get the current stencil masks, query the STENCIL_WRITEMASK, STENCIL_BACK_WRITEMASK, or STENCIL_BITS constants. gl.getParameter(gl.STENCIL_WRITEMASK); // 110101 gl.getParameter(gl.STENCIL_BACK_WRITEMASK); // 110101 gl.getParameter(gl.STENCIL_BITS); // 0 Specifications Specification Status Comment WebGL 1.0The definition of 'stenc...
WebGLRenderingContext.stencilMaskSeparate() - Web APIs
e at the same time. Syntax void gl.stencilMaskSeparate(face, mask); Parameters face A GLenum specifying whether the front and/or back stencil writemask is updated. The possible values are: gl.FRONT gl.BACK gl.FRONT_AND_BACK mask A GLuint specifying a bit mask to enable or disable writing of individual bits in the stencil planes. By default, the mask is all 1. Return value
None. Examples gl.stencilMaskSeparate(gl.FRONT, 110101); To get the current stencil masks, query the STENCIL_WRITEMASK, STENCIL_BACK_WRITEMASK, or STENCIL_BITS constants. gl.getParameter(gl.STENCIL_WRITEMASK); // 110101 gl.getParameter(gl.STENCIL_BACK_WRITEMASK); // 110101 gl.getParameter(gl.STENCIL_BITS); // 0 Specifications Specification Status Comment WebGL 1.0The de...
WebGLRenderingContext.stencilOp() - Web APIs
he default value is gl.KEEP. zfail A GLenum specifying the function to use when the stencil test passes, but the depth test fails. The default value is gl.KEEP. zpass A GLenum specifying the function to use when both the stencil test and the depth test pass, or when the stencil test passes and there is no depth buffer or depth testing is disabled. The default value is gl.KEEP. Return value
None. Constants gl.KEEP Keeps the current value. gl.ZERO Sets the stencil buffer value to 0. gl.REPLACE Sets the stencil buffer value to the reference value as specified by WebGLRenderingContext.stencilFunc(). gl.INCR Increments the current stencil buffer value. Clamps to the maximum representable unsigned value. gl.INCR_WRAP Increments the current stencil buffer value. Wraps stencil buff...
WebGLRenderingContext.stencilOpSeparate() - Web APIs
he default value is gl.KEEP. zfail A GLenum specifying the function to use when the stencil test passes, but the depth test fails. The default value is gl.KEEP. zpass A GLenum specifying the function to use when both the stencil test and the depth test pass, or when the stencil test passes and there is no depth buffer or depth testing is disabled. The default value is gl.KEEP. Return value
None. Constants gl.KEEP Keeps the current value. gl.ZERO Sets the stencil buffer value to 0. gl.REPLACE Sets the stencil buffer value to the reference value as specified by WebGLRenderingContext.stencilFunc(). gl.INCR Increments the current stencil buffer value. Clamps to the maximum representable unsigned value. gl.INCR_WRAP Increments the current stencil buffer value. Wraps stencil buff...
WebGLRenderingContext.texImage2D() - Web APIs
SIGNED_INT_24_8_WEBGL. A Float32Array must be used if type is gl.FLOAT. ImageData, HTMLImageElement, HTMLCanvasElement, HTMLVideoElement, ImageBitmap. offset (WebGL 2 only) A GLintptr byte offset into the WebGLBuffer's data store. Used to upload data to the currently bound WebGLTexture from the WebGLBuffer bound to the PIXEL_UNPACK_BUFFER target. Return value
None. Examples gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, image); Specifications Specification Status Comment WebGL 1.0The definition of 'texImage2D' in that specification. Recommendation Initial definition for WebGL. OpenGL ES 2.0The definition of 'glTexImage2D' in that specification. Standard Man page of the (similar) OpenGL ...
WebGLRenderingContext.texSubImage2D() - Web APIs
or ext.HALF_FLOAT_OES. A Float32Array must be used if type is gl.FLOAT. ImageData, HTMLImageElement, HTMLCanvasElement, HTMLVideoElement, ImageBitmap. offset (WebGL 2 only) A GLintptr byte offset into the WebGLBuffer's data store. Used to upload data to the currently bound WebGLTexture from the WebGLBuffer bound to the PIXEL_UNPACK_BUFFER target. Return value
None. Examples gl.texSubImage2D(gl.TEXTURE_2D, 0, 0, 0, gl.RGBA, gl.UNSIGNED_BYTE, image); Specifications Specification Status Comment WebGL 1.0The definition of 'texSubImage2D' in that specification. Recommendation Initial definition for WebGL. OpenGL ES 2.0The definition of 'glTexSubImage2D' in that specification. Standard Man page of the (similar) O...
WebGLRenderingContext.uniform[1234][fi][v]() - Web APIs
he uniform variable. Possible types: A floating point Number for floating point values (methods with "f"). A sequence of floating point numbers (for example a Float32Array or an Array of numbers) for floating point vector methods (methods with "fv"). An integer Number for integer values (methods with "i"). An Int32Array for integer vector methods (methods with "iv"). Return value
None. Examples gl.uniform1f(u_alpha, 0.8); Specifications Specification Status Comment WebGL 1.0The definition of 'uniform' in that specification. Recommendation Initial definition. OpenGL ES 2.0The definition of 'glUniform' in that specification. Standard Main page of the OpenGL API. ...
WebGLRenderingContext.useProgram() - Web APIs
The WebGLRenderingContext.useProgram() method of the WebGL API sets the specified WebGLProgram as part of the current rendering state. Syntax void gl.useProgram(program); Parameters program A WebGLProgram to use. Return value
None. Examples var program = gl.createProgram(); // Attach pre-existing shaders gl.attachShader(program, vertexShader); gl.attachShader(program, fragmentShader); gl.linkProgram(program); gl.useProgram(program); Specifications Specification Status Comment WebGL 1.0The definition of 'useProgram' in that specification. Recommendation Initial definition. OpenGL ES 2.0The definition of 'glUseProgram' in that specification. Standard Man page of the OpenGL API. ...
WebGLRenderingContext.validateProgram() - Web APIs
The WebGLRenderingContext.validateProgram() method of the WebGL API validates a WebGLProgram. It checks if it is successfully linked and if it can be used in the current WebGL state. Syntax void gl.validateProgram(program); Parameters program A WebGLProgram to validate. Return value
None. Examples var program = gl.createProgram(); // Attach pre-existing shaders gl.attachShader(program, vertexShader); gl.attachShader(program, fragmentShader); gl.linkProgram(program); gl.validateProgram(program); if ( !gl.getProgramParameter( program, gl.LINK_STATUS) ) { var info = gl.getProgramInfoLog(program); throw 'Could not compile WebGL program. \n\n' + info; } gl.useProgram(program); Specifications Specification Status Comment WebGL 1.0The definition of 'va...
WebGLRenderingContext.vertexAttrib[1234]f[v]() - Web APIs
b1fv(index, value); void gl.vertexAttrib2fv(index, value); void gl.vertexAttrib3fv(index, value); void gl.vertexAttrib4fv(index, value); Parameters index A GLuint specifying the position of the vertex attribute to be modified. v0, v1, v2, v3 A floating point Number for the vertex attribute value. value A Float32Array for floating point vector vertex attribute values. Return value
None. Description While vertex attributes are usually used to specify values which are different for each vertex (using vertexAttribPointer), it can be useful to specify a constant value. For example, if you have a shader which has a color vertex attribute, but you want to draw everything in a single color, you can use vertexAttrib to achieve that without creating a buffer filled with only one value...
WebGLRenderingContext.vertexAttribPointer() - Web APIs
255. If stride is 0, the attribute is assumed to be tightly packed, that is, the attributes are not interleaved but each attribute is in a separate block, and the next vertex' attribute follows immediately after the current vertex. offset A GLintptr specifying an offset in bytes of the first component in the vertex attribute array. Must be a multiple of the byte length of type. Return value
None. Exceptions A gl.INVALID_VALUE error is thrown if offset is negative. A gl.INVALID_OPERATION error is thrown if stride and offset are not multiples of the size of the data type. A gl.INVALID_OPERATION error is thrown if no WebGLBuffer is bound to the ARRAY_BUFFER target. When using a WebGL 2 context, a gl.INVALID_OPERATION error is thrown if this vertex attribute is defined as a integer in...
box-pack - CSS: Cascading Style Sheets
specified as one of the keyword values listed below. Values start The box packs contents at the start, leaving any extra space at the end. center The box packs contents in the center, dividing any extra space equally between the start and the end. end The box packs contents at the end, leaving any extra space at the start. justify The space is divided evenly in-between each child, with
none of the extra space placed before the first child or after the last child. If there is only one child, treat the value as if it were start. Notes The edge of the box designated the start for packing purposes depends on the box's orientation and direction: Normal Reverse Horizontal left right Vertical top bottom The edge opposite to the start...
column-rule-width - CSS: Cascading Style Sheets
The column-rule-width property is specified as a single <'border-width'> value. Values <'border-width'> Is a keyword defined by border-width describing the width of the rule. It may be either a <length> or one of the thin, medium, or thick keywords. Formal definition Initial valuemediumApplies tomulticol elementsInheritednoComputed valuethe absolute length; 0 if the column-rule-style is
none or hiddenAnimation typea length Formal syntax <'border-width'> Examples Setting a thick column rule HTML <p>This is a bunch of text split into three columns. The `column-rule-width` property is used to change the width of the line that is drawn between columns. Don't you think that's wonderful?</p> CSS p { column-count: 3; column-rule-style: solid; column-rule-width: thick;...
counter() - CSS: Cascading Style Sheets
port for properties other than content is experimental, and support for the type-or-unit parameter is sparse. Check the Browser compatibility table carefully before using this in production. Syntax Values <custom-ident> A name identifying the counter, which is the same case-sensitive name used for the counter-reset and counter-increment. The name cannot start with two dashes and can't be
none, unset, initial, or inherit. <counter-style> A counter style name or symbols() function, where a counter style name is a numeric, alphabetic, or symbolic simple predefined counter style, a complex longhand east Asian or Ethiopic predefined counter style, or other predefined counter style. If omitted, the counter-style defaults to decimal Formal syntax counter( <custom-ident>, <counter-style>...
counters() - CSS: Cascading Style Sheets
ort for properties other than content is experimental, and support for the type-or-unit parameter is sparse. Check the Browser compatibility table carefully before using this in production. Syntax Values <custom-ident> A name identifying the counters, which is the same case-sensitive name used for the counter-reset and counter-increment. The name cannot start with two dashes and can't be
none, unset, initial, or inherit. <counter-style> A counter style name or symbols() function, where a counter style name is a numeric, alphabetic, or symbolic simple predefined counter style, a complex longhand east Asian or Ethiopic predefined counter style, or other predefined counter style. If omitted, the counter-style defaults to decimal <string> Any number of text characters. Non-Latin chara...
<custom-ident> - CSS: Cascading Style Sheets
not be placed between single or double quotes as this would be identical to a <string>. Moreover, the first character must not be a decimal digit, nor a hyphen (-) followed by a decimal digit or another hyphen. To prevent ambiguity, each property that uses <custom-ident> forbids the use of specific values: animation-name Forbids the global CSS values (unset, initial, and inherit), as well as
none. counter-reset counter-increment Forbids the global CSS values (unset, initial, and inherit), as well as
none. @counter-style list-style-type Forbids the global CSS values (unset, initial, and inherit), as well as the values
none, inline, and outside. Also, quite a few predefined values are implemented by the different browsers: disc, circle, square, decimal, cjk-decimal, decimal-leading-ze...
flex-basis - CSS: Cascading Style Sheets
ex-basis test</li> <li class="flex flex2">2: flex-basis test</li> <li class="flex flex3">3: flex-basis test</li> <li class="flex flex4">4: flex-basis test</li> <li class="flex flex5">5: flex-basis test</li> </ul> <ul class="container"> <li class="flex flex6">6: flex-basis test</li> </ul> CSS .container { font-family: arial, sans-serif; margin: 0; padding: 0; list-style-type:
none; display: flex; flex-wrap: wrap; } .flex { background: #6AB6D8; padding: 10px; margin-bottom: 50px; border: 3px solid #2E86BB; color: white; font-size: 14px; text-align: center; position: relative; } .flex:after { position: absolute; z-index: 1; left: 0; top: 100%; margin-top: 10px; width: 100%; color: #333; font-size: 12px; } .flex1 { flex-basis: auto; } ...
font-family - CSS: Cascading Style Sheets
<family-name> and the second with a <generic-name>: font-family: Gill Sans Extrabold, sans-serif; Values <family-name> The name of a font family. For example, "Times" and "Helvetica" are font families. Font family names containing whitespace should be quoted. <generic-name> Generic font families are a fallback mechanism, a means of preserving some of the style sheet author's intent when
none of the specified fonts are available. Generic family names are keywords and must not be quoted. A generic font family should be the last item in the list of font family names. The following keywords are defined: serif Glyphs have finishing strokes, flared or tapering ends, or have actual serifed endings. E.g. Lucida Bright, Lucida Fax, Palatino, "Palatino Linotype", Palladio, "URW Pallad...
font-smooth - CSS: Cascading Style Sheets
on of anti-aliasing when fonts are rendered. Syntax /* Keyword values */ font-smooth: auto; font-smooth: never; font-smooth: always; /* <length> value */ font-smooth: 2em; WebKit implements a similar property, but with different values: -webkit-font-smoothing. It only works on Mac OS X/macOS. auto - Let the browser decide (Uses subpixel anti-aliasing when available; this is the default)
none - Turn font smoothing off; display text with jagged sharp edges. antialiased - Smooth the font on the level of the pixel, as opposed to the subpixel. Switching from subpixel rendering to antialiasing for light text on dark backgrounds makes it look lighter. subpixel-antialiased - On most non-retina displays, this will give the sharpest text. Firefox implements a similar property, but with d...
font-variant-east-asian - CSS: Cascading Style Sheets
values specify a set of logographic glyph variants which should be used for display. Possible values are: Keyword Standard defining the glyphs OpenType equivalent jis78 JIS X 0208:1978 jp78 jis83 JIS X 0208:1983 jp83 jis90 JIS X 0208:1990 jp90 jis04 JIS X 0213:2004 jp04 simplified
None, use the simplified Chinese glyphs smpl traditional
None, use the traditional Chinese glyphs trad <east-asian-width-values> These values control the sizing of figures used for East Asian characters. Two values are possible: proportional-width activating the set of East Asian characters which vary in width. It corresponds to the OpenType values pwid. full...
<image> - CSS: Cascading Style Sheets
e default object size for that missing value. If the specified size defines neither the width nor the height, the concrete object size is calculated so that it matches the intrinsic aspect ratio of the image but without exceeding the default object size in any dimension. If the image has no intrinsic aspect ratio, the intrinsic aspect ratio of the object it applies to is used; if this object has
none, the missing width or height are taken from the default object size. Note: Not all browsers support every type of image on every property. See the browser compatibility section for details. Accessibility concerns Browsers do not provide any special information on background images to assistive technology. This is important primarily for screen readers, as a screen reader will not announce its...
image() - CSS: Cascading Style Sheets
The image() CSS function defines an <image> in a similar fashion to the <url> function, but with added functionality including specifying the image's directionality, specifying fallback images for when the preferred image is not supported, displaying just a part of that image defined by a media fragment, and specifying a solid color as a fallback in case
none of the specified images are able to be rendered. Disambiguation: Image(), the HTMLImageElement constructor. Syntax image( <image-tags>? [ <image-src>? , <color>? ]! )where <image-tags> = ltr | rtl<image-src> = <url> | <string><color> = <rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>where <rgb()> = rgb( <percentage>{3} [ / <alpha-value> ]? ) | rgb( <number>{3}...
Inheritance - CSS: Cascading Style Sheets
the element gets the initial value of that property (as specified in the property's summary). A typical example of a non-inherited property is the border property. Given the style rules: p { border: medium solid; } ... and the markup: <p>This paragraph has <em>emphasized text</em> in it.</p> ... the words "emphasized text" will not have a border (since the initial value of border-style is
none). Notes The inherit keyword allows authors to explicitly specify inheritance. It works on both inherited and non-inherited properties. You can control inheritance for all properties at once using the all shorthand property, which applies its value to all properties. For example: font { all: revert; font-size: 200%; font-weight: bold; } This reverts the style of the font property to the...
mask-border - CSS: Cascading Style Sheets
mensions of the border mask. Up to two values may be specified. See mask-border-repeat. <'mask-border-mode'> Defines whether the source image is treated as a luminance mask or alpha mask. See mask-border-mode. ...
max-block-size - CSS: Cascading Style Sheets
t; max-block-size: initial; max-block-size: unset; Values The max-block-size property's value can be any value that's legal for the max-width and max-height properties: <length> Defines the max-width as an absolute value. <percentage> Defines the max-width as a percentage of the containing block's width. auto The browser will calculate and select a max-width for the specified element.
none No limit on the size of the box. max-content The intrinsic preferred max-width. min-content The intrinsic minimum max-width. fit-content(<length-percentage>) Uses the fit-content formula with the available space replaced by the specified argument, i.e. min(max-content, max(min-content, argument)). How writing-mode affects directionality The values of writing-mode affect the mapping of m...
min-height - CSS: Cascading Style Sheets
height: max-content; min-height: min-content; min-height: fit-content(20em); /* Global values */ min-height: inherit; min-height: initial; min-height: unset; Values <length> Defines the min-height as an absolute value. <percentage> Defines the min-height as a percentage of the containing block's height. auto The browser will calculate and select a min-height for the specified element.
none No limit on the size of the box. max-content The intrinsic preferred min-height. min-content The intrinsic minimum min-height. fit-content(<length-percentage>) Uses the fit-content formula with the available space replaced by the specified argument, i.e. min(max-content, max(min-content, argument)). Formal definition Initial valueautoApplies toall elements but non-replaced inline elemen...
Constraint validation - Developer guides
valueMissing constraint violation step date An integer number of days Unless the step is set to the any literal, the value must be min + an integral multiple of the step. stepMismatch constraint violation month An integer number of months w...
disabled - HTML: Hypertext Markup Language
control or it's descendant controls. If this attribute is not specified, the control inherits its setting from the containing element, for example fieldset; if there is no containing element with the disabled attribute set, and the control itself does not have the attribute, then the control is enabled. If declared on an <optgroup>, the select is still interactive (unless otherwise disabled), but
none of the items in the option group are selectable. Note: If a <fieldset> is disabled, the descendant form controls are all disabled, with the exception of form controls within the <legend>. When a supporting element has the disabled attribute applied, the :disabled pseudo-class also applies to it. Conversely, elements that support the disabled attribute but don't have the attribute set match th...
HTML attribute: rel - HTML: Hypertext Markup Language
ified by the given address) that applies to the current document. Not allowed Link Not allowed The rel attribute is relevant to the <link>, <a>, <area>, and <form> elements, but some values only relevant to a subset of those elements. Like all HTML keyword attribute values, these values are case-insenstive. The rel attribute has no default value. If the attribute is omitted or if
none of the values in the attribute are supported, then the document has no particular relationship with the destination resource other than there being a hyperlink between the two. In this case, on <link> and <form>, if the rel attribute is absent, has no keywords, or if not one or more of the space-separated keywords above, then the element does not create any links. <a> and <area> will still create...
HTML attribute: required - HTML: Hypertext Markup Language
l pseudo-class. In the case of a same named group of radio buttons, if a single radio button in the group has the required attribute, a radio button in that group must be check, though it doesn't have to be the one with the attribute is applied. For this reason, to improve code maintenance, it is recommened to either include the required attribute in every same-named radio button in the group or
none. In the case of a same named group of checkbox input types, only the checkboxes with the required attribute are required. Note: Setting aria-required="true" tells a screen reader that an element (any element) is required, but has no bearing on the optionality of the element. Attribute interactions Because a read-only field cannot have a value, required does not have any effect on inputs wit...
<h1>–<h6>: The HTML Section Heading elements - HTML: Hypertext Markup Language
6> is the lowest. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, heading content, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content; don't use a heading element as a child of the <hgroup> element -- it is now deprecated. Implicit ARIA role heading Permitted ARIA roles tab, presentation or
none DOM interface HTMLHeadingElement Attributes These elements only include the...
<a>: The Anchor element - HTML: Hypertext Markup Language
eObsolete since HTML5 The shape of the hyperlink's region in an image map. Note: Use the <area> element for image maps instead. Properties Content categories Flow content, phrasing content, interactive content, palpable content. Permitted content Transparent, containing either flow content (excluding interactive content) or phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content, or any element that accepts flow content, but not other <a> elements. Implicit ARIA role link when href attribute is present, otherwise no corresponding role Permitted ARIA roles When href attribute is present: button checkbox ...
<acronym> - HTML: Hypertext Markup Language
e of the author, its default styling varies from one browser to another: Some browsers, like Internet Explorer, do not style it differently than a <span> element. Opera, Firefox, Chrome, and some others add a dotted underline to the content of the element. A few browsers not only add a dotted underline, but also put it in small caps; to avoid this styling, adding something like font-variant:
none in the CSS takes care of this case. It is therefore recommended that web authors either explicitly style this element, or accept some cross-browser variation. Specifications Specification Status Comment HTML 4.01 SpecificationThe definition of '<acronym>' in that specification. Recommendation Browser compatibility The compatibility table in this page...
<address>: The Contact Address element - HTML: Hypertext Markup Language
rticle by including an <address> element within the <article>. Content categories Flow content, palpable content. Permitted content Flow content, but with no nested <address> element, no heading content (<hgroup>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>), no sectioning content (<article>, <aside>, <section>, <nav>), and no <header> or <footer> element. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content, but always excluding <address> elements (according to the logical principle of symmetry, if <address> tag, as a parent, can not have nested <address> element, then the same <address> content can not have <address> tag as its parent). Implicit ARIA role No corresponding...
<applet>: The Embed Java Applet element - HTML: Hypertext Markup Language
element has been deprecated in favor of <object>. Use of Java applets on the Web is deprecated; most browsers no longer support use of plug-ins, including the Java plug-in. Content categories Flow content, phrasing content, embedded content, interactive content, palpable content. Permitted content Zero or more <param> elements, then transparent. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts embedded content. DOM interface HTMLAppletElement Attributes align This attribute is used to position the applet on the page relative to content that might flow around it. The HTML 4.01 specification defines values of bottom, left, middle, right, and top, whereas Microsof...
<area> - HTML: Hypertext Markup Language
s it with a hypertext link. This element is used only within a <map> element. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content. Permitted content
None, it is an empty element. Tag omission Must have a start tag and must not have an end tag. Permitted parents Any element that accepts phrasing content. The <area> element must have an ancestor <map>, but it need not be a direct parent. Implicit ARIA role link when href attribute is present, otherwise no corresponding role Permitted ARIA roles No role...
<article>: The Article Contents element - HTML: Hypertext Markup Language
given document can have multiple articles in it; for example, on a blog that shows the text of each article one after another as the reader scrolls, each post would be contained in an <article> element, possibly with one or more <section>s within. Content categories Flow content, sectioning content, palpable content Permitted content Flow content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Note that an <article> element must not be a descendant of an <address> element. Implicit ARIA role article Permitted ARIA roles application, document, feed, main,
none, presentation, region DOM interface HTMLElement Attributes This elem...
<aside>: The Aside element - HTML: Hypertext Markup Language
or call-out boxes. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, sectioning content, palpable content. Permitted content Flow content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Note that an <aside> element must not be a descendant of an <address> element. Implicit ARIA role complementary Permitted ARIA roles feed,
none, note, presentation, region, search DOM interface HTMLElement Attributes This element only in...
<b>: The Bring Attention To element - HTML: Hypertext Markup Language
ecial importance. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLElement Attributes This element only includes the global attributes. Usage notes Use the <b> for cases like keywords in a summary, product names ...
<base>: The Document Base URL element - HTML: Hypertext Markup Language
The HTML <base> element specifies the base URL to use for all relative URLs in a document. There can be only one <base> element in a document. A document's used base URL can be accessed by scripts with document.baseURI. If the document has no <base> elements, then baseURI defaults to location.href. Content categories Metadata content. Permitted content
None, it is an empty element. Tag omission There must be no closing tag. Permitted parents A <head> that doesn't contain another <base> element. Implicit ARIA role No corresponding role Permitted ARIA roles No role permitted DOM interface HTMLBaseElement Attributes This element's attributes include the global attributes. If either of the following at...
<bdi>: The Bidirectional Isolate element - HTML: Hypertext Markup Language
g element, HTML authors should not use this approach because it is not semantic and browsers are allowed to ignore CSS styling. Embedding the characters in <span dir="auto"> has the same effect as using <bdi>, but its semantics are less clear. Content categories Flow content, phrasing content, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLElement Attributes Like all other HTML elements, this element supports the global attributes, except that the dir attribute behaves differently than ...
<dl>: The Description List element - HTML: Hypertext Markup Language
ement's children include one name-value group, palpable content. Permitted content Either: Zero or more groups each consisting of one or more <dt> elements followed by one or more <dd> elements, optionally intermixed with <script> and <template> elements. Or: One or more <div> elements, optionally intermixed with <script> and <template> elements. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Implicit ARIA role No corresponding role Permitted ARIA roles group, list,
none, presentation DOM interface HTMLDListElement Attributes This element only includes the global attributes. Examples Single term and description <dl> <dt>...
<dt>: The Description Term element - HTML: Hypertext Markup Language
subsequent <dd> (Description Details) element provides the definition or other related text associated with the term specified using <dt>. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories
None. Permitted content Flow content, but with no <header>, <footer>, sectioning content or heading content descendants. Tag omission Must have a start tag. The end tag may be omitted if this element is immediately followed by another <dt> or a <dd> element, or if there is no more content in the parent element. Permitted parents Before a <dt> or a <dd> element, insi...
<element>: The Custom Element element (Obsolete) - HTML: Hypertext Markup Language
ion; it was intended to be used to define new custom DOM elements. It was removed in favor of a JavaScript-driven approach for creating new custom elements. Note: This element has been removed from the specification. See this for more information from the editor of the specification. Content categories Transparent content. Permitted content ??? Tag omission
None, both the starting and ending tag are mandatory. Permitted parent elements ??? DOM interface HTMLElement Attributes This element includes the global attributes. Specifications The <element> element was formerly in a draft specification of Custom Elements but it has been removed. Browser compatibility The compatibility table in this page is generated from struct...
<em>: The Emphasis element - HTML: Hypertext Markup Language
gree of emphasis. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLElement Up to Gecko 1.9.2 (Firefox 4) inclusive, Firefox implements the HTMLSpanElement interface for this element. Attributes This element only incl...
<embed>: The Embed External Content element - HTML: Hypertext Markup Language
ized implementation of the element. Keep in mind that most modern browsers have deprecated and removed support for browser plug-ins, so relying upon <embed> is generally not wise if you want your site to be operable on the average user's browser. Content categories Flow content, phrasing content, embedded content, interactive content, palpable content. Permitted content
None, it is an empty element. Tag omission Must have a start tag, and must not have an end tag. Permitted parents Any element that accepts embedded content. Implicit ARIA role No corresponding role Permitted ARIA roles application, document, img,
none, presentation DOM interface HTMLEmbedElement Attributes This element's attributes in...
<fieldset>: The Field Set element - HTML: Hypertext Markup Language
"> </div> <div> <label for="pwd">Archetype: </label> <input type="password" id="pwd" value="Wookie"> </div> </fieldset> </form> Technical summary Content categories Flow content, sectioning root, listed, form-associated element, palpable content. Permitted content An optional <legend> element, followed by flow content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Implicit ARIA role group Permitted ARIA roles radiogroup, presentation,
none DOM interface HTMLFieldSetElement Specifications Specification Status Comment HTML Living StandardThe definition of '<fieldset>' in ...
<figcaption>: The Figure Caption element - HTML: Hypertext Markup Language
ML <figcaption> or Figure Caption element represents a caption or legend describing the rest of the contents of its parent <figure> element. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories
None. Permitted content Flow content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents A <figure> element; the <figcaption> element must be its first or last child. Implicit ARIA role No corresponding role Permitted ARIA roles group,
none, presentation DOM interface HTMLElement Attributes...
<figure>: The Figure with Optional Caption element - HTML: Hypertext Markup Language
u'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, sectioning root, palpable content. Permitted content A <figcaption> element, followed by flow content; or flow content followed by a <figcaption> element; or flow content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts Flow content. Implicit ARIA role figure Permitted ARIA roles With no figcaption descendant: any, otherwise no permitted roles DOM interface HTMLElement Attributes This element only includes the global attributes. Usage notes Usually a <figure> is ...
<font> - HTML: Hypertext Markup Language
o the proportional or fixed-width font for that system. size This attribute specifies the font size as either a numeric or relative value. Numeric values range from 1 to 7 with 1 being the smallest and 3 the default. It can be defined using a relative value, like +2 or -3, which set it relative to the value of the size attribute of the <basefont> element, or relative to 3, the default value, if
none does exist. DOM interface This element implements the HTMLFontElement interface. ...
<head>: The Document Metadata (Header) element - HTML: Hypertext Markup Language
The HTML <head> element contains machine-readable information (metadata) about the document, like its title, scripts, and style sheets. Note: <head> primarily holds information for machine processing, not human-readability. For human-visible information, like top-level headings and listed authors, see the <header> element. Content categories
None. Permitted content If the document is an <iframe> srcdoc document, or if title information is available from a higher level protocol (like the subject line in HTML email), zero or more elements of metadata content. Otherwise, one or more elements of metadata content where exactly one is a <title> element. Tag omission The start tag may be omitted if the first thing inside the <head> element is an ...
<hgroup> - HTML: Hypertext Markup Language
this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, heading content, palpable content. Permitted content One or more <h1>, <h2>, <h3>, <h4>, <h5>, and/or <h6>. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLElement Attributes This element only includes the global attributes. Usage notes The <hgroup> element has been removed from the HTML5 (W3C) specificat...
<hr>: The Thematic Break (Horizontal Rule) element - HTML: Hypertext Markup Language
us a pull request. Historically, this has been presented as a horizontal rule or line. While it may still be displayed as a horizontal rule in visual browsers, this element is now defined in semantic terms, rather than presentational terms, so if you wish to draw a horizontal line, you should do so using appropriate CSS. Content categories Flow content. Permitted content
None, it is an empty element. Tag omission It must have start tag, but must not have an end tag. Permitted parents Any element that accepts flow content. Implicit ARIA role separator Permitted ARIA roles presentation or
none DOM interface HTMLHRElement Attributes This element's attributes include the global attributes. align Set...
<html>: The HTML Document / Root element - HTML: Hypertext Markup Language
The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element. Content categories
None. Permitted content One <head> element, followed by one <body> element. Tag omission The start tag may be omitted if the first thing inside the <html> element is not a comment. The end tag may be omitted if the <html> element is not immediately followed by a comment. Permitted parents
None. This is the root element of a document. Implicit ARIA role No corresponding role Permitted ARIA roles No role permitted DOM interface HTMLHtmlElement Attributes This element includes the global attribute...
<i>: The Idiomatic Text element - HTML: Hypertext Markup Language
of this element. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLElement Attributes This element only includes the global attributes. Usage notes Use the <i> element for text that is set off from the normal pro...
<iframe>: The Inline Frame element - HTML: Hypertext Markup Language
t. Because each browsing context is a complete document environment, every <iframe> in a page requires increased memory and other computing resources. While theoretically you can use as many <iframe>s as you like, check for performance problems. Content categories Flow content, phrasing content, embedded content, interactive content, palpable content. Permitted content
None. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts embedded content. Implicit ARIA role No corresponding role Permitted ARIA roles application, document, img,
none, presentation DOM interface HTMLIFrameElement Attributes This element includes the global attributes. al...
<input type="button"> - HTML: Hypertext Markup Language
TML, the newer <button> element is now the favored way to create buttons. Given that a <button>'s label text is inserted between the opening and closing tags, you can include HTML in the label, even images. Value A DOMString used as the button's label Events click Supported common attributes type, and value IDL attributes value Methods
None Value An <input type="button"> elements' value attribute contains a DOMString that is used as the button's label. <input type="button" value="Click Me"> If you don't specify a value, you get an empty button: <input type="button"> Using buttons <input type="button"> elements have no default behavior (their cousins, <input type="submit"> and <input type="reset"> are used to sub...
<input type="checkbox"> - HTML: Hypertext Markup Language
the sub-options have a different state than the others, the owning checkbox is in the indeterminate state. This can be seen in the below example (thanks to CSS Tricks for the inspiration). In this example we keep track of the ingredients we are collecting for a recipe. When you check or uncheck an ingredient's checkbox, a JavaScript function checks the total number of checked ingredients: If
none are checked, the recipe name's checkbox is set to unchecked. If one or two are checked, the recipe name's checkbox is set to indeterminate. If all three are checked, the recipe name's checkbox is set to checked. So in this case the indeterminate state is used to state that collecting the ingredients has started, but the recipe is not yet complete. var overall = document.querySelector('inpu...
<input type="date"> - HTML: Hypertext Markup Language
ativePicker = document.querySelector('.nativeDatePicker'); var fallbackPicker = document.querySelector('.fallbackDatePicker'); var fallbackLabel = document.querySelector('.fallbackLabel'); var yearSelect = document.querySelector('#year'); var monthSelect = document.querySelector('#month'); var daySelect = document.querySelector('#day'); // hide fallback initially fallbackPicker.style.display = '
none'; fallbackLabel.style.display = '
none'; // test whether a new date input falls back to a text input or not var test = document.createElement('input'); try { test.type = 'date'; } catch (e) { console.log(e.description); } // if it does, run the code inside the if() {} block if(test.type === 'text') { // hide the native picker and show the fallback nativePicker.style.display = '
none'; ...
<input type="hidden"> - HTML: Hypertext Markup Language
the rendered page, and there is no way to make it visible in the page's content. Note: There is a live example below the following line of code -- if it is working correctly, you should see nothing! <input id="prodId" name="prodId" type="hidden" value="xm234jq"> Value A DOMString representing the value of the hidden data you want to pass back to the server. Events
None. Supported Common Attributes autocomplete IDL attributes value Methods
None. Note: The input and change events do not apply to this input type. Hidden inputs cannot be focused even using JavaScript (e.g. hiddenInput.focus()). Value The <input> element's value attribute holds a DOMString that contains the hidden data you want to include when the form ...
<input type="reset"> - HTML: Hypertext Markup Language
ou should usually avoid including reset buttons in your forms. They're rarely useful, and are instead more likely to frustrate users who click them by mistake (often while trying to click the submit button). Value A DOMString used as the button's label Events click Supported common attributes type and value IDL attributes value Methods
None Value An <input type="reset"> element's value attribute contains a DOMString that is used as the button's label. Buttons such as reset don't have a value otherwise. <input type="reset" value="Reset the form"> If you don't specify a value, you get an button with the default label (typically "Reset," but this will vary depending on the user agent): <input type="reset"> Using res...
<input type="tel"> - HTML: Hypertext Markup Language
inputElems[1].placeholder = "First part"; inputElems[1].pattern = "[0-9]{3}"; inputElems[1].setAttribute("aria-label","First part of number"); inputElems[2].placeholder = "Second part"; inputElems[2].pattern = "[0-9]{4}"; inputElems[2].setAttribute("aria-label","Second part of number"); } else if(selectElem.value === "UK") { inputElems[2].parentNode.style.display = "
none"; inputElems[0].placeholder = "Area code"; inputElems[0].pattern = "[0-9]{3,6}"; inputElems[1].placeholder = "Local number"; inputElems[1].pattern = "[0-9]{4,8}"; inputElems[1].setAttribute("aria-label","Local number"); } else if(selectElem.value === "Germany") { inputElems[2].parentNode.style.display = "inline"; inputElems[0].placeholder = "Area code"; inputE...
<ins> - HTML: Hypertext Markup Language
t has been deleted from the document. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Phrasing content or flow content. Permitted content Transparent. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLModElement Attributes This element includes the global attributes. cite This attribute defines the URI of a resource that explains the change, su...
<kbd>: The Keyboard Input element - HTML: Hypertext Markup Language
oject, please clone https://github.com/mdn/interactive-examples and send us a pull request. <kbd> may be nested in various combinations with the <samp> (Sample Output) element to represent various forms of input or output based on visual cues. Content categories Flow content, phrasing content, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLElement Attributes This element only includes the global attributes. Usage notes Other elements can be used in tandem with <kbd> to represent more ...
<keygen> - HTML: Hypertext Markup Language
pected that the <keygen> element will be used in an HTML form along with other information needed to construct a certificate request, and that the result of the process will be a signed certificate. Content categories Flow content, phrasing content, interactive content, listed, labelable, submittable, resettable form-associated element, palpable content. Permitted content
None, it is an empty element. Tag omission Must have a start tag and must not have an end tag. Permitted parents Any element that accepts phrasing content. Permitted ARIA roles
None DOM interface HTMLKeygenElement Attributes This element includes the global attributes. autofocus This Boolean attribute lets you specify that the control should ...
<label> - HTML: Hypertext Markup Language
technology parses the button input. The same applies for the <button> element. Technical summary Content categories Flow content, phrasing content, interactive content, form-associated element, palpable content. Permitted content Phrasing content, but no descendant label elements. No labelable elements other than the labeled control are allowed. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles No role permitted DOM interface HTMLLabelElement Specifications Specification Status Comment HTML Living StandardThe definition of '<label>' in...
<legend> - HTML: Hypertext Markup Language
The HTML <legend> element represents a caption for the content of its parent <fieldset>. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories
None. Permitted content Phrasing content and headings (h1-h6 elements). Tag omission
None, both the starting and ending tag are mandatory. Permitted parents A <fieldset> whose first child is this <legend> element Implicit ARIA role No corresponding role Permitted ARIA roles No role permitted DOM interface HTMLLegendElement Attributes This element only includes the global ...
<link>: The External Resource Link element - HTML: Hypertext Markup Language
ll of its imported content has been loaded and parsed, and immediately before the styles start being applied to the content. Preload examples You can find a number of <link rel="preload"> examples in Preloading content with rel="preload". Technical summary Content categories Metadata content. If itemprop is present: Flow content and phrasing content. Permitted content
None, it is an empty element. Tag omission As it is a void element, the start tag must be present and the end tag must not be present Permitted parents Any element that accepts metadata elements. If itemprop is present: any element that accepts phrasing content. Implicit ARIA role link with href attribute Permitted ARIA roles No role permitted D...
<main> - HTML: Hypertext Markup Language
repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. A document mustn't have more than one <main> element that doesn't have the hidden attribute specified. Content categories Flow content, palpable content. Permitted content Flow content. Tag omission
None; both the starting and ending tags are mandatory. Permitted parents Where flow content is expected, but only if it is a hierarchically correct main element. Implicit ARIA role main Permitted ARIA roles No role permitted DOM interface HTMLElement Attributes This element only includes the global attributes. Usage notes The content of a <main...
<map> - HTML: Hypertext Markup Language
ink area). The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, palpable content. Permitted content Any transparent element. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles No role permitted DOM interface HTMLMapElement Attributes This element includes the global attributes. name The name attribute gives the map a name so that it can be r...
<mark>: The Mark Text element - HTML: Hypertext Markup Language
nclosing context. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLElement Attributes This element only includes the global attributes. Usage notes Typical use cases for <mark> include: When used in a quotation ...
<menu> - HTML: Hypertext Markup Language
u state: flow content, or alternatively, zero or more occurrences of <li>, <script>, and <template>. (list menu is the default state, unless the parent element is a <menu> in the context menu state.) If the element is in the context menu state: zero or more occurrences, in any order, of <menu> (context menu state only), <menuitem>, <hr>, <script>, and <template>. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Implicit ARIA role list Permitted ARIA roles directory, group, listbox, menu, menubar,
none, presentation, radiogroup, tablist, toolbar or tree DOM interface HTMLMenuElement Attributes This element includes the global attributes. labe...
Standard metadata names - HTML: Hypertext Markup Language
ows the robot to index the page (default). All noindex Requests the robot to not index the page. All follow Allows the robot to follow the links on the page (default). All nofollow Requests the robot to not follow the links on the page. All all Equivalent to index, follow Google
none Equivalent to noindex, nofollow Google noarchive Requests the search engine not to cache the page content. Google, Yahoo, Bing nosnippet Prevents displaying any description of the page in search engine results. Google, Bing noimageindex Requests this page not to appear as the referring page of an indexed image. G...
<meter>: The HTML Meter element - HTML: Hypertext Markup Language
ub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, labelable content, palpable content. Permitted content Phrasing content, but there must be no <meter> element among its descendants. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles No role permitted DOM interface HTMLMeterElement Attributes This element includes the global attributes. value The current numeric value. This must be between the mini...
<nav>: The Navigation Section element - HTML: Hypertext Markup Language
ents, and indexes. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, sectioning content, palpable content. Permitted content Flow content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Implicit ARIA role navigation Permitted ARIA roles No role permitted DOM interface HTMLElement Attributes This element only includes the global attributes. Usage notes It's not necessary for all links to be contained in a <nav> eleme...
<noscript> - HTML: Hypertext Markup Language
nd when it is a descendant of the <head> element: in any order, zero or more <link> elements, zero or more <style> elements, and zero or more <meta> elements. When scripting is disabled and when it isn't a descendant of the <head> element: any transparent content, but no <noscript> element must be among its descendants. Otherwise: flow content or phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content, if there are no ancestor <noscript> element, or in a <head> element (but only for an HTML document), here again if there are no ancestor <noscript> element. Implicit ARIA role No corresponding role Permitted ARIA roles No role permitted DOM int...
<object> - HTML: Hypertext Markup Language
ect, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content; phrasing content; embedded content, palpable content; if the element has a usemap attribute, interactive content; listed, submittable form-associated element. Permitted content zero or more <param> elements, then transparent. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts embedded content. Implicit ARIA role No corresponding role Permitted ARIA roles application, document, image DOM interface HTMLObjectElement Attributes This element includes the global attributes. archiveHTML 4 onlyObsolete since HTML5 A space-sep...
<ol>: The Ordered List element - HTML: Hypertext Markup Language
itory. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, and if the <ol> element's children include at least one <li> element, palpable content. Permitted content Zero or more <li>, <script> and <template> elements. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Implicit ARIA role list Permitted ARIA roles directory, group, listbox, menu, menubar,
none, presentation, radiogroup, tablist, toolbar, tree DOM interface HTMLOListElement Attributes This element also accepts the global attributes. r...
<option>: The HTML Option element - HTML: Hypertext Markup Language
an <optgroup>, or a <datalist> element. As such, <option> can represent menu items in popups and other lists of items in an HTML document. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories
None. Permitted content Text, possibly with escaped characters (like é). Tag omission The start tag is mandatory. The end tag is optional if this element is immediately followed by another <option> element or an <optgroup>, or if the parent element has no more content. Permitted parents A <select>, an <optgroup> or a <datalist> element. Implicit ARIA...
<output>: The Output element - HTML: Hypertext Markup Language
The HTML Output element (<output>) is a container element into which a site or app can inject the results of a calculation or the outcome of a user action. Content categories Flow content, phrasing content, listed, labelable, resettable form-associated element, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role status Permitted ARIA roles Any DOM interface HTMLOutputElement Attributes This element includes the global attributes. for A space-separated list of other elements' ids, indicating that those elements contributed input values to (or otherwise...
<p>: The Paragraph element - HTML: Hypertext Markup Language
y provide shortcuts to let their users skip to the next or previous paragraph, letting them skim content like how white space lets visual users skip around. Using empty <p> elements to add space between paragraphs is problematic for people who navigate with screen-reading technology. Screen readers may announce the paragraph's presence, but not any content contained within it -- because there is
none. This can confuse and frustrate the person using the screen reader. If extra space is desired, use CSS properties like margin to create the effect: p { margin-bottom: 2em; // increase white space after a paragraph } Specifications Specification Status Comment HTML Living StandardThe definition of '<p>' in that specification. Living Standard No change since...
<param>: The Object Parameter element - HTML: Hypertext Markup Language
Tag omission As it is a void element, the start tag must be present and the end tag must not be present. Permitted parents An <object> before any flow content. Implicit ARIA role No corresponding role Permitted ARIA roles No role permitted DOM interface HTMLParamElement Attributes This element includes the global attributes. name Name of the parameter. value Specifies the value of the parameter. ...
<pre>: The Preformatted Text element - HTML: Hypertext Markup Language
s element is displayed as written. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLPreElement Attributes This element only includes the global attributes. cols Contains the preferred count of characters that a line should have. I...
<progress>: The Progress Indicator element - HTML: Hypertext Markup Language
repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, labelable content, palpable content. Permitted content Phrasing content, but there must be no <progress> element among its descendants. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role progressbar Permitted ARIA roles No role permitted DOM interface HTMLProgressElement Attributes This element includes the global attributes. max This attribute describes how much work the task indicated by the ...
<q>: The Inline Quotation element - HTML: Hypertext Markup Language
ckquote> element. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLQuoteElement Usage note: Most modern browsers will automatically add quotation marks around text inside a <q> element. A style rule may be needed to ...
<rb>: The Ruby Base element - HTML: Hypertext Markup Language
rb> element should wrap each separate atomic segment of the base text. {{EmbedInteractiveExample("pages/tabbed/rb.html", "tabbed-standard")}} The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories
None. Permitted content As a child of a <ruby> element. Tag omission The end tag can be omitted if the element is immediately followed by an <rt>, <rtc>, or <rp> element or another <rb> element, or if there is no more content in the parent element. Permitted parents A <ruby> element. Permitted ARIA roles Any DOM interface HTMLElement A...
<rp>: The Ruby Fallback Parenthesis element - HTML: Hypertext Markup Language
One <rp> element should enclose each of the opening and closing parentheses that wrap the <rt> element that contains the annotation's text. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories
None. Permitted content Text Tag omission The end tag can be omitted if the element is immediately followed by an <rt> or another <rp> element, or if there is no more content in the parent element. Permitted parents A <ruby> element. <rp> must be positioned immediately before or after an <rt> element. Implicit ARIA role No corresponding role Per...
<rt>: The Ruby Text element - HTML: Hypertext Markup Language
typography. The <rt> element must always be contained within a <ruby> element. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. See the article about the <ruby> element for more examples. Content categories
None. Permitted content Phrasing content. Tag omission The end tag may be omitted if the <rt> element is immediately followed by an <rt> or <rp> element, or if there is no more content in the parent element Permitted parents A <ruby> element. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLEleme...
<rtc>: The Ruby Text Container element - HTML: Hypertext Markup Language
in a ruby of <rb> elements used inside of <ruby> element. <rb> elements can have both pronunciation (<rt>) and semantic (<rtc>) annotations. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories
None. Permitted content Phrasing content or <rt> elements. Tag omission The closing tag can be omitted if it is immediately followed by a <rb>, <rtc> or <rt> element opening tag or by its parent closing tag. Permitted parents A <ruby> element. Permitted ARIA roles Any DOM interface HTMLElement Attributes This element only includes the...
<ruby> - HTML: Hypertext Markup Language
Asian characters. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLElement Attributes This element only includes the global attributes. Examples Example 1: Character <ruby> ? <rp>(</rp><rt>Kan</rt><rp>)</rp> ?
<s> - HTML: Hypertext Markup Language
<ins> elements, as appropriate. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Phrasing content or flow content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLElement Attributes This element only includes the global attributes. Implementation note: Up to Gecko 1.9.2 inclusive, Firefox implements the HTMLSp...
<samp>: The Sample Output element - HTML: Hypertext Markup Language
Lucida Console). The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, palpable content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLElement Attributes This element only includes the global attributes. Usage notes You can use a CSS rule to override the browser's default font face...
<script>: The Script element - HTML: Hypertext Markup Language
is used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The <script> element can also be used with other languages, such as WebGL's GLSL shader programming language and JSON. Content categories Metadata content, Flow content, Phrasing content. Permitted content Dynamic script such as text/javascript. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts metadata content, or any element that accepts phrasing content. Implicit ARIA role No corresponding role Permitted ARIA roles No role permitted DOM interface HTMLScriptElement Attributes This element includes the global attributes. asyncHTML5 Fo...
<select>: The HTML Select element - HTML: Hypertext Markup Language
nd the options being indented. The "Hamster" option includes a disabled attribute and therefore can't be selected at all. Technical summary Content categories Flow content, phrasing content, interactive content, listed, labelable, resettable, and submittable form-associated element Permitted content Zero or more <option> or <optgroup> elements. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content. Implicit ARIA role combobox with no multiple attribute and no size attribute greater than 1, otherwise listbox Permitted ARIA roles menu with no multiple attribute and no size attribute greater than 1, otherwise no role permitted DOM interface ...
<shadow>: The obsolete Shadow Root element - HTML: Hypertext Markup Language
The HTML <shadow> element--an obsolete part of the Web Components technology suite--was intended to be used as a shadow DOM insertion point. You might have used it if you have created multiple shadow roots under a shadow host. It is not useful in ordinary HTML. Content categories Transparent content Permitted content Flow content Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts flow content. Permitted ARIA roles
None DOM interface HTMLShadowElement Attributes This element includes the global attributes. Example Here is a simple example of using the <shadow> element. It is an HTML file with everything needed in it. Note: This is an experimental tec...
<small>: the side comment element - HTML: Hypertext Markup Language
ller, such as from small to x-small. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content Permitted content Phrasing content Tag omission
None, must have both a start tag and an end tag. Permitted parents Any element that accepts phrasing content, or any element that accepts flow content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLElement Attributes This element only includes the global attributes. Examples Basic usage <p>This is the firs...
<source>: The Media or Image Source element - HTML: Hypertext Markup Language
order to provide compatibility with a broad range of browsers given their differing support for image file formats and media file formats. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories
None. Permitted content
None, it is an empty element. Tag omission It must have a start tag, but must not have an end tag. Permitted parents A media element--<audio> or <video>--and it must be placed before any flow content or <track> element. A <picture> element, and it must be placed before the <img> element. Implicit ARIA role No correspon...
<span> - HTML: Hypertext Markup Language
reas a <span> is an inline element. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content. Permitted content Phrasing content. Tag omission
None, both the starting and ending tag are mandatory. Permitted parents Any element that accepts phrasing content, or any element that accepts flow content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLSpanElement (before HTML5, the interface was HTMLElement) Attributes This element only includes the global ...
<strong>: The Strong Importance element - HTML: Hypertext Markup Language
nts in bold type. The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request. Content categories Flow content, phrasing content, palpable content. Permitted content Phrasing content. Tag omission
None, must have both a start tag and an end tag. Permitted parents Any element that accepts phrasing content, or any element that accepts flow content. Implicit ARIA role No corresponding role Permitted ARIA roles Any DOM interface HTMLElement Attributes This element only includes the global attributes. Usage notes The <strong> element is for c...
CSP: media-src - HTTP
pecific inline event handlers. If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method compared to using the unsafe-inline expression. 'unsafe-inline' Allows the use of inline resources, such as inline <script> elements, javascript: URLs, inline event handlers, and inline <style> elements. You must include the single quotes. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. 'nonce-<base64-value>' A whitelist for specific inline scripts using a cryptographic nonce (number used once). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource's policy is otherwise trivial. See unsafe inline scr...
CSP: prefetch-src - HTTP
enabling specific inline event handlers. If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method than using the unsafe-inline expression. 'unsafe-inline' Allows the use of inline resources, such as inline <script> elements, javascript: URLs, inline event handlers, and inline <style> elements. The single quotes are required. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. 'nonce-<base64-value>' An allow-list for specific inline scripts using a cryptographic nonce (number used once). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource's policy is otherwise trivial. See unsafe inline s...
CSP: script-src-attr - HTTP
enabling specific inline event handlers. If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method than using the unsafe-inline expression. 'unsafe-inline' Allows the use of inline resources, such as inline <script> elements, javascript: URLs, inline event handlers, and inline <style> elements. The single quotes are required. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. 'nonce-<base64-value>' An allow-list for specific inline scripts using a cryptographic nonce (number used once). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource's policy is otherwise trivial. See unsafe inline s...
CSP: script-src-elem - HTTP
enabling specific inline event handlers. If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method than using the unsafe-inline expression. 'unsafe-inline' Allows the use of inline resources, such as inline <script> elements, javascript: URLs, inline event handlers, and inline <style> elements. The single quotes are required. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. 'nonce-<base64-value>' An allow-list for specific inline scripts using a cryptographic nonce (number used once). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource's policy is otherwise trivial. See unsafe inline s...
CSP: script-src - HTTP
enabling specific inline event handlers. If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method than using the unsafe-inline expression. 'unsafe-inline' Allows the use of inline resources, such as inline <script> elements, javascript: URLs, inline event handlers, and inline <style> elements. The single quotes are required. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. 'nonce-<base64-value>' An allow-list for specific inline scripts using a cryptographic nonce (number used once). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource's policy is otherwise trivial. See unsafe inline s...
CSP: style-src-attr - HTTP
enabling specific inline event handlers. If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method than using the unsafe-inline expression. 'unsafe-inline' Allows the use of inline resources, such as inline <script> elements, javascript: URLs, inline event handlers, and inline <style> elements. The single quotes are required. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. 'nonce-<base64-value>' An allow-list for specific inline scripts using a cryptographic nonce (number used once). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource's policy is otherwise trivial. See unsafe inline s...
CSP: style-src-elem - HTTP
enabling specific inline event handlers. If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method than using the unsafe-inline expression. 'unsafe-inline' Allows the use of inline resources, such as inline <script> elements, javascript: URLs, inline event handlers, and inline <style> elements. The single quotes are required. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. 'nonce-<base64-value>' An allow-list for specific inline scripts using a cryptographic nonce (number used once). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource's policy is otherwise trivial. See unsafe inline s...
CSP: worker-src - HTTP
pecific inline event handlers. If you only need to allow inline event handlers and not inline <script> elements or javascript: URLs, this is a safer method compared to using the unsafe-inline expression. 'unsafe-inline' Allows the use of inline resources, such as inline <script> elements, javascript: URLs, inline event handlers, and inline <style> elements. You must include the single quotes. '
none' Refers to the empty set; that is, no URLs match. The single quotes are required. 'nonce-<base64-value>' A whitelist for specific inline scripts using a cryptographic nonce (number used once). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide an unguessable nonce, as bypassing a resource's policy is otherwise trivial. See unsafe inline scr...
Cross-Origin-Embedder-Policy - HTTP
The HTTP Cross-Origin-Embedder-Policy (COEP) response header prevents a document from loading any cross-origin resources that don't explicitly grant the document permission (using CORP or CORS). Header type Response header Forbidden header name no Syntax Cross-Origin-Embedder-Policy: unsafe-
none | require-corp Directives unsafe-
none This is the default value. Allows the document to fetch cross-origin resources without giving explicit permission through the CORS protocol or the Cross-Origin-Resource-Policy header. require-corp A document can only load resources from the same origin, or resources explicitly marked as loadable from another origin. If a cross origin resource supports CORS, the crossorigin attribute or the Cross-Origin-Resource-Policy head...
If-Modified-Since - HTTP
equested resource, with a 200 status, only if it has been last modified after the given date. If the request has not been modified since, the response will be a 304 without any body; the Last-Modified response header of a previous request will contain the date of last modification. Unlike If-Unmodified-Since, If-Modified-Since can only be used with a GET or HEAD. When used in combination with If-
None-Match, it is ignored, unless the server doesn't support If-
None-Match. The most common use case is to update a cached entity that has no associated ETag. Header type Request header Forbidden header name no Syntax If-Modified-Since: <day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT Directives <day-name> One of "Mon", "Tue", "Wed", "Thu", "Fri", "...
Sec-Fetch-Site - HTTP
lationship between a request initiator's origin and the origin of the resource. Header type Fetch Metadata Request Header Forbidden header name yes, since it has prefix Sec- CORS-safelisted response header CORS-safelisted request header Syntax Sec-Fetch-Site: cross-site Sec-Fetch-Site: same-origin Sec-Fetch-Site: same-site Sec-Fetch-Site:
none Values cross-site same-origin same-site
none This request does not relate to any context like site, origin, or frame. This can happen when user had initiated this request by, e.g. directly entering a URL in the address bar, opening a bookmark, or draging-and-dropping a file into the browser window. Examples TODO Specifications Specification Title Fetch...
Link prefetching FAQ - HTTP
errer tracking that is commonly used on many sites. For this reason, link prefetching may not be appropriate for all content. However, it is possible to instruct Mozilla to validate a prefetched document when the user follows a href to the prefetched document by specifying the Cache-control: must-revalidate HTTP response header. This header enables caching, but requires an If-Modified-Since or If-
None-Match validation request before the serving the document out of the browser's cache. As a server admin, can I distinguish prefetch requests from normal requests? Yes, we send the following header along with each prefetch request: X-moz: prefetch Of course, this request header is not at all standardized, and it may change in future Mozilla releases. Chrome uses "X-Purpose: prefetch" or "Purpos...
HTTP Messages - HTTP
ue, consist of one single line, which can be quite long. There are numerous request headers available. They can be divided in several groups: General headers, like Via, apply to the message as a whole. Request headers, like User-Agent, Accept-Type, modify the request by specifying it further (like Accept-Language), by giving context (like Referer), or by conditionally restricting it (like If-
None). Entity headers, like Content-Length which apply to the body of the request. Obviously, there is no such header transmitted if there is no body in the request. Body The final part of the request is its body. Not all requests have one: requests fetching resources, like GET, HEAD, DELETE, or OPTIONS, usually don't need one. Some requests send data to the server in order to update it: as ofte...
Proxy Auto-Configuration (PAC) file - HTTP
"www.mozilla.org"); // returns the string "104.16.41.2" convert_addr() Syntax convert_addr(ipaddr) Parameters ipaddr Any dotted address such as an IP address or mask. Concatenates the four dot-separated bytes into one 4-byte word and converts it to decimal. Example convert_addr("104.16.41.2"); // returns the decimal number 1745889538 myIpAddress() Syntax myIpAddress() Parameters (
none) Returns the server IP address of the machine Firefox is running on, as a string in the dot-separated integer format. myIpAddress() returns the same IP address as the server address returned by nslookup localhost on a Linux machine. It does not return the public IP address. Example myIpAddress() //returns the string "127.0.1.1" if you were running Firefox on that localhost dnsDomainLevels(...
304 Not Modified - HTTP
The equivalent 200 OK response would have included the headers Cache-Control, Content-Location, Date, ETag, Expires, and Vary. ...
412 Precondition Failed - HTTP
In that case, the request, usually an upload or a modification of a resource, cannot be made and this error response is sent back. ...
Equality comparisons and sameness - JavaScript
e comparison as double equals (including the special handling for NaN, -0, and +0) but without type conversion; if the types differ, false is returned. Object.is does no type conversion and no special handling for NaN, -0, and +0 (giving it the same behavior as === except on those special numeric values). Note that the distinction between these all have to do with their handling of primitives;
none of them compares whether the parameters are conceptually similar in structure. For any non-primitive objects x and y which have the same structure but are distinct objects themselves, all of the above forms will evaluate to false. Strict equality using === Strict equality compares two values for equality. Neither value is implicitly converted to some other value before being compared. If the va...
Indexed collections - JavaScript
og(cats) // logs []; the cats array is empty cats.length = 3 console.log(cats) // logs [ <3 empty items> ] Iterating over arrays A common operation is to iterate over the values of an array, processing each one in some way. ...
Using Promises - JavaScript
he reason in event.reason */ event.preventDefault(); }, false); By calling the event's preventDefault() method, you tell the JavaScript runtime not to do its default action when rejected promises go unhandled. That default action usually involves logging the error to console, and this is indeed the case for Node. Ideally, of course, you should examine the rejected promises to make sure
none of them are actual code bugs before just discarding these events. Creating a Promise around an old callback API A Promise can be created from scratch using its constructor. This should be needed only to wrap old APIs. In an ideal world, all asynchronous functions would already return promises. Unfortunately, some APIs still expect success and/or failure callbacks to be passed in the old way. T...
Inheritance and the prototype chain - JavaScript
{ return this.height * this.width; } set sideLength(newLength) { this.height = newLength; this.width = newLength; } } var square = new Square(2); Performance The lookup time for properties that are high up on the prototype chain can have a negative impact on the performance, and this may be significant in the code where performance is critical. Additionally, trying to access
nonexistent properties will always traverse the full prototype chain. Also, when iterating over the properties of an object, every enumerable property that is on the prototype chain will be enumerated. To check whether an object has a property defined on itself and not somewhere on its prototype chain, it is necessary to use the hasOwnProperty method which all objects inherit from Object.prototype. T...
Memory Management - JavaScript
is still needed to determining if an object still has any other objects referencing it. An object is said to be "garbage", or collectible if there are zero references pointing to it. Example var x = { a: { b: 2 } }; // 2 objects are created. One is referenced by the other as one of its properties. // The other is referenced by virtue of being assigned to the 'x' variable. // Obviously,
none can be garbage-collected. var y = x; // The 'y' variable is the second thing that has a reference to the object. x = 1; // Now, the object that was originally in 'x' has a unique reference // embodied by the 'y' variable. var z = y.a; // Reference to 'a' property of the object. // This object now has 2 references: one as a property, ...
TypeError: Reduce of empty array with no initial value - JavaScript
s provided, it will use the first element of the Array or TypedArray as the initial value. This error is raised when an empty array is provided because no initial value can be returned in that case. Examples Invalid cases This problem appears frequently when combined with a filter (Array.prototype.filter(), TypedArray.prototype.filter()) which will remove all elements of the list. Thus leaving
none to be used as the initial value. var ints = [0, -1, -2, -3, -4, -5]; ints.filter(x => x > 0) // removes all elements .reduce((x, y) => x + y) // no more elements to use for the initial value. Similarly, the same issue can happen if there is a typo in a selector, or an unexpected number of elements in a list: var names = document.getElementsByClassName("names"); var name_list = A...
Array.prototype.find() - JavaScript
rime number (or returns undefined if there is no prime number): function isPrime(element, index, array) { let start = 2; while (start <= Math.sqrt(element)) { if (element % start++ < 1) { return false; } } return element > 1; } console.log([4, 6, 8, 12].find(isPrime)); // undefined, not found console.log([4, 5, 8, 12].find(isPrime)); // 5 The following examples show that
nonexistent and deleted elements are visited, and that the value passed to the callback is their value when visited: // Declare array with no elements at indexes 2, 3, and 4 const array = [0,1,,,,5,6]; // Shows all indexes, not just those with assigned values array.find(function(value, index) { console.log('Visited index ', index, ' with value ', value); }); // Shows all indexes, including delete...
Array.prototype.push() - JavaScript
called. Description The push method appends values to an array. push is intentionally generic. This method can be used with call() or apply() on objects resembling arrays. The push method relies on a length property to determine where to start inserting the given values. If the length property cannot be converted into a number, the index used is 0. This includes the possibility of length being
nonexistent, in which case length will also be created. Although strings are native, Array-like objects, they are not suitable in applications of this method, as strings are immutable. Similarly for the native, Array-like object arguments. Examples Adding elements to an array The following code creates the sports array containing two elements, then appends two elements to it. The total variable c...
Array - JavaScript
array, if an element in the array satisfies the testing function, or -1 if not found. Array.prototype.forEach() Calls a function for each element in the array. Array.prototype.includes() Determines whether the array contains a value, returning true or false as appropriate. Array.prototype.indexOf() Returns the first (least) index of an element within the array equal to an element, or -1 if
none is found. Array.prototype.join() Joins all elements of an array into a string. Array.prototype.keys() Returns a new Array Iterator that contains the keys for each index in the array. Array.prototype.lastIndexOf() Returns the last (greatest) index of an element within the array equal to an element, or -1 if
none is found. Array.prototype.map() Returns a new array containing the results of ...
Function.prototype.bind() - JavaScript
arguments properties that throw a TypeError upon get, set, or deletion. (This could be added if the implementation supports Object.defineProperty, or partially implemented [without throw-on-delete behavior] if the implementation supports the __defineGetter__ and __defineSetter__ extensions.) The partial implementation creates functions that have a prototype property. (Proper bound functions have
none.) The partial implementation creates bound functions whose length property does not agree with that mandated by ECMA-262: it creates functions with length of 0. A full implementation--depending on the length of the target function and the number of pre-specified arguments--may return a non-zero length. The partial implementation creates bound functions whose name property is not derived from th...
Intl.DateTimeFormat.prototype.resolvedOptions() - JavaScript
that led to this locale, the key-value pairs that were requested and are supported for this locale are included in locale. calendar E.g. "gregory" numberingSystem The values requested using the Unicode extension keys "ca" and "nu" or filled in as default values. timeZone The value provided for this property in the options argument; undefined (representing the runtime's default time zone) if
none was provided. Warning: Applications should not rely on undefined being returned, as future versions may return a String value identifying the runtime's default time zone instead. hour12 The value provided for this property in the options argument or filled in as a default. weekday era year month day hour minute second timeZoneName The values resulting from format matching between the ...
Intl.DisplayNames() constructor - JavaScript
e "lookup" and "best fit"; the default is "best fit". For information about this option, see the Intl page. style The formatting style to use, the default is "long". "narrow" "short" "long" type The type to use, the default is "language". "language" "region" "script" "currency" fallback The fallback to use, the default is "code". "code" "
none" Examples Basic usage In basic use without specifying a locale, a formatted string in the default locale and with default options is returned. console.log((new Intl.DisplayNames()).of('US')); // Expected output: 'us' Specifications Specification Intl.DisplayNamesThe definition of 'the Intl.DisplayNames constructor' in that specification. ...
Intl.DisplayNames.prototype.resolvedOptions() - JavaScript
long"). Its value is either "long", "short", or "narrow". type The value provided for this property in the options argument of the constructor or the default value ("language"). Its value is either "language", "region", "script", or "currency". fallback The value provided for this property in the options argument of the constructor or the default value ("code"). Its value is either "code" or "
none". Examples Using resolvedOptions const displayNames = new Intl.DisplayNames(['de-DE'], {type: 'region'}); const usedOptions = displayNames.resolvedOptions(); console.log(usedOptions.locale); // "de-DE" console.log(usedOptions.style); // "long" console.log(usedOptions.type); // "region" console.log(usedOptions.fallback); // "code" Specifications Specification ...
Map - JavaScript
in the Map object. Instance methods Map.prototype.clear() Removes all key-value pairs from the Map object. Map.prototype.delete(key) Returns true if an element in the Map object existed and has been removed, or false if the element does not exist. Map.prototype.has(key) will return false afterwards. Map.prototype.get(key) Returns the value associated to the key, or undefined if there is
none. Map.prototype.has(key) Returns a boolean asserting whether a value has been associated to the key in the Map object or not. Map.prototype.set(key, value) Sets the value for the key in the Map object. Returns the Map object. Iteration methods Map.prototype[@@iterator]() Returns a new Iterator object that contains an array of [key, value] for each element in the Map object in insertion o...