[wpt-sync] Sync PR 30083 - content-visibility: Avoid updating style in hidden subtrees for focus.
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox93 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 30083 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/30083
Details from upstream follow.
b'Vladimir Levin <vmpstr@chromium.org>' wrote:
content-visibility: Avoid updating style in hidden subtrees for focus.
This patch ensures that we first check whether the element is in a
hidden subtree that prevents focus activation before forcing a style
and layout tree update.This means that we can now set a content-visibility: hidden on a
container which has a currently focused element and it will clear
that focused element without first updating style and layout
tree in the subtree (due to a check whether the currently focused
element is focusable).R=chrishtr@chromium.org, futhark@chromium.org
Change-Id: I95a69fa3e89fe317825edcfd5e73bdde58d18cd8
Reviewed-on: https://chromium-review.googlesource.com/3104325
WPT-Export-Revision: 81e91ae916611d19a62c8725ec0baf57f90c4e64
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests
Status Summary
Firefox
PASS: 1
FAIL: 1
Chrome
PASS: 1
FAIL: 1
Safari
PASS: 1
FAIL: 1
Links
Details
New Tests That Don't Pass
/css/css-contain/content-visibility/content-visibility-082.html: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 4•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7f00e7b6372e
https://hg.mozilla.org/mozilla-central/rev/006402f072ea
Description
•