← back to v141 · the-interest-button-pseudo-element
conformance · v141
v141 · the-interest-button-pseudo-element — conformance probe
9 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
9
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
selector-parses |
The ::interest-button pseudo-element selector is recognised by the CSS parser (necessary but NOT sufficient: Chrome parses it even when no box renders). spec ↗ | css-supports | … | |
box-on-button-interest-source |
A non-disabled <button interestfor> whose target exists generates an ::interest-button box when content is not none: a following inline marker moves by the pseudo's 37px width. spec ↗ | script | … | |
box-on-link-interest-source |
An <a href interestfor> is a valid interest source and generates an ::interest-button box when content is not none. spec ↗ | script | … | |
no-box-by-default |
The UA stylesheet sets no content on ::interest-button, so an interest source without an author content value generates no box (opt-in). spec ↗ | script | … | |
no-box-on-disabled-button |
A disabled <button interestfor> is not a valid interest source, so no ::interest-button box is generated even with content set. spec ↗ | script | … | |
no-box-on-link-without-href |
An <a interestfor> without href is not a valid interest source, so no ::interest-button box is generated. spec ↗ | script | … | |
no-box-on-non-interactive-element |
A <span interestfor> is not a valid interest source, so no ::interest-button box is generated. spec ↗ | script | … | |
box-removed-with-interestfor |
Removing the interestfor attribute after layout removes the ::interest-button box (WPT interestfor-pseudo-element-dynamic). spec ↗ | script | … | |
hit-test-returns-originating-element |
A generated ::interest-button box exists and hit-testing a point over it (beyond where the originating element ends) returns the originating element (WPT interestfor-pseudo-element-block-button). spec ↗ | script | … |