inheritance.html (919B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Inheritance of CSS Writing Modes properties</title> 6 <link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#property-index"> 7 <meta name="assert" content="Properties inherit or not according to the spec."> 8 <meta name="assert" content="Properties have initial values according to the spec."> 9 <script src="/resources/testharness.js"></script> 10 <script src="/resources/testharnessreport.js"></script> 11 <script src="/css/support/inheritance-testcommon.js"></script> 12 </head> 13 <body> 14 <div id="container"> 15 <div id="target"></div> 16 </div> 17 <script> 18 assert_inherited('direction', 'ltr', 'rtl'); 19 assert_inherited('text-combine-upright', 'none', 'all'); 20 assert_inherited('text-orientation', 'mixed', 'upright'); 21 assert_not_inherited('unicode-bidi', 'normal', 'embed'); 22 assert_inherited('writing-mode', 'horizontal-tb', 'vertical-rl'); 23 </script> 24 </body> 25 </html>