Bug 1705067 [wpt PR 28471] - Include relevant -internal-visited-* properties in ...
commita788416e8b6e1280a4a2cde32ec28fb31111b64c
authorAnders Hartvoll Ruud <andruud@chromium.org>
Fri, 23 Apr 2021 10:15:39 +0000 (23 10:15 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 23 Apr 2021 22:15:43 +0000 (23 22:15 +0000)
tree8a3fe348c9cb310b7da215e1339a4f84c58aefbe
parent6940f95a47a2ef9a9cc267d9468fe3ba3d03a5e3
Bug 1705067 [wpt PR 28471] - Include relevant -internal-visited-* properties in 'all'-expansion, a=testonly

Automatic update from web-platform-tests
Include relevant -internal-visited-* properties in 'all'-expansion

Any -internal-visited-* property is currently not affected by
'all', because such properties are not web-exposed (see
CSSProperty::IsAffectedByAll). This means they are not considered
part of all's expansion (in CascadeExpansion), and therefore rules
like :visited { all:unset; } don't work.

This CL fixes that by including -internal-visited-* properties in the
expansion if they are associated with an all-affected unvisited
counterpart.

Fixed: 11925171195644
Change-Id: I0113fc3c7145ec1684c08629502379dc7e1fc50c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2821813
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#872377}

--

wpt-commits: 2ba459b637fa21d801dbda3c5350e8cced01cf20
wpt-pr: 28471
testing/web-platform/tests/css/css-cascade/all-prop-revert-visited-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-cascade/all-prop-revert-visited.html [new file with mode: 0644]
testing/web-platform/tests/css/css-cascade/all-prop-unset-visited-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-cascade/all-prop-unset-visited.html [new file with mode: 0644]