Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-writing-modes/direction-propagation-body-contain-root.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>CSS Writing Modes Test: Do not propagate direction from body when html root is contained</title>
<link rel="match" href="direction-propagation-body-contain-root-ref.html">
<style>
html { contain: paint; }
body { direction: rtl; display: inline; }
</style>
<body></body>
<script>
document.documentElement.insertBefore(document.createTextNode("This text should be left aligned."), document.body);
</script>