direction-computed.html (600B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Writing Modes: getComputedStyle().direction</title> 6 <link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#propdef-direction"> 7 <meta name="assert" content="direction computed value is as specified."> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src="/css/support/computed-testcommon.js"></script> 11 </head> 12 <body> 13 <div id="target"></div> 14 <script> 15 test_computed_value("direction", "ltr"); 16 test_computed_value("direction", "rtl"); 17 </script> 18 </body> 19 </html>