From 5a5728df1dd1295ac9f7d5e7d4b8e8a207746c30 Mon Sep 17 00:00:00 2001 From: Roger King Date: Sat, 1 Feb 2025 12:49:50 -0500 Subject: [PATCH 01/47] editorial: use title case for `attr-contenteditable-false-state` --- source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source b/source index 61f30552fe3..e7530b610ab 100644 --- a/source +++ b/source @@ -81795,7 +81795,7 @@ addShortcutKeyLabel(document.getElementById('c')); false - false + False The element is not editable. plaintext-only" if the content attribute is set to the plaintext-only state, "false" if the content attribute is set to the false state, and "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 From 3b71061e76e33f394f01392f126dde307b7b8bdd Mon Sep 17 00:00:00 2001 From: Roger King Date: Sat, 1 Feb 2025 12:50:42 -0500 Subject: [PATCH 02/47] editorial: use title case for `attr-contenteditable-inherit-state` --- source | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source b/source index e7530b610ab..38891d569d4 100644 --- a/source +++ b/source @@ -81807,7 +81807,7 @@ addShortcutKeyLabel(document.getElementById('c'));

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.

@@ -81870,7 +81870,7 @@ body { display:none }

Returns "true", "plaintext-only", "false", or "inherit", + data-x="">false", or "Inherit", based on the state of the contenteditable attribute.

@@ -81895,7 +81895,7 @@ body { display:none } data-x="attr-contenteditable-plaintextonly-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-inherit-state">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 From 03b384e785025dc9544e91bee9cdf0226f936b5f Mon Sep 17 00:00:00 2001 From: Roger King Date: Sat, 1 Feb 2025 12:51:46 -0500 Subject: [PATCH 03/47] editorial: use title case for `attr-contenteditable-plaintextonly-state` --- source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source b/source index 38891d569d4..01ca3778865 100644 --- a/source +++ b/source @@ -81800,7 +81800,7 @@ addShortcutKeyLabel(document.getElementById('c')); plaintext-only - plaintext-only + Plaintext-only Only the element's raw text content is editable; rich formatting is disabled. @@ -81892,7 +81892,7 @@ body { display:none } the string "true" if the content attribute is set to the 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 From ea0d835bb46ab4718db5e0eba379e635288327fc Mon Sep 17 00:00:00 2001 From: Roger King Date: Sat, 1 Feb 2025 12:52:32 -0500 Subject: [PATCH 04/47] editorial: use title case for `attr-contenteditable-true-state` --- source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source b/source index 01ca3778865..dd60e4ed0c5 100644 --- a/source +++ b/source @@ -81788,7 +81788,7 @@ addShortcutKeyLabel(document.getElementById('c')); true - true + True The element is editable. (the empty string) @@ -81890,7 +81890,7 @@ body { display:none }

