summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/tables/table-anonymous-objects-211-ref.xht
blob: 5133164219b73747fb0f40fc98cb4a7bfca8b56a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Reference</title>
  <style type="text/css"><![CDATA[
    .table { display: table; white-space: pre; }
    .row { display: table-row; }
    .table-cell { display: table-cell; }
  ]]></style>

 </head>

 <body>

  <p>The two rows below must have identical content.</p>

  <div class="table">
    <div class="row">
      <div class="table-cell"> <img src="support/swatch-blue.png"/>	 <img src="support/swatch-blue.png"/>   </div>
      <div class="table-cell"><img src="support/swatch-blue.png"/></div>	 <div class="table-cell"><img src="support/swatch-blue.png"/></div>
    </div>
    <div class="row">
      <div class="table-cell"> <img src="support/swatch-blue.png"/>	 <img src="support/swatch-blue.png"/>   </div>
      <div class="table-cell"><img src="support/swatch-blue.png"/></div>	 <div class="table-cell"><img src="support/swatch-blue.png"/></div>
    </div>
  </div>
 </body>
</html>