[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: wpt-sync, 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•3 years ago
|
||
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
Comment 4•3 years ago
|
||
| bugherder | ||
Description
•