← back to v134 · css-highlight-inheritance
conformance · v134
v134 · css-highlight-inheritance — conformance probe
8 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
8
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
selection-pseudo-selector-parses |
::selection is recognized as a highlight pseudo-element selector. spec ↗ | css-supports | … | |
spelling-error-pseudo-selector-parses |
::spelling-error is recognized as a highlight pseudo-element selector. spec ↗ | css-supports | … | |
grammar-error-pseudo-selector-parses |
::grammar-error is recognized as a highlight pseudo-element selector. spec ↗ | css-supports | … | |
custom-highlight-selector-parses |
Named custom highlights parse with the ::highlight(name) selector syntax. spec ↗ | css-supports | … | |
selection-inherit-keyword-uses-parent-highlight |
A descendant ::selection using inherit receives color and background-color from its parent's ::selection highlight. spec ↗ | script | … | |
descendant-highlight-inherits-unspecified-background |
A descendant ::selection can override color while inheriting an unspecified background-color from the parent highlight. spec ↗ | script | … | |
root-selection-allows-inherited-document-theme |
:root::selection can provide a document-wide selection theme that descendants inherit through the highlight chain. spec ↗ | script | … | |
custom-properties-come-from-originating-element |
Custom properties used inside a highlight come from the originating element, preserving existing CSS-variable based selection themes. spec ↗ | script | … |