[wpt-sync] Sync PR 23760 - ZIndex: Report computed z-index as specified, ignoring stacking context.
Categories
(Core :: Layout: Positioned, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 23760 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23760
Details from upstream follow.
Vladimir Levin <vmpstr@chromium.org> wrote:
ZIndex: Report computed z-index as specified, ignoring stacking context.
This patch changes the behavior of computed style z-index to
comply with spec: it reports the value as specified instead of
changing it to auto if the style does not induce a stacking context.Note that since z-index only applies on positioned elements, and
grid and flex children, this patch introduces an EffectiveZIndex() which
is set to 0 if the z-index does not apply. This is so that code relying
on z-index will behave as it did before. However, ZIndex() now reflects
the value that was specified.R=futhark@chromium.org, pdr@chromium.org
Fixed: 1023232
Change-Id: Ib11467a9818b746c72bebbb167223f1bb41a5f9fReviewed-on: https://chromium-review.googlesource.com/2212391
WPT-Export-Revision: 63f88b75c9db6ad0a001b2db5ce72dc3f89e6a1f
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=cdc0c5f793a1cfb9c7ee42617d79f1c3d1ab2e27
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 and 3 subtests
Status Summary
Firefox
OK : 2
PASS: 6
Chrome
OK : 2
PASS: 4
FAIL: 2
Safari
OK : 2
PASS: 6
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c84f43070568 [wpt PR 23760] - ZIndex: Report computed z-index as specified, ignoring stacking context., a=testonly
Comment 4•4 years ago
|
||
bugherder |
Description
•