v141 · css · pseudo-elements
Activation event order
Pressing the ⓘ is “treated as showing interest in the originating element”. So what does your script actually see? This bench logs every pointer, click, focus, interest, loseinterest and toggle event, and lets you break things on purpose: cancel the host’s click, cancel the interest event, set an absurd interest-delay, or pull the interestfor attribute out from under the box.
Flag: Blink feature
HTMLInterestForInterestButtonPseudo (status experimental). Enable chrome://flags/#enable-experimental-web-platform-features and relaunch, or start Chrome with --enable-blink-features=HTMLInterestForInterestButtonPseudo or --enable-experimental-web-platform-features.Probing this browser…
Interest shown in “Host button”.
Measuring…
event log (newest last)
Press the ⓘ, hover the host, or Tab from “Before” to “After”.
No verdict yet.
what to look for
- Order. A click on the ⓘ reaches the host:
pointerdown → pointerup → clicktarget the button, theninterestfires at the target and the popover toggles open. A touch long-press on the ⓘ firesinterestbeforepointerupwith noclick(WPTinterestfor-pseudo-element.tentative.html). - Cancelling the click cancels the interest. Interest is the click’s default action, so
preventDefault()on it means nointerestat all. - Cancelling
interestkeeps the popover closed but the event still fired. - No delay. With
interest-delay: 1000shovering never shows interest, but the ⓘ still does — immediately. - Not focusable. Tab from “Before”: focus goes to the host, then straight to “After”. The ⓘ never takes focus and is absent from the accessibility tree.
- Dynamic. Untick “host has interestfor” and the box disappears, even though the CSS rule still matches (WPT
interestfor-pseudo-element-dynamic).