Skip to content

add popover to no native attributes#164

Merged
43081j merged 1 commit into
43081j:masterfrom
keithamus:patch-1
Jan 12, 2023
Merged

add popover to no native attributes#164
43081j merged 1 commit into
43081j:masterfrom
keithamus:patch-1

Conversation

@keithamus

Copy link
Copy Markdown
Contributor

The upcoming popover feature (spec PR: whatwg/html#8221, explainer: https://open-ui.org/components/popup.research.explainer) adds popover as a global attribute to all HTMLElements. There is high confidence of good webcompat with this attribute (it used to be called popup but that had webcompat issues).

I think it would be good for eslint-plugin-lit to also introduce this. WebKit's standard position on popover is "support" (WebKit/standards-positions#74), as is Mozillas (mozilla/standards-positions#698). It has already been implemented in Chrome 106 behind a flag.

@43081j

43081j commented Jan 12, 2023

Copy link
Copy Markdown
Owner

makes sense to me. super nice explanation btw, thanks for pointing out the references etc for sure

saw the popover feature recently at a talk, looking forward to it :D

@43081j 43081j merged commit cf4fd6c into 43081j:master Jan 12, 2023
@keithamus keithamus deleted the patch-1 branch January 12, 2023 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants