Closed keithamus closed 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).
popover
popup
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.
eslint-plugin-lit
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
The upcoming
popover
feature (spec PR: https://github.com/whatwg/html/pull/8221, explainer: https://open-ui.org/components/popup.research.explainer) addspopover
as a global attribute to all HTMLElements. There is high confidence of good webcompat with this attribute (it used to be calledpopup
but that had webcompat issues).I think it would be good for
eslint-plugin-lit
to also introduce this. WebKit's standard position onpopover
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.