yellow highlight = changes since 2022-04-15 up to 2022-05-10
Demos in this directory
- Multitool: classic text-decoration comparison
- Representative example for intent to prototype
- Supplementary example for intent to prototype
- Highlight painting reftest: opaque with shadows (basis of hp-001)
- Demonstration that Chromium does not allow non-highlight styling to split ligatures
- Notes from my initial investigation into the highlight processing model
- Multitool: highlight painting with shadows
- Highlight painting reftest: translucent with decorations (basis of hp-003)
- Highlight inheritance reftest: implicit and explicit defaulting
- Demonstration of ::selection decoration regression (bug 1209248)
- Test whether ::selection is repainted when styles change
- Test whether box-shadow offset is invariant under writing-mode
- Test whether color:initial suppresses UA default highlight colors for ::selection
- Test whether text-shadow:none doesn’t suppress UA default highlight colors for ::selection
- Test whether ::selection can combine its background-color with color inherited from ::first-letter
- Visualisation of current and expected highlight painting orders with decorations
- Highlight painting reftest: multiple highlight pseudos with decorations
- Demonstration that Firefox wavy decorations are highly resilient to going out of phase
- Test whether decorations extend into text-overflow:ellipsis or text-overflow:<string>
- Demonstration that Safari on macOS overrides alpha of opaque ::selection background-color
- Representative example for highlight inheritance
- Test whether UA shadow roots can still be styled under highlight inheritance
- Demonstration of potential compat issue for csswg-drafts#6774
- Test whether HighlightInheritance works when there are no matched properties for CL:3237158
- HighlightInheritance memory analysis test case (no selection, :root::selection rule) for bug 1024156
- HighlightInheritance memory analysis test case (no selection, *::selection rule) for bug 1024156
- HighlightInheritance memory analysis test case (main selected, :root::selection rule) for bug 1024156
- HighlightInheritance memory analysis test case (main selected, *::selection rule) for bug 1024156
- Minimal breaking test case for bug 1271782
- Animated visualisations of highlight painting: decorations, shadows, and Chromium
- Demonstration of interactions between highlights and decoration propagation for csswg-drafts#6829
- Demonstration of highlight overlays with overlapping active ranges for CL:3426940
- Demonstration of highlight overlays with overlapping active ranges for CL:3426940
- Minimal breaking test case for bug 1295271
- Demonstration of overlapping active ranges within a custom highlight for CL:3426940
- Test for highlight overlay painting under ‘white-space’ and ‘text-transform’ for CL:3426940
- Test whether ‘currentColor’ is inherited symbolically or as the resolved ‘color’ for CL:3506351
- Demonstration of highlight overlays with their own text decorations for CL:3538562
- Demonstration that Blink suppresses spelling markers that overlap suggestion markers for CL:3529115
- Demonstration of explicit defaulting for the ‘color’ property on highlights for csswg-drafts#6774
- Test for highlight inheritance with both universal and non-universal rules (basis of hc-005)
- HighlightInheritance memory analysis test case (active, universal, all:inherit) for bug 1024156
- Minimal breaking test case for bug 1321540
css-pseudo tests
- highlight-cascade
001
(ref),
002
(ref),
005
(ref)
- highlight-styling
001
(ref),
002
(ref)
- highlight-paired-cascade
001
(ref),
002
(ref),
003
(ref),
004
(notref),
005
(ref),
006
(ref)
- highlight-painting
001
(ref),
002
(ref),
003
(ref),
004
(ref1,
ref2,
ref3)
-
selection-background-painting-order
(ref1,
ref2)
-
selection-originating-decoration-color
(ref)
-
selection-originating-strikethrough-order
(ref)
-
selection-originating-underline-order
(ref)
CSSWG/WPT patches
CSSWG/WPT issues
Chromium impl (1163437)
::spelling-error + ::grammar-error (1035708)
new text-decoration-line values (1163436)
- parser support (rego CL:3194336)
- [NFC] rename TextDecoration to TextD’nLine (rego CL:3275457)
- [NFC] remove mutable in TextDecorationInfo (rego CL:3284869)
- [NFC] add TextDecorationInfo::LineDataForLine (rego CL:3290417)
- [NFC] eliminate array in TextDecorationInfo (rego CL:3291658)
- paint support (rego CL:3297885)
- paint support reland (rego CL:3306472)
spec-compliant highlight painting (1147859)
HighlightOverlayPainting feature (1147859, 1179938)
- initial highlight overlay painting system (CL:3426940)
- new perf test for custom highlight painting (rego CL:3461502)
- baseline perf test for custom highlight painting (rego CL:3468175)
- new perf test for spelling highlight painting (rego CL:3477155)
fix for custom highlight perf test failures (rego CL:3489469)
- fix for custom highlight perf test failures (rego CL:3494097)
- new WPT tests for highlights with color:currentColor (rego CL:3497348)
- merge overlapping custom highlight ranges (CL:3529115)
- paint originating and highlight decorations (CL:3538562)
- fix currentColor with overlapping highlights (1295264, rego CL:3560449)
- highlight overlay decorations reland (CL:3608432)
- fix AutoDarkMode misuse in overlay painter (CL:3616195)
- fix invalidation error in decoration clipping (CL:3616323)
- call MarkerRectForForeground only when needed (CL:3636880)
- bump HighlightOverlayPainting to stable (CL:3616170)
spec-compliant processing model (1024156)
highlight pseudo interactions with :visited (rego 1314629)
- new WPT test for highlights and :visited (rego CL:3578532)
- fix :visited under HighlightInheritance (rego CL:3579151)
- fix WPT test for highlights and :visited (rego CL:3580511)
- fix HasAuthorHighlightColors in links (rego CL:3581029)
highlight text-decoration painting (1209248, rego 1274174)
wavy text-decoration painting (including 668042)
- [NFC] simplify TextDecorationInfo::SetPerLineData (rego CL:3234465)
- ensure decorations always cover full length (rego CL:3237072)
- fix clipping bug in wavy decorations (rego CL:3264203)
- fix WPT importer bug on rel=mismatch (rego webkit r285414)
- ensure decorations always cover full length (rego webkit r285567)
unify ::selection + markers (design doc)
unify wavy/dotted + squigglies (rego 1257553)
use counters
- kSelectionBackgroundColorInversion (rego CL:2948753)
- kTextShadow{,NotNone}InHighlightPseudo (rego CL:3000164)