Skip to content

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

Open
@ekashida

Description

@ekashida

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions