Bug 1734107 [wpt PR 31117] - WPT css-pseudo: fix paired cascade bug in textpath-selec...
commit1ee92726044afecdbe48b5031b7befc500eab505
authorDelan Azabani <dazabani@igalia.com>
Wed, 6 Oct 2021 15:56:04 +0000 (6 15:56 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 13 Oct 2021 09:30:39 +0000 (13 09:30 +0000)
treeeff4af179b5adb4b830ecbf729df378e969a613e
parenta6cd86f93e5fe825db4a2d1974db51e405b8ecaf
Bug 1734107 [wpt PR 31117] - WPT css-pseudo: fix paired cascade bug in textpath-selection-011, a=testonly

Automatic update from web-platform-tests
WPT css-pseudo: fix paired cascade bug in textpath-selection-011

This patch fixes a reftest that broke under HighlightInheritance due
to a misunderstanding of the spec. csswg-drafts#6386 clarified that
paired cascade (suppression of UA default highlight colors) happens
intentionally only when background-color or color are set, whereas
this test expects fill and stroke properties to suppress defaults.

Bug: 1254608
Change-Id: I98fa7404bb7ad170b1bb6579fa9b6658365d00e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3205136
Commit-Queue: Manuel Rego <rego@igalia.com>
Auto-Submit: Delan Azabani <dazabani@igalia.com>
Reviewed-by: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/main@{#928545}

--

wpt-commits: 802a55731201cd1472678d57ca0213e6f84db32f
wpt-pr: 31117
testing/web-platform/tests/css/css-pseudo/textpath-selection-011-ref.html
testing/web-platform/tests/css/css-pseudo/textpath-selection-011.html