The 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, "false" if the content attribute is set to the Date: Sat, 1 Feb 2025 12:54:16 -0500 Subject: [PATCH 05/47] editorial: use title case for `attr-dir` --- source | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/source b/source index dd60e4ed0c5..840a594c05a 100644 --- a/source +++ b/source @@ -11669,7 +11669,7 @@ partial interface Document {


The dir attribute on the - Document interface is defined along with the dir + Document interface is defined along with the Dir content attribute.

@@ -13190,7 +13190,7 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%
  • autocorrect
  • autofocus
  • contenteditable
  • -
  • dir
  • +
  • Dir
  • draggable
  • enterkeyhint
  • hidden
  • @@ -13223,7 +13223,7 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%

    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 @@ -13756,9 +13756,9 @@ Transport Protocol">HTTP</abbr> today.</p> global attribute has special semantics on this element.

    +
    Also, the Dir global attribute has special semantics on this element.
    Accessibility considerations:
    For authors.
    @@ -24401,7 +24401,7 @@ wormhole connection.</mark></p>

    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).

    @@ -24454,7 +24454,7 @@ wormhole connection.</mark></p>
    Phrasing content.
    Content attributes:
    Global attributes
    -
    Also, the dir global attribute has special semantics on this element.
    +
    Also, the Dir global attribute has special semantics on this element.
    Accessibility considerations:
    For authors.
    @@ -24467,7 +24467,7 @@ wormhole connection.</mark></p> control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. BIDI

    -

    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.

    @@ -24509,7 +24509,7 @@ interface HTMLSpanElement : HTMLElement {

    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.

    @@ -48617,7 +48617,7 @@ interface HTMLInputElement : HTMLElement { the following steps:

      -
    1. Set the element's dir attribute to "

      Set the element's 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.

    2. @@ -54887,7 +54887,7 @@ interface HTMLTextAreaElement : HTMLElement { then run the following steps:

        -
      1. Set the element's dir attribute to "

        Set the element's 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.

      2. @@ -99408,7 +99408,7 @@ interface NotRestoredReasons { controls.

        User agents that persist the value of form controls are encouraged to also - persist their directionality (the value of the element's 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.

        @@ -105132,7 +105132,7 @@ location.href = '#foo';
        that the user agent had previously recorded in entry's persisted user state.

        -

        This can even include updating the dir attribute +

        This can even include updating the Dir attribute of textarea elements or input elements whose type attribute is in the Text, Search, @@ -135945,7 +135945,7 @@ input[dir=auto i]:is([type=search i], [type=tel i], [type=url i], /* the rules setting the 'content' property on br and wbr elements also has bidi implications */ -

        When an input element's dir attribute is in the +

        When an 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 +138415,7 @@ progress { appearance: auto; }

        The directionality of attributes depends on the attribute and on the element's dir attribute, as the following example demonstrates. Consider this + data-x="attr-dir">Dir attribute, as the following example demonstrates. Consider this markup:

        <table>
        
        From 02e46622d8eadb7a9820eee4fbeaa61b30be673f Mon Sep 17 00:00:00 2001
        From: Roger King 
        Date: Sat, 1 Feb 2025 12:55:05 -0500
        Subject: [PATCH 06/47] editorial: use title case for `attr-dir-auto-state`
        
        ---
         source | 8 ++++----
         1 file changed, 4 insertions(+), 4 deletions(-)
        
        diff --git a/source b/source
        index 840a594c05a..8aaba744d3b 100644
        --- a/source
        +++ b/source
        @@ -13778,14 +13778,14 @@ Transport Protocol">HTTP</abbr> today.</p>
        From 1d421aa017414fc92f481f4e948e474a920d0c3a Mon Sep 17 00:00:00 2001 From: Roger King Date: Sat, 1 Feb 2025 13:29:26 -0500 Subject: [PATCH 35/47] editorial: use title case for `attr-spellcheck-true-state` --- source | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source b/source index 019a473fc89..9625ddf0e4a 100644 --- a/source +++ b/source @@ -82076,7 +82076,7 @@ body { display:none } true - true + True Spelling and grammar will be checked. (the empty string) @@ -82116,7 +82116,7 @@ body { display:none }

        The 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 behavior is Otherwise, if the element with which the text is associated has a spellcheck content attribute, then: if that attribute is in the - true state, then checking is enabled; otherwise, + True state, then checking is enabled; otherwise, if that attribute is in the False state, then checking is disabled. @@ -82192,7 +82192,7 @@ body { display:none } data-x="attr-spellcheck">spellcheck content attribute that is not in the 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. From e40c0001ee1f8cd8fd31e2f382d00a5c380db3de Mon Sep 17 00:00:00 2001 From: Roger King Date: Sat, 1 Feb 2025 13:30:24 -0500 Subject: [PATCH 36/47] editorial: use title case for `attr-th-scope-auto-state` --- source | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source b/source index 9625ddf0e4a..d5b5eaf13cb 100644 --- a/source +++ b/source @@ -44050,7 +44050,7 @@ interface HTMLTableCellElement : HTMLElement {

        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 th element's scope attribute must not be in @@ -44987,7 +44987,7 @@ interface HTMLTableCellElement : HTMLElement { data-x="attr-th-scope-column-state">column state; or

      3. the cell's scope 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.

      4. @@ -45001,7 +45001,7 @@ interface HTMLTableCellElement : HTMLElement { data-x="attr-th-scope-row-state">row state; or

      5. the cell's scope 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.

      6. From 1a14630118c1f458af0601ca72fc7e56e0a8d9d9 Mon Sep 17 00:00:00 2001 From: Roger King Date: Sat, 1 Feb 2025 13:30:58 -0500 Subject: [PATCH 37/47] editorial: use title case for `attr-th-scope-colgroup-state` --- source | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source b/source index d5b5eaf13cb..df57d7d556a 100644 --- a/source +++ b/source @@ -44044,7 +44044,7 @@ interface HTMLTableCellElement : HTMLElement { 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. @@ -44056,7 +44056,7 @@ interface HTMLTableCellElement : HTMLElement {

        A th element's scope attribute must not be 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.

        The th element may have an HTMLTableCellElement : HTMLElement {

        A header cell is said to be a column group header if its scope attribute is in the column group state.

        + data-x="attr-th-scope-colgroup-state">Column group state.

        A header cell is said to be a row group header if its scope attribute is in the Date: Sat, 1 Feb 2025 13:31:27 -0500 Subject: [PATCH 38/47] editorial: use title case for `attr-th-scope-column-state` --- source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source b/source index df57d7d556a..36e46b6e43c 100644 --- a/source +++ b/source @@ -44036,7 +44036,7 @@ interface HTMLTableCellElement : HTMLElement { 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 @@ -44984,7 +44984,7 @@ interface HTMLTableCellElement : HTMLElement {

        • the cell's scope attribute is in the column state; or

        • + data-x="attr-th-scope-column-state">Column state; or

        • the cell's scope attribute is in the Auto state, and there are no data cells in any of the From 218477e1897a2368279aba5cb5e12ab501731d11 Mon Sep 17 00:00:00 2001 From: Roger King Date: Sat, 1 Feb 2025 13:32:26 -0500 Subject: [PATCH 39/47] editorial: use title case for `attr-th-scope-row-state` --- source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source b/source index 36e46b6e43c..03182978a62 100644 --- a/source +++ b/source @@ -44032,7 +44032,7 @@ interface HTMLTableCellElement : HTMLElement { row - row + Row The header cell applies to some of the subsequent cells in the same row(s). col @@ -44998,7 +44998,7 @@ interface HTMLTableCellElement : HTMLElement {

          • the cell's scope attribute is in the row state; or

          • + data-x="attr-th-scope-row-state">Row state; or

          • the cell's scope attribute is in the Auto state, the cell is not a column From 0899e51ee3ea700f0a9a56162557967b332a1da7 Mon Sep 17 00:00:00 2001 From: Roger King Date: Sat, 1 Feb 2025 13:33:30 -0500 Subject: [PATCH 40/47] editorial: use title case for `attr-th-scope-rowgroup-state` --- source | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source b/source index 03182978a62..b05f9d68d19 100644 --- a/source +++ b/source @@ -44040,7 +44040,7 @@ interface HTMLTableCellElement : HTMLElement { 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 @@ -44054,7 +44054,7 @@ interface HTMLTableCellElement : HTMLElement { set of cells selected based on context.)

            A 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 column group. @@ -44112,7 +44112,7 @@ interface HTMLTableCellElement : HTMLElement {

            The headers in the first row all apply directly down to the rows in their column.

            The headers with a 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.

            The remaining headers apply just to the cells to the right of them.

            @@ -45012,7 +45012,7 @@ interface HTMLTableCellElement : HTMLElement {

            A header cell is said to be a row group header if its scope attribute is in the row group state.

            + data-x="attr-th-scope-rowgroup-state">Row group state.

            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.

            From ad924fa1087358a806f3ae9ba0163583412c6176 Mon Sep 17 00:00:00 2001 From: Roger King Date: Sat, 1 Feb 2025 13:33:56 -0500 Subject: [PATCH 41/47] editorial: use title case for `attr-translate-inherit-state` --- source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source b/source index b05f9d68d19..797cb83519f 100644 --- a/source +++ b/source @@ -13666,7 +13666,7 @@ Transport Protocol">HTTP</abbr> today.</p>
            Roland Steiner, Roma Matusevich, Romain Deltour,