wm-propagation-002.html (691B)
1 <html> 2 <meta chartset=utf-8> 3 <title>CSS-Writing Modes Test: propagation of the direction property from body to root</title> 4 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net"> 5 <link rel=help href="https://drafts.csswg.org/css-writing-modes-3/#principal-flow"> 6 <link rel="match" href="wm-propagation-002-ref.html"> 7 <meta name=assert content="the 'direction' of the body must be propagated to the root, but the computed value must not change."> 8 <style> 9 body { 10 direction: rtl; 11 height: 0; 12 } 13 html::before { 14 content: "This text must be on the right"; 15 } 16 html::after { 17 content: "This text must be on the left"; 18 display: block; 19 } 20 </style> 21 <body></body>