Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/stacking-context/root-element-creates-stacking-context.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html style="width: 0; height: 0; border: 50px solid red">
<link rel="match" href="root-element-creates-stacking-context-ref.html">
<link rel="author" title="Michael Rees" href="mailto:mrees@noeontheend.com">
<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>