text-wrap-mode-computed.html (671B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Text: getComputedStyle().textWrapMode</title> 6 <link rel="author" title="Tim Nguyen" href="https://github.com/nt1m"> 7 <link rel="help" href="https://drafts.csswg.org/css-text-4/#text-wrap-mode"> 8 <meta name="assert" content="text-wrap-mode computed value is wrap | nowrap"> 9 <script src="/resources/testharness.js"></script> 10 <script src="/resources/testharnessreport.js"></script> 11 <script src="/css/support/computed-testcommon.js"></script> 12 </head> 13 <body> 14 <div id="target"></div> 15 <script> 16 test_computed_value("text-wrap-mode", "wrap"); 17 test_computed_value("text-wrap-mode", "nowrap"); 18 </script> 19 </body> 20 </html>