fieldset-multicol.html (573B)
1 <!doctype html> 2 <title>fieldset multicol</title> 3 <script src=/resources/testharness.js></script> 4 <script src=/resources/testharnessreport.js></script> 5 <style> 6 #test { margin: 0; padding: 0; border: none } 7 #test, #ref { columns: 5 } 8 p { margin: 0 } 9 </style> 10 <fieldset id=test> 11 <p>1 12 <p>2 13 <p>3 14 <p>4 15 <p>5 16 </fieldset> 17 <div id=ref> 18 <p>1 19 <p>2 20 <p>3 21 <p>4 22 <p>5 23 </div> 24 <script> 25 test(() => { 26 assert_equals(getComputedStyle(document.getElementById('test')).height, 27 getComputedStyle(document.getElementById('ref')).height); 28 }); 29 </script>