1
0
Fork 0
firefox/testing/web-platform/tests/css/css-writing-modes/direction-propagation-body-contain-root.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

13 lines
541 B
HTML

<!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="help" href="https://drafts.csswg.org/css-writing-modes/#principal-flow">
<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>