[wpt-sync] Sync PR 33602 - Fix test for highlight pseudos and visited links
Categories
(Core :: Layout: Generated Content, Lists, and Counters, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33602 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33602
Details from upstream follow.
Manuel Rego Casasnovas <rego@igalia.com> wrote:
Fix test for highlight pseudos and visited links
In r990326 we added a test for visited links on highlight pseudos,
but it was wrong.Browsers use the alpha channel from the unvisited styles,
so by default the unvisited style background is transparent,
so you get a transparent background for the visited styles too
(even if you specify something different for them).We're adding a solid background color to the unvisited style,
so the visited background color is used.Bug: 1314629
Change-Id: I5ebb789388dc239b09f87a9e21ac5fd53f1113fa
Reviewed-on: https://chromium-review.googlesource.com/3580511
WPT-Export-Revision: 849a015376ae4e913ccf99049dce77cf18508438
Assignee | ||
Comment 1•2 years ago
|
||
PR 33602 applied with additional changes from upstream: 62c79d1cbb66ea88e44936b1c6082a55b9eaa59c
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0cd36109a21577305869682f26cba5c04792fd92
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68e0be860660 [wpt PR 33602] - Fix test for highlight pseudos and visited links, a=testonly
Comment 4•2 years ago
|
||
bugherder |
Description
•