43081j / eslint-plugin-lit

lit-html support for ESLint
115 stars 20 forks source link

add popover to no native attributes #164

Closed keithamus closed 1 year ago

keithamus commented 1 year ago

The upcoming popover feature (spec PR: https://github.com/whatwg/html/pull/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" (https://github.com/WebKit/standards-positions/issues/74), as is Mozillas (https://github.com/mozilla/standards-positions/issues/698). It has already been implemented in Chrome 106 behind a flag.

43081j commented 1 year ago

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