[wpt-sync] Sync PR 29948 - Don't modify computed value of 'contain' for locked elements
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox93 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 29948 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/29948
Details from upstream follow.
b'Anders Hartvoll Ruud <andruud@chromium.org>' wrote:
Don't modify computed value of 'contain' for locked elements
DisplayLockContext::AdjustElementStyle currently modifies the computed
value of 'contain'. It should not [1].Instead we store a bit on ComputedStyle to indicate whether or not
the element should skip its contents [2], and use this flag used-
value-time to request the appropriate containment.[1] https://github.com/w3c/csswg-drafts/issues/6246
[2] https://drafts.csswg.org/css-contain-2/#skips-its-contentsChange-Id: I5571b0a5fac1b89903c03a256a2b144bddcd5040
Reviewed-on: https://chromium-review.googlesource.com/3081725
WPT-Export-Revision: 4feaaea34e50d117370ac0c0a5ed30d561a39c1c
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=4b663eb2df3953165355165f6e9df2382edec5b3
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK : 1
FAIL: 2
Chrome
OK : 1
FAIL: 2
Safari
OK : 1
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/css/css-contain/content-visibility/content-visibility-026.html
content-visibility:hidden does not affect computed value of 'contain': FAIL (Chrome: FAIL, Safari: FAIL)
content-visibility:auto does not affect computed value of 'contain': FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9370289938db [wpt PR 29948] - Don't modify computed value of 'contain' for locked elements, a=testonly https://hg.mozilla.org/integration/autoland/rev/3890fccd876b [wpt PR 29948] - Update wpt metadata, a=testonly
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9370289938db
https://hg.mozilla.org/mozilla-central/rev/3890fccd876b
Description
•