[wpt-sync] Sync PR 33610 - Set properly HasAuthorHighlightColors flag for links
Categories
(Core :: Layout: Generated Content, Lists, and Counters, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream error])
Sync web-platform-tests PR 33610 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33610
Details from upstream follow.
Manuel Rego Casasnovas <rego@igalia.com> wrote:
Set properly HasAuthorHighlightColors flag for links
Right now that flag was set for ComputedStyle of both visited
and unvisited links, even when only of them have styles set.This patch adds a new flag "is_visited_highlight_colors"
so we can differentiate both cases, and only set
HasAuthorHighlightColors when appropriated.This patch fixes the issue when HighlightInheritance flag
is enabled.Bug: 1314629
Test: external/wpt/css/css-pseudo/selection-link-001.html
Test: external/wpt/css/css-pseudo/selection-link-002.html
Test: external/wpt/css/css-pseudo/selection-link-003.html
Change-Id: I0ee422bb7eb2098774dc829512f17d3d228f9556
Reviewed-on: https://chromium-review.googlesource.com/3581029
WPT-Export-Revision: e8eb0a2cbc0c82d9852c3685b970774f17d79c4a
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/050acbb38bcf
https://hg.mozilla.org/mozilla-central/rev/361b47a8eb60
Description
•