layout/reftests/generated-content/display-types-01.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>CSS 2.1 Test Suite: generated content</title>
michael@0 5 <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" />
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/generate.html#before-after-content"/>
michael@0 8 <meta name="flags" content="" />
michael@0 9 <style>
michael@0 10 div { counter-reset:ctr; quotes:"\0022" "\0022" "\0022" "\0022"}
michael@0 11
michael@0 12 div::before {
michael@0 13 content:counter(ctr) url(square-outline-32x32.png) open-quote "Before " attr(class);
michael@0 14 counter-increment:ctr;
michael@0 15 }
michael@0 16 div::after {
michael@0 17 content:counter(ctr) url(square-outline-32x32.png) "After " attr(class) close-quote;
michael@0 18 counter-increment:ctr;
michael@0 19 }
michael@0 20
michael@0 21 .block::before, .block::after { display:block; }
michael@0 22 .inline::before, .inline::after { display:inline; }
michael@0 23 .inline-block::before, .inline-block::after { display:inline-block; }
michael@0 24 .table::before, .table::after { display:table; }
michael@0 25 .inline-table::before, .inline-table::after { display:inline-table; }
michael@0 26 .table-row-group::before, .table-row-group::after { display:table-row-group; }
michael@0 27 .table-row::before, .table-row::after { display:table-row; }
michael@0 28 .table-cell::before, .table-cell::after { display:table-cell; }
michael@0 29 .table-caption::before, .table-caption::after { display:table-caption; }
michael@0 30 .flexbox::before, .flexbox::after { display:-moz-box; }
michael@0 31 .inline-flexbox::before, .inline-flexbox::after { display:-moz-inline-box; }
michael@0 32
michael@0 33 div { border:1px solid green; margin:5px; }
michael@0 34 </style>
michael@0 35 </head>
michael@0 36
michael@0 37 <body>
michael@0 38 <table width="100%"><tr><td valign="top">
michael@0 39 <div class="block">Inner</div>
michael@0 40 <div class="inline">Inner</div>
michael@0 41 <div class="inline-block">Inner</div>
michael@0 42 <div class="table">Inner</div>
michael@0 43 <div class="inline-table">Inner</div>
michael@0 44 <div class="table-row-group">Inner</div>
michael@0 45 </td><td valign="top">
michael@0 46 <div class="table-row">Inner</div>
michael@0 47 <div class="table-cell">Inner</div>
michael@0 48 <div class="table-caption">Inner</div>
michael@0 49 <div class="flexbox">Inner</div>
michael@0 50 <div class="inline-flexbox">Inner</div>
michael@0 51 </td></tr></table>
michael@0 52 </body>
michael@0 53 </html>

mercurial