DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (b6d82b1a6b02)

VCS Links

Line Code
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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
<!DOCTYPE html>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<html lang="en-US">
<head>
  <meta charset="UTF-8">
  <title>CSS Test: CSS display:contents</title>
  <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=907396">
<style type="text/css">

        html,body {
            color:black; background-color:white; font-size:16px; padding:0; margin:0;
        }
	
.table   { display:table; border-collapse:collapse; border: blue solid 1pt;}
.itable  { display:inline-table; }
.caption { display:table-caption; }
.cell    { display:table-cell; border:inherit; }
.row     { display:table-row; border: green dashed 1pt; }
.rowg    { display:table-row-group; }
.head    { display:table-header-group; }
.foot    { display:table-footer-group; }
.col     { display:table-column; }
.colg    { display:table-column-group; }
.flex    { display:flex; }
.iflex   { display:inline-flex; }
.li      { display:list-item; }
.ib      { display:inline-block; }
.inline  { display:inline; }
.columns  { -moz-columns:2; columns:2; height:4em; }



.c1 { color:lime; }
.c2 { color:pink; }
.c3 { color:teal; }
.c4 { color:green; }
.c5 { color:silver; }
.c6 { color:cyan; }
.c7 { color:magenta; }
.c8 { color:yellow; }
.c9 { color:grey; }
.c10{ color:black; }

.b { background:blue; }
    </style>
</head>
<body style="color:red">

<div class="caption c2">1<span>1</span></div>
<div class="row c2">2a<div class="cell">2<div class="inline c2">b<span class="b">b</span></div></div></div>
<div class="cell c3">3</div>
<div class="rowg c4">4</div>
<div class="cell c5">5a</div>
<div class="cell c5">5b</div>
<div class="head c6">6</div>
<div class="cell c7"><div class="inline c2">7<span class="b">a</span></div></div>
<div class="cell c8">7b</div>
<div class="foot c9">8</div>
<div class="foot c9">9<div class="inline c2">a<span class="b">b</span>c</div></div>
<div class="cell c10">10</div>

<div class="table" style="float:right">
<div class="caption c2">1<span>1</span></div>
<div class="row c2">2a<div class="cell">2<div class="inline c2">b<span class="b">b</span></div></div></div>
<div class="cell c3" style="border:none">3</div>
<div class="rowg c4">4</div>
<div class="cell c5" style="border:none">5a</div>
<div class="cell c5">5b</div>
<div class="head c6">6</div>
<div class="cell c7" style="border:none"><div class="inline c2">7<span class="b">a</span></div></div>
<div class="cell c8" style="border:none">7b</div>
<div class="foot c9" style="border:none">8</div>
<div class="foot c9">9<div class="inline c2">a<span class="b">b</span>c</div></div>
<div class="cell c10" style="border:none">10</div>
</div>

<div class="flex c1">
0&nbsp;
<div class="inline c1">x&nbsp;</div>
<div class="inline c1"><div class="inline c2">y</div></div>
<div class="inline c1"><div class="inline c2"><div class="">1<span>1</span></div></div></div>
<div class="inline c2"><div class="inline">2a<div class="">2<div class="inline c2">b<span class="b">b</span></div></div></div></div>
<div class="c3">3</div>
<div class="inline"><div class="inline c4">4</div></div>
<div class=""><div class="inline c5">5a</div></div>
<div class=" c5">5b</div>
<div class="inline c6"><div class="">6</div></div>
<div class="ib"><div class="inline c7"><div class="inline c2">7<span class="b">a</span></div></div></div>
<div class="inline c9"><div class="">8</div></div>
<div class="inline c9"><div class="inline">9<div class="inline c2">a</div></div></div>
<span class="c2 b">b</span>
<div class="inline c2">c</div>
<div class="inline c10"><div class="">10</div></div>
</div>

<div class="flex c1">
<div class="inline c2">0&nbsp;</div>
<div class="inline c1">x&nbsp;</div>
<div class="inline c1"><div class="inline c2">y</div></div>
<div class="inline c1"><div class="inline c2"><div class="">1<span>1</span></div></div></div>
<div class="c2"><div class="inline">2a<div>2<div class="inline c2">b<span class="b">b</span></div></div></div></div>
<div class="c3">3</div>
<div class="inline"><div class="inline c4">4</div></div>
<div class=""><div class="inline c5">5a</div></div>
<div class=" c5">5b</div>
<div class="inline c6"><div class="">6</div></div>
<div class="ib"><div class="inline c7"><div class="inline c2">7<span class="b">a</span></div></div></div>
<div class="inline c9"><div class="">8</div></div>
<div class="inline c9"><div class="inline">9<div class="inline c2">a</div></div></div>
<span class="c2 b">b</span>
<div class="inline c2">c</div>
<div class="inline c10"><div class="">10</div></div>
</div>


<div class="iflex"><div class="contents c2">
0
</div></div>
<div class="iflex"><div class="contents c2">
0
<div class="inline c1">1</div>
2
</div></div>
<div class="iflex"><div class="contents c2">
0<div class="inline c1">1</div>2
</div></div>
<div class="iflex c3">
0<div class="inline c2"><div class="c1">1</div></div>2
</div>
<div class="iflex c3">
<div class="inline c2">0</div><div class="inline c2"><div class="c1">1</div></div><div class="inline c2">2</div>
</div>
<div class="iflex c3">
<div class="inline">0</div>
<div class="inline"><div class="inline c1">1</div></div>
<div class="inline">2</div>
</div>

<ul><li class="c1"><div class="inline c2">
0
<div class="inline c1">x</div>
<div class="inline c1"><div class="inline c2">y</div></div>
<div class="inline c1"><div class="inline c2"><div class="">1<span>1</span></div></div></div>
<div class="inline c2"><div class="inline">2a<div class="">2<div class="inline c2">b<span class="b">b</span></div></div></div></div>
<div class="inline c3"><div class="inline">3</div></div>
<div class="inline"><div class="inline c4">4</div></div>
<div class=""><div class="inline c5">5a</div></div>
<div class=" c5">5b</div>
<div class="inline c6"><div class="">6</div></div>
<div class="ib"><div class="inline c7"><div class="inline c2">7<span class="b">a</span></div></div></div>
<div class="inline c9"><div class="">8</div></div>
<div class="inline c9"><div class="inline">9<div class="inline c2">a<span class="b">b</span>c</div></div></div>
<div class="inline c10"><div class="">10</div></div>
</div></li>
</ul>

<div class="columns">
<div class="contents c1"><div class="contents c2"><div>1<span>1</span></div></div></div>
<div class="contents c2"><div>2</div></div>
<div class="contents c3"><div>3</div></div>
</div>

<div class="columns">
<div class="contents c1"><div class="contents c2"><div>1<span>1</span></div></div></div>
<div class="contents c2"><div>2</div></div>
<div class="contents c3"><div>3</div></div>
</div>

<span class="c2 b"><span class="inline c1">Legend</span><span class="inline c1">Legend</span></span>
<br clear="all">
<span class="c3">x<div class="inline c1">float:left</div></span>
<span class="c3">y<div class="inline c1">position:absolute</div></span>

<span class="c1">Legendfieldset but<span>ton</span></span>

</body>
</html>