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

Update the list of global html attributes that should reflect #4998

Open
ekashida opened this issue Dec 3, 2024 · 0 comments
Open

Update the list of global html attributes that should reflect #4998

ekashida opened this issue Dec 3, 2024 · 0 comments

Comments

@ekashida
Copy link
Member

ekashida commented Dec 3, 2024

Description

We currently only reflect these attributes but the list of global html attributes that reflect has expanded since initial implementation.

A recent survey found that these attributes should also reflect:

  • autocapitalize
  • autofocus
  • contenteditable
  • enterkeyhint
  • inert
  • inputmode
  • nonce
  • popover
  • translate
  • writingsuggestions

These global html attributes do not reflect, per the spec:

  • exportparts
  • itemid
  • itemprop
  • itemref
  • itemscope
  • itemtype
  • part

Note that support for additional attributes should be added simultaneously to @lwc/engine-dom, @lwc/engine-server, and @lwc/ssr-compiler to avoid hydration mismatches.

Version

LWC v8.11.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants