whitespace-001.html (1043B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>Whitespace inside table isn't incorrectly suppressed</title> 4 <link rel="author" title="Mozilla" href="https://mozilla.org"> 5 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> 6 <link rel="help" href="https://bugs.webkit.org/show_bug.cgi?id=251178"> 7 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1410345"> 8 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1811353"> 9 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/8358"> 10 <link rel="help" href="https://drafts.csswg.org/css-tables/#consecutive-boxes"> 11 <link rel="match" href="whitespace-001-ref.html"> 12 <style> 13 .outer { 14 display: table; 15 width: 500px; 16 background: purple; 17 border: 1px solid green; 18 } 19 .half { 20 display: inline-block; 21 width: 50%; 22 background: blue; 23 } 24 .half + .half { 25 background: yellow; 26 } 27 </style> 28 <div class="outer"> 29 <div class="half">A</div> 30 <!-- White space here should take up space --> 31 <div class="half">B</div> 32 </div>