column-width-computed.html (784B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Multi-column Layout: getComputedStyle().columnWidth</title> 6 <link rel="help" href="https://drafts.csswg.org/css-multicol/#propdef-column-width"> 7 <meta name="assert" content="column-width computed value is the keyword auto or an absolute length."> 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 <style> 15 #target { 16 font-size: 40px; 17 } 18 </style> 19 <script> 20 test_computed_value("column-width", "auto"); 21 22 test_computed_value("column-width", "calc(10px + 0.5em)", "30px"); 23 test_computed_value("column-width", "calc(10px - 0.5em)", "0px"); 24 </script> 25 </body> 26 </html>