layout/reftests/table-anonymous-boxes/dynamic-switch-inline-to-cell-1.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html class="reftest-wait">
michael@0 3 <head>
michael@0 4 <title>CSS 2.1 Test Suite: anonymous table boxes</title>
michael@0 5 <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
michael@0 6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
michael@0 7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/>
michael@0 8 <meta name="flags" content="dom" />
michael@0 9 <script>
michael@0 10 function doTest() {
michael@0 11 document.getElementById("t").style.display = "table-cell";
michael@0 12 document.documentElement.className = "";
michael@0 13 }
michael@0 14 </script>
michael@0 15 </head>
michael@0 16 <body style="font-family: monospace" onload="doTest()">
michael@0 17 <span style="display:table">
michael@0 18 <span style="display: table-row">
michael@0 19 <span id="t">Row 1, Col 1</span>
michael@0 20 <span>Row 1, Col 2</span>
michael@0 21 <span style="display: table-cell">Row 1, Col 3</span>
michael@0 22 </span>
michael@0 23 <span style="display: table-row-group">
michael@0 24 <span style="display: table-row">
michael@0 25 <span style="display: table-cell">Row 22, Col 1</span>
michael@0 26 <span style="display: table-cell">Row 22, Col 2</span>
michael@0 27 <span style="display: table-cell">Row 22, Col 3</span>
michael@0 28 </span>
michael@0 29 <span style="display: table-row">
michael@0 30 <span style="display: table-cell">Row 333, Col 1</span>
michael@0 31 <span style="display: table-cell">Row 333, Col 2</span>
michael@0 32 <span style="display: table-cell">Row 333, Col 3</span>
michael@0 33 </span>
michael@0 34 </span>
michael@0 35 </span>
michael@0 36 </body>
michael@0 37 </html>

mercurial