mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests Map `link-selectors` web-feature (#56504) Feature: `link-selectors` Reference: https://github.com/web-platform-dx/web-features/blob/main/features/link-selectors.yml Notable exclusions 1. Tests for `@scope` focusing on `css-cascade` - `css/css-cascade/scope-visited.html` - `css/css-cascade/scope-visited-cssom.html` 2. Tests for `all`, `revert`, `unset` properties focusing on `css-cascade` - `css/css-cascade/all-prop-initial-visited.html` - `css/css-cascade/all-prop-revert-visited.html` - `css/css-cascade/all-prop-unset-visited.html` 3. Tests where `:visited` or `:link` are used primarily as setup for testing other features (e.g., backgrounds, acid tests) - `acid/*` - `css/CSS2/backgrounds/*` 4. Tests primarily about `:has()` interaction with link pseudo-classes (mapped to `has`) - `css/selectors/has-visited.html` - `css/selectors/invalidation/link-pseudo-in-has.html` - `css/selectors/invalidation/link-pseudo-class-in-has.html` 7. Tests primarily about `:not()` interaction with link pseudo-classes (mapped to `not`) - `css/selectors/not-links.html` Notable inclusions 1. Tests for privacy restrictions on `:visited` (color, stroke, fill, emphasis). - `css/selectors/text-*-visited-inheritance.html` - `css/selectors/caret-color-visited-inheritance.html`, This test was remapped from `caret-color` to `link-selectors` - These verify the specific behavior of `:visited` styles being restricted. 2. Tests for partitioned visited links (privacy feature) - `css/selectors/partitioned-visited-manual.tentative.html` 3. Tests for invalidation of `:any-link` - `css/selectors/invalidation/any-link-*.html` -- wpt-commits: 605bc54009057067a128bd5d9ecea201aff352d8 wpt-pr: 56504