diff --git a/source b/source index 61f30552fe3..d2b1e4867d8 100644 --- a/source +++ b/source @@ -1857,7 +1857,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
If removedNode's popover
attribute is not in
- the no popover state, then run the hide
+ the No popover state, then run the hide
popover algorithm given removedNode, false, false, and false.
high
- low
- auto
- The attribute's missing value default and invalid value default are both the - auto state.
+ Auto state.The dir
attribute on the
- Document
interface is defined along with the dir
+ Document
interface is defined along with the Dir
content attribute.
autocorrect
autofocus
contenteditable
dir
Dir
draggable
enterkeyhint
hidden
For example, in the following XML fragment, the "bogus
" element does not
- have a dir
attribute as defined in this specification, despite
+ have a Dir
attribute as defined in this specification, despite
having an attribute with the literal name "dir
". Thus, the
directionality of the inner-most span
element is 'rtl', inherited from the div
element indirectly through
@@ -13653,31 +13653,31 @@ Transport Protocol">HTTP</abbr> today.</p> global attribute has special semantics on this element.
+
Dir
global attribute has special semantics on this element.The bdi
element represents a span of text that is to be isolated from
its surroundings for the purposes of bidirectional text formatting. BIDI
The dir
global attribute defaults to The
Dir
global attribute defaults to auto
on this element (it never inherits from the parent element like
with other elements).
dir
global attribute has special semantics on this element.Dir
global attribute has special semantics on this element.Authors must specify the dir
attribute on this element, with the
+
Authors must specify the Dir
attribute on this element, with the
value ltr
to specify a left-to-right override and with the value rtl
to
specify a right-to-left override. The auto
value must not be specified.
The span
element doesn't mean anything on its own, but can be useful when used
together with the global attributes, e.g. class
,
- lang
, or dir
. It
+ lang
, or Dir
. It
represents its children.
The This example is the same as the previous example, but the image is lazy-loaded. In this case, the fetchpriority
attribute is a fetch
@@ -30431,7 +30431,7 @@ was an English <a href="/wiki/Music_hall">music hall</a> singer, ...
Lazy-loaded
sizes
attribute can use the auto
keyword, and the user agent will use the width
attribute (or the width specified in CSS) for the
@@ -31062,7 +31062,7 @@ was an English <a href="/wiki/Music_hall">music hall</a> singer, ...When decoding an image, the user agent should
respect the preference indicated by the decoding
attribute's state. If the state indicated is auto, then the user agent is free to choose any
+ data-x="attr-img-decoding-auto-state">Auto, then the user agent is free to choose any
decoding behavior.
It is also possible to control the decoding behavior using the The attribute's missing value default and invalid value default are both the auto state. (In this state the header cell applies to a
+ data-x="attr-th-scope-auto-state">Auto state. (In this state the header cell applies to a
set of cells selected based on context.) A The The headers in the first row all apply directly down to the rows in their column. The headers with a The remaining headers apply just to the cells to the right of them. the cell's the cell's the cell's the cell's A header cell is said to be a column group header if its A header cell is said to be a row group header if its A cell is said to be an empty cell if it contains no elements and its child
text content, if any, consists only of ASCII whitespace. The attribute's missing value default and invalid value default are both the on state. The Set the element's Set the element's Set the element's Set the element's If form is not null and form's Otherwise, let the element's autofill field name be " The The The The attribute's missing value default is the not hidden state, and its invalid value default is the hidden
+ data-x="attr-hidden-not-hidden-state">Not hidden state, and its invalid value default is the Hidden
state. When an element has the When an element has the Web browsers will use 'content-visibility: hidden' instead of 'display: none' when the Because this attribute is typically implemented using CSS, it's also possible to override it
using CSS. For instance, a rule that applies 'display: block' to all elements will cancel the
- effects of the hidden state. Authors therefore
+ effects of the Hidden state. Authors therefore
have to take care when writing their style sheets to make sure that the attribute is still styled
as expected. In addition, legacy user agents which don't support the hidden until found state will have 'display: none'
+ data-x="attr-hidden-until-found-state">Hidden until found state will have 'display: none'
instead of 'content-visibility: hidden', so authors are encouraged to make sure that their style
sheets don't change the 'display' or 'content-visibility' properties of hidden until found elements. Since elements with the The element needs to be affected by layout containment in order to be
revealed by find-in-page. This means that if the element in the hidden until found state has a 'display' value of
+ data-x="attr-hidden-until-found-state">Hidden until found state has a 'display' value of
'none', 'contents', or 'inline', then the element will not be revealed by find-in-page. The element will still have a generated box when in
- the hidden until found state, which means
+ the Hidden until found state, which means
that borders, margin, and padding will still be rendered around the element. If the If the If currentNode has the Fire an event named If element's Let ancestor be element. If ancestor's The attribute's missing value default and invalid value default are both the inherit state. The inherit state indicates that
+ data-x="attr-contenteditable-inherit-state">Inherit state. The inherit state indicates that
the element is editable (or not) based on the parent element's state. Returns " The The attribute's missing value default and invalid value default are both the default state. The default state indicates that the
+ data-x="attr-spellcheck-default-state">Default state. The default state indicates that the
element is to act according to a default behavior, possibly based on the parent element's own
The The attribute's missing value default is the default state. The default state indicates
+ data-x="attr-writingsuggestions-default-state">Default state. The default state indicates
that the element is to act according to a default behavior, possibly based on the parent
element's own The attribute's invalid value default is the true state. If element's If element's If element has an inclusive ancestor with a Otherwise, return true. The attribute's missing value default and invalid value default are both the auto state. The auto state uses the default behavior of
+ data-x="attr-draggable-auto-state">Auto state. The auto state uses the default behavior of
the user agent. An element with a If an element's Otherwise, if the element's Otherwise, the element's The attribute's missing value default is the no popover state, and its invalid value default is the manual
+ data-x="attr-popover-none-state">No popover state, and its invalid value default is the Manual
state. The If originalType is the auto state,
+ If originalType is the Auto state,
then: If originalType is the hint state,
+ If originalType is the Hint state,
then: If originalType is auto or hint, then: If originalType is Auto or Hint, then: Assert: stackToAppendTo is not null. If shouldRestoreFocus is true and element's Queue a popover toggle event task given element, " If element's Run hide all popovers until given
@@ -86399,9 +86400,9 @@ dictionary DragEventInit : MouseEventInit {
Assert: endpoint is a If endpoint is a Assert: endpoint's Run hide popover stack until given endpoint,
document's showing hint popover list, focusPreviousElement,
@@ -86529,7 +86530,7 @@ dictionary DragEventInit : MouseEventInit {
ancestral relationship. This eliminates non-showing popovers and self-pointers (e.g., a popover
containing an invoking element that points back to the containing popover), and it allows for the
construction of a well-formed tree from the (possibly cyclic) graph of connections. Only auto popovers are considered. If the provided element is a top layer element such as a Assert: newPopoverOrTopLayerElement's Assert: newPopoverOrTopLayerElement's popover visibility
state is not in the popover showing
@@ -86608,14 +86609,14 @@ dictionary DragEventInit : MouseEventInit {
Assert: candidateAncestor's Set okNesting to true if newPopoverOrTopLayerElement's If okNesting is false, then set candidate to
candidateAncestor's parent in the flat tree. If currentNode's If element's If throwExceptions is true, then throw a
@@ -86884,23 +86885,23 @@ dictionary DragEventInit : MouseEventInit {
The attribute's missing value default and invalid value default are both the toggle state. Whenever possible ensure the popover element is placed immediately after its
triggering element in the DOM. Doing so will help ensure that the popover is exposed in a logical
@@ -87002,7 +87003,7 @@ dictionary DragEventInit : MouseEventInit {
If popoverElement is null, then return null. If popoverElement's Return popoverElement. "Light dismiss" means that clicking outside of a popover whose To light dismiss open popovers, given a If targetPopover is not null and targetPopover's User agents that persist the value of form controls are encouraged to also
- persist their directionality (the value of the element's This can even include updating the This can even include updating the When an When an The directionality of attributes depends on the attribute and on the element's HTMLTableCellElement : HTMLElement {
row
- row
+ Row
The header cell applies to some of the subsequent cells in the same row(s).
col
- column
+ Column
The header cell applies to some of the subsequent cells in the same column(s).
rowgroup
- row group
+ Row group
The header cell applies to all the remaining cells in the row group.
colgroup
- column group
+ Column group
The header cell applies to all the remaining cells in the column group.
th
element's scope
attribute must not be in
- the row group state if the element is not anchored in
+ the Row group state if the element is not anchored in
a row group, nor in the column group state if the element is not anchored in a
+ data-x="attr-th-scope-colgroup-state">Column group state if the element is not anchored in a
column group.
th
element may have an HTMLTableCellElement
: HTMLElement {
scope
attribute in the rowgroup state apply to all the cells in their row
+ data-x="attr-th-scope-rowgroup-state">Row group state apply to all the cells in their row
group other than the cells in the first column.
@@ -44998,21 +44998,21 @@ interface HTMLTableCellElement : HTMLElement {
scope
attribute is in the column state; orscope
attribute is in the auto state, and there are no data cells in any of the
+ data-x="attr-th-scope-auto-state">Auto state, and there are no data cells in any of the
cells covering slots with y-coordinates y .. y+height-1.
scope
attribute is in the row state; orscope
attribute is in the auto state, the cell is not a column
+ data-x="attr-th-scope-auto-state">Auto state, the cell is not a column
header, and there are no data cells in any of the cells covering slots with
x-coordinates x .. x+width-1.scope
attribute is in the column group state.scope
attribute is in the row group state.
on
- on
+ On
Form controls will have their autofill field name set to " on
" by default.
off
- off
+ Off
Form controls will have their autofill field name set to " off
" by default.
action
, enctype
,
method
, novalidate
,
@@ -48617,7 +48617,7 @@ interface HTMLInputElement : HTMLElement {
the following steps:
-
dir
attribute to "Dir
attribute to "ltr
" if the user selected a left-to-right writing direction, and
"rtl
" if the user selected a right-to-left writing
direction.
-
dir
attribute to "Dir
attribute to "ltr
" if the user selected a left-to-right writing direction, and
"rtl
" if the user selected a right-to-left writing
direction.autocomplete
attribute is in the off state, then let the element's
+ data-x="attr-form-autocomplete-off-state">Off state, then let the element's
autofill field name be "off
".HTMLTemplateElement : HTMLElement {
open
- open
+ Open
The template element represents an open declarative shadow root.
closed
- closed
+ Closed
The template element represents a closed declarative shadow root.
shadowrootmode
attribute's invalid value default and missing value default are both the none state.shadowrootdelegatesfocus
content
@@ -75025,7 +75025,7 @@ Demos:
:popover-open
pseudo-class is
defined to match any HTML element whose popover
attribute is not in the no popover state and whose popover visibility
+ data-x="attr-popover-none-state">No popover state and whose popover visibility
state is showing.
hidden
- hidden
+ Hidden
Will not be rendered.
(the empty string)
until-found
- hidden until found
+ Hidden until found
Will not be rendered, but content inside will be accessible to find-in-page
and fragment navigation.
hidden
attribute in the hidden state, it indicates that the element is not yet, or
+ data-x="attr-hidden-hidden-state">Hidden state, it indicates that the element is not yet, or
is no longer, directly relevant to the page's current state, or that it is being used to declare
content to be reused by other parts of the page as opposed to being directly accessed by the user.
User agents should not render elements that are in the hidden state. This requirement may be implemented
+ data-x="attr-hidden-hidden-state">Hidden state. This requirement may be implemented
indirectly through the style layer. For example, a web browser could implement these requirements
using the rules suggested in the Rendering section.hidden
attribute in the hidden until found state, it indicates that the
- element is hidden like the hidden state but the
+ data-x="attr-hidden-until-found-state">Hidden until found state, it indicates that the
+ element is hidden like the Hidden state but the
content inside the element will be accessible to find-in-page and fragment navigation. When these features attempt to scroll to a
target which is in the element's subtree, the user agent will remove the
hidden
attribute is in the hidden until found state, as specified in the Hidden until found state, as specified in the Rendering section.hidden
attribute in the hidden until found state use 'content-visibility:
+ data-x="attr-hidden-until-found-state">Hidden until found state use 'content-visibility:
hidden' instead of 'display: none', there are two caveats of the hidden until found state that make it different
- from the hidden state:
hidden
attribute is in the hidden until found state, then return "Hidden until found state, then return "
until-found
".hidden
attribute is set, then return
@@ -79135,7 +79135,7 @@ END:VCARD
hidden
attribute in the
- hidden until found state, then:
@@ -81788,26 +81788,26 @@ addShortcutKeyLabel(document.getElementById('c'));
ToggleEventInit : EventInit {
element.
popover
attribute is not in the
- no popover state, then return
+ No popover state, then return
element.popover
attribute is not in
- the no popover state, then return
+ the No popover state, then return
ancestor.
true
- true
+ True
The element is editable.
(the empty string)
false
- false
+ False
The element is not editable.
plaintext-only
- plaintext-only
+ Plaintext-only
Only the element's raw text content is editable; rich formatting is disabled.
true
", "plaintext-only
", "false
", or "inherit
",
+ data-x="">false", or "Inherit
",
based on the state of the contenteditable
attribute.contentEditable
IDL attribute, on getting, must return
the string "true
" if the content attribute is set to the true state, "True state, "
plaintext-only
" if the content attribute is set to the plaintext-only state, "Plaintext-only state, "
false
" if the content attribute is set to the false state, and "inherit
" otherwise. On setting, if the new
+ data-x="attr-contenteditable-false-state">False state, and "Inherit
" otherwise. On setting, if the new
value is an ASCII case-insensitive match for the string "inherit
" then the content attribute must be removed, if the new value is an
ASCII case-insensitive match for the string "true
" then the
@@ -82076,20 +82076,20 @@ body { display:none }
true
- true
+ True
Spelling and grammar will be checked.
(the empty string)
false
- false
+ False
Spelling and grammar will not be checked.
spellcheck
state, as defined below.spellcheck
IDL
attribute, on getting, must return true if the element's spellcheck
content attribute is in the true state, or if the element's True state, or if the element's
spellcheck
content attribute is in the default state and the element's Default state and the element's default behavior is true-by-default, or if the element's spellcheck
content attribute is in the default state and the element's Default state and the element's default behavior is inherit-by-default and the element's parent
element's spellcheck
IDL attribute would return true;
@@ -82182,16 +82182,17 @@ body { display:none }
spellcheck
content attribute, then: if that attribute is in the
- true state, then checking is enabled; otherwise, if that attribute is in the false
- state, then checking is disabled.spellcheck
content attribute that is not in the default
+ data-x="attr-spellcheck-default-state">Default
state, then: if the nearest such ancestor's spellcheck
- content attribute is in the true state, then
+ content attribute is in the True state, then
checking is enabled; otherwise, checking is disabled.
true
- true
+ True
Writing suggestions should be offered on this element.
@@ -82276,19 +82277,19 @@ body { display:none }
false
- false
+ False
Writing suggestions should not be offered on this element.
writingsuggestions
state, as defined
below.
element.writingSuggestions [ = value ]
writingsuggestions
- content attribute is in the false
+ content attribute is in the False
state, return "false
".writingsuggestions
content attribute is in the default state, element has a
+ data-x="attr-writingsuggestions-default-state">Default state, element has a
parent element, and the computed writing suggestions value of
element's parent element is "false
", then return
"false
".writingsuggestions
content attribute that's not in the
- default and the nearest such
+ Default and the nearest such
ancestor's writingsuggestions
content attribute is
- in the false state, then return
+ in the False state, then return
false.open
attribute, in order to make
find-in-page able to search through it. Similarly, all HTML elements with the hidden
attribute in the hidden until found state should have their Hidden until found state should have their skipped contents become accessible without modifying the hidden
attribute in order to make find-in-page able to search through
them. After find-in-page finishes searching for matches, the details
elements and the
elements with the hidden
attribute in the hidden until found state should have their contents
+ data-x="attr-hidden-until-found-state">Hidden until found state should have their contents
become skipped again. This entire process must happen synchronously (and so is not observable to
users or to author code). CSSCONTAIN
@@ -85607,18 +85608,18 @@ dictionary DragEventInit : MouseEventInit {
true
- true
+ True
The element will be draggable.
false
- false
+ False
The element will not be draggable.
draggable
attribute should also have a
@@ -85648,15 +85649,15 @@ dictionary DragEventInit : MouseEventInit {
draggable as well.draggable
content attribute has the state
- true, the True, the
draggable
IDL attribute must return true.draggable
content attribute
- has the state false, the False, the
draggable
IDL attribute must return false.draggable
content attribute has
- the state auto. If the element is an
+ the state Auto. If the element is an
img
element, an object
element that represents an image, or
an a
element with an href
content
attribute, the draggable
IDL attribute must return true;
@@ -85813,7 +85814,7 @@ dictionary DragEventInit : MouseEventInit {
auto
- auto
+ Auto
Closes other popovers when opened; has light
dismiss and responds to close requests.
@@ -85821,14 +85822,14 @@ dictionary DragEventInit : MouseEventInit {
manual
- manual
+ Manual
Does not close other popovers; does not light
dismiss or respond to close requests.
- hint
hint
+ Hint
Closes other hint popovers when opened, but not other auto popovers; has light dismiss and responds to close requests.
@@ -85837,8 +85838,8 @@ dictionary DragEventInit : MouseEventInit {
popover
IDL
@@ -85897,8 +85898,8 @@ dictionary DragEventInit : MouseEventInit {
popover
attribute is in the auto state, then this will also close all other auto popovers unless they are an ancestor of
+ data-x="attr-popover-auto-state">Auto state, then this will also close all other Auto popovers unless they are an ancestor of
element according to the topmost popover ancestor algorithm.element.DragEventInit : MouseEventInit {
popover list, invoker, and true.
@@ -86014,7 +86015,7 @@ dictionary DragEventInit : MouseEventInit {
@@ -86054,8 +86055,8 @@ dictionary DragEventInit : MouseEventInit {
popover
attribute is not in the no popover state, then set element's
+ data-x="attr-popover-none-state">No popover state, then set element's
previously focused element to originallyFocusedElement.DragEventInit : MouseEventInit {
popover
attribute is in the auto state or the hint state, then:
Document
or
endpoint's popover
attribute is in the auto state or endpoint's Auto state or endpoint's
popover
attribute is in the hint state.Document
:
popover
- attribute is in the hint state.dialog
which is not
showing as a popover, then topmost popover ancestor will only look in the node tree
@@ -86546,8 +86547,8 @@ dictionary DragEventInit : MouseEventInit {
popover
attribute is not in the no popover state or the manual state.popover
attribute is not in the manual or none state.popover
attribute is in the hint state or candidateAncestor's Hint state or candidateAncestor's
popover
attribute is in the auto state.
popover
attribute is in
- the auto state and currentNode's
+ the Auto state and currentNode's
popover visibility state is showing,
then return currentNode.
popover
attribute is in the no popover state, then:
toggle
- toggle
+ Toggle
Shows or hides the targeted popover element.
show
- show
+ Show
Shows the targeted popover element.
hide
- hide
+ Hide
Hides the targeted popover element.
popover
attribute is in
- the no popover state, then return null.popover
attribute is in the auto state will close the popover. This is in addition to
+ data-x="attr-popover-auto-state">Auto state will close the popover. This is in addition to
how such popovers respond to close requests.PointerEvent
@@ -87109,7 +87110,7 @@ dictionary DragEventInit : MouseEventInit {
popover
attribute is in the auto state and targetPopover's popover
+ data-x="attr-popover-auto-state">Auto state and targetPopover's popover
visibility state is showing, then return
targetPopover.dir
+ persist their directionality (the value of the element's Dir
attribute). This prevents values from being displayed incorrectly after a history traversal
when the user had originally entered the values with an explicit, non-default
directionality.dir
attribute
+ Dir
attribute
of textarea
elements or input
elements whose type
attribute is in the Text, Search,
@@ -130631,7 +130632,7 @@ document.body.appendChild(text);
shadowrootmode
is not in
- the none state;br
and wbr
elements also has bidi implications */
- input
element's dir
attribute is in the
+ input
element's Dir
attribute is in the
auto state and its type
attribute is in the Text state, then the user agent is
expected to act as if it had a user-agent-level style sheet rule setting the
@@ -138415,7 +138416,7 @@ progress { appearance: auto; }
dir
attribute, as the following example demonstrates. Consider this
+ data-x="attr-dir">Dir attribute, as the following example demonstrates. Consider this
markup:<table>
@@ -146958,6 +146959,7 @@ INSERT INTERFACES HERE
Robin Berjon,
Robin Schaufler,
Rodger Combs,
+ Roger King,
Roland Steiner,
Roma Matusevich,
Romain Deltour,