@markuplint/html-spec 4.16.0 → 4.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARCHITECTURE.ja.md +285 -0
- package/ARCHITECTURE.md +196 -0
- package/CHANGELOG.md +26 -3
- package/README.md +11 -259
- package/SKILL.md +358 -0
- package/docs/build-pipeline.ja.md +170 -0
- package/docs/build-pipeline.md +171 -0
- package/docs/element-spec-format.ja.md +952 -0
- package/docs/element-spec-format.md +521 -0
- package/docs/maintenance.ja.md +359 -0
- package/docs/maintenance.md +397 -0
- package/index.json +370 -42
- package/package.json +5 -5
package/index.json
CHANGED
|
@@ -275,6 +275,16 @@
|
|
|
275
275
|
"enum": ["enter", "done", "go", "next", "previous", "search", "send"]
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
|
+
"headingoffset": {
|
|
279
|
+
"type": {
|
|
280
|
+
"type": "integer",
|
|
281
|
+
"gte": 0,
|
|
282
|
+
"lte": 8
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"headingreset": {
|
|
286
|
+
"type": "Boolean"
|
|
287
|
+
},
|
|
278
288
|
"hidden": {
|
|
279
289
|
"type": {
|
|
280
290
|
"enum": ["", "hidden", "until-found"]
|
|
@@ -4180,7 +4190,7 @@
|
|
|
4180
4190
|
},
|
|
4181
4191
|
{
|
|
4182
4192
|
"name": "document",
|
|
4183
|
-
"description": "An element containing content that assistive technology users might want to browse in a reading mode.\n\nWhen user agent focus moves to an element assigned the role of document, assistive technologies having a reading mode for browsing static content MAY switch to that reading mode and intercept standard input events, such as Up or Down arrow keyboard events, to control the reading cursor.\n\nBecause assistive technologies that have a reading mode default to that mode for all elements except for those with either a widget or application role, the only circumstance where the document role is useful for changing assistive technology behavior is when the element with role document is a focusable child
|
|
4193
|
+
"description": "An element containing content that assistive technology users might want to browse in a reading mode.\n\nWhen user agent focus moves to an element assigned the role of document, assistive technologies having a reading mode for browsing static content MAY switch to that reading mode and intercept standard input events, such as Up or Down arrow keyboard events, to control the reading cursor.\n\nBecause assistive technologies that have a reading mode default to that mode for all elements except for those with either a widget or application role, the only circumstance where the document role is useful for changing assistive technology behavior is when the element with role document is a focusable accessibility child of a widget or application. For example, given an application element which contains some static rich text, the author can apply role document to the element containing the text and give it a tabindex of 0. When a screen reader user presses the Tab key and places focus on the document element, the user will be able to read the text with the screen reader's reading cursor.",
|
|
4184
4194
|
"generalization": ["structure"],
|
|
4185
4195
|
"requiredContextRole": [],
|
|
4186
4196
|
"requiredOwnedElements": [],
|
|
@@ -6377,7 +6387,7 @@
|
|
|
6377
6387
|
},
|
|
6378
6388
|
{
|
|
6379
6389
|
"name": "log",
|
|
6380
|
-
"description": "A type of live region where new information is added in meaningful order and old information can disappear
|
|
6390
|
+
"description": "A type of live region where new information is added in meaningful order and old information can disappear.\n\nExamples include chat logs, messaging history, game log, or an error log. In contrast to other live regions, in this role there is a relationship between the arrival of new items in the log and the reading order. The log contains a meaningful sequence and new information is added only to the end of the log, not at arbitrary points.\n\nElements with the role log have an implicit aria-live value of polite.",
|
|
6381
6391
|
"generalization": ["section"],
|
|
6382
6392
|
"requiredContextRole": [],
|
|
6383
6393
|
"requiredOwnedElements": [],
|
|
@@ -6707,7 +6717,7 @@
|
|
|
6707
6717
|
},
|
|
6708
6718
|
{
|
|
6709
6719
|
"name": "marquee",
|
|
6710
|
-
"description": "A
|
|
6720
|
+
"description": "A section of content where non-essential information changes frequently.\n\nCommon usages of marquee include stock tickers and ad banners.",
|
|
6711
6721
|
"generalization": ["section"],
|
|
6712
6722
|
"requiredContextRole": [],
|
|
6713
6723
|
"requiredOwnedElements": [],
|
|
@@ -7815,7 +7825,7 @@
|
|
|
7815
7825
|
},
|
|
7816
7826
|
{
|
|
7817
7827
|
"name": "none",
|
|
7818
|
-
"description": "An element whose implicit native role semantics will not be mapped to the accessibility API. See synonym presentation.\n\nIn ARIA 1.1, the working group introduced none as a synonym to the presentation role, due to author confusion surrounding the intended meaning of the word \"presentation\" or \"presentational.\" Many individuals erroneously consider role=\"presentation\" to be synonymous with aria-hidden=\"true\", and we believe role=\"none\" conveys the actual meaning more unambiguously.\n\nThe intended use is when an element is used to change the look of the page but does not have all the functional, interactive, or structural relevance implied by the element type, or can be used to provide for an accessible fallback in older browsers that do not support WAI-ARIA.\n\nExample use cases:\n\nFor any element with a role of none/presentation and which is not focusable, the user agent MUST NOT expose the implicit native semantics of the element (the role and its states and properties) to accessibility APIs. However, the user agent MUST expose content and descendant elements that do not have an explicit or inherited role of none/presentation. Thus, the none/presentation role causes a given element to be treated as having no role or to be removed from the accessibility tree, but does not cause the content contained within the element to be removed from the accessibility tree.\n\nFor example, the following two markup snippets will be exposed similarly to an accessibility API.\n\nIn HTML, the <img> element is treated as a single entity regardless of the type of image file. Consequently, using role=\"none\" or role=\"presentation\" on an HTML img is equivalent to using aria-hidden=\"true\". In order to make the image contents accessible, authors can embed the object using an <object> or <iframe> element, or use inline SVG code, and follow the accessibility guidelines for the image content.\n\nAuthors SHOULD NOT provide a non-empty text alternative when the none/presentation role is applied to an image.\n\nIn the following code sample, the containing img and is appropriately labeled by the caption paragraph. In this example the img element can be marked as none/presentation because the role and the text alternatives are provided by the containing element.\n\nIn the following code sample, because the anchor (HTML a element) is acting as the treeitem, the list item (HTML li element) is assigned an explicit WAI-ARIA role of none/presentation to override the user agent's implicit native semantics for list items.\n\nThe none/presentation role is used on an element that has implicit native semantics, meaning that there is a default accessibility API role for the element. Some elements are only complete when additional descendant elements are provided. For example, in HTML, table elements (matching the table role) require tr descendants (which have an implicit row role), which in turn require th or td children (the columnheader or rowheader and cell roles, respectively). Similarly, lists require list item children. The descendant elements that complete the semantics of an element are described in WAI-ARIA as Allowed Accessibility Child Roles.\n\nWhen an explicit or inherited role of none/presentation is applied to an element with the implicit semantic of a WAI-ARIA role that has Allowed Accessibility Child Roles, in addition to the element with the explicit role of none/presentation, the user agent MUST apply an inherited role of none to any accessibility descendants that do not have an explicit role defined. Also, when an explicit or inherited role of none/presentation is applied to a host language element which has specifically allowed children as defined by the host language specification, in addition to the element with the explicit role of none/presentation, the user agent MUST apply an inherited role of none to any specifically allowed children that do not have an explicit role defined.\n\nFor any element with an explicit or inherited role of none/presentation and which is not focusable, user agents MUST ignore role-specific WAI-ARIA states and properties for that element. For example, in HTML, a ul or ol element with a role of none/presentation will have the implicit native semantics of its li elements removed because the list role to which the ul or ol corresponds has an Allowed Accessibility Child Role of listitem. Likewise, the implicit native semantics of an HTML table element's thead/tbody/tfoot/tr/th/td descendants will also be removed, because the HTML specification indicates that these are required structural descendants of the table element.\n\nOnly the implicit native semantics of elements that correspond to WAI-ARIA Allowed Accessibility Child Roles are removed. All other content remains intact, including nested tables or lists, unless those elements also have an explicit role of none/presentation specified.\n\nFor example, according to an accessibility API, the following markup elements might have identical or very similar role semantics (generic or none role) and identical content.\n\nThere are other WAI-ARIA roles with specific allowed children for which this situation is applicable (e.g., feeds and listboxes), but tables and lists are the most common real-world cases in which the none/presentation inheritance is likely to apply.\n\nFor any element with an explicit or inherited role of none/presentation, user agents MUST apply an inherited role of none to all host-language-specific labeling elements for the presentational element. For example, a table element with a role of none/presentation will have the implicit native semantics of its caption element removed, because the caption is merely a label for the presentational table.\n\nInformation about resolving conflicts in the none/presentation role has been moved to Handling Author Errors",
|
|
7828
|
+
"description": "An element whose implicit native role semantics will not be mapped to the accessibility API. See synonym presentation.\n\nIn ARIA 1.1, the working group introduced none as a synonym to the presentation role, due to author confusion surrounding the intended meaning of the word \"presentation\" or \"presentational.\" Many individuals erroneously consider role=\"presentation\" to be synonymous with aria-hidden=\"true\", and we believe role=\"none\" conveys the actual meaning more unambiguously.\n\nThe intended use is when an element is used to change the look of the page but does not have all the functional, interactive, or structural relevance implied by the element type, or can be used to provide for an accessible fallback in older browsers that do not support WAI-ARIA.\n\nExample use cases:\n\nFor any element with a role of none/presentation and which is not focusable, the user agent MUST NOT expose the implicit native semantics of the element (the role and its states and properties) to accessibility APIs. However, the user agent MUST expose content and descendant elements that do not have an explicit or inherited role of none/presentation. Thus, the none/presentation role causes a given element to be treated as having no role or to be removed from the accessibility tree, but does not cause the content contained within the element to be removed from the accessibility tree.\n\nFor example, the following two markup snippets will be exposed similarly to an accessibility API.\n\nIn HTML, the <img> element is treated as a single entity regardless of the type of image file. Consequently, using role=\"none\" or role=\"presentation\" on an HTML img is equivalent to using aria-hidden=\"true\". In order to make the image contents accessible, authors can embed the object using an <object> or <iframe> element, or use inline SVG code, and follow the accessibility guidelines for the image content.\n\nAuthors SHOULD NOT provide a non-empty text alternative when the none/presentation role is applied to an image.\n\nIn the following code sample, the containing img and is appropriately labeled by the caption paragraph. In this example the img element can be marked as none/presentation because the role and the text alternatives are provided by the containing element.\n\nIn the following code sample, because the anchor (HTML a element) is acting as the treeitem, the list item (HTML li element) is assigned an explicit WAI-ARIA role of none/presentation to override the user agent's implicit native semantics for list items.\n\nThe none/presentation role is used on an element that has implicit native semantics, meaning that there is a default accessibility API role for the element. Some elements are only complete when additional descendant elements are provided. For example, in HTML, table elements (matching the table role) require tr descendants (which have an implicit row role), which in turn require th or td children (the columnheader or rowheader and cell roles, respectively). Similarly, lists require list item children. The descendant elements that complete the semantics of an element are described in WAI-ARIA as Allowed Accessibility Child Roles.\n\nWhen an explicit or inherited role of none/presentation is applied to an element with the implicit semantic of a WAI-ARIA role that has Allowed Accessibility Child Roles, in addition to the element with the explicit role of none/presentation, the user agent MUST apply an inherited role of none to any accessibility descendants that do not have an explicit role defined. Also, when an explicit or inherited role of none/presentation is applied to a host language element which has specifically allowed children as defined by the host language specification, in addition to the element with the explicit role of none/presentation, the user agent MUST apply an inherited role of none to any specifically allowed children that do not have an explicit role defined.\n\nFor any element with an explicit or inherited role of none/presentation and which is not focusable, user agents MUST ignore role-specific WAI-ARIA states and properties for that element. For example, in HTML, a ul or ol element with a role of none/presentation will have the implicit native semantics of its li elements removed because the list role to which the ul or ol corresponds has an Allowed Accessibility Child Role of listitem. Likewise, the implicit native semantics of an HTML table element's thead/tbody/tfoot/tr/th/td descendants will also be removed, because the HTML specification indicates that these are required structural descendants of the table element.\n\nOnly the implicit native semantics of elements that correspond to WAI-ARIA Allowed Accessibility Child Roles are removed. All other content remains intact, including nested tables or lists, unless those elements also have an explicit role of none/presentation specified.\n\nFor example, according to an accessibility API, the following markup elements might have identical or very similar role semantics (generic or none role) and identical content.\n\nThere are other WAI-ARIA roles with specific allowed accessibility children for which this situation is applicable (e.g., feeds and listboxes), but tables and lists are the most common real-world cases in which the none/presentation inheritance is likely to apply.\n\nFor any element with an explicit or inherited role of none/presentation, user agents MUST apply an inherited role of none to all host-language-specific labeling elements for the presentational element. For example, a table element with a role of none/presentation will have the implicit native semantics of its caption element removed, because the caption is merely a label for the presentational table.\n\nInformation about resolving conflicts in the none/presentation role has been moved to Handling Author Errors",
|
|
7819
7829
|
"generalization": ["structure"],
|
|
7820
7830
|
"requiredContextRole": [],
|
|
7821
7831
|
"requiredOwnedElements": [],
|
|
@@ -9478,7 +9488,7 @@
|
|
|
9478
9488
|
},
|
|
9479
9489
|
{
|
|
9480
9490
|
"name": "scrollbar",
|
|
9481
|
-
"description": "A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area.\n\nA scrollbar represents the current value and range of possible values via the size of the scrollbar and position of the thumb with respect to the visible range of the orientation (horizontal or vertical) it controls. Its orientation represents the orientation of the scrollbar and the scrolling effect on the viewing area controlled by the scrollbar. It is typically possible to add to or subtract from the current value by using directional keys such as arrow keys.\n\nAuthors
|
|
9491
|
+
"description": "A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area.\n\nA scrollbar represents the current value and range of possible values via the size of the scrollbar and position of the thumb with respect to the visible range of the orientation (horizontal or vertical) it controls. Its orientation represents the orientation of the scrollbar and the scrolling effect on the viewing area controlled by the scrollbar. It is typically possible to add to or subtract from the current value by using directional keys such as arrow keys.\n\nAuthors MAY set the aria-controls attribute on the scrollbar element to reference the scrollable area it controls.\n\nAuthors MAY set aria-valuemin and aria-valuemax to indicate the minimum and maximum thumb position. Otherwise, their implicit values follow the same rules as <input type=\"range\"> in HTML:\n\nAuthors MUST set the aria-valuenow attribute to indicate the current thumb position. If aria-valuenow is missing or has an unexpected value, user agents MAY implement the repair techniques specified in the section describing handling author errors in states and properties, which are equivalent to the repair techniques for <input type=\"range\"> in HTML.\n\nElements with the role scrollbar have an implicit aria-orientation value of vertical.\n\nAssistive technologies generally will render the value of aria-valuenow as a percent of a range between the value of aria-valuemin and aria-valuemax, unless aria-valuetext is specified. It is best to set the values for aria-valuemin, aria-valuemax, and aria-valuenow in a manner that is appropriate for this calculation.",
|
|
9482
9492
|
"generalization": ["range", "widget"],
|
|
9483
9493
|
"requiredContextRole": [],
|
|
9484
9494
|
"requiredOwnedElements": [],
|
|
@@ -9506,7 +9516,7 @@
|
|
|
9506
9516
|
},
|
|
9507
9517
|
{
|
|
9508
9518
|
"name": "aria-controls",
|
|
9509
|
-
"
|
|
9519
|
+
"inherited": true
|
|
9510
9520
|
},
|
|
9511
9521
|
{
|
|
9512
9522
|
"name": "aria-current",
|
|
@@ -12397,7 +12407,7 @@
|
|
|
12397
12407
|
},
|
|
12398
12408
|
{
|
|
12399
12409
|
"name": "timer",
|
|
12400
|
-
"description": "A
|
|
12410
|
+
"description": "A section of content containing a numerical counter which indicates an amount of elapsed time from a start point, or the time remaining until an end point.\n\nThe text contents of the timer object indicate the current time measurement, and are updated as that amount changes. The timer value is not necessarily machine parsable, but authors SHOULD update the text contents at fixed intervals, except when the timer is paused or reaches an end-point.",
|
|
12401
12411
|
"generalization": ["status"],
|
|
12402
12412
|
"requiredContextRole": [],
|
|
12403
12413
|
"requiredOwnedElements": [],
|
|
@@ -13691,7 +13701,7 @@
|
|
|
13691
13701
|
"isGlobal": true,
|
|
13692
13702
|
"valueDescriptions": {
|
|
13693
13703
|
"assertive": "Indicates that updates to the region have the highest priority and should be presented the user immediately.",
|
|
13694
|
-
"off": "Indicates that updates to the region
|
|
13704
|
+
"off": "Indicates that updates to the region will not be presented to the user.",
|
|
13695
13705
|
"polite": "Indicates that updates to the region should be presented at the next graceful opportunity, such as at the end of speaking the current sentence or when the user pauses typing."
|
|
13696
13706
|
}
|
|
13697
13707
|
},
|
|
@@ -35258,7 +35268,7 @@
|
|
|
35258
35268
|
"attributes": {
|
|
35259
35269
|
"attributionsrc": {
|
|
35260
35270
|
"description": "Specifies that you want the browser to send an Attribution-Reporting-Eligible header. On the server-side this is used to trigger sending an Attribution-Reporting-Register-Source header in the response, to register a navigation-based attribution source. The browser stores the source data associated with the navigation-based attribution source (as provided in the Attribution-Reporting-Register-Source response header) when the user clicks the link. See the Attribution Reporting API for more details. There are two versions of this attribute that you can set: Boolean, i.e., just the attributionsrc name. This specifies that you want the Attribution-Reporting-Eligible header sent to the same server as the href attribute points to. This is fine when you are handling the attribution source registration on the same server. Value containing one or more URLs, for example: htmlattributionsrc=\"https://a.example/register-source https://b.example/register-source\" This is useful in cases where the requested resource is not on a server you control, or you just want to handle registering the attribution source on a different server. In this case, you can specify one or more URLs as the value of attributionsrc. When the resource request occurs, the Attribution-Reporting-Eligible header will be sent to the URL(s) specified in attributionsrc in addition to the resource origin. These URLs can then respond with the Attribution-Reporting-Register-Source to complete registration. Note: Specifying multiple URLs means that multiple attribution sources can be registered on the same feature. You might for example have different campaigns that you are trying to measure the success of, which involve generating different reports on different data. <a> elements cannot be used as attribution triggers, only sources.",
|
|
35261
|
-
"
|
|
35271
|
+
"deprecated": true
|
|
35262
35272
|
},
|
|
35263
35273
|
"charset": {
|
|
35264
35274
|
"description": "Hinted at the character encoding of the linked URL. Note: This attribute is deprecated and should not be used by authors. Use the HTTP Content-Type header on the linked URL.",
|
|
@@ -35277,6 +35287,12 @@
|
|
|
35277
35287
|
"hreflang": {
|
|
35278
35288
|
"description": "Hints at the human language of the linked URL. No built-in functionality. Allowed values are the same as the global lang attribute."
|
|
35279
35289
|
},
|
|
35290
|
+
"interestfor": {
|
|
35291
|
+
"description": "Defines the <a> element as an interest invoker. Its value is the id of the target element, which will be affected in some way (normally shown or hidden) when interest is shown or lost on the invoker element (for example, by hovering/unhovering or focusing/blurring it). See Using interest invokers for more details and examples.",
|
|
35292
|
+
"experimental": true,
|
|
35293
|
+
"nonStandard": true,
|
|
35294
|
+
"type": "DOMID"
|
|
35295
|
+
},
|
|
35280
35296
|
"name": {
|
|
35281
35297
|
"description": "Was required to define a possible target location in a page. In HTML 4.01, id and name could both be used on <a>, as long as they had identical values. Note: Use the global attribute id instead.",
|
|
35282
35298
|
"deprecated": true
|
|
@@ -35443,11 +35459,13 @@
|
|
|
35443
35459
|
},
|
|
35444
35460
|
"attributes": {
|
|
35445
35461
|
"alt": {
|
|
35462
|
+
"description": "A text string alternative to display on browsers that do not display images. The text should be phrased so that it presents the user with the same kind of choice as the image would offer when displayed without the alternative text. This attribute is required only if the href attribute is used.",
|
|
35446
35463
|
"type": "Any",
|
|
35447
35464
|
"required": true,
|
|
35448
35465
|
"condition": "[href]"
|
|
35449
35466
|
},
|
|
35450
35467
|
"coords": {
|
|
35468
|
+
"description": "The coords attribute details the coordinates of the shape attribute in size, shape, and placement of an <area>. This attribute must not be used if shape is set to default. rect: the value is x1,y1,x2,y2. The value specifies the coordinates of the top-left and bottom-right corner of the rectangle. For example, in <area shape=\"rect\" coords=\"0,0,253,27\" href=\"#\" target=\"_blank\" alt=\"Mozilla\"> the coordinates are 0,0 and 253,27, indicating the top-left and bottom-right corners of the rectangle, respectively. circle: the value is x,y,radius. Value specifies the coordinates of the circle center and the radius. For example: <area shape=\"circle\" coords=\"130,136,60\" href=\"#\" target=\"_blank\" alt=\"MDN\"> poly: the value is x1,y1,x2,y2,..,xn,yn. Value specifies the coordinates of the edges of the polygon. If the first and last coordinate pairs are not the same, the browser will add the last coordinate pair to close the polygon The values are numbers of CSS pixels. Our shape generator can help you generate the coords syntax by selecting points on an image you upload.",
|
|
35451
35469
|
"type": {
|
|
35452
35470
|
"token": "Number",
|
|
35453
35471
|
"disallowToSurroundBySpaces": true,
|
|
@@ -35460,6 +35478,12 @@
|
|
|
35460
35478
|
"href": {
|
|
35461
35479
|
"description": "The hyperlink target for the area. Its value is a valid URL. This attribute may be omitted; if so, the <area> element does not represent a hyperlink."
|
|
35462
35480
|
},
|
|
35481
|
+
"interestfor": {
|
|
35482
|
+
"description": "Defines the <area> element as an interest invoker. Its value is the id of the target element, which will be affected in some way (normally shown or hidden) when interest is shown or lost on the invoker element (for example, by hovering/unhovering or focusing/blurring it). See Using interest invokers for more details and examples.",
|
|
35483
|
+
"experimental": true,
|
|
35484
|
+
"nonStandard": true,
|
|
35485
|
+
"type": "DOMID"
|
|
35486
|
+
},
|
|
35463
35487
|
"ping": {
|
|
35464
35488
|
"description": "Contains 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."
|
|
35465
35489
|
},
|
|
@@ -35470,6 +35494,7 @@
|
|
|
35470
35494
|
"description": "For anchors containing the href attribute, this attribute specifies the relationship of the target object to the link object. The value is a space-separated list of link types. The values and their semantics will be registered by some authority that might have meaning to the document author. The default relationship, if no other is given, is void. Use this attribute only if the href attribute is present."
|
|
35471
35495
|
},
|
|
35472
35496
|
"shape": {
|
|
35497
|
+
"description": "The shape of the associated hot spot. The specifications for HTML defines the values rect, which defines a rectangular region; circle, which defines a circular region; poly, which defines a polygon; and default, which indicates the entire region beyond any defined shapes.",
|
|
35473
35498
|
"type": {
|
|
35474
35499
|
"enum": ["rect", "circle", "poly", "default"],
|
|
35475
35500
|
"missingValueDefault": "rect",
|
|
@@ -35656,6 +35681,7 @@
|
|
|
35656
35681
|
},
|
|
35657
35682
|
"attributes": {
|
|
35658
35683
|
"href": {
|
|
35684
|
+
"description": "The base URL to be used throughout the document for relative URLs. Absolute and relative URLs are allowed. data: and javascript: URLs are not allowed.",
|
|
35659
35685
|
"type": "BaseURL"
|
|
35660
35686
|
},
|
|
35661
35687
|
"target": {
|
|
@@ -35818,6 +35844,7 @@
|
|
|
35818
35844
|
},
|
|
35819
35845
|
"attributes": {
|
|
35820
35846
|
"cite": {
|
|
35847
|
+
"description": "A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.",
|
|
35821
35848
|
"type": "URL"
|
|
35822
35849
|
}
|
|
35823
35850
|
}
|
|
@@ -36010,14 +36037,18 @@
|
|
|
36010
36037
|
"permittedRoles": [
|
|
36011
36038
|
"checkbox",
|
|
36012
36039
|
"combobox",
|
|
36040
|
+
"gridcell",
|
|
36013
36041
|
"link",
|
|
36014
36042
|
"menuitem",
|
|
36015
36043
|
"menuitemcheckbox",
|
|
36016
36044
|
"menuitemradio",
|
|
36017
36045
|
"option",
|
|
36018
36046
|
"radio",
|
|
36047
|
+
"separator",
|
|
36048
|
+
"slider",
|
|
36019
36049
|
"switch",
|
|
36020
|
-
"tab"
|
|
36050
|
+
"tab",
|
|
36051
|
+
"treeitem"
|
|
36021
36052
|
],
|
|
36022
36053
|
"1.1": {
|
|
36023
36054
|
"permittedRoles": [
|
|
@@ -36054,9 +36085,17 @@
|
|
|
36054
36085
|
"description": "This Boolean attribute specifies that the button should have input focus when the page loads. Only one element in a document can have this attribute."
|
|
36055
36086
|
},
|
|
36056
36087
|
"command": {
|
|
36088
|
+
"description": "Specifies the action to be performed on an element being controlled by a control <button> specified via the commandfor attribute. The possible values are: \"show-modal\" The button will show a <dialog> as modal. If the dialog is already modal, no action will be taken. This is a declarative equivalent of calling the HTMLDialogElement.showModal() method on the <dialog> element. \"close\" The button will close a <dialog> element. If the dialog is already closed, no action will be taken. This is a declarative equivalent of calling the HTMLDialogElement.close() method on the <dialog> element. When used with the value attribute, the button's value will be passed as the dialog's returnValue property. \"request-close\" The button will trigger a cancel event on a <dialog> element to request that the browser dismiss it, followed by a close event. This differs from the close command in that authors can call Event.preventDefault() on the cancel event to prevent the <dialog> from closing. If the dialog is already closed, no action will be taken. This is a declarative equivalent of calling the HTMLDialogElement.requestClose() method on the <dialog> element. When used with the button's value attribute, the value will be passed as the dialog's returnValue property. \"show-popover\" The button will show a hidden popover. If you try to show an already showing popover, no action will be taken. See Popover API for more details. This is equivalent to setting a value of show for the popovertargetaction attribute, and also provides a declarative equivalent to calling the HTMLElement.showPopover() method on the popover element. \"hide-popover\" The button will hide a showing popover. If you try to hide an already hidden popover, no action will be taken. See Popover API for more details. This is equivalent to setting a value of hide for the popovertargetaction attribute, and also provides a declarative equivalent to calling the HTMLElement.hidePopover() method on the popover element. \"toggle-popover\" The button will toggle a popover between showing and hidden. If the popover is hidden, it will be shown; if the popover is showing, it will be hidden. See Popover API for more details. This is equivalent to setting a value of toggle for the popovertargetaction attribute, and also provides a declarative equivalent to calling the HTMLElement.togglePopover() method on the popover element. Custom values This attribute can represent custom values that are prefixed with a two hyphen characters (--). Buttons with a custom value will dispatch the CommandEvent on the controlled element.",
|
|
36057
36089
|
"type": [
|
|
36058
36090
|
{
|
|
36059
|
-
"enum": [
|
|
36091
|
+
"enum": [
|
|
36092
|
+
"toggle-popover",
|
|
36093
|
+
"show-popover",
|
|
36094
|
+
"hide-popover",
|
|
36095
|
+
"close",
|
|
36096
|
+
"request-close",
|
|
36097
|
+
"show-modal"
|
|
36098
|
+
],
|
|
36060
36099
|
"invalidValueDefault": "unknown",
|
|
36061
36100
|
"missingValueDefault": "unknown"
|
|
36062
36101
|
},
|
|
@@ -36064,6 +36103,7 @@
|
|
|
36064
36103
|
]
|
|
36065
36104
|
},
|
|
36066
36105
|
"commandfor": {
|
|
36106
|
+
"description": "Turns a <button> element into a command button, controlling a given interactive element by issuing the command specified in the button's command attribute. The commandfor attribute takes the ID of the element to control as its value. This is a more general version of popovertarget.",
|
|
36067
36107
|
"type": "DOMID"
|
|
36068
36108
|
},
|
|
36069
36109
|
"disabled": {
|
|
@@ -36087,13 +36127,21 @@
|
|
|
36087
36127
|
"formtarget": {
|
|
36088
36128
|
"description": "If the button is a submit button, this attribute is an author-defined name or standardized, underscore-prefixed keyword indicating where to display the response from submitting the form. This is the name of, or keyword for, a browsing context (a tab, window, or <iframe>). If this attribute is specified, it overrides the target attribute of the button's form owner. The following keywords have special meanings: _self: Load the response into the same browsing context as the current one. This is the default if the attribute is not specified. _blank: Load the response into a new unnamed browsing context — usually a new tab or window, depending on the user's browser settings. _parent: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as _self. _top: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self."
|
|
36089
36129
|
},
|
|
36130
|
+
"interestfor": {
|
|
36131
|
+
"description": "Defines the <button> element as an interest invoker. Its value is the id of a target element, which will be affected in some way (normally shown or hidden) when interest is shown or lost on the invoker element (for example, by hovering/unhovering or focusing/blurring it). See Using interest invokers for more details and examples.",
|
|
36132
|
+
"experimental": true,
|
|
36133
|
+
"nonStandard": true,
|
|
36134
|
+
"type": "DOMID"
|
|
36135
|
+
},
|
|
36090
36136
|
"name": {
|
|
36091
36137
|
"description": "The name of the button, submitted as a pair with the button's value as part of the form data, when that button is used to submit the form."
|
|
36092
36138
|
},
|
|
36093
36139
|
"popovertarget": {
|
|
36140
|
+
"description": "Turns a <button> element into a popover control button; takes the ID of the popover element to control as its value. Establishing a relationship between a popover and its invoker button using the popovertarget attribute has two additional useful effects: The browser creates an implicit aria-details and aria-expanded relationship between popover and invoker, and places the popover in a logical position in the keyboard focus navigation order when shown. This makes the popover more accessible to keyboard and assistive technology (AT) users (see also Popover accessibility features). The browser creates an implicit anchor reference between the two, making it very convenient to position popovers relative to their controls using CSS anchor positioning. See Popover anchor positioning for more details.",
|
|
36094
36141
|
"type": "DOMID"
|
|
36095
36142
|
},
|
|
36096
36143
|
"popovertargetaction": {
|
|
36144
|
+
"description": "Specifies the action to be performed on a popover element being controlled by a control <button>. Possible values are: \"hide\" The button will hide a shown popover. If you try to hide an already hidden popover, no action will be taken. \"show\" The button will show a hidden popover. If you try to show an already showing popover, no action will be taken. \"toggle\" The button will toggle a popover between showing and hidden. If the popover is hidden, it will be shown; if the popover is showing, it will be hidden. If popovertargetaction is omitted, \"toggle\" is the default action that will be performed by the control button.",
|
|
36097
36145
|
"type": {
|
|
36098
36146
|
"enum": ["toggle", "show", "hide"],
|
|
36099
36147
|
"disallowToSurroundBySpaces": true,
|
|
@@ -36102,6 +36150,7 @@
|
|
|
36102
36150
|
}
|
|
36103
36151
|
},
|
|
36104
36152
|
"type": {
|
|
36153
|
+
"description": "The default behavior of the button. Possible values are: submit: The button submits the form data to the server. This is the default if the attribute is not specified for buttons associated with a <form>, or if the attribute is an empty or invalid value. reset: The button resets all the controls to their initial values, like <input type=\"reset\">. (This behavior tends to annoy users.) button: The button has no default behavior, and does nothing when pressed by default. It can have client-side scripts listen to the element's events, which are triggered when the events occur.",
|
|
36105
36154
|
"type": {
|
|
36106
36155
|
"enum": ["submit", "reset", "button"],
|
|
36107
36156
|
"invalidValueDefault": "submit",
|
|
@@ -36109,6 +36158,7 @@
|
|
|
36109
36158
|
}
|
|
36110
36159
|
},
|
|
36111
36160
|
"value": {
|
|
36161
|
+
"description": "Defines the value associated with the button's name when it's submitted with the form data. This value is passed to the server in params when the form is submitted using this button. When used with the close or request-close commands, the value attribute sets the returnValue of the <dialog> element being controlled.",
|
|
36112
36162
|
"type": "Any"
|
|
36113
36163
|
}
|
|
36114
36164
|
}
|
|
@@ -36138,6 +36188,7 @@
|
|
|
36138
36188
|
},
|
|
36139
36189
|
"attributes": {
|
|
36140
36190
|
"height": {
|
|
36191
|
+
"description": "The height of the coordinate space in CSS pixels. Defaults to 150.",
|
|
36141
36192
|
"defaultValue": "150"
|
|
36142
36193
|
},
|
|
36143
36194
|
"moz-opaque": {
|
|
@@ -36146,6 +36197,7 @@
|
|
|
36146
36197
|
"nonStandard": true
|
|
36147
36198
|
},
|
|
36148
36199
|
"width": {
|
|
36200
|
+
"description": "The width of the coordinate space in CSS pixels. Defaults to 300.",
|
|
36149
36201
|
"defaultValue": "300"
|
|
36150
36202
|
}
|
|
36151
36203
|
}
|
|
@@ -36153,7 +36205,7 @@
|
|
|
36153
36205
|
{
|
|
36154
36206
|
"name": "caption",
|
|
36155
36207
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/caption",
|
|
36156
|
-
"description": "The <caption> HTML element specifies the caption (or title) of a table, providing the table an accessible description.",
|
|
36208
|
+
"description": "The <caption> HTML element specifies the caption (or title) of a table, providing the table an accessible name or accessible description.",
|
|
36157
36209
|
"categories": [],
|
|
36158
36210
|
"contentModel": {
|
|
36159
36211
|
"contents": [
|
|
@@ -36293,6 +36345,7 @@
|
|
|
36293
36345
|
"deprecated": true
|
|
36294
36346
|
},
|
|
36295
36347
|
"span": {
|
|
36348
|
+
"description": "Specifies the number of consecutive columns the <col> element spans. The value must be a positive integer greater than zero. If not present, its default value is 1.",
|
|
36296
36349
|
"type": {
|
|
36297
36350
|
"type": "integer",
|
|
36298
36351
|
"gt": 0,
|
|
@@ -36358,6 +36411,7 @@
|
|
|
36358
36411
|
"deprecated": true
|
|
36359
36412
|
},
|
|
36360
36413
|
"span": {
|
|
36414
|
+
"description": "Specifies the number of consecutive columns the <colgroup> element spans. The value must be a positive integer greater than zero. If not present, its default value is 1. Note: The span attribute is not permitted if there are one or more <col> elements within the <colgroup>.",
|
|
36361
36415
|
"type": {
|
|
36362
36416
|
"type": "integer",
|
|
36363
36417
|
"gt": 0,
|
|
@@ -36404,6 +36458,7 @@
|
|
|
36404
36458
|
},
|
|
36405
36459
|
"attributes": {
|
|
36406
36460
|
"value": {
|
|
36461
|
+
"description": "This attribute specifies the machine-readable translation of the content of the element.",
|
|
36407
36462
|
"type": "Any",
|
|
36408
36463
|
"required": true
|
|
36409
36464
|
}
|
|
@@ -36504,9 +36559,11 @@
|
|
|
36504
36559
|
},
|
|
36505
36560
|
"attributes": {
|
|
36506
36561
|
"cite": {
|
|
36562
|
+
"description": "A URI for a resource that explains the change (for example, meeting minutes).",
|
|
36507
36563
|
"type": "URL"
|
|
36508
36564
|
},
|
|
36509
36565
|
"datetime": {
|
|
36566
|
+
"description": "This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated timestamp. For the format of the string without a time, see Date strings. The format of the string if it includes both date and time is covered in Local date and time strings.",
|
|
36510
36567
|
"type": "DateTime"
|
|
36511
36568
|
}
|
|
36512
36569
|
}
|
|
@@ -36542,9 +36599,11 @@
|
|
|
36542
36599
|
},
|
|
36543
36600
|
"attributes": {
|
|
36544
36601
|
"name": {
|
|
36602
|
+
"description": "This attribute enables multiple <details> elements to be connected, with only one open at a time. This allows developers to easily create UI features such as accordions without scripting. The name attribute specifies a group name — give multiple <details> elements the same name value to group them. Only one of the grouped <details> elements can be open at a time — opening one will cause another to close. If multiple grouped <details> elements are given the open attribute, only the first one in the source order will be rendered open. Note: <details> elements don't have to be adjacent to one another in the source to be part of the same group.",
|
|
36545
36603
|
"type": "NoEmptyAny"
|
|
36546
36604
|
},
|
|
36547
36605
|
"open": {
|
|
36606
|
+
"description": "This Boolean attribute indicates whether the details — that is, the contents of the <details> element — are currently visible. The details are shown when this attribute exists, or hidden when this attribute is absent. By default this attribute is absent which means the details are not visible. Note: You have to remove this attribute entirely to make the details hidden. open=\"false\" makes the details visible because this attribute is Boolean.",
|
|
36548
36607
|
"type": "Boolean"
|
|
36549
36608
|
}
|
|
36550
36609
|
}
|
|
@@ -36601,6 +36660,7 @@
|
|
|
36601
36660
|
},
|
|
36602
36661
|
"attributes": {
|
|
36603
36662
|
"closedby": {
|
|
36663
|
+
"description": "Specifies the types of user actions that can be used to close the <dialog> element. This attribute distinguishes three methods by which a dialog might be closed: A light dismiss user action, in which the <dialog> is closed when the user clicks or taps outside it. This is equivalent to the \"light dismiss\" behavior of \"auto\" state popovers. A platform-specific user action, such as pressing the Esc key on desktop platforms, or a \"back\" or \"dismiss\" gesture on mobile platforms. A developer-specified mechanism such as a <button> with a click handler that invokes HTMLDialogElement.close() or a <form> submission. Possible values are: any The dialog can be dismissed using any of the three methods. closerequest The dialog can be dismissed with a platform-specific user action or a developer-specified mechanism. none The dialog can only be dismissed with a developer-specified mechanism. If the <dialog> element does not have a valid closedby value specified, then if it was opened using showModal(), it behaves as if the value was \"closerequest\" otherwise, it behaves as if the value was \"none\".",
|
|
36604
36664
|
"type": {
|
|
36605
36665
|
"enum": ["any", "closerequest", "none"],
|
|
36606
36666
|
"invalidValueDefault": "auto",
|
|
@@ -36608,6 +36668,7 @@
|
|
|
36608
36668
|
}
|
|
36609
36669
|
},
|
|
36610
36670
|
"open": {
|
|
36671
|
+
"description": "Indicates that the dialog box is active and is available for interaction. If the open attribute is not set, the dialog box will not be visible to the user. It is recommended to use the .show() or .showModal() method to render dialogs, rather than the open attribute. If a <dialog> is opened using the open attribute, it is non-modal. Note: While you can toggle between the open and closed states of non-modal dialog boxes by toggling the presence of the open attribute, this approach is not recommended. See open for more information.",
|
|
36611
36672
|
"type": "Boolean"
|
|
36612
36673
|
},
|
|
36613
36674
|
"tabindex": {
|
|
@@ -36838,10 +36899,12 @@
|
|
|
36838
36899
|
"description": "The displayed height of the resource, in CSS pixels. This must be an absolute value; percentages are not allowed."
|
|
36839
36900
|
},
|
|
36840
36901
|
"src": {
|
|
36902
|
+
"description": "The URL of the resource being embedded.",
|
|
36841
36903
|
"type": "URL",
|
|
36842
36904
|
"required": "[itemprop]"
|
|
36843
36905
|
},
|
|
36844
36906
|
"type": {
|
|
36907
|
+
"description": "The MIME type to use to select the plug-in to instantiate.",
|
|
36845
36908
|
"type": "MIMEType"
|
|
36846
36909
|
},
|
|
36847
36910
|
"width": {
|
|
@@ -36890,7 +36953,7 @@
|
|
|
36890
36953
|
{
|
|
36891
36954
|
"name": "figcaption",
|
|
36892
36955
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/figcaption",
|
|
36893
|
-
"description": "The <figcaption> HTML element represents a caption or legend describing the rest of the contents of its parent <figure> element, providing the <figure> an accessible
|
|
36956
|
+
"description": "The <figcaption> HTML element represents a caption or legend describing the rest of the contents of its parent <figure> element, providing the <figure> an accessible name.",
|
|
36894
36957
|
"categories": [],
|
|
36895
36958
|
"contentModel": {
|
|
36896
36959
|
"contents": [
|
|
@@ -37064,6 +37127,7 @@
|
|
|
37064
37127
|
"deprecated": true
|
|
37065
37128
|
},
|
|
37066
37129
|
"accept-charset": {
|
|
37130
|
+
"description": "The character encoding accepted by the server. The specification allows a single case-insensitive value of \"UTF-8\", reflecting the ubiquity of this encoding (historically multiple character encodings could be specified as a comma-separated or space-separated list).",
|
|
37067
37131
|
"type": {
|
|
37068
37132
|
"enum": ["utf-8"],
|
|
37069
37133
|
"caseInsensitive": true
|
|
@@ -37076,6 +37140,7 @@
|
|
|
37076
37140
|
"description": "Controls whether inputted text is automatically capitalized and, if so, in what manner. See the autocapitalize global attribute page for more information."
|
|
37077
37141
|
},
|
|
37078
37142
|
"autocomplete": {
|
|
37143
|
+
"description": "Indicates whether input elements can by default have their values automatically completed by the browser. autocomplete attributes on form elements override it on <form>. Possible values: off: The browser may not automatically complete entries. (Browsers tend to ignore this for suspected login forms; see Managing autofill for login fields.) on: The browser may automatically complete entries.",
|
|
37079
37144
|
"type": {
|
|
37080
37145
|
"enum": ["on", "off"],
|
|
37081
37146
|
"invalidValueDefault": "on",
|
|
@@ -37097,12 +37162,14 @@
|
|
|
37097
37162
|
}
|
|
37098
37163
|
},
|
|
37099
37164
|
"name": {
|
|
37165
|
+
"description": "The name of the form. The value must not be the empty string, and must be unique among the form elements in the forms collection that it is in, if any. The name becomes a property of the Window, Document, and document.forms objects, containing a reference to the form element.",
|
|
37100
37166
|
"type": "NoEmptyAny"
|
|
37101
37167
|
},
|
|
37102
37168
|
"novalidate": {
|
|
37103
37169
|
"type": "Boolean"
|
|
37104
37170
|
},
|
|
37105
37171
|
"rel": {
|
|
37172
|
+
"description": "Controls the annotations and what kinds of links the form creates. Annotations include external, nofollow, opener, noopener, and noreferrer. Link types include help, prev, next, search, and license. The rel value is a space-separated list of these enumerated values.",
|
|
37106
37173
|
"type": "LinkTypeForFormElement"
|
|
37107
37174
|
},
|
|
37108
37175
|
"target": {
|
|
@@ -37530,9 +37597,14 @@
|
|
|
37530
37597
|
]
|
|
37531
37598
|
},
|
|
37532
37599
|
"aria": {
|
|
37533
|
-
"implicitRole": "
|
|
37534
|
-
"permittedRoles":
|
|
37535
|
-
"
|
|
37600
|
+
"implicitRole": "generic",
|
|
37601
|
+
"permittedRoles": ["document", "generic"],
|
|
37602
|
+
"namingProhibited": true,
|
|
37603
|
+
"properties": false,
|
|
37604
|
+
"1.1": {
|
|
37605
|
+
"implicitRole": "document",
|
|
37606
|
+
"permittedRoles": false
|
|
37607
|
+
}
|
|
37536
37608
|
},
|
|
37537
37609
|
"omission": false,
|
|
37538
37610
|
"globalAttrs": {
|
|
@@ -37604,19 +37676,21 @@
|
|
|
37604
37676
|
"deprecated": true
|
|
37605
37677
|
},
|
|
37606
37678
|
"allow": {
|
|
37679
|
+
"description": "Specifies a Permissions Policy for the <iframe>. The policy defines what features are available to the <iframe> (for example, access to the microphone, camera, battery, web-share, etc.) based on the origin of the request. See iframes in the Permissions-Policy topic for examples. Note: A Permissions Policy specified by the allow attribute implements a further restriction on top of the policy specified in the Permissions-Policy header. It doesn't replace it.",
|
|
37607
37680
|
"type": "SerializedPermissionsPolicy"
|
|
37608
37681
|
},
|
|
37609
37682
|
"allowfullscreen": {
|
|
37683
|
+
"description": "Set to true if the <iframe> can activate fullscreen mode by calling the requestFullscreen() method. Note: This attribute is considered a legacy attribute and redefined as allow=\"fullscreen *\".",
|
|
37610
37684
|
"type": "Boolean"
|
|
37611
37685
|
},
|
|
37612
37686
|
"allowpaymentrequest": {
|
|
37613
|
-
"description": "Set to true if a cross-origin <iframe> should be allowed to invoke the Payment Request API. Note: This attribute is considered a legacy attribute and redefined as allow=\"payment
|
|
37687
|
+
"description": "Set to true if a cross-origin <iframe> should be allowed to invoke the Payment Request API. Note: This attribute is considered a legacy attribute and redefined as allow=\"payment *\".",
|
|
37614
37688
|
"deprecated": true,
|
|
37615
37689
|
"nonStandard": true
|
|
37616
37690
|
},
|
|
37617
37691
|
"browsingtopics": {
|
|
37618
37692
|
"description": "A boolean attribute that, if present, specifies that the selected topics for the current user should be sent with the request for the <iframe>'s source. See Using the Topics API for more details.",
|
|
37619
|
-
"
|
|
37693
|
+
"deprecated": true,
|
|
37620
37694
|
"nonStandard": true
|
|
37621
37695
|
},
|
|
37622
37696
|
"credentialless": {
|
|
@@ -37650,12 +37724,19 @@
|
|
|
37650
37724
|
"deprecated": true
|
|
37651
37725
|
},
|
|
37652
37726
|
"name": {
|
|
37727
|
+
"description": "A targetable name for the embedded browsing context. This can be used in the target attribute of the <a>, <form>, or <base> elements; the formtarget attribute of the <input> or <button> elements; or the windowName parameter in the window.open() method. In addition, the name becomes a property of the Window and Document objects, containing a reference to the embedded window or the element itself.",
|
|
37653
37728
|
"type": "NavigableTargetName"
|
|
37654
37729
|
},
|
|
37730
|
+
"privateToken": {
|
|
37731
|
+
"description": "Contains a string representation of an options object representing a private state token operation; this object has the same structure as the RequestInit dictionary's privateToken property. IFrames containing this attribute can initiate operations such as issuing or redeeming tokens when their embedded content is loaded.",
|
|
37732
|
+
"experimental": true,
|
|
37733
|
+
"type": "Any"
|
|
37734
|
+
},
|
|
37655
37735
|
"referrerpolicy": {
|
|
37656
37736
|
"description": "Indicates which referrer to send when fetching the frame's resource: no-referrer The Referer header will not be sent. no-referrer-when-downgrade The Referer header will not be sent to origins without TLS (HTTPS). origin The sent referrer will be limited to the origin of the referring page: its scheme, host, and port. origin-when-cross-origin The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path. same-origin A referrer will be sent for same origin, but cross-origin requests will contain no referrer information. strict-origin Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don't send it to a less secure destination (HTTPS→HTTP). strict-origin-when-cross-origin (default) Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP). unsafe-url The referrer will include the origin and the path (but not the fragment, password, or username). This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins."
|
|
37657
37737
|
},
|
|
37658
37738
|
"sandbox": {
|
|
37739
|
+
"description": "Controls the restrictions applied to the content embedded in the <iframe>. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions: allow-downloads Allows downloading files through an <a> or <area> element with the download attribute, as well as through the navigation that leads to a download of a file. This works regardless of whether the user clicked on the link, or JS code initiated it without user interaction. allow-forms Allows the page to submit forms. If this keyword is not used, a form will be displayed as normal, but submitting it will not trigger input validation, send data to a web server, or close a dialog. allow-modals Allows the page to open modal windows by Window.alert(), Window.confirm(), Window.print() and Window.prompt(), while opening a <dialog> is allowed regardless of this keyword. It also allows the page to receive BeforeUnloadEvent event. allow-orientation-lock Lets the resource lock the screen orientation. allow-pointer-lock Allows the page to use the Pointer Lock API. allow-popups Allows popups (created, for example, by Window.open() or target=\"_blank\"). If this keyword is not used, such functionality will silently fail. allow-popups-to-escape-sandbox Allows a sandboxed document to open a new browsing context without forcing the sandboxing flags upon it. This will allow, for example, a third-party advertisement to be safely sandboxed without forcing the same restrictions upon the page the ad links to. If this flag is not included, a redirected page, popup window, or new tab will be subject to the same sandbox restrictions as the originating <iframe>. allow-presentation Allows embedders to have control over whether an iframe can start a presentation session. allow-same-origin If this token is not used, the resource is treated as being from a special origin that always fails the same-origin policy (potentially preventing access to data storage/cookies and some JavaScript APIs). Note: When allow-same-origin is present, a same-origin parent document can still access and interact with the iframe's DOM even if allow-scripts is not set. The allow-scripts token only controls script execution within the embedded browsing context and does not affect DOM access from the parent. allow-scripts Allows the page to run scripts (but not create pop-up windows). If this keyword is not used, this operation is not allowed. allow-storage-access-by-user-activation Experimental Allows a document loaded in the <iframe> to use the Storage Access API to request access to unpartitioned cookies. allow-top-navigation Lets the resource navigate the top-level browsing context (the one named _top). allow-top-navigation-by-user-activation Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture. allow-top-navigation-to-custom-protocols Allows navigations to non-http protocols built into browser or registered by a website. This feature is also activated by allow-popups or allow-top-navigation keyword. Note: When the embedded document has the same origin as the embedding page, it is strongly discouraged to use both allow-scripts and allow-same-origin, as that lets the embedded document remove the sandbox attribute — making it no more secure than not using the sandbox attribute at all. Sandboxing is useless if the attacker can display content outside a sandboxed iframe — such as if the viewer opens the frame in a new tab. Such content should be also served from a separate origin to limit potential damage. Note: When redirecting the user, opening a popup window, or opening a new tab from an embedded page within an <iframe> with the sandbox attribute, the new browsing context is subject to the same sandbox restrictions. This can create issues — for example, if a page embedded within an <iframe> without a sandbox=\"allow-forms\" or sandbox=\"allow-popups-to-escape-sandbox\" attribute set on it opens a new site in a separate tab, form submission in that new browsing context will silently fail.",
|
|
37659
37740
|
"type": {
|
|
37660
37741
|
"token": {
|
|
37661
37742
|
"enum": [
|
|
@@ -37685,10 +37766,12 @@
|
|
|
37685
37766
|
"deprecated": true
|
|
37686
37767
|
},
|
|
37687
37768
|
"src": {
|
|
37769
|
+
"description": "The URL of the page to embed. Use a value of about:blank to embed an empty page that conforms to the same-origin policy. Also note that programmatically removing an <iframe>'s src attribute (e.g., via Element.removeAttribute()) causes about:blank to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS. Note: The about:blank page uses the embedding document's URL as its base URL when resolving any relative URLs, such as anchor links.",
|
|
37688
37770
|
"required": "[itemprop]",
|
|
37689
37771
|
"ineffective": "[srcdoc]"
|
|
37690
37772
|
},
|
|
37691
37773
|
"srcdoc": {
|
|
37774
|
+
"description": "Inline HTML to embed, overriding the src attribute. Its content should follow the syntax of a full HTML document, which includes the doctype directive, <html>, <body> tags, etc., although most of them can be omitted, leaving only the body content. This doc will have about:srcdoc as its location. If a browser does not support the srcdoc attribute, it will fall back to the URL in the src attribute. Note: The about:srcdoc page uses the embedding document's URL as its base URL when resolving any relative URLs, such as anchor links.",
|
|
37692
37775
|
"type": "Any"
|
|
37693
37776
|
},
|
|
37694
37777
|
"width": {
|
|
@@ -37710,9 +37793,11 @@
|
|
|
37710
37793
|
"button",
|
|
37711
37794
|
"checkbox",
|
|
37712
37795
|
"link",
|
|
37796
|
+
"math",
|
|
37713
37797
|
"menuitem",
|
|
37714
37798
|
"menuitemcheckbox",
|
|
37715
37799
|
"menuitemradio",
|
|
37800
|
+
"meter",
|
|
37716
37801
|
"option",
|
|
37717
37802
|
"progressbar",
|
|
37718
37803
|
"radio",
|
|
@@ -37782,11 +37867,12 @@
|
|
|
37782
37867
|
"deprecated": true
|
|
37783
37868
|
},
|
|
37784
37869
|
"alt": {
|
|
37870
|
+
"description": "Defines text that can replace the image in the page. Note: Browsers do not always display images. There are a number of situations in which a browser might not display images, such as: Non-visual browsers (such as those used by people with visual impairments) The user chooses not to display images (saving bandwidth, privacy reasons) The image is invalid or an unsupported type In these cases, the browser may replace the image with the text in the element's alt attribute. For these reasons and others, provide a useful value for alt whenever possible. Setting this attribute to an empty string (alt=\"\") indicates that this image is not a key part of the content (it's decoration or a tracking pixel), and that non-visual browsers may omit it from rendering. Visual browsers will also hide the broken image icon if the alt attribute is empty and the image failed to display. This attribute is also used when copying and pasting the image to text, or saving a linked image to a bookmark.",
|
|
37785
37871
|
"type": "Any"
|
|
37786
37872
|
},
|
|
37787
37873
|
"attributionsrc": {
|
|
37788
|
-
"description": "Specifies that you want the browser to send an Attribution-Reporting-Eligible header along with the image request. On the server-side this is used to trigger sending an Attribution-Reporting-Register-Source or Attribution-Reporting-Register-Trigger header in the response, to register an image-based attribution source or attribution trigger, respectively. Which response header should be sent back depends on the value of the Attribution-Reporting-Eligible header that triggered the registration. The corresponding source or trigger event is set off once the browser receives the response containing the image file. Note: See the Attribution Reporting API for more details. There are two versions of this attribute that you can set: Boolean, i.e., just the attributionsrc name. This specifies that you want the Attribution-Reporting-Eligible header sent to the same server as the src attribute points to. This is fine when you are handling the attribution source or trigger registration on the same server. When registering an attribution trigger this property is optional, and a boolean value will be used if it is omitted. Value containing one or more URLs, for example: html<img src=\"image-file.png\" alt=\"My image file description\" attributionsrc=\"https://a.example/register-source https://b.example/register-source\" /> This is useful in cases where the requested resource is not on a server you control, or you just want to handle registering the attribution source on a different server. In this case, you can specify one or more URLs as the value of attributionsrc. When the resource request occurs the Attribution-Reporting-Eligible header will be sent to the URL(s) specified in attributionSrc in addition to the resource origin. These URLs can then respond with
|
|
37789
|
-
"
|
|
37874
|
+
"description": "Specifies that you want the browser to send an Attribution-Reporting-Eligible header along with the image request. On the server-side this is used to trigger sending an Attribution-Reporting-Register-Source or Attribution-Reporting-Register-Trigger header in the response, to register an image-based attribution source or attribution trigger, respectively. Which response header should be sent back depends on the value of the Attribution-Reporting-Eligible header that triggered the registration. The corresponding source or trigger event is set off once the browser receives the response containing the image file. Note: See the Attribution Reporting API for more details. There are two versions of this attribute that you can set: Boolean, i.e., just the attributionsrc name. This specifies that you want the Attribution-Reporting-Eligible header sent to the same server as the src attribute points to. This is fine when you are handling the attribution source or trigger registration on the same server. When registering an attribution trigger this property is optional, and a boolean value will be used if it is omitted. Value containing one or more URLs, for example: html<img src=\"image-file.png\" alt=\"My image file description\" attributionsrc=\"https://a.example/register-source https://b.example/register-source\" /> This is useful in cases where the requested resource is not on a server you control, or you just want to handle registering the attribution source on a different server. In this case, you can specify one or more URLs as the value of attributionsrc. When the resource request occurs the Attribution-Reporting-Eligible header will be sent to the URL(s) specified in attributionSrc in addition to the resource origin. These URLs can then respond with an Attribution-Reporting-Register-Source or Attribution-Reporting-Register-Trigger header as appropriate to complete registration. Note: Specifying multiple URLs means that multiple attribution sources can be registered on the same feature. You might for example have different campaigns that you are trying to measure the success of, which involve generating different reports on different data.",
|
|
37875
|
+
"deprecated": true
|
|
37790
37876
|
},
|
|
37791
37877
|
"border": {
|
|
37792
37878
|
"description": "The width of a border around the image. Use the border CSS property instead.",
|
|
@@ -37796,6 +37882,7 @@
|
|
|
37796
37882
|
"description": "Indicates if the fetching of the image must be done using a CORS request. Image data from a CORS-enabled image returned from a CORS request can be reused in the <canvas> element without being marked \"tainted\". If the crossorigin attribute is not specified, then a non-CORS request is sent (without the Origin request header), and the browser marks the image as tainted and restricts access to its image data, preventing its usage in <canvas> elements. If the crossorigin attribute is specified, then a CORS request is sent (with the Origin request header); but if the server does not opt into allowing cross-origin access to the image data by the origin site (by not sending any Access-Control-Allow-Origin response header, or by not including the site's origin in any Access-Control-Allow-Origin response header it does send), then the browser blocks the image from loading, and logs a CORS error to the devtools console. Allowed values: anonymous A CORS request is sent with credentials omitted (that is, no cookies, X.509 certificates, or Authorization request header). use-credentials The CORS request is sent with any credentials included (that is, cookies, X.509 certificates, and the Authorization request header). If the server does not opt into sharing credentials with the origin site (by sending back the Access-Control-Allow-Credentials: true response header), then the browser marks the image as tainted and restricts access to its image data. If the attribute has an invalid value, browsers handle it as if the anonymous value was used. See CORS settings attributes for additional information."
|
|
37797
37883
|
},
|
|
37798
37884
|
"decoding": {
|
|
37885
|
+
"description": "This attribute provides a hint to the browser as to whether it should perform image decoding along with rendering the other DOM content in a single presentation step that looks more \"correct\" (sync), or render and present the other DOM content first and then decode the image and present it later (async). In practice, async means that the next paint does not wait for the image to decode. It is often difficult to perceive any noticeable effect when using decoding on static <img> elements. They'll likely be initially rendered as empty images while the image files are fetched (either from the network or from the cache) and then handled independently anyway, so the \"syncing\" of content updates is less apparent. However, the blocking of rendering while decoding happens, while often quite small, can be measured — even if it is difficult to observe with the human eye. See What does the image decoding attribute actually do? for a more detailed analysis (tunetheweb.com, 2023). Using different decoding types can result in more noticeable differences when dynamically inserting <img> elements into the DOM via JavaScript — see HTMLImageElement.decoding for more details. Allowed values: sync Decode the image synchronously along with rendering the other DOM content, and present everything together. async Decode the image asynchronously, after rendering and presenting the other DOM content. auto No preference for the decoding mode; the browser decides what is best for the user. This is the default value.",
|
|
37799
37886
|
"type": {
|
|
37800
37887
|
"enum": ["sync", "async", "auto"],
|
|
37801
37888
|
"invalidValueDefault": "auto",
|
|
@@ -37806,7 +37893,7 @@
|
|
|
37806
37893
|
"description": "Marks the image for observation by the PerformanceElementTiming API. The value given becomes an identifier for the observed image element. See also the elementtiming attribute page."
|
|
37807
37894
|
},
|
|
37808
37895
|
"fetchpriority": {
|
|
37809
|
-
"description": "Provides a hint of the relative priority to use when fetching the image. Allowed values: high Fetch the image at a high priority relative to other images. low Fetch the image at a low priority relative to other images. auto Don't set a preference for the fetch priority. This is the default. It is used if no value or an invalid value is set.
|
|
37896
|
+
"description": "Provides a hint of the relative priority to use when fetching the image. Allowed values: high Fetch the image at a high priority relative to other images. low Fetch the image at a low priority relative to other images. auto Don't set a preference for the fetch priority. This is the default. It is used if no value or an invalid value is set."
|
|
37810
37897
|
},
|
|
37811
37898
|
"height": {
|
|
37812
37899
|
"description": "The intrinsic height of the image, in pixels. Must be an integer without a unit. Note: Including height and width enables the aspect ratio of the image to be calculated by the browser prior to the image being loaded. This aspect ratio is used to reserve the space needed to display the image, reducing or even preventing a layout shift when the image is downloaded and painted to the screen. Reducing layout shift is a major component of good user experience and web performance."
|
|
@@ -37816,11 +37903,12 @@
|
|
|
37816
37903
|
"deprecated": true
|
|
37817
37904
|
},
|
|
37818
37905
|
"ismap": {
|
|
37906
|
+
"description": "This Boolean attribute indicates that the image is part of a server-side map. If so, the coordinates where the user clicked on the image are sent to the server. Note: This attribute is allowed only if the <img> element is a descendant of an <a> element with a valid href attribute. This gives users without pointing devices a fallback destination.",
|
|
37819
37907
|
"type": "Boolean",
|
|
37820
37908
|
"condition": "a[href] img"
|
|
37821
37909
|
},
|
|
37822
37910
|
"loading": {
|
|
37823
|
-
"description": "Indicates how the browser should load the image: eager Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value). lazy Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases.
|
|
37911
|
+
"description": "Indicates how the browser should load the image: eager Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value). lazy Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases. While explicit width and height attributes are recommended for all images to avoid layout shift, they are especially important for lazy-loaded ones. Lazy-loaded images will never be loaded if they do not intersect a visible part of an element, even if loading them would change that, because unloaded images have a width and height of 0. It creates an even more disruptive user experience when the content visible in the viewport reflows in the middle of reading it. The load event is fired after eager-loaded images have been fetched and processed, but before lazy-laded ones are, even if the lazy-loaded images are located within the visual viewport immediately upon initial page load. These images are still loaded as soon as layout completes; they just don't affect the timing of the load event. That means that when load fires, it's possible that any lazy-loaded images located in the visual viewport may not yet be visible. Loading is only deferred when JavaScript is enabled. This is an anti-tracking measure, because if a user agent supported lazy loading when scripting is disabled, it would still be possible for a site to track a user's approximate scroll position throughout a session, by strategically placing images in a page's markup such that a server can track how many images are requested and when."
|
|
37824
37912
|
},
|
|
37825
37913
|
"longdesc": {
|
|
37826
37914
|
"description": "A link to a more detailed description of the image. Possible values are a URL or an element id. Note: This attribute is considered obsolete in the HTML spec. It has an uncertain future; authors should use a WAI-ARIA alternative such as aria-describedby or aria-details.",
|
|
@@ -37834,17 +37922,20 @@
|
|
|
37834
37922
|
"description": "A string indicating which referrer to use when fetching the resource: no-referrer: The Referer header will not be sent. no-referrer-when-downgrade: The Referer header will not be sent to origins without TLS (HTTPS). origin: The sent referrer will be limited to the origin of the referring page: its scheme, host, and port. origin-when-cross-origin: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path. same-origin: A referrer will be sent for same origin, but cross-origin requests will contain no referrer information. strict-origin: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don't send it to a less secure destination (HTTPS→HTTP). strict-origin-when-cross-origin (default): Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP). unsafe-url: The referrer will include the origin and the path (but not the fragment, password, or username). This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins."
|
|
37835
37923
|
},
|
|
37836
37924
|
"sizes": {
|
|
37837
|
-
"description": "One or more
|
|
37925
|
+
"description": "One or more values separated by commas, which can be source sizes or the auto keyword. The spec requires that the sizes attribute to only be present when srcset uses width descriptors. A source size consists of: A media condition, omitted for the last item in the list. A source size value. Media conditions describe properties of the viewport, not the image. For example, (height <= 500px) 1000px proposes using an image source of 1000px width if the viewport height is 500px or less. Because a source size descriptor specifies the width to use for the image during layout, the media condition is typically (but not necessarily) based on the width. Source size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the srcset attribute, when those sources are described using width (w) descriptors. The selected source size affects the intrinsic size of the image (the image's display size if no CSS styling is applied). A source size value can be any non-negative length. It must not use CSS functions other than the math functions. Units are interpreted in the same way as media queries, meaning that all relative length units are relative to the document root rather than the <img> element. For example, an em value is relative to the root font size, not the font size of the image. Percentage values are not allowed. If the sizes attribute is not provided, it has a default value of 100vw (the viewport width). The auto keyword can replace the whole list of sizes or the first entry in the list. It is only valid when combined with loading=\"lazy\", and resolves to the concrete size of the image. Since the intrinsic size of the image is not yet known, width and height attributes (or CSS equivalents) should also be specified to prevent the browser from assuming the default image width of 300px. For better backward compatibility with browsers that do not support auto, you can include fallback sizes after auto in the sizes attribute: html<img loading=\"lazy\" width=\"200\" height=\"200\" sizes=\"auto, (max-width: 30em) 100vw, (max-width: 50em) 50vw, calc(33vw - 100px)\" srcset=\" swing-200.jpg 200w, swing-400.jpg 400w, swing-800.jpg 800w, swing-1600.jpg 1600w \" src=\"swing-400.jpg\" alt=\"Kettlebell Swing\" />"
|
|
37838
37926
|
},
|
|
37839
37927
|
"src": {
|
|
37928
|
+
"description": "The image URL. At least one of src and srcset is required for an <img> element. If srcset is specified, src is used in one of two ways: as a fallback for browsers that don't support srcset. if srcset uses the \"x\" descriptor, then src is equivalent to a source with the density descriptor 1x; that is, the image specified by src is used on low-density screens (such as typical 72 DPI or 96 DPI displays).",
|
|
37840
37929
|
"type": "URL",
|
|
37841
37930
|
"requiredEither": ["srcset"]
|
|
37842
37931
|
},
|
|
37843
37932
|
"srcset": {
|
|
37933
|
+
"description": "One or more strings separated by commas, indicating possible image sources for the user agent to use. Each string is composed of: A URL to an image Optionally, whitespace followed by one of: A width descriptor (a positive integer directly followed by w). It must match the intrinsic width of the referenced image. The width descriptor is divided by the source size given in the sizes attribute to calculate the effective pixel density. For example, to provide an image resource to be used when the renderer needs a 450 pixel wide image, use the width descriptor 450w. When a srcset contains \"w\" descriptors, the browser uses those descriptors together with the sizes attribute to pick a resource. A pixel density descriptor (a positive floating point number directly followed by x). It specifies the condition in which the corresponding image resource should be used as the display's pixel density. For example, to provide an image resource to be used when the pixel density is double the standard density, use the pixel density descriptor 2x or 2.0x. If no descriptor is specified, the source is assigned the default descriptor of 1x. It is incorrect to mix width descriptors and pixel density descriptors in the same srcset attribute. Duplicate descriptors (for instance, two sources in the same srcset which are both described with 2x) are also invalid. Space characters, other than the whitespace separating the URL and the corresponding condition descriptor, are ignored; this includes both leading and trailing space, as well as space before or after each comma. However, if an image candidate string contains no descriptors and no whitespace after the URL, the following image candidate string, if there is one, must begin with one or more whitespace, or the comma will be considered part of the URL. When the <img> element's srcset uses x descriptors, browsers also consider the URL in the src attribute (if present) as a candidate, and assign it a default descriptor of 1x. On the other hand, if the srcset attribute uses width descriptors, src is not considered, and the sizes attribute is used instead. The user agent selects any of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our Responsive images tutorial for an example.",
|
|
37844
37934
|
"type": "Srcset",
|
|
37845
37935
|
"requiredEither": ["src"]
|
|
37846
37936
|
},
|
|
37847
37937
|
"usemap": {
|
|
37938
|
+
"description": "The partial URL (starting with #) of an image map associated with the element. Note: You cannot use this attribute if the <img> element is inside an <a> or <button> element.",
|
|
37848
37939
|
"type": "HashName",
|
|
37849
37940
|
"condition": ":is(:not(a):not(button)) img"
|
|
37850
37941
|
},
|
|
@@ -38357,6 +38448,7 @@
|
|
|
38357
38448
|
},
|
|
38358
38449
|
"attributes": {
|
|
38359
38450
|
"accept": {
|
|
38451
|
+
"description": "Valid for the file input type only, the accept attribute defines which file types are selectable in a file upload control. See the file input type.",
|
|
38360
38452
|
"type": {
|
|
38361
38453
|
"token": "Accept",
|
|
38362
38454
|
"caseInsensitive": true,
|
|
@@ -38366,10 +38458,13 @@
|
|
|
38366
38458
|
"condition": "[type='file' i]"
|
|
38367
38459
|
},
|
|
38368
38460
|
"alpha": {
|
|
38461
|
+
"description": "Valid for the color input type only, the alpha attribute provides the end user with the ability to set the opacity of the color being selected.",
|
|
38462
|
+
"experimental": true,
|
|
38369
38463
|
"type": "Boolean",
|
|
38370
38464
|
"condition": "[type='color' i]"
|
|
38371
38465
|
},
|
|
38372
38466
|
"alt": {
|
|
38467
|
+
"description": "Valid for the image button only, the alt attribute provides alternative text for the image, displaying the value of the attribute if the image src is missing or otherwise fails to load. See the image input type.",
|
|
38373
38468
|
"type": "Any",
|
|
38374
38469
|
"condition": "[type='image' i]"
|
|
38375
38470
|
},
|
|
@@ -38377,6 +38472,7 @@
|
|
|
38377
38472
|
"description": "Controls whether inputted text is automatically capitalized and, if so, in what manner. See the autocapitalize global attribute page for more information."
|
|
38378
38473
|
},
|
|
38379
38474
|
"autocomplete": {
|
|
38475
|
+
"description": "(Not a Boolean attribute!) The autocomplete attribute takes as its value a space-separated string that describes what, if any, type of autocomplete functionality the input should provide. A typical implementation of autocomplete recalls previous values entered in the same input field, but more complex forms of autocomplete can exist. For instance, a browser could integrate with a device's contacts list to autocomplete email addresses in an email input field. See autocomplete for permitted values. The autocomplete attribute is valid on hidden, text, search, url, tel, email, date, month, week, time, datetime-local, number, range, color, and password. This attribute has no effect on input types that do not return numeric or text data, being valid for all input types except checkbox, radio, file, or any of the button types. See the autocomplete attribute for additional information, including information on password security and how autocomplete is slightly different for hidden than for other input types.",
|
|
38380
38476
|
"condition": [
|
|
38381
38477
|
":not([type])",
|
|
38382
38478
|
"[type='hidden' i]",
|
|
@@ -38403,10 +38499,13 @@
|
|
|
38403
38499
|
"description": "Introduced in the HTML Media Capture specification and valid for the file input type only, the capture attribute defines which media—microphone, video, or camera—should be used to capture a new file for upload with file upload control in supporting scenarios. See the file input type."
|
|
38404
38500
|
},
|
|
38405
38501
|
"checked": {
|
|
38502
|
+
"description": "Valid for both radio and checkbox types, checked is a Boolean attribute. If present on a radio type, it indicates that the radio button is the currently selected one in the group of same-named radio buttons. If present on a checkbox type, it indicates that the checkbox is checked by default (when the page loads). It does not indicate whether this checkbox is currently checked: if the checkbox's state is changed, this content attribute does not reflect the change. (Only the HTMLInputElement's checked IDL attribute is updated.) Note: Unlike other input controls, a checkboxes and radio buttons value are only included in the submitted data if they are currently checked. If they are, the name and the value(s) of the checked controls are submitted. For example, if a checkbox whose name is fruit has a value of cherry, and the checkbox is checked, the form data submitted will include fruit=cherry. If the checkbox isn't active, it isn't listed in the form data at all. The default value for checkboxes and radio buttons is on.",
|
|
38406
38503
|
"type": "Boolean",
|
|
38407
38504
|
"condition": ["[type='checkbox' i]", "[type='radio' i]"]
|
|
38408
38505
|
},
|
|
38409
38506
|
"colorspace": {
|
|
38507
|
+
"description": "Valid for the color input type only, the colorspace attribute specifies the color space that is used by the type=\"color\" input. Possible enumerated values are: \"limited-srgb\": The color is in the sRGB color space. This includes rgb(), hsl(), hwb(), and <hex-color> values. The color value is limited to 8-bits per r, g, and b component. This is the default. \"display-p3\": The Display P3 color space, e.g., color(display-p3 1.84 -0.19 0.72 / 0.6)",
|
|
38508
|
+
"experimental": true,
|
|
38410
38509
|
"type": {
|
|
38411
38510
|
"enum": ["limited-srgb", "display-p3"],
|
|
38412
38511
|
"invalidValueDefault": "limited-srgb",
|
|
@@ -38415,6 +38514,7 @@
|
|
|
38415
38514
|
"condition": "[type='color' i]"
|
|
38416
38515
|
},
|
|
38417
38516
|
"dirname": {
|
|
38517
|
+
"description": "Valid for hidden, text, search, url, tel, and email input types, the dirname attribute enables the submission of the directionality of the element. When included, the form control will submit with two name/value pairs: the first being the name and value, and the second being the value of the dirname attribute as the name, with a value of ltr or rtl as set by the browser. html<form action=\"page.html\" method=\"post\"> <label> Fruit: <input type=\"text\" name=\"fruit\" dirname=\"fruit-dir\" value=\"cherry\" /> </label> <input type=\"submit\" /> </form> <!-- page.html?fruit=cherry&fruit-dir=ltr --> When the form above is submitted, the input cause both the name / value pair of fruit=cherry and the dirname / direction pair of fruit-dir=ltr to be sent. For more information, see the dirname attribute.",
|
|
38418
38518
|
"condition": [
|
|
38419
38519
|
":not([type])",
|
|
38420
38520
|
"[type='hidden' i]",
|
|
@@ -38449,6 +38549,7 @@
|
|
|
38449
38549
|
"description": "Valid for the image and submit input types only. See the submit input type for more information."
|
|
38450
38550
|
},
|
|
38451
38551
|
"height": {
|
|
38552
|
+
"description": "Valid for the image input button only, the height is the height of the image file to display to represent the graphical submit button. See the image input type.",
|
|
38452
38553
|
"condition": "[type='image' i]"
|
|
38453
38554
|
},
|
|
38454
38555
|
"id": {
|
|
@@ -38462,6 +38563,7 @@
|
|
|
38462
38563
|
"description": "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."
|
|
38463
38564
|
},
|
|
38464
38565
|
"list": {
|
|
38566
|
+
"description": "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 suggestions, not requirements: users can select from this predefined list or provide a different value. It is valid on text, search, url, tel, email, date, month, week, time, datetime-local, number, range, and color. Per the specifications, the list attribute is not supported by the hidden, password, checkbox, radio, file, or any of the button types. Depending on the browser, the user may see a custom color palette suggested, tic marks along a range, or even an input that opens like a <select> but allows for non-listed values. Check out the browser compatibility table for the other input types. See the <datalist> element.",
|
|
38465
38567
|
"type": "DOMID",
|
|
38466
38568
|
"condition": [
|
|
38467
38569
|
":not([type])",
|
|
@@ -38481,6 +38583,7 @@
|
|
|
38481
38583
|
]
|
|
38482
38584
|
},
|
|
38483
38585
|
"max": {
|
|
38586
|
+
"description": "Valid for date, month, week, time, datetime-local, number, and range, it defines the greatest value in the range of permitted values. If the value entered into the element exceeds this, the element fails constraint validation. If the value of the max attribute isn't a number, then the element has no maximum value. There is a special case: if the data type is periodic (such as for dates or times), the value of max may be lower than the value of min, which indicates that the range may wrap around; for example, this allows you to specify a time range from 10 PM to 4 AM.",
|
|
38484
38587
|
"type": ["DateTime", "Number"],
|
|
38485
38588
|
"condition": [
|
|
38486
38589
|
"[type='date' i]",
|
|
@@ -38493,6 +38596,7 @@
|
|
|
38493
38596
|
]
|
|
38494
38597
|
},
|
|
38495
38598
|
"maxlength": {
|
|
38599
|
+
"description": "Valid for text, search, url, tel, email, and password, it defines the maximum string length (measured in UTF-16 code units) that the user can enter into the field. This must be an integer value of 0 or higher. If no maxlength is specified, or an invalid value is specified, the field has no maximum length. This value must also be greater than or equal to the value of minlength. The input will fail constraint validation if the length of the text entered into the field is greater than maxlength UTF-16 code units long. By default, browsers prevent users from entering more characters than allowed by the maxlength attribute. Constraint validation is only applied when the value is changed by the user. See Client-side validation for more information.",
|
|
38496
38600
|
"condition": [
|
|
38497
38601
|
":not([type])",
|
|
38498
38602
|
"[type='text' i]",
|
|
@@ -38504,6 +38608,7 @@
|
|
|
38504
38608
|
]
|
|
38505
38609
|
},
|
|
38506
38610
|
"min": {
|
|
38611
|
+
"description": "Valid for date, month, week, time, datetime-local, number, and range, it defines the most negative value in the range of permitted values. If the value entered into the element is less than this, the element fails constraint validation. If the value of the min attribute isn't a number, then the element has no minimum value. This value must be less than or equal to the value of the max attribute. If the min attribute is present but is not specified or is invalid, no min value is applied. If the min attribute is valid and a non-empty value is less than the minimum allowed by the min attribute, constraint validation will prevent form submission. See Client-side validation for more information. There is a special case: if the data type is periodic (such as for dates or times), the value of max may be lower than the value of min, which indicates that the range may wrap around; for example, this allows you to specify a time range from 10 PM to 4 AM.",
|
|
38507
38612
|
"type": ["DateTime", "Number"],
|
|
38508
38613
|
"condition": [
|
|
38509
38614
|
"[type='date' i]",
|
|
@@ -38516,6 +38621,7 @@
|
|
|
38516
38621
|
]
|
|
38517
38622
|
},
|
|
38518
38623
|
"minlength": {
|
|
38624
|
+
"description": "Valid for text, search, url, tel, email, and password, it defines the minimum string length (measured in UTF-16 code units) that the user can enter into the entry field. This must be a non-negative integer value smaller than or equal to the value specified by maxlength. If no minlength is specified, or an invalid value is specified, the input has no minimum length. The input will fail constraint validation if the length of the text entered into the field is fewer than minlength UTF-16 code units long, preventing form submission. Constraint validation is only applied when the value is changed by the user. See Client-side validation for more information.",
|
|
38519
38625
|
"condition": [
|
|
38520
38626
|
":not([type])",
|
|
38521
38627
|
"[type='text' i]",
|
|
@@ -38527,6 +38633,7 @@
|
|
|
38527
38633
|
]
|
|
38528
38634
|
},
|
|
38529
38635
|
"multiple": {
|
|
38636
|
+
"description": "The Boolean multiple attribute, if set, means the user can enter comma separated email addresses in the email widget or can choose more than one file with the file input. See the email and file input type.",
|
|
38530
38637
|
"type": "Boolean",
|
|
38531
38638
|
"condition": ["[type='email' i]", "[type='file' i]"]
|
|
38532
38639
|
},
|
|
@@ -38538,6 +38645,7 @@
|
|
|
38538
38645
|
"nonStandard": true
|
|
38539
38646
|
},
|
|
38540
38647
|
"pattern": {
|
|
38648
|
+
"description": "Valid for text, search, url, tel, email, and password, the pattern attribute is used to compile a regular expression that the input's value must match in order for the value to pass constraint validation. It must be a valid JavaScript regular expression, as used by the RegExp type, and as documented in our guide on regular expressions. No forward slashes should be specified around the pattern text. When compiling the regular expression: the pattern will be implicitly wrapped with ^(?: and )$, such that the match is required against the entire input value, i.e., ^(?:<pattern>)$. the 'v' flag is specified so that the pattern is treated as a sequence of Unicode code points, instead of as ASCII. If the pattern attribute is present but is not specified or is invalid, no regular expression is applied and this attribute is ignored completely. If the pattern attribute is valid and a non-empty value does not match the pattern, constraint validation will prevent form submission. If the multiple is present, the compiled regular expression is matched against each comma separated value. Note: If using the pattern attribute, inform the user about the expected format by including explanatory text nearby. You can also include a title attribute to explain what the requirements are to match the pattern; most browsers will display this title as a tooltip. The visible explanation is required for accessibility. The tooltip is an enhancement. See Client-side validation for more information.",
|
|
38541
38649
|
"type": "Pattern",
|
|
38542
38650
|
"condition": [
|
|
38543
38651
|
":not([type])",
|
|
@@ -38550,6 +38658,7 @@
|
|
|
38550
38658
|
]
|
|
38551
38659
|
},
|
|
38552
38660
|
"placeholder": {
|
|
38661
|
+
"description": "Valid for text, search, url, tel, email, password, and number, the placeholder attribute provides a brief hint to the user as to what kind of information is expected in the field. It should be a word or short phrase that provides a hint as to the expected type of data, rather than an explanation or prompt. The text must not include carriage returns or line feeds. So for example if a field is expected to capture a user's first name, and its label is \"First Name\", a suitable placeholder might be \"e.g., Mustafa\". Note: The placeholder attribute is not as semantically useful as other ways to explain your form, and can cause unexpected technical issues with your content. See Labels for more information.",
|
|
38553
38662
|
"type": "OneLineAny",
|
|
38554
38663
|
"condition": [
|
|
38555
38664
|
":not([type])",
|
|
@@ -38563,10 +38672,12 @@
|
|
|
38563
38672
|
]
|
|
38564
38673
|
},
|
|
38565
38674
|
"popovertarget": {
|
|
38675
|
+
"description": "Turns an <input type=\"button\"> element into a popover control button; takes the ID of the popover element to control as its value. See the Popover API landing page for more details. Establishing a relationship between a popover and its invoker button using the popovertarget attribute has two additional useful effects: The browser creates an implicit aria-details and aria-expanded relationship between popover and invoker, and places the popover in a logical position in the keyboard focus navigation order when shown. This makes the popover more accessible to keyboard and assistive technology (AT) users (see also Popover accessibility features). The browser creates an implicit anchor reference between the two, making it very convenient to position popovers relative to their controls using CSS anchor positioning. See Popover anchor positioning for more details.",
|
|
38566
38676
|
"type": "DOMID",
|
|
38567
38677
|
"condition": ["[type='button' i]", "[type='image' i]", "[type='reset' i]", "[type='submit' i]"]
|
|
38568
38678
|
},
|
|
38569
38679
|
"popovertargetaction": {
|
|
38680
|
+
"description": "Specifies the action to be performed on a popover element being controlled by a control <input type=\"button\">. Possible values are: \"hide\" The button will hide a shown popover. If you try to hide an already hidden popover, no action will be taken. \"show\" The button will show a hidden popover. If you try to show an already showing popover, no action will be taken. \"toggle\" The button will toggle a popover between showing and hidden. If the popover is hidden, it will be shown; if the popover is showing, it will be hidden. If popovertargetaction is omitted, \"toggle\" is the default action that will be performed by the control button.",
|
|
38570
38681
|
"type": {
|
|
38571
38682
|
"enum": ["toggle", "show", "hide"],
|
|
38572
38683
|
"disallowToSurroundBySpaces": true,
|
|
@@ -38576,6 +38687,7 @@
|
|
|
38576
38687
|
"condition": ["[type='button' i]", "[type='image' i]", "[type='reset' i]", "[type='submit' i]"]
|
|
38577
38688
|
},
|
|
38578
38689
|
"readonly": {
|
|
38690
|
+
"description": "A Boolean attribute which, if present, indicates that the user should not be able to edit the value of the input. The readonly attribute is supported by the text, search, url, tel, email, date, month, week, time, datetime-local, number, and password input types. See the HTML attribute: readonly for more information.",
|
|
38579
38691
|
"condition": [
|
|
38580
38692
|
":not([type])",
|
|
38581
38693
|
"[type='text' i]",
|
|
@@ -38593,6 +38705,7 @@
|
|
|
38593
38705
|
]
|
|
38594
38706
|
},
|
|
38595
38707
|
"required": {
|
|
38708
|
+
"description": "required is a Boolean attribute which, if present, indicates that the user must specify a value for the input before the owning form can be submitted. The required attribute is supported by text, search, url, tel, email, date, month, week, time, datetime-local, number, password, checkbox, radio, and file inputs. See Client-side validation and the HTML attribute: required for more information.",
|
|
38596
38709
|
"condition": [
|
|
38597
38710
|
":not([type])",
|
|
38598
38711
|
"[type='text' i]",
|
|
@@ -38617,6 +38730,7 @@
|
|
|
38617
38730
|
"nonStandard": true
|
|
38618
38731
|
},
|
|
38619
38732
|
"size": {
|
|
38733
|
+
"description": "Valid for email, password, tel, url, and text, the size attribute specifies how much of the input is shown. Basically creates same result as setting CSS width property with a few specialties. The actual unit of the value depends on the input type. For password and text, it is a number of characters (or em units) with a default value of 20, and for others, it is pixels (or px units). CSS width takes precedence over the size attribute.",
|
|
38620
38734
|
"type": {
|
|
38621
38735
|
"type": "integer",
|
|
38622
38736
|
"gt": 0
|
|
@@ -38633,9 +38747,11 @@
|
|
|
38633
38747
|
"defaultValue": "20"
|
|
38634
38748
|
},
|
|
38635
38749
|
"src": {
|
|
38750
|
+
"description": "Valid for the image input button only, the src is string specifying the URL of the image file to display to represent the graphical submit button. See the image input type.",
|
|
38636
38751
|
"condition": "[type='image' i]"
|
|
38637
38752
|
},
|
|
38638
38753
|
"step": {
|
|
38754
|
+
"description": "Valid for date, month, week, time, datetime-local, number, and range, the step attribute is a number that specifies the granularity that the value must adhere to. Only values which are a whole number of steps from the step base are valid. The step base is min if specified, value otherwise, or 0 if neither is provided (except for week, which has a default step base of −259,200,000, representing the start of week 1970-W01). If not explicitly included: step defaults to 1 for number and range. Each date/time input type has a default step value appropriate for the type; see the individual input pages: date, datetime-local, month, time, and week. The value must be a positive number—integer or float—or the special value any, which means no stepping is implied, and any value is allowed (barring other constraints, such as min and max). For example, if you have <input type=\"number\" min=\"10\" step=\"2\">, then any even integer, 10 or greater, is valid. If omitted, <input type=\"number\">, any integer is valid, but floats (like 4.2) are not valid, because step defaults to 1. For 4.2 to be valid, step would have had to be set to any, 0.1, 0.2, or the min value would have had to be a number ending in .2, such as <input type=\"number\" min=\"-5.2\">. Note: When the data entered by the user doesn't adhere to the stepping configuration, the value is considered invalid in constraint validation and will match the :invalid pseudoclass. See Client-side validation for more information.",
|
|
38639
38755
|
"type": [
|
|
38640
38756
|
"Number",
|
|
38641
38757
|
{
|
|
@@ -38653,6 +38769,12 @@
|
|
|
38653
38769
|
"[type='range' i]"
|
|
38654
38770
|
]
|
|
38655
38771
|
},
|
|
38772
|
+
"switch": {
|
|
38773
|
+
"description": "Valid for checkbox input only, switch is a Boolean attribute that indicates whether the checkbox input should be rendered as a switch. Note: This attribute is still experimental and has limited browser support. The attribute is ignored on unsupported browsers.",
|
|
38774
|
+
"experimental": true,
|
|
38775
|
+
"type": "Boolean",
|
|
38776
|
+
"condition": ["[type='checkbox' i]"]
|
|
38777
|
+
},
|
|
38656
38778
|
"tabindex": {
|
|
38657
38779
|
"description": "Global attribute valid for all elements, including all the input types, an integer attribute indicating if the element can take input focus (is focusable), if it should participate to sequential keyboard navigation. As all input types except for input of type hidden are focusable, this attribute should not be used on form controls, because doing so would require the management of the focus order for all elements within the document with the risk of harming usability and accessibility if done incorrectly."
|
|
38658
38780
|
},
|
|
@@ -38660,6 +38782,7 @@
|
|
|
38660
38782
|
"description": "Global attribute valid for all elements, including all input types, containing a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip. The title should NOT be used as the primary explanation of the purpose of the form control. Instead, use the <label> element with a for attribute set to the form control's id attribute. See Labels below."
|
|
38661
38783
|
},
|
|
38662
38784
|
"type": {
|
|
38785
|
+
"description": "A string specifying the type of control to render. For example, to create a checkbox, a value of checkbox is used. If omitted (or an unknown value is specified), the input type text is used, creating a plaintext input field. Permitted values are listed in Input types above.",
|
|
38663
38786
|
"type": {
|
|
38664
38787
|
"enum": [
|
|
38665
38788
|
"hidden",
|
|
@@ -38691,6 +38814,7 @@
|
|
|
38691
38814
|
"defaultValue": "text"
|
|
38692
38815
|
},
|
|
38693
38816
|
"value": {
|
|
38817
|
+
"description": "The input control's value. When specified in the HTML, this is the initial value, and from then on it can be altered or retrieved at any time using JavaScript to access the respective HTMLInputElement object's value property. The value attribute is always optional, though should be considered mandatory for checkbox, radio, and hidden.",
|
|
38694
38818
|
"type": "Any"
|
|
38695
38819
|
},
|
|
38696
38820
|
"webkitdirectory": {
|
|
@@ -38698,6 +38822,7 @@
|
|
|
38698
38822
|
"nonStandard": true
|
|
38699
38823
|
},
|
|
38700
38824
|
"width": {
|
|
38825
|
+
"description": "Valid for the image input button only, the width is the width of the image file to display to represent the graphical submit button. See the image input type.",
|
|
38701
38826
|
"condition": "[type='image' i]"
|
|
38702
38827
|
}
|
|
38703
38828
|
}
|
|
@@ -38730,9 +38855,11 @@
|
|
|
38730
38855
|
},
|
|
38731
38856
|
"attributes": {
|
|
38732
38857
|
"cite": {
|
|
38858
|
+
"description": "This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system.",
|
|
38733
38859
|
"type": "URL"
|
|
38734
38860
|
},
|
|
38735
38861
|
"datetime": {
|
|
38862
|
+
"description": "This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated timestamp. For the format of the string without a time, see Format of a valid date string. The format of the string if it includes both date and time is covered in Format of a valid local date and time string.",
|
|
38736
38863
|
"type": "DateTime"
|
|
38737
38864
|
}
|
|
38738
38865
|
}
|
|
@@ -38821,6 +38948,7 @@
|
|
|
38821
38948
|
},
|
|
38822
38949
|
"attributes": {
|
|
38823
38950
|
"for": {
|
|
38951
|
+
"description": "The value is the id of the labelable form control in the same document, associating the <label> with that form control. Note that its JavaScript reflection property is htmlFor.",
|
|
38824
38952
|
"type": "DOMID"
|
|
38825
38953
|
}
|
|
38826
38954
|
}
|
|
@@ -38889,6 +39017,7 @@
|
|
|
38889
39017
|
"deprecated": true
|
|
38890
39018
|
},
|
|
38891
39019
|
"value": {
|
|
39020
|
+
"description": "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 that follow this one continue numbering from the value set. This attribute has no meaning for unordered lists (<ul>) or for menus (<menu>).",
|
|
38892
39021
|
"type": "Int",
|
|
38893
39022
|
"condition": "ol > li"
|
|
38894
39023
|
}
|
|
@@ -38925,6 +39054,7 @@
|
|
|
38925
39054
|
},
|
|
38926
39055
|
"attributes": {
|
|
38927
39056
|
"as": {
|
|
39057
|
+
"description": "This attribute is required when rel=\"preload\" has been set on the <link> element, optional when rel=\"modulepreload\" has been set, and otherwise should not be used. It specifies the type of content being loaded by the <link>, which is necessary for request matching, application of correct content security policy, and setting of correct Accept request header. Furthermore, rel=\"preload\" uses this as a signal for request prioritization. The table below lists the valid values for this attribute and the elements or resources they apply to. Value Applies To audio <audio> elements document <iframe> and <frame> elements embed <embed> elements fetch fetch, XHR Note: This value also requires <link> to contain the crossorigin attribute, see CORS-enabled fetches. font CSS @font-face Note: This value also requires <link> to contain the crossorigin attribute, see CORS-enabled fetches. image <img> and <picture> elements with srcset or imageset attributes, SVG <image> elements, CSS *-image rules object <object> elements script <script> elements, Worker importScripts style <link rel=stylesheet> elements, CSS @import track <track> elements video <video> elements worker Worker, SharedWorker",
|
|
38928
39058
|
"type": {
|
|
38929
39059
|
"enum": [
|
|
38930
39060
|
"fetch",
|
|
@@ -38953,6 +39083,7 @@
|
|
|
38953
39083
|
"condition": ["[rel='preload' i]", "[rel='modulepreload' i]"]
|
|
38954
39084
|
},
|
|
38955
39085
|
"blocking": {
|
|
39086
|
+
"description": "This attribute explicitly indicates that certain operations should be blocked until specific conditions are met. It must only be used when the rel attribute contains the expect or stylesheet keywords. With rel=\"expect\", it indicates that operations should be blocked until a specific DOM node has been parsed. With rel=\"stylesheet\", it indicates that operations should be blocked until an external stylesheet and its critical subresources have been fetched and applied to the document. The operations that are to be blocked must be a space-separated list of blocking tokens listed below. Currently there is only one token: render: The rendering of content on the screen is blocked. Note: Only link elements in the document's <head> can possibly block rendering. By default, a link element with rel=\"stylesheet\" in the <head> blocks rendering when the browser discovers it during parsing. If such a link element is added dynamically via script, you must additionally set blocking = \"render\" for it to block rendering.",
|
|
38956
39087
|
"type": {
|
|
38957
39088
|
"token": {
|
|
38958
39089
|
"enum": ["render"]
|
|
@@ -38975,28 +39106,32 @@
|
|
|
38975
39106
|
"description": "This enumerated attribute indicates whether CORS must be used when fetching the resource. CORS-enabled images can be reused in the <canvas> element without being tainted. The allowed values are: anonymous A cross-origin request (i.e., with an Origin HTTP header) is performed, but no credential is sent (i.e., no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the Access-Control-Allow-Origin HTTP header) the resource will be tainted and its usage restricted. use-credentials A cross-origin request (i.e., with an Origin HTTP header) is performed along with a credential sent (i.e., a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials HTTP header), the resource will be tainted and its usage restricted. If the attribute is not present, the resource is fetched without a CORS request (i.e., without sending the Origin HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword anonymous was used. See CORS settings attributes for additional information."
|
|
38976
39107
|
},
|
|
38977
39108
|
"disabled": {
|
|
39109
|
+
"description": "For rel=\"stylesheet\" only, the disabled Boolean attribute indicates whether the described stylesheet should be loaded and applied to the document. If disabled is specified in the HTML when it is loaded, the stylesheet will not be loaded during page load. Instead, the stylesheet will be loaded on-demand, if and when the disabled attribute is changed to false or removed. Setting the disabled property in the DOM causes the stylesheet to be removed from the document's Document.styleSheets list.",
|
|
38978
39110
|
"type": "Boolean"
|
|
38979
39111
|
},
|
|
38980
39112
|
"fetchpriority": {
|
|
38981
|
-
"description": "Provides a hint of the relative priority to use when fetching a resource of a particular type. Allowed values: high Fetch the resource at a high priority relative to other resources of the same type. low Fetch the resource at a low priority relative to other resources of the same type. auto Don't set a preference for the fetch priority. This is the default. It is used if no value or an invalid value is set.
|
|
39113
|
+
"description": "Provides a hint of the relative priority to use when fetching a resource of a particular type. Allowed values: high Fetch the resource at a high priority relative to other resources of the same type. low Fetch the resource at a low priority relative to other resources of the same type. auto Don't set a preference for the fetch priority. This is the default. It is used if no value or an invalid value is set."
|
|
38982
39114
|
},
|
|
38983
39115
|
"href": {
|
|
38984
39116
|
"description": "This attribute specifies the URL of the linked resource. A URL can be absolute or relative."
|
|
38985
39117
|
},
|
|
38986
39118
|
"hreflang": {
|
|
38987
|
-
"description": "This attribute indicates the language of the linked resource. It is purely advisory.
|
|
39119
|
+
"description": "This attribute indicates the language of the linked resource. It is purely advisory. Values should be valid BCP 47 language tags. Use this attribute only if the href attribute is present."
|
|
38988
39120
|
},
|
|
38989
39121
|
"imagesizes": {
|
|
39122
|
+
"description": "For rel=\"preload\" and as=\"image\" only, the imagesizes attribute has similar syntax and semantics as the sizes attribute that indicates to preload the appropriate resource used by an img element with corresponding values for its srcset and sizes attributes.",
|
|
38990
39123
|
"type": "SourceSizeList",
|
|
38991
39124
|
"condition": "[imagesrcset][rel~='preload' i][as='image' i]",
|
|
38992
39125
|
"required": "[imagesrcset]"
|
|
38993
39126
|
},
|
|
38994
39127
|
"imagesrcset": {
|
|
39128
|
+
"description": "For rel=\"preload\" and as=\"image\" only, the imagesrcset attribute has similar syntax and semantics as the srcset attribute that indicates to preload the appropriate resource used by an img element with corresponding values for its srcset and sizes attributes.",
|
|
38995
39129
|
"type": "Srcset",
|
|
38996
39130
|
"condition": "[imagesizes][rel~='preload' i][as='image' i]",
|
|
38997
39131
|
"required": "[imagesizes]"
|
|
38998
39132
|
},
|
|
38999
39133
|
"integrity": {
|
|
39134
|
+
"description": "Contains inline metadata — a base64-encoded cryptographic hash of the resource (file) you're telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered without unexpected manipulation. The attribute must only be specified when the rel attribute is specified to stylesheet, preload, or modulepreload. See Subresource Integrity.",
|
|
39000
39135
|
"condition": ["[rel~='stylesheet' i]", "[rel~='preload' i]", "[rel~='modulepreload' i]"]
|
|
39001
39136
|
},
|
|
39002
39137
|
"itemprop": {
|
|
@@ -39006,9 +39141,10 @@
|
|
|
39006
39141
|
"description": "This attribute specifies the media that the linked resource applies to. Its value must be a media type / media query. This attribute is mainly useful when linking to external stylesheets — it allows the user agent to pick the best adapted one for the device it runs on."
|
|
39007
39142
|
},
|
|
39008
39143
|
"referrerpolicy": {
|
|
39009
|
-
"description": "A string indicating which referrer to use when fetching the resource
|
|
39144
|
+
"description": "A string indicating which referrer to use when fetching the resource. For detailed explanations and examples of each policy, see the Referrer-Policy header documentation. no-referrer means that the Referer header will not be sent. no-referrer-when-downgrade means that no Referer header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent's default behavior, if no policy is otherwise specified. origin means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port. origin-when-cross-origin means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer's path. same-origin means that the referrer (origin, path, and query string) is sent for same-origin requests, but no referrer is sent for cross-origin requests. strict-origin means that only the origin is sent when the protocol security level stays the same (HTTPS→HTTPS). No referrer is sent to less secure destinations (HTTPS→HTTP). This is important for HTTPS pages because it prevents leaking referrer information to insecure origins. strict-origin-when-cross-origin means that the full referrer is sent for same-origin requests. For cross-origin requests, only the origin is sent when the protocol stays the same (HTTPS→HTTPS), and no referrer is sent when downgrading to HTTP. This is the default value, which balances functionality with privacy and security for HTTPS sites. unsafe-url means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins."
|
|
39010
39145
|
},
|
|
39011
39146
|
"rel": {
|
|
39147
|
+
"description": "This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of link type values.",
|
|
39012
39148
|
"type": "LinkTypeForLinkElement",
|
|
39013
39149
|
"requiredEither": ["itemprop"]
|
|
39014
39150
|
},
|
|
@@ -39018,6 +39154,7 @@
|
|
|
39018
39154
|
"deprecated": true
|
|
39019
39155
|
},
|
|
39020
39156
|
"sizes": {
|
|
39157
|
+
"description": "This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the rel contains a value of icon or a non-standard type such as Apple's apple-touch-icon. It may have the following values: any, meaning that the icon can be scaled to any size as it is in a vector format, like image/svg+xml. a white-space separated list of sizes, each in the format <width in pixels>x<height in pixels> or <width in pixels>X<height in pixels>. Each of these sizes must be contained in the resource. Note: Most icon formats are only able to store one single icon; therefore, most of the time, the sizes attribute contains only one entry. Microsoft's ICO format and Apple's ICNS format can store multiple icon sizes in a single file. ICO has better browser support, so you should use this format if cross-browser support is a concern.",
|
|
39021
39158
|
"type": {
|
|
39022
39159
|
"token": "IconSize",
|
|
39023
39160
|
"caseInsensitive": true,
|
|
@@ -39109,6 +39246,7 @@
|
|
|
39109
39246
|
},
|
|
39110
39247
|
"attributes": {
|
|
39111
39248
|
"name": {
|
|
39249
|
+
"description": "The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be equal to the value of the name attribute of another <map> element in the same document. If the id attribute is also specified, both attributes must have the same value.",
|
|
39112
39250
|
"type": "NoEmptyAny"
|
|
39113
39251
|
}
|
|
39114
39252
|
}
|
|
@@ -39320,6 +39458,7 @@
|
|
|
39320
39458
|
},
|
|
39321
39459
|
"attributes": {
|
|
39322
39460
|
"charset": {
|
|
39461
|
+
"description": "This attribute declares the document's character encoding. If the attribute is present, its value must be an ASCII case-insensitive match for the string \"utf-8\", because UTF-8 is the only valid encoding for HTML5 documents. <meta> elements which declare a character encoding must be located entirely within the first 1024 bytes of the document.",
|
|
39323
39462
|
"type": {
|
|
39324
39463
|
"enum": ["utf-8"],
|
|
39325
39464
|
"caseInsensitive": true
|
|
@@ -39327,11 +39466,13 @@
|
|
|
39327
39466
|
"condition": [":not([itemprop])", ":not([name])", ":not([http-equiv])"]
|
|
39328
39467
|
},
|
|
39329
39468
|
"content": {
|
|
39469
|
+
"description": "This attribute contains the value for the http-equiv or name attribute, depending on which is used.",
|
|
39330
39470
|
"type": "Any",
|
|
39331
39471
|
"required": ["[name]", "[http-equiv]", "[itemprop]"],
|
|
39332
39472
|
"condition": ["[name]", "[http-equiv]", "[itemprop]"]
|
|
39333
39473
|
},
|
|
39334
39474
|
"http-equiv": {
|
|
39475
|
+
"description": "Defines a pragma directive, which are instructions for the browser for processing the document. The attribute's name is short for http-equivalent because the allowed values are names of equivalent HTTP headers.",
|
|
39335
39476
|
"type": {
|
|
39336
39477
|
"enum": [
|
|
39337
39478
|
"content-type",
|
|
@@ -39349,9 +39490,11 @@
|
|
|
39349
39490
|
"condition": [":not([name])", ":not([http-equiv])", ":not([charset])"]
|
|
39350
39491
|
},
|
|
39351
39492
|
"media": {
|
|
39493
|
+
"description": "The media attribute defines which media the theme color defined in the content attribute should be applied to. Its value is a media query, which defaults to all if the attribute is missing. This attribute is only relevant when the element's name attribute is set to theme-color. Otherwise, it has no effect, and should not be included.",
|
|
39352
39494
|
"condition": "[name='theme-color']"
|
|
39353
39495
|
},
|
|
39354
39496
|
"name": {
|
|
39497
|
+
"description": "The name and content attributes can be used together to provide document metadata in terms of name-value pairs, with the name attribute giving the metadata name, and the content attribute giving the value.",
|
|
39355
39498
|
"type": "Any",
|
|
39356
39499
|
"requiredEither": ["itemprop", "http-equiv", "charset"],
|
|
39357
39500
|
"condition": [":not([itemprop])", ":not([http-equiv])", ":not([charset])"]
|
|
@@ -39371,7 +39514,7 @@
|
|
|
39371
39514
|
]
|
|
39372
39515
|
},
|
|
39373
39516
|
"aria": {
|
|
39374
|
-
"implicitRole": "
|
|
39517
|
+
"implicitRole": "meter",
|
|
39375
39518
|
"permittedRoles": false,
|
|
39376
39519
|
"properties": {
|
|
39377
39520
|
"global": true,
|
|
@@ -39398,21 +39541,27 @@
|
|
|
39398
39541
|
},
|
|
39399
39542
|
"attributes": {
|
|
39400
39543
|
"high": {
|
|
39544
|
+
"description": "The lower numeric bound of the high end of the measured range. This must be less than the maximum value (max attribute), and it also must be greater than the low value and minimum value (low attribute and min attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the high value is equal to the maximum value.",
|
|
39401
39545
|
"type": "Number"
|
|
39402
39546
|
},
|
|
39403
39547
|
"low": {
|
|
39548
|
+
"description": "The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (min attribute), and it also must be less than the high value and maximum value (high attribute and max attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the low value is equal to the minimum value.",
|
|
39404
39549
|
"type": "Number"
|
|
39405
39550
|
},
|
|
39406
39551
|
"max": {
|
|
39552
|
+
"description": "The upper numeric bound of the measured range. This must be greater than the minimum value (min attribute), if specified. If unspecified, the maximum value is 1.",
|
|
39407
39553
|
"type": "Number"
|
|
39408
39554
|
},
|
|
39409
39555
|
"min": {
|
|
39556
|
+
"description": "The lower numeric bound of the measured range. This must be less than the maximum value (max attribute), if specified. If unspecified, the minimum value is 0.",
|
|
39410
39557
|
"type": "Number"
|
|
39411
39558
|
},
|
|
39412
39559
|
"optimum": {
|
|
39560
|
+
"description": "This attribute indicates the optimal numeric value. It must be within the range (as defined by the min attribute and max attribute). When used with the low attribute and high attribute, it gives an indication where along the range is considered preferable. For example, if it is between the min attribute and the low attribute, then the lower range is considered preferred. The browser may color the meter's bar differently depending on whether the value is less than or equal to the optimum value.",
|
|
39413
39561
|
"type": "Number"
|
|
39414
39562
|
},
|
|
39415
39563
|
"value": {
|
|
39564
|
+
"description": "The current numeric value. This must be between the minimum and maximum values (min attribute and max attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the min attribute and max attribute, the value is equal to the nearest end of the range. Note: Unless the value attribute is between 0 and 1 (inclusive), the min and max attributes should define the range so that the value attribute's value is within it.",
|
|
39416
39565
|
"type": "Number"
|
|
39417
39566
|
}
|
|
39418
39567
|
}
|
|
@@ -39600,6 +39749,7 @@
|
|
|
39600
39749
|
"deprecated": true
|
|
39601
39750
|
},
|
|
39602
39751
|
"data": {
|
|
39752
|
+
"description": "The address of the resource as a valid URL. At least one of data and type must be defined.",
|
|
39603
39753
|
"type": "URL",
|
|
39604
39754
|
"requiredEither": ["type"]
|
|
39605
39755
|
},
|
|
@@ -39614,6 +39764,7 @@
|
|
|
39614
39764
|
"description": "The height of the displayed resource, as in <integer> in CSS pixels."
|
|
39615
39765
|
},
|
|
39616
39766
|
"name": {
|
|
39767
|
+
"description": "The name of valid browsing context (HTML5), or the name of the control (HTML 4). The name becomes a property of the Window and Document objects, containing a reference to the embedded window or the element itself.",
|
|
39617
39768
|
"type": "NavigableTargetName"
|
|
39618
39769
|
},
|
|
39619
39770
|
"standby": {
|
|
@@ -39621,6 +39772,7 @@
|
|
|
39621
39772
|
"deprecated": true
|
|
39622
39773
|
},
|
|
39623
39774
|
"type": {
|
|
39775
|
+
"description": "The content type of the resource specified by data. At least one of data and type must be defined.",
|
|
39624
39776
|
"type": "MIMEType",
|
|
39625
39777
|
"requiredEither": ["data"]
|
|
39626
39778
|
},
|
|
@@ -39692,12 +39844,15 @@
|
|
|
39692
39844
|
"nonStandard": true
|
|
39693
39845
|
},
|
|
39694
39846
|
"reversed": {
|
|
39847
|
+
"description": "This Boolean attribute specifies that the list's items are in reverse order. Items will be numbered from high to low.",
|
|
39695
39848
|
"type": "Boolean"
|
|
39696
39849
|
},
|
|
39697
39850
|
"start": {
|
|
39851
|
+
"description": "An integer to start counting from for the list items. Always an Arabic numeral (1, 2, 3, etc.), even when the numbering type is letters or Roman numerals. For example, to start numbering elements from the letter \"d\" or the Roman numeral \"iv,\" use start=\"4\".",
|
|
39698
39852
|
"type": "Int"
|
|
39699
39853
|
},
|
|
39700
39854
|
"type": {
|
|
39855
|
+
"description": "Sets the numbering type: a for lowercase letters A for uppercase letters i for lowercase Roman numerals I for uppercase Roman numerals 1 for numbers (default) The specified type is used for the entire list unless a different type attribute is used on an enclosed <li> element. Note: Unless the type of the list number matters (like legal or technical documents where items are referenced by their number/letter), use the CSS list-style-type property instead.",
|
|
39701
39856
|
"type": {
|
|
39702
39857
|
"enum": ["1", "a", "A", "i", "I"],
|
|
39703
39858
|
"caseInsensitive": false,
|
|
@@ -39739,6 +39894,7 @@
|
|
|
39739
39894
|
"description": "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."
|
|
39740
39895
|
},
|
|
39741
39896
|
"label": {
|
|
39897
|
+
"description": "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.",
|
|
39742
39898
|
"type": "Any",
|
|
39743
39899
|
"required": true
|
|
39744
39900
|
}
|
|
@@ -39810,12 +39966,15 @@
|
|
|
39810
39966
|
"description": "If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won't receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled <optgroup> element."
|
|
39811
39967
|
},
|
|
39812
39968
|
"label": {
|
|
39969
|
+
"description": "This attribute is text for the label indicating the meaning of the option. If the label attribute isn't defined, its value is that of the element text content.",
|
|
39813
39970
|
"type": "Any"
|
|
39814
39971
|
},
|
|
39815
39972
|
"selected": {
|
|
39973
|
+
"description": "If present, this Boolean attribute indicates that the option is initially selected. If the <option> element is the descendant of a <select> element whose multiple attribute is not set, only one single <option> of this <select> element may have the selected attribute.",
|
|
39816
39974
|
"type": "Boolean"
|
|
39817
39975
|
},
|
|
39818
39976
|
"value": {
|
|
39977
|
+
"description": "The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element.",
|
|
39819
39978
|
"type": "Any"
|
|
39820
39979
|
}
|
|
39821
39980
|
}
|
|
@@ -39845,6 +40004,7 @@
|
|
|
39845
40004
|
},
|
|
39846
40005
|
"attributes": {
|
|
39847
40006
|
"for": {
|
|
40007
|
+
"description": "A space-separated list of other elements' ids, indicating that those elements contributed input values to (or otherwise affected) the calculation.",
|
|
39848
40008
|
"type": {
|
|
39849
40009
|
"token": "DOMID",
|
|
39850
40010
|
"separator": "space",
|
|
@@ -39989,7 +40149,7 @@
|
|
|
39989
40149
|
{
|
|
39990
40150
|
"name": "pre",
|
|
39991
40151
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/pre",
|
|
39992
|
-
"description": "The <pre> HTML element represents preformatted text which is to be presented exactly as written in the HTML file. The text is typically rendered using a non-proportional, or monospaced font. Whitespace inside this element is displayed as written, with one exception. If one or more leading newline characters are included immediately following the opening <pre> tag, the first newline character is stripped. <pre> elements' text content is parsed as HTML, so if you want to ensure that your text content stays as plain text, some syntax characters, such as <, may need to be escaped using their respective character references. See escaping ambiguous characters for more information. <pre> elements commonly contain <code>, <samp>, and <kbd> elements, to represent computer code, computer output, and user input, respectively. By default, <pre> is a block-level element, i.e., its default display value is block.",
|
|
40152
|
+
"description": "The <pre> HTML element represents preformatted text which is to be presented exactly as written in the HTML file. The text is typically rendered using a non-proportional, or monospaced font. Whitespace inside this element is displayed as written, with one exception. If one or more leading newline characters are included immediately following the opening <pre> tag, the first newline character is stripped. This transformation is done by the HTML parser and does not apply when using XHTML. <pre> elements' text content is parsed as HTML, so if you want to ensure that your text content stays as plain text, some syntax characters, such as <, may need to be escaped using their respective character references. See escaping ambiguous characters for more information. <pre> elements commonly contain <code>, <samp>, and <kbd> elements, to represent computer code, computer output, and user input, respectively. By default, <pre> is a block-level element, i.e., its default display value is block.",
|
|
39993
40153
|
"categories": ["#flow", "#palpable"],
|
|
39994
40154
|
"contentModel": {
|
|
39995
40155
|
"contents": [
|
|
@@ -40059,9 +40219,11 @@
|
|
|
40059
40219
|
},
|
|
40060
40220
|
"attributes": {
|
|
40061
40221
|
"max": {
|
|
40222
|
+
"description": "This attribute describes how much work the task indicated by the progress element requires. The max attribute, if present, must have a value greater than 0 and be a valid floating point number. The default value is 1.",
|
|
40062
40223
|
"type": "Number"
|
|
40063
40224
|
},
|
|
40064
40225
|
"value": {
|
|
40226
|
+
"description": "This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and max, or between 0 and 1 if max is omitted. If there is no value attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take.",
|
|
40065
40227
|
"type": "Number"
|
|
40066
40228
|
}
|
|
40067
40229
|
}
|
|
@@ -40094,6 +40256,7 @@
|
|
|
40094
40256
|
},
|
|
40095
40257
|
"attributes": {
|
|
40096
40258
|
"cite": {
|
|
40259
|
+
"description": "The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.",
|
|
40097
40260
|
"type": "URL"
|
|
40098
40261
|
}
|
|
40099
40262
|
}
|
|
@@ -40315,15 +40478,17 @@
|
|
|
40315
40478
|
},
|
|
40316
40479
|
"attributes": {
|
|
40317
40480
|
"async": {
|
|
40481
|
+
"description": "For classic scripts, if the async attribute is present, then the classic script will be fetched in parallel to parsing and evaluated as soon as it is available. For module scripts, if the async attribute is present then the scripts and all their dependencies will be fetched in parallel to parsing and evaluated as soon as they are available. Warning: This attribute must not be used if the src attribute is absent (i.e., for inline scripts) for classic scripts, in this case it would have no effect. This attribute allows the elimination of parser-blocking JavaScript where the browser would have to load and evaluate scripts before continuing to parse. defer has a similar effect in this case. If the attribute is specified with the defer attribute, the element will act as if only the async attribute is specified. This is a boolean attribute: the presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value. See Browser compatibility for notes on browser support. See also Async scripts for asm.js.",
|
|
40318
40482
|
"type": "Boolean",
|
|
40319
40483
|
"condition": ["[src]", "[type='module' i]"],
|
|
40320
40484
|
"ineffective": ":not([src]):not([type='module' i])"
|
|
40321
40485
|
},
|
|
40322
40486
|
"attributionsrc": {
|
|
40323
|
-
"description": "Specifies that you want the browser to send an Attribution-Reporting-Eligible header along with the script resource request. On the server-side this is used to trigger sending an Attribution-Reporting-Register-Source or Attribution-Reporting-Register-Trigger header in the response, to register a JavaScript-based attribution source or attribution trigger, respectively. Which response header should be sent back depends on the value of the Attribution-Reporting-Eligible header that triggered the registration. Note: Alternatively, JavaScript-based attribution sources or triggers can be registered by sending a fetch() request containing the attributionReporting option (either set directly on the fetch() call or on a Request object passed into the fetch() call), or by sending an XMLHttpRequest with setAttributionReporting() invoked on the request object. There are two versions of this attribute that you can set: Boolean, i.e., just the attributionsrc name. This specifies that you want the Attribution-Reporting-Eligible header sent to the same server as the src attribute points to. This is fine when you are handling the attribution source or trigger registration on the same server. When registering an attribution trigger this property is optional, and an empty string value will be used if it is omitted. Value containing one or more URLs, for example: html<script src=\"myscript.js\" attributionsrc=\"https://a.example/register-source https://b.example/register-source\"></script> This is useful in cases where the requested resource is not on a server you control, or you just want to handle registering the attribution source on a different server. In this case, you can specify one or more URLs as the value of attributionsrc. When the resource request occurs the Attribution-Reporting-Eligible header will be sent to the URL(s) specified in attributionSrc in addition to the resource origin. These URLs can then respond with
|
|
40324
|
-
"
|
|
40487
|
+
"description": "Specifies that you want the browser to send an Attribution-Reporting-Eligible header along with the script resource request. On the server-side this is used to trigger sending an Attribution-Reporting-Register-Source or Attribution-Reporting-Register-Trigger header in the response, to register a JavaScript-based attribution source or attribution trigger, respectively. Which response header should be sent back depends on the value of the Attribution-Reporting-Eligible header that triggered the registration. Note: Alternatively, JavaScript-based attribution sources or triggers can be registered by sending a fetch() request containing the attributionReporting option (either set directly on the fetch() call or on a Request object passed into the fetch() call), or by sending an XMLHttpRequest with setAttributionReporting() invoked on the request object. There are two versions of this attribute that you can set: Boolean, i.e., just the attributionsrc name. This specifies that you want the Attribution-Reporting-Eligible header sent to the same server as the src attribute points to. This is fine when you are handling the attribution source or trigger registration on the same server. When registering an attribution trigger this property is optional, and an empty string value will be used if it is omitted. Value containing one or more URLs, for example: html<script src=\"myscript.js\" attributionsrc=\"https://a.example/register-source https://b.example/register-source\"></script> This is useful in cases where the requested resource is not on a server you control, or you just want to handle registering the attribution source on a different server. In this case, you can specify one or more URLs as the value of attributionsrc. When the resource request occurs the Attribution-Reporting-Eligible header will be sent to the URL(s) specified in attributionSrc in addition to the resource origin. These URLs can then respond with an Attribution-Reporting-Register-Source or Attribution-Reporting-Register-Trigger header as appropriate to complete registration. Note: Specifying multiple URLs means that multiple attribution sources can be registered on the same feature. You might for example have different campaigns that you are trying to measure the success of, which involve generating different reports on different data. See the Attribution Reporting API for more details.",
|
|
40488
|
+
"deprecated": true
|
|
40325
40489
|
},
|
|
40326
40490
|
"blocking": {
|
|
40491
|
+
"description": "This attribute explicitly indicates that certain operations should be blocked until the script has executed. The operations that are to be blocked must be a space-separated list of blocking tokens. Currently there is only one token: render: The rendering of content on the screen is blocked. Note: Only script elements in the document's <head> can possibly block rendering. Scripts are not render-blocking by default; if a script element does not include type=\"module\", async, or defer, then it blocks parsing, not rendering. If such a script element is added dynamically via script, you must set blocking = \"render\" for it to block rendering.",
|
|
40327
40492
|
"type": {
|
|
40328
40493
|
"token": {
|
|
40329
40494
|
"enum": ["render"]
|
|
@@ -40340,14 +40505,16 @@
|
|
|
40340
40505
|
"description": "Normal script elements pass minimal information to the window.onerror for scripts which do not pass the standard CORS checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See CORS settings attributes for a more descriptive explanation of its valid arguments."
|
|
40341
40506
|
},
|
|
40342
40507
|
"defer": {
|
|
40508
|
+
"description": "This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing DOMContentLoaded event. Scripts with the defer attribute will prevent the DOMContentLoaded event from firing until the script has loaded and finished evaluating. Warning: This attribute must not be used if the src attribute is absent (i.e., for inline scripts), in this case it would have no effect. The defer attribute has no effect on module scripts — they defer by default. Scripts with the defer attribute will execute in the order in which they appear in the document. This attribute allows the elimination of parser-blocking JavaScript where the browser would have to load and evaluate scripts before continuing to parse. async has a similar effect in this case. If the attribute is specified with the async attribute, the element will act as if only the async attribute is specified.",
|
|
40343
40509
|
"type": "Boolean",
|
|
40344
40510
|
"condition": "[src]",
|
|
40345
40511
|
"ineffective": ["[type='module' i]", ":not([src])", "[async]"]
|
|
40346
40512
|
},
|
|
40347
40513
|
"fetchpriority": {
|
|
40348
|
-
"description": "Provides a hint of the relative priority to use when fetching an external script. Allowed values: high Fetch the external script at a high priority relative to other external scripts. low Fetch the external script at a low priority relative to other external scripts. auto Don't set a preference for the fetch priority. This is the default. It is used if no value or an invalid value is set.
|
|
40514
|
+
"description": "Provides a hint of the relative priority to use when fetching an external script. Allowed values: high Fetch the external script at a high priority relative to other external scripts. low Fetch the external script at a low priority relative to other external scripts. auto Don't set a preference for the fetch priority. This is the default. It is used if no value or an invalid value is set."
|
|
40349
40515
|
},
|
|
40350
40516
|
"integrity": {
|
|
40517
|
+
"description": "This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered without unexpected manipulation. The attribute must not be specified when the src attribute is absent. See Subresource Integrity.",
|
|
40351
40518
|
"condition": "[src]"
|
|
40352
40519
|
},
|
|
40353
40520
|
"language": {
|
|
@@ -40356,6 +40523,7 @@
|
|
|
40356
40523
|
"nonStandard": true
|
|
40357
40524
|
},
|
|
40358
40525
|
"nomodule": {
|
|
40526
|
+
"description": "This Boolean attribute is set to indicate that the script should not be executed in browsers that support ES modules — in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code.",
|
|
40359
40527
|
"type": "Boolean",
|
|
40360
40528
|
"condition": ":not([type='module' i])"
|
|
40361
40529
|
},
|
|
@@ -40366,9 +40534,11 @@
|
|
|
40366
40534
|
"description": "Indicates which referrer to send when fetching the script, or resources fetched by the script: no-referrer: The Referer header will not be sent. no-referrer-when-downgrade: The Referer header will not be sent to origins without TLS (HTTPS). origin: The sent referrer will be limited to the origin of the referring page: its scheme, host, and port. origin-when-cross-origin: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path. same-origin: A referrer will be sent for same origin, but cross-origin requests will contain no referrer information. strict-origin: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don't send it to a less secure destination (HTTPS→HTTP). strict-origin-when-cross-origin (default): Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP). unsafe-url: The referrer will include the origin and the path (but not the fragment, password, or username). This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins. Note: An empty string value (\"\") is both the default value, and a fallback value if referrerpolicy is not supported. If referrerpolicy is not explicitly specified on the <script> element, it will adopt a higher-level referrer policy, i.e., one set on the whole document or domain. If a higher-level policy is not available, the empty string is treated as being equivalent to strict-origin-when-cross-origin."
|
|
40367
40535
|
},
|
|
40368
40536
|
"src": {
|
|
40537
|
+
"description": "This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.",
|
|
40369
40538
|
"type": "URL"
|
|
40370
40539
|
},
|
|
40371
40540
|
"type": {
|
|
40541
|
+
"description": "This attribute indicates the type of script represented. The value of this attribute will be one of the following: Attribute is not set (default), an empty string, or a JavaScript MIME type Indicates that the script is a \"classic script\", containing JavaScript code. Authors are encouraged to omit the attribute if the script refers to JavaScript code rather than specify a MIME type. JavaScript MIME types are listed in the IANA media types specification. importmap This value indicates that the body of the element contains an import map. The import map is a JSON object that developers can use to control how the browser resolves module specifiers when importing JavaScript modules. module This value causes the code to be treated as a JavaScript module. The processing of the script contents is deferred. The charset and defer attributes have no effect. For information on using module, see our JavaScript modules guide. Unlike classic scripts, module scripts require the use of the CORS protocol for cross-origin fetching. speculationrules Experimental This value indicates that the body of the element contains speculation rules. Speculation rules take the form of a JSON object that determine what resources should be prefetched or prerendered by the browser. This is part of the Speculation Rules API. Any other value The embedded content is treated as a data block, and won't be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. All of the other attributes will be ignored, including the src attribute.",
|
|
40372
40542
|
"type": [
|
|
40373
40543
|
"MIMEType",
|
|
40374
40544
|
{
|
|
@@ -40539,6 +40709,7 @@
|
|
|
40539
40709
|
"description": "The <form> element to associate the <select> with (its form owner). The value of this attribute must be the id of a <form> in the same document. (If this attribute is not set, the <select> is associated with its ancestor <form> element, if any.) This attribute lets you associate <select> elements to <form>s anywhere in the document, not just inside a <form>. It can also override an ancestor <form> element."
|
|
40540
40710
|
},
|
|
40541
40711
|
"multiple": {
|
|
40712
|
+
"description": "This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When multiple is specified, most browsers will show a scrolling list box instead of a single line dropdown. Multiple selected options are submitted using the URLSearchParams array convention, i.e., name=value1&name=value2.",
|
|
40542
40713
|
"type": "Boolean"
|
|
40543
40714
|
},
|
|
40544
40715
|
"name": {
|
|
@@ -40548,6 +40719,7 @@
|
|
|
40548
40719
|
"description": "A Boolean attribute indicating that an option with a non-empty string value must be selected."
|
|
40549
40720
|
},
|
|
40550
40721
|
"size": {
|
|
40722
|
+
"description": "If the control is presented as a scrolling list box (e.g., when multiple is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0. Note: According to the HTML specification, the default value for size should be 1; however, in practice, this has been found to break some websites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox.",
|
|
40551
40723
|
"type": {
|
|
40552
40724
|
"type": "integer",
|
|
40553
40725
|
"gt": 0
|
|
@@ -40580,6 +40752,7 @@
|
|
|
40580
40752
|
},
|
|
40581
40753
|
"attributes": {
|
|
40582
40754
|
"name": {
|
|
40755
|
+
"description": "The slot's name. When the slot's containing component gets rendered, the slot is rendered with the custom element's child that has a matching slot attribute. A named slot is a <slot> element with a name attribute. Unnamed slots have the name default to the empty string. Names should be unique per shadow root: if you have two slots with the same name, all of the elements with a matching slot attribute will be assigned to the first slot with that name.",
|
|
40583
40756
|
"type": "NoEmptyAny"
|
|
40584
40757
|
}
|
|
40585
40758
|
}
|
|
@@ -40634,27 +40807,34 @@
|
|
|
40634
40807
|
},
|
|
40635
40808
|
"attributes": {
|
|
40636
40809
|
"height": {
|
|
40810
|
+
"description": "Specifies the intrinsic height of the image in pixels. Allowed if the parent of <source> is a <picture>. Not allowed if the parent is <audio> or <video>. The height value must be an integer without any units.",
|
|
40637
40811
|
"condition": "picture > source"
|
|
40638
40812
|
},
|
|
40639
40813
|
"media": {
|
|
40814
|
+
"description": "Specifies the media query for the resource's intended media.",
|
|
40640
40815
|
"type": "<media-query-list>"
|
|
40641
40816
|
},
|
|
40642
40817
|
"sizes": {
|
|
40818
|
+
"description": "Specifies a list of source sizes that describe the final rendered width of the image. Allowed if the parent of <source> is <picture>. Not allowed if the parent is <audio> or <video>. The list consists of source sizes separated by commas. Each source size is media condition-length pair. Before laying the page out, the browser uses this information to determine which image defined in srcset to display. Note that sizes will take effect only if width descriptors are provided with srcset, not pixel density descriptors (i.e., 200w should be used instead of 2x).",
|
|
40643
40819
|
"condition": "picture > source"
|
|
40644
40820
|
},
|
|
40645
40821
|
"src": {
|
|
40822
|
+
"description": "Specifies the URL of the media resource. Required if the parent of <source> is <audio> or <video>. Not allowed if the parent is <picture>.",
|
|
40646
40823
|
"type": "URL",
|
|
40647
40824
|
"required": ":is(video, audio) > source",
|
|
40648
40825
|
"condition": ":is(video, audio) > source"
|
|
40649
40826
|
},
|
|
40650
40827
|
"srcset": {
|
|
40828
|
+
"description": "Specifies a comma-separated list of one or more image URLs and their descriptors. Required if the parent of <source> is <picture>. Not allowed if the parent is <audio> or <video>. The list consists of strings separated by commas, indicating a set of possible images for the browser to use. Each string is composed of: A URL specifying an image location. An optional width descriptor—a positive integer directly followed by \"w\", such as 300w. An optional pixel density descriptor—a positive floating number directly followed by \"x\", such as 2x. Each string in the list must have either a width descriptor or a pixel density descriptor to be valid. These two descriptors should not be used together; only one should be used consistently throughout the list. The value of each descriptor in the list must be unique. The browser chooses the most adequate image to display at a given point of time based on these descriptors. If the descriptors are not specified, the default value used is 1x. If the sizes attribute is also present, then each string must include a width descriptor. If the browser does not support srcset, then src will be used for the default image source.",
|
|
40651
40829
|
"required": "picture > source",
|
|
40652
40830
|
"condition": "picture > source"
|
|
40653
40831
|
},
|
|
40654
40832
|
"type": {
|
|
40833
|
+
"description": "Specifies the MIME media type of the image or other media type, optionally including a codecs parameter.",
|
|
40655
40834
|
"type": "MIMEType"
|
|
40656
40835
|
},
|
|
40657
40836
|
"width": {
|
|
40837
|
+
"description": "Specifies the intrinsic width of the image in pixels. Allowed if the parent of <source> is a <picture>. Not allowed if the parent is <audio> or <video>. The width value must be an integer without any units.",
|
|
40658
40838
|
"condition": "picture > source"
|
|
40659
40839
|
}
|
|
40660
40840
|
}
|
|
@@ -40774,6 +40954,7 @@
|
|
|
40774
40954
|
},
|
|
40775
40955
|
"attributes": {
|
|
40776
40956
|
"blocking": {
|
|
40957
|
+
"description": "This attribute explicitly indicates that certain operations should be blocked on the fetching of critical subresources and the application of the stylesheet to the document. @import-ed stylesheets are generally considered as critical subresources, whereas background-image and fonts are not. The operations that are to be blocked must be a space-separated list of blocking tokens listed below. Currently there is only one token: render: The rendering of content on the screen is blocked. Note: Only style elements in the document's <head> can possibly block rendering. By default, a style element in the <head> blocks rendering when the browser discovers it during parsing. If such a style element is added dynamically via script, you must additionally set blocking = \"render\" for it to block rendering.",
|
|
40777
40958
|
"type": {
|
|
40778
40959
|
"token": {
|
|
40779
40960
|
"enum": ["render"]
|
|
@@ -40783,6 +40964,7 @@
|
|
|
40783
40964
|
}
|
|
40784
40965
|
},
|
|
40785
40966
|
"media": {
|
|
40967
|
+
"description": "This attribute defines which media the style should be applied to. Its value is a media query, which defaults to all if the attribute is missing.",
|
|
40786
40968
|
"type": "<media-query-list>"
|
|
40787
40969
|
},
|
|
40788
40970
|
"nonce": {
|
|
@@ -41146,19 +41328,29 @@
|
|
|
41146
41328
|
},
|
|
41147
41329
|
"attributes": {
|
|
41148
41330
|
"shadowrootclonable": {
|
|
41331
|
+
"description": "Sets the value of the clonable property of a ShadowRoot created using this element to true. If set, a clone of the shadow host (the parent element of this <template>) created with Node.cloneNode() or Document.importNode() will include a shadow root in the copy.",
|
|
41149
41332
|
"type": "Boolean"
|
|
41150
41333
|
},
|
|
41151
41334
|
"shadowrootdelegatesfocus": {
|
|
41335
|
+
"description": "Sets the value of the delegatesFocus property of a ShadowRoot created using this element to true. If this is set and a non-focusable element in the shadow tree is selected, then focus is delegated to the first focusable element in the tree. The value defaults to false.",
|
|
41152
41336
|
"type": "Boolean"
|
|
41153
41337
|
},
|
|
41154
41338
|
"shadowrootmode": {
|
|
41339
|
+
"description": "Creates a shadow root for the parent element. It is a declarative version of the Element.attachShadow() method and accepts the same enumerated values. open Exposes the internal shadow root DOM for JavaScript (recommended for most use cases). closed Hides the internal shadow root DOM from JavaScript. Note: The HTML parser creates a ShadowRoot object in the DOM for the first <template> in a node with this attribute set to an allowed value. If the attribute is not set, or not set to an allowed value — or if a ShadowRoot has already been declaratively created in the same parent — then an HTMLTemplateElement is constructed. A HTMLTemplateElement cannot subsequently be changed into a shadow root after parsing, for example, by setting HTMLTemplateElement.shadowRootMode. Note: You may find the non-standard shadowroot attribute in older tutorials and examples that used to be supported in Chrome 90-110. This attribute has since been removed and replaced by the standard shadowrootmode attribute.",
|
|
41155
41340
|
"type": {
|
|
41156
41341
|
"enum": ["open", "closed"],
|
|
41157
41342
|
"missingValueDefault": "none",
|
|
41158
41343
|
"invalidValueDefault": "none"
|
|
41159
41344
|
}
|
|
41160
41345
|
},
|
|
41346
|
+
"shadowrootreferencetarget": {
|
|
41347
|
+
"description": "Sets the value of the referenceTarget property of a ShadowRoot created using this element. The value should be the ID of an element inside the shadow DOM. If set, target references to the host element from outside the shadow DOM will cause the referenced target element to become the effective target of the reference to the host element.",
|
|
41348
|
+
"experimental": true,
|
|
41349
|
+
"nonStandard": true,
|
|
41350
|
+
"type": "DOMID"
|
|
41351
|
+
},
|
|
41161
41352
|
"shadowrootserializable": {
|
|
41353
|
+
"description": "Sets the value of the serializable property of a ShadowRoot created using this element to true. If set, the shadow root may be serialized by calling the Element.getHTML() or ShadowRoot.getHTML() methods with the options.serializableShadowRoots parameter set true. The value defaults to false.",
|
|
41162
41354
|
"type": "Boolean"
|
|
41163
41355
|
}
|
|
41164
41356
|
}
|
|
@@ -41214,6 +41406,7 @@
|
|
|
41214
41406
|
"description": "This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."
|
|
41215
41407
|
},
|
|
41216
41408
|
"cols": {
|
|
41409
|
+
"description": "The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is 20.",
|
|
41217
41410
|
"type": {
|
|
41218
41411
|
"type": "integer",
|
|
41219
41412
|
"gt": 0
|
|
@@ -41239,6 +41432,7 @@
|
|
|
41239
41432
|
"description": "The name of the control."
|
|
41240
41433
|
},
|
|
41241
41434
|
"placeholder": {
|
|
41435
|
+
"description": "A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint. Note: Placeholders should only be used to show an example of the type of data that should be entered into a form; they are not a substitute for a proper <label> element tied to the input. See <input> labels for a full explanation.",
|
|
41242
41436
|
"type": "Any"
|
|
41243
41437
|
},
|
|
41244
41438
|
"readonly": {
|
|
@@ -41248,6 +41442,7 @@
|
|
|
41248
41442
|
"description": "This attribute specifies that the user must fill in a value before submitting a form."
|
|
41249
41443
|
},
|
|
41250
41444
|
"rows": {
|
|
41445
|
+
"description": "The number of visible text lines for the control. If it is specified, it must be a positive integer. If it is not specified, the default value is 2.",
|
|
41251
41446
|
"type": {
|
|
41252
41447
|
"type": "integer",
|
|
41253
41448
|
"gt": 0
|
|
@@ -41258,6 +41453,7 @@
|
|
|
41258
41453
|
"description": "Specifies whether the <textarea> is subject to spell-checking by the underlying browser/OS. The value can be: true: Indicates that the element needs to have its spelling and grammar checked. default : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own spellcheck value. false : Indicates that the element should not be spell-checked."
|
|
41259
41454
|
},
|
|
41260
41455
|
"wrap": {
|
|
41456
|
+
"description": "Indicates how the control should wrap the value for form submission. Possible values are: hard: The browser automatically inserts line breaks (CR+LF) so that each line is no longer than the width of the control; the cols attribute must be specified for this to take effect soft: The browser ensures that all line breaks in the entered value are a CR+LF pair, but no additional line breaks are added to the value. off Non-standard : Like soft but changes appearance to white-space: pre so line segments exceeding cols are not wrapped and the <textarea> becomes horizontally scrollable. If this attribute is not specified, soft is its default value.",
|
|
41261
41457
|
"type": {
|
|
41262
41458
|
"enum": ["soft", "hard"],
|
|
41263
41459
|
"missingValueDefault": "soft",
|
|
@@ -41359,6 +41555,7 @@
|
|
|
41359
41555
|
},
|
|
41360
41556
|
"attributes": {
|
|
41361
41557
|
"abbr": {
|
|
41558
|
+
"description": "A short, abbreviated description of the header cell's content provided as an alternative label to use for the header cell when referencing the cell in other contexts. Some user-agents, such as screen readers, may present this description before the content itself.",
|
|
41362
41559
|
"type": "Any"
|
|
41363
41560
|
},
|
|
41364
41561
|
"align": {
|
|
@@ -41395,6 +41592,7 @@
|
|
|
41395
41592
|
"description": "A non-negative integer value indicating how many rows the header cell spans or extends. The default value is 1; if its value is set to 0, the header cell will extend to the end of the table grouping section (<thead>, <tbody>, <tfoot>, even if implicitly defined), that the <th> belongs to. Values higher than 65534 are clipped at 65534."
|
|
41396
41593
|
},
|
|
41397
41594
|
"scope": {
|
|
41595
|
+
"description": "Defines the cells that the header (defined in the <th>) element relates to. Possible enumerated values are: row: the header relates to all cells of the row it belongs to; col: the header relates to all cells of the column it belongs to; rowgroup: the header belongs to a rowgroup and relates to all of its cells; colgroup: the header belongs to a colgroup and relates to all of its cells. If the scope attribute is not specified, or its value is not row, col, rowgroup, or colgroup, then browsers automatically select the set of cells to which the header cell applies.",
|
|
41398
41596
|
"type": {
|
|
41399
41597
|
"enum": ["row", "col", "rowgroup", "colgroup"],
|
|
41400
41598
|
"missingValueDefault": "auto",
|
|
@@ -41484,6 +41682,7 @@
|
|
|
41484
41682
|
},
|
|
41485
41683
|
"attributes": {
|
|
41486
41684
|
"datetime": {
|
|
41685
|
+
"description": "This attribute indicates the time and/or date of the element and must be in one of the formats described below.",
|
|
41487
41686
|
"type": "DateTime"
|
|
41488
41687
|
}
|
|
41489
41688
|
}
|
|
@@ -41584,9 +41783,11 @@
|
|
|
41584
41783
|
},
|
|
41585
41784
|
"attributes": {
|
|
41586
41785
|
"default": {
|
|
41786
|
+
"description": "This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one track element per media element.",
|
|
41587
41787
|
"type": "Boolean"
|
|
41588
41788
|
},
|
|
41589
41789
|
"kind": {
|
|
41790
|
+
"description": "How the text track is meant to be used. If omitted the default kind is subtitles. If the attribute contains an invalid value, it will use metadata. The following keywords are allowed: subtitles Subtitles provide transcription or translation of the dialog. They are suitable for when the sound is available but not understood, such as speech or text that is not English in an English language film. Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene. Subtitles' information complements the audio and video. It is often embedded in the video itself, but can also be provided separately, especially for whole-film translations. captions Closed captions provide transcription or translation of the dialog, sound effects, relevant musical cues, and other relevant audio information, such as the cue's source (e.g., character, environment). They are suitable for when sound is unavailable or not clearly audible (e.g., because it is muted, drowned-out by ambient noise, or because the user is deaf). descriptions Descriptions summarize the video component of the media resource. They are intended to be synthesized as audio when the visual component is obscured, unavailable, or not usable (e.g., because the user is interacting with the application without a screen while driving, or because the user is blind). chapters Chapter titles are intended to be used when the user is navigating the media resource. metadata Tracks used by scripts. Not visible to the user.",
|
|
41590
41791
|
"type": {
|
|
41591
41792
|
"enum": ["subtitles", "captions", "descriptions", "chapters", "metadata"],
|
|
41592
41793
|
"missingValueDefault": "metadata",
|
|
@@ -41594,13 +41795,16 @@
|
|
|
41594
41795
|
}
|
|
41595
41796
|
},
|
|
41596
41797
|
"label": {
|
|
41798
|
+
"description": "A user-readable title of the text track which is used by the browser when listing available text tracks.",
|
|
41597
41799
|
"type": "NoEmptyAny"
|
|
41598
41800
|
},
|
|
41599
41801
|
"src": {
|
|
41802
|
+
"description": "Address of the track (.vtt file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document — unless the <audio> or <video> parent element of the track element has a crossorigin attribute.",
|
|
41600
41803
|
"type": "URL",
|
|
41601
41804
|
"required": true
|
|
41602
41805
|
},
|
|
41603
41806
|
"srclang": {
|
|
41807
|
+
"description": "Language of the track text data. It must be a valid BCP 47 language tag. If the kind attribute is set to subtitles, then srclang must be defined.",
|
|
41604
41808
|
"type": "BCP47"
|
|
41605
41809
|
}
|
|
41606
41810
|
}
|
|
@@ -41802,6 +42006,7 @@
|
|
|
41802
42006
|
"description": "If this attribute is present, the browser will offer controls to allow the user to control video playback, including volume, seeking, and pause/resume playback."
|
|
41803
42007
|
},
|
|
41804
42008
|
"controlslist": {
|
|
42009
|
+
"description": "The controlslist attribute, when specified, helps the browser select what controls to show for the video element whenever the browser shows its own set of controls (that is, when the controls attribute is specified). The allowed values are nodownload, nofullscreen and noremoteplayback. Use the disablepictureinpicture attribute if you want to disable the Picture-In-Picture mode (and the control).",
|
|
41805
42010
|
"type": {
|
|
41806
42011
|
"token": {
|
|
41807
42012
|
"enum": ["nodownload", "nofullscreen", "noremoteplayback"]
|
|
@@ -41831,9 +42036,11 @@
|
|
|
41831
42036
|
"description": "A Boolean attribute that indicates the default audio mute setting contained in the video. If set, the audio will be initially silenced. Its default value is false, meaning the audio will be played when the video is played."
|
|
41832
42037
|
},
|
|
41833
42038
|
"playsinline": {
|
|
42039
|
+
"description": "A Boolean attribute indicating that the video is to be played \"inline\", that is, within the element's playback area. Note that the absence of this attribute does not imply that the video will always be played in fullscreen.",
|
|
41834
42040
|
"type": "Boolean"
|
|
41835
42041
|
},
|
|
41836
42042
|
"poster": {
|
|
42043
|
+
"description": "A URL for an image to be shown while the video is downloading. If this attribute isn't specified, nothing is displayed until the first frame is available, then the first frame is shown as the poster frame.",
|
|
41837
42044
|
"type": "URL"
|
|
41838
42045
|
},
|
|
41839
42046
|
"preload": {
|
|
@@ -42024,6 +42231,12 @@
|
|
|
42024
42231
|
"hreflang": {
|
|
42025
42232
|
"description": "The human language of the URL or URL fragment that the hyperlink points to. Value type: <string>; Default value: none; Animatable: no"
|
|
42026
42233
|
},
|
|
42234
|
+
"interestfor": {
|
|
42235
|
+
"description": "Defines the <a> element as an interest invoker. Its value is the id of a target element that will be affected in some way (normally shown or hidden) when interest is shown or lost on the invoker element (for example, by hovering/unhovering or focusing/blurring it). See Using interest invokers for more details and examples. Value type: <string>; Default value: none; Animatable: no",
|
|
42236
|
+
"experimental": true,
|
|
42237
|
+
"nonStandard": true,
|
|
42238
|
+
"type": "DOMID"
|
|
42239
|
+
},
|
|
42027
42240
|
"ping": {
|
|
42028
42241
|
"description": "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",
|
|
42029
42242
|
"experimental": true
|
|
@@ -42216,6 +42429,7 @@
|
|
|
42216
42429
|
},
|
|
42217
42430
|
"attributes": {
|
|
42218
42431
|
"keyPoints": {
|
|
42432
|
+
"description": "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",
|
|
42219
42433
|
"type": "<key-points>"
|
|
42220
42434
|
},
|
|
42221
42435
|
"origin": {
|
|
@@ -42223,9 +42437,11 @@
|
|
|
42223
42437
|
"defaultValue": "default"
|
|
42224
42438
|
},
|
|
42225
42439
|
"path": {
|
|
42440
|
+
"description": "This attribute defines the path of the motion, using the same syntax as the d attribute. Value type: <string>; Default value: none; Animatable: no",
|
|
42226
42441
|
"type": "<svg-path>"
|
|
42227
42442
|
},
|
|
42228
42443
|
"rotate": {
|
|
42444
|
+
"description": "This attribute defines a rotation applied to the element 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",
|
|
42229
42445
|
"type": "<rotate>"
|
|
42230
42446
|
}
|
|
42231
42447
|
}
|
|
@@ -42395,6 +42611,7 @@
|
|
|
42395
42611
|
"description": "The y-axis coordinate of the center of the circle. Value type: <length> | <percentage>; Default value: 0; Animatable: yes"
|
|
42396
42612
|
},
|
|
42397
42613
|
"pathLength": {
|
|
42614
|
+
"description": "The total length for the circle's circumference, in user units. Value type: <number>; Default value: none; Animatable: yes",
|
|
42398
42615
|
"type": "<number>",
|
|
42399
42616
|
"animatable": true
|
|
42400
42617
|
},
|
|
@@ -42498,6 +42715,7 @@
|
|
|
42498
42715
|
},
|
|
42499
42716
|
"attributes": {
|
|
42500
42717
|
"clipPathUnits": {
|
|
42718
|
+
"description": "Defines the coordinate system for the contents of the <clipPath> element. Value type: userSpaceOnUse | objectBoundingBox; Default value: userSpaceOnUse; Animatable: yes",
|
|
42501
42719
|
"type": {
|
|
42502
42720
|
"enum": ["userSpaceOnUse", "objectBoundingBox"],
|
|
42503
42721
|
"disallowToSurroundBySpaces": false
|
|
@@ -42801,6 +43019,7 @@
|
|
|
42801
43019
|
"description": "The y position of the center of the ellipse. Value type: <length> | <percentage>; Default value: 0; Animatable: yes"
|
|
42802
43020
|
},
|
|
42803
43021
|
"pathLength": {
|
|
43022
|
+
"description": "This attribute lets specify the total length for the path, in user units. Value type: <number>; Default value: none; Animatable: yes",
|
|
42804
43023
|
"type": "<number>",
|
|
42805
43024
|
"animatable": true
|
|
42806
43025
|
},
|
|
@@ -43686,7 +43905,7 @@
|
|
|
43686
43905
|
"name": "svg:feDistantLight",
|
|
43687
43906
|
"namespace": "http://www.w3.org/2000/svg",
|
|
43688
43907
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feDistantLight",
|
|
43689
|
-
"description": "The <feDistantLight> SVG
|
|
43908
|
+
"description": "The <feDistantLight> SVG element defines a distant light source that can be used within a lighting filter primitive: <feDiffuseLighting> or <feSpecularLighting>.",
|
|
43690
43909
|
"categories": [],
|
|
43691
43910
|
"contentModel": {
|
|
43692
43911
|
"contents": [
|
|
@@ -44627,7 +44846,7 @@
|
|
|
44627
44846
|
"name": "svg:fePointLight",
|
|
44628
44847
|
"namespace": "http://www.w3.org/2000/svg",
|
|
44629
44848
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/fePointLight",
|
|
44630
|
-
"description": "The <fePointLight> SVG
|
|
44849
|
+
"description": "The <fePointLight> SVG element defines a light source which allows to create a point light effect. It can be used within a lighting filter primitive: <feDiffuseLighting> or <feSpecularLighting>.",
|
|
44631
44850
|
"categories": [],
|
|
44632
44851
|
"contentModel": {
|
|
44633
44852
|
"contents": [
|
|
@@ -44797,7 +45016,7 @@
|
|
|
44797
45016
|
"name": "svg:feSpotLight",
|
|
44798
45017
|
"namespace": "http://www.w3.org/2000/svg",
|
|
44799
45018
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feSpotLight",
|
|
44800
|
-
"description": "The <feSpotLight> SVG
|
|
45019
|
+
"description": "The <feSpotLight> SVG element defines a light source that can be used to create a spotlight effect. It is used within a lighting filter primitive: <feDiffuseLighting> or <feSpecularLighting>.",
|
|
44801
45020
|
"categories": [],
|
|
44802
45021
|
"contentModel": {
|
|
44803
45022
|
"contents": [
|
|
@@ -45557,6 +45776,7 @@
|
|
|
45557
45776
|
},
|
|
45558
45777
|
"attributes": {
|
|
45559
45778
|
"crossorigin": {
|
|
45779
|
+
"description": "Defines the value of the credentials flag for CORS requests. Value type: [ anonymous | use-credentials ]?; Default value: None; Animatable: yes",
|
|
45560
45780
|
"type": {
|
|
45561
45781
|
"enum": ["", "anonymous", "use-credentials"],
|
|
45562
45782
|
"sameStates": {
|
|
@@ -45576,9 +45796,11 @@
|
|
|
45576
45796
|
"description": "The height the image renders at. Unlike HTML's <img>, this attribute is required. Value type: <length> | <percentage>; Default value: auto; Animatable: yes"
|
|
45577
45797
|
},
|
|
45578
45798
|
"href": {
|
|
45799
|
+
"description": "Points at a URL for the image file. Value type: <URL>; Default value: none; Animatable: no",
|
|
45579
45800
|
"type": "URL"
|
|
45580
45801
|
},
|
|
45581
45802
|
"preserveAspectRatio": {
|
|
45803
|
+
"description": "Controls how the image is scaled. Value type: (none | xMinYMin | xMidYMin | xMaxYMin | xMinYMid | xMidYMid | xMaxYMid | xMinYMax | xMidYMax | xMaxYMax) (meet | slice)?; Default value: xMidYMid meet; Animatable: yes",
|
|
45582
45804
|
"type": "<preserve-aspect-ratio>",
|
|
45583
45805
|
"defaultValue": "xMidYMid meet"
|
|
45584
45806
|
},
|
|
@@ -45706,25 +45928,30 @@
|
|
|
45706
45928
|
},
|
|
45707
45929
|
"attributes": {
|
|
45708
45930
|
"pathLength": {
|
|
45931
|
+
"description": "Defines the total path length in user units. Value type: <number>; Default value: none; Animatable: yes",
|
|
45709
45932
|
"type": "<number>",
|
|
45710
45933
|
"animatable": true
|
|
45711
45934
|
},
|
|
45712
45935
|
"x1": {
|
|
45936
|
+
"description": "Defines the x-axis coordinate of the line starting point. Value type: <length> | <percentage> | <number>; Default value: 0; Animatable: yes",
|
|
45713
45937
|
"type": ["<svg-length>", "<percentage>", "<number>"],
|
|
45714
45938
|
"defaultValue": "0",
|
|
45715
45939
|
"animatable": true
|
|
45716
45940
|
},
|
|
45717
45941
|
"x2": {
|
|
45942
|
+
"description": "Defines the x-axis coordinate of the line ending point. Value type: <length> | <percentage> | <number>; Default value: 0; Animatable: yes",
|
|
45718
45943
|
"type": ["<svg-length>", "<percentage>", "<number>"],
|
|
45719
45944
|
"defaultValue": "0",
|
|
45720
45945
|
"animatable": true
|
|
45721
45946
|
},
|
|
45722
45947
|
"y1": {
|
|
45948
|
+
"description": "Defines the y-axis coordinate of the line starting point. Value type: <length> | <percentage> | <number>; Default value: 0; Animatable: yes",
|
|
45723
45949
|
"type": ["<svg-length>", "<percentage>", "<number>"],
|
|
45724
45950
|
"defaultValue": "0",
|
|
45725
45951
|
"animatable": true
|
|
45726
45952
|
},
|
|
45727
45953
|
"y2": {
|
|
45954
|
+
"description": "Defines the y-axis coordinate of the line ending point. Value type: <length> | <percentage> | <number>; Default value: 0; Animatable: yes",
|
|
45728
45955
|
"type": ["<svg-length>", "<percentage>", "<number>"],
|
|
45729
45956
|
"defaultValue": "0",
|
|
45730
45957
|
"animatable": true
|
|
@@ -45833,10 +46060,12 @@
|
|
|
45833
46060
|
},
|
|
45834
46061
|
"attributes": {
|
|
45835
46062
|
"gradientTransform": {
|
|
46063
|
+
"description": "This attribute provides additional transformation to the gradient coordinate system. Value type: <transform-list>; Default value: identity transform; Animatable: yes",
|
|
45836
46064
|
"type": "<transform-list>",
|
|
45837
46065
|
"animatable": true
|
|
45838
46066
|
},
|
|
45839
46067
|
"gradientUnits": {
|
|
46068
|
+
"description": "This attribute defines the coordinate system for attributes x1, x2, y1, y2 Value type: userSpaceOnUse | objectBoundingBox; Default value: objectBoundingBox; Animatable: yes",
|
|
45840
46069
|
"type": {
|
|
45841
46070
|
"enum": ["userSpaceOnUse", "objectBoundingBox"],
|
|
45842
46071
|
"disallowToSurroundBySpaces": false
|
|
@@ -45845,10 +46074,12 @@
|
|
|
45845
46074
|
"animatable": true
|
|
45846
46075
|
},
|
|
45847
46076
|
"href": {
|
|
46077
|
+
"description": "This attribute defines a reference to another <linearGradient> element that will be used as a template. Value type: <URL>; Default value: none; Animatable: yes",
|
|
45848
46078
|
"type": "URL",
|
|
45849
46079
|
"animatable": true
|
|
45850
46080
|
},
|
|
45851
46081
|
"spreadMethod": {
|
|
46082
|
+
"description": "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",
|
|
45852
46083
|
"type": {
|
|
45853
46084
|
"enum": ["pad", "reflect", "repeat"],
|
|
45854
46085
|
"disallowToSurroundBySpaces": false
|
|
@@ -45857,11 +46088,13 @@
|
|
|
45857
46088
|
"animatable": true
|
|
45858
46089
|
},
|
|
45859
46090
|
"x1": {
|
|
46091
|
+
"description": "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: 0%; Animatable: yes",
|
|
45860
46092
|
"type": ["<svg-length>", "<percentage>"],
|
|
45861
46093
|
"defaultValue": "0%",
|
|
45862
46094
|
"animatable": true
|
|
45863
46095
|
},
|
|
45864
46096
|
"x2": {
|
|
46097
|
+
"description": "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",
|
|
45865
46098
|
"type": ["<svg-length>", "<percentage>"],
|
|
45866
46099
|
"defaultValue": "100%",
|
|
45867
46100
|
"animatable": true
|
|
@@ -45871,11 +46104,13 @@
|
|
|
45871
46104
|
"deprecated": true
|
|
45872
46105
|
},
|
|
45873
46106
|
"y1": {
|
|
46107
|
+
"description": "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",
|
|
45874
46108
|
"type": ["<svg-length>", "<percentage>"],
|
|
45875
46109
|
"defaultValue": "0%",
|
|
45876
46110
|
"animatable": true
|
|
45877
46111
|
},
|
|
45878
46112
|
"y2": {
|
|
46113
|
+
"description": "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",
|
|
45879
46114
|
"type": ["<svg-length>", "<percentage>"],
|
|
45880
46115
|
"defaultValue": "0%",
|
|
45881
46116
|
"animatable": true
|
|
@@ -45994,11 +46229,13 @@
|
|
|
45994
46229
|
},
|
|
45995
46230
|
"attributes": {
|
|
45996
46231
|
"markerHeight": {
|
|
46232
|
+
"description": "This attribute defines the height of the marker viewport. Value type: <length>; Default value: 3; Animatable: yes",
|
|
45997
46233
|
"type": ["<svg-length>", "<percentage>", "<number>"],
|
|
45998
46234
|
"defaultValue": "3",
|
|
45999
46235
|
"animatable": true
|
|
46000
46236
|
},
|
|
46001
46237
|
"markerUnits": {
|
|
46238
|
+
"description": "This attribute defines the coordinate system for the attributes markerWidth, markerHeight and the contents of the <marker>. Value type: userSpaceOnUse | strokeWidth; Default value: strokeWidth; Animatable: yes",
|
|
46002
46239
|
"type": {
|
|
46003
46240
|
"enum": ["userSpaceOnUse", "strokeWidth"],
|
|
46004
46241
|
"disallowToSurroundBySpaces": false
|
|
@@ -46006,11 +46243,13 @@
|
|
|
46006
46243
|
"defaultValue": "strokeWidth"
|
|
46007
46244
|
},
|
|
46008
46245
|
"markerWidth": {
|
|
46246
|
+
"description": "This attribute defines the width of the marker viewport. Value type: <length>; Default value: 3; Animatable: yes",
|
|
46009
46247
|
"type": ["<svg-length>", "<percentage>", "<number>"],
|
|
46010
46248
|
"defaultValue": "3",
|
|
46011
46249
|
"animatable": true
|
|
46012
46250
|
},
|
|
46013
46251
|
"orient": {
|
|
46252
|
+
"description": "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",
|
|
46014
46253
|
"type": [
|
|
46015
46254
|
{
|
|
46016
46255
|
"enum": ["auto", "auto-start-reverse"],
|
|
@@ -46023,11 +46262,13 @@
|
|
|
46023
46262
|
"animatable": true
|
|
46024
46263
|
},
|
|
46025
46264
|
"preserveAspectRatio": {
|
|
46265
|
+
"description": "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",
|
|
46026
46266
|
"type": "<preserve-aspect-ratio>",
|
|
46027
46267
|
"defaultValue": "xMidYMid meet",
|
|
46028
46268
|
"animatable": true
|
|
46029
46269
|
},
|
|
46030
46270
|
"refX": {
|
|
46271
|
+
"description": "This attribute defines the x coordinate for the reference point of the marker. Value type: left | center | right | <coordinate>; Default value: 0; Animatable: yes",
|
|
46031
46272
|
"type": [
|
|
46032
46273
|
"<percentage>",
|
|
46033
46274
|
"<number>",
|
|
@@ -46040,6 +46281,7 @@
|
|
|
46040
46281
|
"animatable": true
|
|
46041
46282
|
},
|
|
46042
46283
|
"refY": {
|
|
46284
|
+
"description": "This attribute defines the y coordinate for the reference point of the marker. Value type: top | center | bottom | <coordinate>; Default value: 0; Animatable: yes",
|
|
46043
46285
|
"type": [
|
|
46044
46286
|
"<percentage>",
|
|
46045
46287
|
"<number>",
|
|
@@ -46052,6 +46294,7 @@
|
|
|
46052
46294
|
"animatable": true
|
|
46053
46295
|
},
|
|
46054
46296
|
"viewBox": {
|
|
46297
|
+
"description": "This attribute defines the bound of the SVG viewport for the current SVG fragment. Value type: <list-of-numbers>; Default value: none; Animatable: yes",
|
|
46055
46298
|
"type": "<view-box>",
|
|
46056
46299
|
"animatable": true
|
|
46057
46300
|
}
|
|
@@ -46169,12 +46412,14 @@
|
|
|
46169
46412
|
},
|
|
46170
46413
|
"attributes": {
|
|
46171
46414
|
"height": {
|
|
46415
|
+
"description": "This attribute defines the height of the masking area. Value type: <length>; Default value: 120%; Animatable: yes",
|
|
46172
46416
|
"defaultValue": "120%"
|
|
46173
46417
|
},
|
|
46174
46418
|
"mask-type": {
|
|
46175
46419
|
"description": "This attribute defines the mask mode for the contents for the contents of the <mask>. Value type: alpha | luminance; Default value: luminance; Animatable: yes"
|
|
46176
46420
|
},
|
|
46177
46421
|
"maskContentUnits": {
|
|
46422
|
+
"description": "This attribute defines the coordinate system for the contents of the <mask>. Value type: userSpaceOnUse | objectBoundingBox; Default value: userSpaceOnUse; Animatable: yes",
|
|
46178
46423
|
"type": {
|
|
46179
46424
|
"enum": ["userSpaceOnUse", "objectBoundingBox"]
|
|
46180
46425
|
},
|
|
@@ -46182,6 +46427,7 @@
|
|
|
46182
46427
|
"animatable": true
|
|
46183
46428
|
},
|
|
46184
46429
|
"maskUnits": {
|
|
46430
|
+
"description": "This attribute defines the coordinate system for attributes x, y, width and height on the <mask>. Value type: userSpaceOnUse | objectBoundingBox; Default value: objectBoundingBox; Animatable: yes",
|
|
46185
46431
|
"type": {
|
|
46186
46432
|
"enum": ["userSpaceOnUse", "objectBoundingBox"],
|
|
46187
46433
|
"disallowToSurroundBySpaces": false
|
|
@@ -46190,12 +46436,15 @@
|
|
|
46190
46436
|
"animatable": true
|
|
46191
46437
|
},
|
|
46192
46438
|
"width": {
|
|
46439
|
+
"description": "This attribute defines the width of the masking area. Value type: <length>; Default value: 120%; Animatable: yes",
|
|
46193
46440
|
"defaultValue": "120%"
|
|
46194
46441
|
},
|
|
46195
46442
|
"x": {
|
|
46443
|
+
"description": "This attribute defines the x-axis coordinate of the top-left corner of the masking area. Value type: <coordinate>; Default value: -10%; Animatable: yes",
|
|
46196
46444
|
"defaultValue": "-10%"
|
|
46197
46445
|
},
|
|
46198
46446
|
"y": {
|
|
46447
|
+
"description": "This attribute defines the y-axis coordinate of the top-left corner of the masking area. Value type: <coordinate>; Default value: -10%; Animatable: yes",
|
|
46199
46448
|
"defaultValue": "-10%"
|
|
46200
46449
|
}
|
|
46201
46450
|
}
|
|
@@ -46366,6 +46615,7 @@
|
|
|
46366
46615
|
"description": "This attribute defines the shape of the path. Value type: <string>; Default value: ''; Animatable: yes"
|
|
46367
46616
|
},
|
|
46368
46617
|
"pathLength": {
|
|
46618
|
+
"description": "This attribute lets authors specify the total length for the path, in user units. Value type: <number>; Default value: none; Animatable: yes",
|
|
46369
46619
|
"type": "<number>",
|
|
46370
46620
|
"animatable": true
|
|
46371
46621
|
}
|
|
@@ -46483,13 +46733,16 @@
|
|
|
46483
46733
|
},
|
|
46484
46734
|
"attributes": {
|
|
46485
46735
|
"height": {
|
|
46736
|
+
"description": "This attribute determines the height of the pattern tile. Value type: <length>; Default value: 0; Animatable: yes",
|
|
46486
46737
|
"defaultValue": "0"
|
|
46487
46738
|
},
|
|
46488
46739
|
"href": {
|
|
46740
|
+
"description": "This attribute reference a template pattern that provides default values for the <pattern> attributes. Value type: <URL>; Default value: none; Animatable: yes",
|
|
46489
46741
|
"type": "URL",
|
|
46490
46742
|
"animatable": true
|
|
46491
46743
|
},
|
|
46492
46744
|
"patternContentUnits": {
|
|
46745
|
+
"description": "This attribute defines the coordinate system for the contents of the <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.",
|
|
46493
46746
|
"type": {
|
|
46494
46747
|
"enum": ["userSpaceOnUse", "objectBoundingBox"],
|
|
46495
46748
|
"disallowToSurroundBySpaces": false
|
|
@@ -46498,10 +46751,12 @@
|
|
|
46498
46751
|
"animatable": true
|
|
46499
46752
|
},
|
|
46500
46753
|
"patternTransform": {
|
|
46754
|
+
"description": "This attribute contains the definition of an optional additional transformation from the pattern coordinate system onto the target coordinate system. Value type: <transform-list>; Default value: identity transform; Animatable: yes",
|
|
46501
46755
|
"type": "<transform-list>",
|
|
46502
46756
|
"animatable": true
|
|
46503
46757
|
},
|
|
46504
46758
|
"patternUnits": {
|
|
46759
|
+
"description": "This attribute defines the coordinate system for attributes x, y, width, and height. Value type: userSpaceOnUse | objectBoundingBox; Default value: objectBoundingBox; Animatable: yes",
|
|
46505
46760
|
"type": {
|
|
46506
46761
|
"enum": ["userSpaceOnUse", "objectBoundingBox"],
|
|
46507
46762
|
"disallowToSurroundBySpaces": false
|
|
@@ -46510,15 +46765,18 @@
|
|
|
46510
46765
|
"animatable": true
|
|
46511
46766
|
},
|
|
46512
46767
|
"preserveAspectRatio": {
|
|
46768
|
+
"description": "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",
|
|
46513
46769
|
"type": "<preserve-aspect-ratio>",
|
|
46514
46770
|
"defaultValue": "xMidYMid meet",
|
|
46515
46771
|
"animatable": true
|
|
46516
46772
|
},
|
|
46517
46773
|
"viewBox": {
|
|
46774
|
+
"description": "This attribute defines the bound of the SVG viewport for the pattern fragment. Value type: <list-of-numbers>; Default value: none; Animatable: yes",
|
|
46518
46775
|
"type": "<view-box>",
|
|
46519
46776
|
"animatable": true
|
|
46520
46777
|
},
|
|
46521
46778
|
"width": {
|
|
46779
|
+
"description": "This attribute determines the width of the pattern tile. Value type: <length>; Default value: 0; Animatable: yes",
|
|
46522
46780
|
"defaultValue": "0"
|
|
46523
46781
|
},
|
|
46524
46782
|
"x": {
|
|
@@ -46642,10 +46900,12 @@
|
|
|
46642
46900
|
},
|
|
46643
46901
|
"attributes": {
|
|
46644
46902
|
"pathLength": {
|
|
46903
|
+
"description": "This attribute lets specify the total length for the path, in user units. Value type: <number>; Default value: none; Animatable: yes",
|
|
46645
46904
|
"type": "<number>",
|
|
46646
46905
|
"animatable": true
|
|
46647
46906
|
},
|
|
46648
46907
|
"points": {
|
|
46908
|
+
"description": "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",
|
|
46649
46909
|
"type": "<points>",
|
|
46650
46910
|
"animatable": true
|
|
46651
46911
|
}
|
|
@@ -46760,10 +47020,12 @@
|
|
|
46760
47020
|
},
|
|
46761
47021
|
"attributes": {
|
|
46762
47022
|
"pathLength": {
|
|
47023
|
+
"description": "This attribute lets specify the total length for the path, in user units. Value type: <number>; Default value: none; Animatable: yes",
|
|
46763
47024
|
"type": "<number>",
|
|
46764
47025
|
"animatable": true
|
|
46765
47026
|
},
|
|
46766
47027
|
"points": {
|
|
47028
|
+
"description": "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",
|
|
46767
47029
|
"type": "<points>",
|
|
46768
47030
|
"animatable": true
|
|
46769
47031
|
}
|
|
@@ -46871,33 +47133,40 @@
|
|
|
46871
47133
|
},
|
|
46872
47134
|
"attributes": {
|
|
46873
47135
|
"cx": {
|
|
47136
|
+
"description": "This attribute defines the x coordinate of the end circle of the radial gradient. Value type: <length>; Default value: 50%; Animatable: yes",
|
|
46874
47137
|
"type": ["<svg-length>", "<percentage>"],
|
|
46875
47138
|
"defaultValue": "50%",
|
|
46876
47139
|
"animatable": true
|
|
46877
47140
|
},
|
|
46878
47141
|
"cy": {
|
|
47142
|
+
"description": "This attribute defines the y coordinate of the end circle of the radial gradient. Value type: <length>; Default value: 50%; Animatable: yes",
|
|
46879
47143
|
"type": ["<svg-length>", "<percentage>"],
|
|
46880
47144
|
"defaultValue": "50%",
|
|
46881
47145
|
"animatable": true
|
|
46882
47146
|
},
|
|
46883
47147
|
"fr": {
|
|
47148
|
+
"description": "This attribute defines the radius of the start circle of the radial gradient. The gradient will be drawn such that the 0% <stop> is mapped to the perimeter of the start circle. Value type: <length>; Default value: 0%; Animatable: yes",
|
|
46884
47149
|
"type": ["<svg-length>", "<percentage>"],
|
|
46885
47150
|
"defaultValue": "0%",
|
|
46886
47151
|
"animatable": true
|
|
46887
47152
|
},
|
|
46888
47153
|
"fx": {
|
|
47154
|
+
"description": "This attribute defines the x coordinate of the start circle of the radial gradient. Value type: <length>; Default value: Same as cx; Animatable: yes",
|
|
46889
47155
|
"type": ["<svg-length>", "<percentage>"],
|
|
46890
47156
|
"animatable": true
|
|
46891
47157
|
},
|
|
46892
47158
|
"fy": {
|
|
47159
|
+
"description": "This attribute defines the y coordinate of the start circle of the radial gradient. Value type: <length>; Default value: Same as cy; Animatable: yes",
|
|
46893
47160
|
"type": ["<svg-length>", "<percentage>"],
|
|
46894
47161
|
"animatable": true
|
|
46895
47162
|
},
|
|
46896
47163
|
"gradientTransform": {
|
|
47164
|
+
"description": "This attribute provides additional transformation to the gradient coordinate system. Value type: <transform-list>; Default value: identity transform; Animatable: yes",
|
|
46897
47165
|
"type": "<transform-list>",
|
|
46898
47166
|
"animatable": true
|
|
46899
47167
|
},
|
|
46900
47168
|
"gradientUnits": {
|
|
47169
|
+
"description": "This attribute defines the coordinate system for attributes cx, cy, r, fx, fy, fr Value type: userSpaceOnUse | objectBoundingBox; Default value: objectBoundingBox; Animatable: yes",
|
|
46901
47170
|
"type": {
|
|
46902
47171
|
"enum": ["userSpaceOnUse", "objectBoundingBox"],
|
|
46903
47172
|
"disallowToSurroundBySpaces": false
|
|
@@ -46906,15 +47175,18 @@
|
|
|
46906
47175
|
"animatable": true
|
|
46907
47176
|
},
|
|
46908
47177
|
"href": {
|
|
47178
|
+
"description": "This attribute defines a reference to another <radialGradient> element that will be used as a template. Value type: <URL>; Default value: none; Animatable: yes",
|
|
46909
47179
|
"type": "URL",
|
|
46910
47180
|
"animatable": true
|
|
46911
47181
|
},
|
|
46912
47182
|
"r": {
|
|
47183
|
+
"description": "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",
|
|
46913
47184
|
"type": ["<svg-length>", "<percentage>"],
|
|
46914
47185
|
"defaultValue": "50%",
|
|
46915
47186
|
"animatable": true
|
|
46916
47187
|
},
|
|
46917
47188
|
"spreadMethod": {
|
|
47189
|
+
"description": "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",
|
|
46918
47190
|
"type": {
|
|
46919
47191
|
"enum": ["pad", "reflect", "repeat"],
|
|
46920
47192
|
"disallowToSurroundBySpaces": false
|
|
@@ -47046,6 +47318,7 @@
|
|
|
47046
47318
|
"description": "The height of the rect. Value type: auto | <length> | <percentage>; Default value: auto; Animatable: yes"
|
|
47047
47319
|
},
|
|
47048
47320
|
"pathLength": {
|
|
47321
|
+
"description": "The total length of the rectangle's perimeter, in user units. Value type: <number>; Default value: none; Animatable: yes",
|
|
47049
47322
|
"type": "<number>",
|
|
47050
47323
|
"animatable": true
|
|
47051
47324
|
},
|
|
@@ -47091,6 +47364,7 @@
|
|
|
47091
47364
|
},
|
|
47092
47365
|
"attributes": {
|
|
47093
47366
|
"crossorigin": {
|
|
47367
|
+
"description": "This attribute defines CORS settings as define for the HTML <script> element. Value type: [ anonymous | use-credentials ]?; Default value: ?; Animatable: yes",
|
|
47094
47368
|
"type": {
|
|
47095
47369
|
"enum": ["anonymous", "use-credentials", ""],
|
|
47096
47370
|
"disallowToSurroundBySpaces": false
|
|
@@ -47103,9 +47377,11 @@
|
|
|
47103
47377
|
"nonStandard": true
|
|
47104
47378
|
},
|
|
47105
47379
|
"href": {
|
|
47380
|
+
"description": "The URL to the script to load. Value type: <URL>; Default value: none; Animatable: no",
|
|
47106
47381
|
"type": "URL"
|
|
47107
47382
|
},
|
|
47108
47383
|
"type": {
|
|
47384
|
+
"description": "This attribute defines type of the script language to use. Value type: <media-type>; Default value: application/ecmascript; Animatable: no",
|
|
47109
47385
|
"type": "MIMEType",
|
|
47110
47386
|
"defaultValue": "application/ecmascript"
|
|
47111
47387
|
},
|
|
@@ -47154,6 +47430,7 @@
|
|
|
47154
47430
|
},
|
|
47155
47431
|
"attributes": {
|
|
47156
47432
|
"to": {
|
|
47433
|
+
"description": "This attribute defines the value to be applied to the target attribute for the duration of the animation. The value must match the requirements of the target attribute. Value type: <anything>; Default value: none; Animatable: no",
|
|
47157
47434
|
"type": "NoEmptyAny"
|
|
47158
47435
|
}
|
|
47159
47436
|
}
|
|
@@ -47252,16 +47529,19 @@
|
|
|
47252
47529
|
},
|
|
47253
47530
|
"attributes": {
|
|
47254
47531
|
"offset": {
|
|
47532
|
+
"description": "This attribute defines where the gradient stop is placed along the gradient vector. Value type: <number> | <percentage>; Default value: 0; Animatable: yes",
|
|
47255
47533
|
"type": ["<number>", "<percentage>"],
|
|
47256
47534
|
"defaultValue": "0",
|
|
47257
47535
|
"animatable": true
|
|
47258
47536
|
},
|
|
47259
47537
|
"stop-color": {
|
|
47538
|
+
"description": "This attribute defines the color of the gradient stop. It can be used as a CSS property. Value type: <color>; Default value: black; Animatable: yes",
|
|
47260
47539
|
"type": "<color>",
|
|
47261
47540
|
"defaultValue": "black",
|
|
47262
47541
|
"animatable": true
|
|
47263
47542
|
},
|
|
47264
47543
|
"stop-opacity": {
|
|
47544
|
+
"description": "This attribute defines the opacity of the gradient stop. It can be used as a CSS property. Value type: <opacity-value>; Default value: 1; Animatable: yes",
|
|
47265
47545
|
"type": "<'opacity'>",
|
|
47266
47546
|
"defaultValue": "1",
|
|
47267
47547
|
"animatable": true
|
|
@@ -47292,13 +47572,16 @@
|
|
|
47292
47572
|
},
|
|
47293
47573
|
"attributes": {
|
|
47294
47574
|
"media": {
|
|
47575
|
+
"description": "This attribute defines to which media the style applies. Value type: <media-query-list>; Default value: all; Animatable: no",
|
|
47295
47576
|
"type": "<media-query-list>",
|
|
47296
47577
|
"defaultValue": "all"
|
|
47297
47578
|
},
|
|
47298
47579
|
"title": {
|
|
47580
|
+
"description": "This attribute is the title of the style sheet which can be used to switch between alternate style sheets. Value type: <string>; Default value: none; Animatable: no",
|
|
47299
47581
|
"type": "Any"
|
|
47300
47582
|
},
|
|
47301
47583
|
"type": {
|
|
47584
|
+
"description": "This attribute defines type of the style sheet language to use as a media type string. Value type: <media-type>; Default value: text/css; Animatable: no",
|
|
47302
47585
|
"type": "MIMEType",
|
|
47303
47586
|
"defaultValue": "text/css"
|
|
47304
47587
|
}
|
|
@@ -47308,7 +47591,7 @@
|
|
|
47308
47591
|
"name": "svg:svg",
|
|
47309
47592
|
"namespace": "http://www.w3.org/2000/svg",
|
|
47310
47593
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/svg",
|
|
47311
|
-
"description": "The <svg> SVG element is a container that defines a new coordinate system and viewport. It is used as the outermost element of SVG documents, but it can also be used to embed an SVG fragment inside an SVG or HTML document. Note: The xmlns attribute is only required on the outermost svg element of SVG documents, or inside HTML documents with XML serialization. It is unnecessary for inner svg elements or inside HTML documents with HTML serialization.",
|
|
47594
|
+
"description": "The <svg> SVG element is a container that defines a new coordinate system and viewport. It is used as the outermost element of SVG documents, but it can also be used to embed an SVG fragment inside an SVG or HTML document. This element is for creating new SVG documents. If you have an existing SVG document to embed in another document via URL, use <img>, <object>, or <image>. Note: The xmlns attribute is only required on the outermost svg element of SVG documents, or inside HTML documents with XML serialization. It is unnecessary for inner svg elements or inside HTML documents with HTML serialization.",
|
|
47312
47595
|
"categories": [],
|
|
47313
47596
|
"contentModel": {
|
|
47314
47597
|
"contents": [
|
|
@@ -47426,8 +47709,9 @@
|
|
|
47426
47709
|
},
|
|
47427
47710
|
"attributes": {
|
|
47428
47711
|
"baseProfile": {
|
|
47429
|
-
"
|
|
47430
|
-
"deprecated": true
|
|
47712
|
+
"description": "The minimum SVG language profile that the document requires. Value type: <string>; Default value: none; Animatable: no",
|
|
47713
|
+
"deprecated": true,
|
|
47714
|
+
"type": "Any"
|
|
47431
47715
|
},
|
|
47432
47716
|
"contentScriptType": {
|
|
47433
47717
|
"type": "Any",
|
|
@@ -47440,25 +47724,30 @@
|
|
|
47440
47724
|
"deprecated": true
|
|
47441
47725
|
},
|
|
47442
47726
|
"height": {
|
|
47727
|
+
"description": "The displayed height of the rectangular viewport. (Not the height of its coordinate system.) Value type: <length> | <percentage>; Default value: auto; Animatable: yes",
|
|
47443
47728
|
"defaultValue": "auto"
|
|
47444
47729
|
},
|
|
47445
47730
|
"onunload": {
|
|
47446
47731
|
"type": "FunctionBody"
|
|
47447
47732
|
},
|
|
47448
47733
|
"preserveAspectRatio": {
|
|
47734
|
+
"description": "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",
|
|
47449
47735
|
"type": "<preserve-aspect-ratio>",
|
|
47450
47736
|
"defaultValue": "xMidYMid meet",
|
|
47451
47737
|
"animatable": true
|
|
47452
47738
|
},
|
|
47453
47739
|
"version": {
|
|
47454
|
-
"
|
|
47455
|
-
"deprecated": true
|
|
47740
|
+
"description": "Which version of SVG is used for the inner content of the element. Value type: <number>; Default value: none; Animatable: no",
|
|
47741
|
+
"deprecated": true,
|
|
47742
|
+
"type": "Any"
|
|
47456
47743
|
},
|
|
47457
47744
|
"viewBox": {
|
|
47745
|
+
"description": "The SVG viewport coordinates for the current SVG fragment. Value type: <list-of-numbers>; Default value: none; Animatable: yes",
|
|
47458
47746
|
"type": "<view-box>",
|
|
47459
47747
|
"animatable": true
|
|
47460
47748
|
},
|
|
47461
47749
|
"width": {
|
|
47750
|
+
"description": "The displayed width of the rectangular viewport. (Not the width of its coordinate system.) Value type: <length> | <percentage>; Default value: auto; Animatable: yes",
|
|
47462
47751
|
"defaultValue": "auto"
|
|
47463
47752
|
},
|
|
47464
47753
|
"x": {
|
|
@@ -47575,7 +47864,14 @@
|
|
|
47575
47864
|
"writing-mode"
|
|
47576
47865
|
]
|
|
47577
47866
|
},
|
|
47578
|
-
"attributes": {
|
|
47867
|
+
"attributes": {
|
|
47868
|
+
"requiredExtensions": {
|
|
47869
|
+
"description": "A space-separated list of URL values referencing the language extensions the user agent must support for the element to be rendered."
|
|
47870
|
+
},
|
|
47871
|
+
"systemLanguage": {
|
|
47872
|
+
"description": "A comma-separated list of supported language tags."
|
|
47873
|
+
}
|
|
47874
|
+
}
|
|
47579
47875
|
},
|
|
47580
47876
|
{
|
|
47581
47877
|
"name": "svg:symbol",
|
|
@@ -47628,10 +47924,12 @@
|
|
|
47628
47924
|
"description": "This attribute determines the height of the symbol. Value type: <length> | <percentage>; Default value: auto; Animatable: yes"
|
|
47629
47925
|
},
|
|
47630
47926
|
"preserveAspectRatio": {
|
|
47927
|
+
"description": "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",
|
|
47631
47928
|
"type": "<preserve-aspect-ratio>",
|
|
47632
47929
|
"defaultValue": "xMidYMid meet"
|
|
47633
47930
|
},
|
|
47634
47931
|
"refX": {
|
|
47932
|
+
"description": "This attribute determines the x coordinate of the reference point of the symbol. Value type: <length> | <percentage> | left | center | right; Default value: None; Animatable: yes",
|
|
47635
47933
|
"type": [
|
|
47636
47934
|
"<svg-length>",
|
|
47637
47935
|
"<percentage>",
|
|
@@ -47642,6 +47940,7 @@
|
|
|
47642
47940
|
]
|
|
47643
47941
|
},
|
|
47644
47942
|
"refY": {
|
|
47943
|
+
"description": "This attribute determines the y coordinate of the reference point of the symbol. Value type: <length> | <percentage> | top | center | bottom; Default value: None; Animatable: yes",
|
|
47645
47944
|
"type": [
|
|
47646
47945
|
"<svg-length>",
|
|
47647
47946
|
"<percentage>",
|
|
@@ -47652,6 +47951,7 @@
|
|
|
47652
47951
|
]
|
|
47653
47952
|
},
|
|
47654
47953
|
"viewBox": {
|
|
47954
|
+
"description": "This attribute defines the bound of the SVG viewport for the current symbol. Value type: <list-of-numbers>; Default value: none; Animatable: yes",
|
|
47655
47955
|
"type": "<view-box>"
|
|
47656
47956
|
},
|
|
47657
47957
|
"width": {
|
|
@@ -47777,14 +48077,17 @@
|
|
|
47777
48077
|
},
|
|
47778
48078
|
"attributes": {
|
|
47779
48079
|
"dx": {
|
|
48080
|
+
"description": "Shifts the text position horizontally from a previous text element, or shifts the position of each individual glyph if a list of values is provided. Value type: List of (<length> | <percentage>); Default value: none; Animatable: yes",
|
|
47780
48081
|
"type": "<text-coordinate>",
|
|
47781
48082
|
"animatable": true
|
|
47782
48083
|
},
|
|
47783
48084
|
"dy": {
|
|
48085
|
+
"description": "Shifts the text position vertically from a previous text element, or shifts the position of each individual glyph if a list of values is provided. Value type: List of (<length> | <percentage>); Default value: none; Animatable: yes",
|
|
47784
48086
|
"type": "<text-coordinate>",
|
|
47785
48087
|
"animatable": true
|
|
47786
48088
|
},
|
|
47787
48089
|
"lengthAdjust": {
|
|
48090
|
+
"description": "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",
|
|
47788
48091
|
"type": {
|
|
47789
48092
|
"enum": ["spacing", "spacingAndGlyphs"],
|
|
47790
48093
|
"disallowToSurroundBySpaces": false
|
|
@@ -47793,19 +48096,23 @@
|
|
|
47793
48096
|
"animatable": true
|
|
47794
48097
|
},
|
|
47795
48098
|
"rotate": {
|
|
48099
|
+
"description": "Rotates orientation of each individual glyph. Can rotate glyphs individually. Value type: <list-of-number>; Default value: none; Animatable: yes",
|
|
47796
48100
|
"type": "<list-of-numbers>",
|
|
47797
48101
|
"animatable": true
|
|
47798
48102
|
},
|
|
47799
48103
|
"textLength": {
|
|
48104
|
+
"description": "A width that the text should be scaled to fit. Value type: <length> | <percentage>; Default value: none; Animatable: yes",
|
|
47800
48105
|
"type": ["<svg-length>", "<percentage>"],
|
|
47801
48106
|
"animatable": true
|
|
47802
48107
|
},
|
|
47803
48108
|
"x": {
|
|
48109
|
+
"description": "The x coordinate of the starting point of the text baseline, or the x coordinate of each individual glyph if a list of values is provided. Value type: List of (<length> | <percentage>); Default value: 0; Animatable: yes",
|
|
47804
48110
|
"type": "<text-coordinate>",
|
|
47805
48111
|
"defaultValue": "0",
|
|
47806
48112
|
"animatable": true
|
|
47807
48113
|
},
|
|
47808
48114
|
"y": {
|
|
48115
|
+
"description": "The y coordinate of the starting point of the text baseline, or the y coordinate of each individual glyph if a list of values is provided. Value type: List of (<length> | <percentage>); Default value: 0; Animatable: yes",
|
|
47809
48116
|
"type": "<text-coordinate>",
|
|
47810
48117
|
"defaultValue": "0",
|
|
47811
48118
|
"animatable": true
|
|
@@ -47926,10 +48233,12 @@
|
|
|
47926
48233
|
},
|
|
47927
48234
|
"attributes": {
|
|
47928
48235
|
"href": {
|
|
48236
|
+
"description": "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",
|
|
47929
48237
|
"type": "URL",
|
|
47930
48238
|
"animatable": true
|
|
47931
48239
|
},
|
|
47932
48240
|
"lengthAdjust": {
|
|
48241
|
+
"description": "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",
|
|
47933
48242
|
"type": {
|
|
47934
48243
|
"enum": ["spacing", "spacingAndGlyphs"],
|
|
47935
48244
|
"disallowToSurroundBySpaces": false
|
|
@@ -47938,6 +48247,7 @@
|
|
|
47938
48247
|
"animatable": true
|
|
47939
48248
|
},
|
|
47940
48249
|
"method": {
|
|
48250
|
+
"description": "Which method to render individual glyphs along the path. Value type: align | stretch; Default value: align; Animatable: yes",
|
|
47941
48251
|
"type": {
|
|
47942
48252
|
"enum": ["align", "stretch"],
|
|
47943
48253
|
"disallowToSurroundBySpaces": false
|
|
@@ -47946,10 +48256,14 @@
|
|
|
47946
48256
|
"animatable": true
|
|
47947
48257
|
},
|
|
47948
48258
|
"path": {
|
|
48259
|
+
"description": "The path on which the text should be rendered. Value type: <path_data>; Default value: none; Animatable: yes",
|
|
48260
|
+
"experimental": true,
|
|
47949
48261
|
"type": "<svg-path>",
|
|
47950
48262
|
"animatable": true
|
|
47951
48263
|
},
|
|
47952
48264
|
"side": {
|
|
48265
|
+
"description": "Which side of the path the text should be rendered. Value type: left | right; Default value: left; Animatable: yes",
|
|
48266
|
+
"experimental": true,
|
|
47953
48267
|
"type": {
|
|
47954
48268
|
"enum": ["left", "right"],
|
|
47955
48269
|
"disallowToSurroundBySpaces": false
|
|
@@ -47958,6 +48272,7 @@
|
|
|
47958
48272
|
"animatable": true
|
|
47959
48273
|
},
|
|
47960
48274
|
"spacing": {
|
|
48275
|
+
"description": "How space between glyphs should be handled. Value type: auto | exact; Default value: exact; Animatable: yes",
|
|
47961
48276
|
"type": {
|
|
47962
48277
|
"enum": ["auto", "exact"],
|
|
47963
48278
|
"disallowToSurroundBySpaces": false
|
|
@@ -47966,10 +48281,12 @@
|
|
|
47966
48281
|
"animatable": true
|
|
47967
48282
|
},
|
|
47968
48283
|
"startOffset": {
|
|
48284
|
+
"description": "How far the beginning of the text should be offset from the beginning of the path. Value type: <length> | <percentage> | <number>; Default value: 0; Animatable: yes",
|
|
47969
48285
|
"type": ["<svg-length>", "<percentage>"],
|
|
47970
48286
|
"animatable": true
|
|
47971
48287
|
},
|
|
47972
48288
|
"textLength": {
|
|
48289
|
+
"description": "The width of the space into which the text will render. Value type: <length> | <percentage> | <number>; Default value: auto; Animatable: yes",
|
|
47973
48290
|
"type": ["<svg-length>", "<percentage>"],
|
|
47974
48291
|
"animatable": true
|
|
47975
48292
|
}
|
|
@@ -48109,14 +48426,17 @@
|
|
|
48109
48426
|
},
|
|
48110
48427
|
"attributes": {
|
|
48111
48428
|
"dx": {
|
|
48429
|
+
"description": "Shifts the text position horizontally from a previous text element, or shifts the position of each individual glyph if a list of values is provided. Value type: List of (<length> | <percentage>); Default value: none; Animatable: yes",
|
|
48112
48430
|
"type": "<text-coordinate>",
|
|
48113
48431
|
"animatable": true
|
|
48114
48432
|
},
|
|
48115
48433
|
"dy": {
|
|
48434
|
+
"description": "Shifts the text position vertically from a previous text element, or shifts the position of each individual glyph if a list of values is provided. Value type: List of (<length> | <percentage>); Default value: none; Animatable: yes",
|
|
48116
48435
|
"type": "<text-coordinate>",
|
|
48117
48436
|
"animatable": true
|
|
48118
48437
|
},
|
|
48119
48438
|
"lengthAdjust": {
|
|
48439
|
+
"description": "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",
|
|
48120
48440
|
"type": {
|
|
48121
48441
|
"enum": ["spacing", "spacingAndGlyphs"],
|
|
48122
48442
|
"disallowToSurroundBySpaces": false
|
|
@@ -48125,18 +48445,22 @@
|
|
|
48125
48445
|
"animatable": true
|
|
48126
48446
|
},
|
|
48127
48447
|
"rotate": {
|
|
48448
|
+
"description": "Rotates orientation of each individual glyph. Can rotate glyphs individually. Value type: <list-of-number>; Default value: none; Animatable: yes",
|
|
48128
48449
|
"type": "<list-of-numbers>",
|
|
48129
48450
|
"animatable": true
|
|
48130
48451
|
},
|
|
48131
48452
|
"textLength": {
|
|
48453
|
+
"description": "A width that the text should be scaled to fit. Value type: <length> | <percentage>; Default value: none; Animatable: yes",
|
|
48132
48454
|
"type": ["<svg-length>", "<percentage>"],
|
|
48133
48455
|
"animatable": true
|
|
48134
48456
|
},
|
|
48135
48457
|
"x": {
|
|
48458
|
+
"description": "The x coordinate of the starting point of the text baseline, or the x coordinate of each individual glyph if a list of values is provided. Value type: List of (<length> | <percentage>); Default value: 0; Animatable: yes",
|
|
48136
48459
|
"type": "<text-coordinate>",
|
|
48137
48460
|
"animatable": true
|
|
48138
48461
|
},
|
|
48139
48462
|
"y": {
|
|
48463
|
+
"description": "The y coordinate of the starting point of the text baseline, or the y coordinate of each individual glyph if a list of values is provided. Value type: List of (<length> | <percentage>); Default value: 0; Animatable: yes",
|
|
48140
48464
|
"type": "<text-coordinate>",
|
|
48141
48465
|
"animatable": true
|
|
48142
48466
|
}
|
|
@@ -48257,6 +48581,7 @@
|
|
|
48257
48581
|
"description": "The height of the <use> element. Value type: <length>; Default value: 0; Animatable: yes"
|
|
48258
48582
|
},
|
|
48259
48583
|
"href": {
|
|
48584
|
+
"description": "The URL to an element/fragment that needs to be duplicated. See Usage notes for details on common pitfalls. Value type: <URL>; Default value: none; Animatable: yes",
|
|
48260
48585
|
"type": "URL"
|
|
48261
48586
|
},
|
|
48262
48587
|
"width": {
|
|
@@ -48300,9 +48625,11 @@
|
|
|
48300
48625
|
},
|
|
48301
48626
|
"attributes": {
|
|
48302
48627
|
"preserveAspectRatio": {
|
|
48628
|
+
"description": "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",
|
|
48303
48629
|
"type": "<preserve-aspect-ratio>"
|
|
48304
48630
|
},
|
|
48305
48631
|
"viewBox": {
|
|
48632
|
+
"description": "This attribute defines the bound of the SVG viewport for the pattern fragment. Value type: <list-of-numbers>; Default value: none; Animatable: yes",
|
|
48306
48633
|
"type": "<view-box>"
|
|
48307
48634
|
},
|
|
48308
48635
|
"viewTarget": {
|
|
@@ -48310,11 +48637,12 @@
|
|
|
48310
48637
|
"deprecated": true
|
|
48311
48638
|
},
|
|
48312
48639
|
"zoomAndPan": {
|
|
48640
|
+
"description": "This attribute specifies whether the SVG document can be magnified and panned. Value type: disable | magnify; Default value: magnify; Animatable: no",
|
|
48641
|
+
"deprecated": true,
|
|
48313
48642
|
"type": {
|
|
48314
48643
|
"enum": ["disable", "magnify"]
|
|
48315
48644
|
},
|
|
48316
|
-
"defaultValue": "magnify"
|
|
48317
|
-
"deprecated": true
|
|
48645
|
+
"defaultValue": "magnify"
|
|
48318
48646
|
}
|
|
48319
48647
|
}
|
|
48320
48648
|
}
|