Files
firefox/testing/web-platform/tests/css/CSS2/stacking-context/root-element-creates-stacking-context.html
Michael Rees 2e1585a962 Bug 1956689 [wpt PR 51625] - fix: root element not establishing stacking context (#35390), a=testonly
Automatic update from web-platform-tests
fix: root element not establishing stacking context (#35390)

Signed-off-by: Michael Rees <[email protected]>

--
Add is_root to ThreadSafeLayoutElement and use strict CSS2 in WPT

Signed-off-by: Michael Rees <[email protected]>

--
Simplify WPT ref case and clarify documentation

Signed-off-by: Michael Rees <[email protected]>

--

wpt-commits: a036f828a177cd35f8f42fe5f9f9427e04a72e84, 2058714eba853e46f8bc864960534f063c20d906, 37fb4e354942b711b2aefb7723a3c199c889de2c
wpt-pr: 51625
2025-04-07 12:29:20 +00:00

10 lines
490 B
HTML

<!DOCTYPE html>
<html style="width: 0; height: 0; border: 50px solid red">
<link rel="help" href="https://drafts.csswg.org/css2/#stacking-context">
<link rel="match" href="root-element-creates-stacking-context-ref.html">
<link rel="author" title="Michael Rees" href="mailto:[email protected]">
<meta name="assert" content="root element forms the root stacking context">
<body style="border: 50px solid green; margin: -50px; position: relative; z-index: -1">
</body>
</html>