Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Editorial] "state" keywords have inconsistent casing #10802 #10981

Open
wants to merge 47 commits into
base: main
Choose a base branch
from

Conversation

rgking
Copy link

@rgking rgking commented Feb 1, 2025

  • At least two implementers are interested (and none opposed):
  • Tests are written and can be reviewed and commented upon at:
  • Implementation bugs are filed:
    • Chromium: …
    • Gecko: …
    • WebKit: …
    • Deno (only for timers, structured clone, base64 utils, channel messaging, module resolution, web workers, and web storage): …
    • Node.js (only for timers, structured clone, base64 utils, channel messaging, and module resolution): …
  • Corresponding HTML AAM & ARIA in HTML issues & PRs:
  • MDN issue is filed: …
  • The top of this comment includes a clear commit message to use.

(See WHATWG Working Mode: Changes for more details.)


/acknowledgements.html ( diff )
/browsing-the-web.html ( diff )
/dnd.html ( diff )
/dom.html ( diff )
/embedded-content.html ( diff )
/form-control-infrastructure.html ( diff )
/form-elements.html ( diff )
/forms.html ( diff )
/images.html ( diff )
/index.html ( diff )
/infrastructure.html ( diff )
/input.html ( diff )
/interaction.html ( diff )
/parsing.html ( diff )
/popover.html ( diff )
/rendering.html ( diff )
/scripting.html ( diff )
/semantics-other.html ( diff )
/semantics.html ( diff )
/tables.html ( diff )
/text-level-semantics.html ( diff )
/urls-and-fetching.html ( diff )

rgking added 30 commits February 1, 2025 12:49
@keithamus keithamus requested a review from domenic February 2, 2025 12:43
@keithamus keithamus added the clarification Standard could be clearer label Feb 2, 2025
@domenic domenic requested review from annevk and removed request for domenic February 2, 2025 12:52
@@ -13190,7 +13190,7 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%
<li><code data-x="attr-autocorrect">autocorrect</code></li>
<li><code data-x="attr-fe-autofocus">autofocus</code></li>
<li><code data-x="attr-contenteditable">contenteditable</code></li>
<li><code data-x="attr-dir">dir</code></li>
<li><code data-x="attr-dir">Dir</code></li>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem right. I think you meant to change casings of states only and not of attribute names?

@noamr
Copy link
Collaborator

noamr commented Feb 4, 2025

Was there a decision somewhere to use title-case for enumerated attribute states? I find it inconsistent with other things in the HTML standard, and when those states represent strings that are specified elsewhere (e.g. <link rel=preload as=...> represents a fetch destination).

@noamr
Copy link
Collaborator

noamr commented Feb 4, 2025

Was there a decision somewhere to use title-case for enumerated attribute states? I find it inconsistent with other things in the HTML standard, and when those states represent strings that are specified elsewhere (e.g. <link rel=preload as=...> represents a fetch destination).

Ah I see the comments on #10802 now, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification Standard could be clearer
Development

Successfully merging this pull request may close these issues.

3 participants