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

add popover to no native attributes #164

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Conversation

keithamus
Copy link
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
Copy link
Owner

43081j commented Jan 12, 2023

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