[wpt-sync] Sync PR 50815 - Fix paint invalidation for ::selection style changes
Categories
(Core :: Layout: Generated Content, Lists, and Counters, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50815 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50815
Details from upstream follow.
Stephen Chenney <schenney@chromium.org> wrote:
Fix paint invalidation for ::selection style changes
The existing code for invalidating paint on a ::selection
style change assumed the old model of inheritance for ::selection,
where the style only applied to the element it matched for. Under
that assumption it only checked the direct text children of the
element.With Highlight Inheritance the assumption is invalid, and the
entire subtree may be affected by the style change. So process
the subtree checking for selected content.Fixed: 395934180
Change-Id: Ifa8ac3309d79ce4b3696ed042cb822361a7b490c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6283486
Reviewed-by: Xianzhu Wang \<wangxianzhu@chromium.org>
Commit-Queue: Stephen Chenney \<schenney@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1422232}
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Updated•25 days ago
|
Assignee | ||
Updated•25 days ago
|
Assignee | ||
Updated•25 days ago
|
Assignee | ||
Updated•25 days ago
|
Assignee | ||
Updated•25 days ago
|
Assignee | ||
Updated•25 days ago
|
Assignee | ||
Updated•25 days ago
|
Assignee | ||
Updated•25 days ago
|
Assignee | ||
Updated•25 days ago
|
Assignee | ||
Comment 1•25 days ago
|
||
Assignee | ||
Comment 2•25 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS
: 1
Chrome
FAIL
: 1
Safari
PASS
: 1
Links
Comment 4•17 days ago
|
||
bugherder |
Description
•