column-creates-computed-style.html (523B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>CSS Test: ::column creates computed style</title> 4 <link rel="help" href="https://www.w3.org/TR/css-multicol-2/#column-pseudo"> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <style> 8 #div::column { color: green } 9 </style> 10 <div id=div></div> 11 <script> 12 test(() => { 13 assert_equals(getComputedStyle(div, "::column").color, "rgb(0, 128, 0)"); 14 }, "::column creates computed style on its originating element"); 15 </script>