Fix two counter references that were copies of the tests.
git-svn-id: svn://10.0.0.236/trunk@222364 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -43,7 +43,7 @@ random == t1202-counters-10-b-test.html t1202-counters-10-b-reference.html # act
|
||||
== t1204-multiple-00-c-test.html t1204-multiple-00-c-reference.html
|
||||
== t1204-multiple-01-c-test.html t1204-multiple-01-c-reference.html
|
||||
== t1204-order-00-c-test.html t1204-order-00-c-reference.html
|
||||
== t1204-order-01-d-test.html t1204-order-01-d-reference.html
|
||||
fails == t1204-order-01-d-test.html t1204-order-01-d-reference.html # content:none unimplemented (need bug!)
|
||||
fails == t1204-reset-00-c-o-test.html t1204-reset-00-c-o-reference.html
|
||||
== t1204-reset-01-c-o-test.html t1204-reset-01-c-o-reference.html
|
||||
== t1204-reset-02-c-o-test.html t1204-reset-02-c-o-reference.html
|
||||
|
||||
@@ -6,25 +6,10 @@
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript"/>
|
||||
<style type="text/css">
|
||||
|
||||
#test, .reset { counter-reset: c; }
|
||||
.increment:before { content: counters(c, ".") "-"; }
|
||||
.increment { counter-increment: c; }
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
function run() {
|
||||
var t = document.getElementById("test");
|
||||
t.removeChild(t.childNodes.item(1));
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="setTimeout('run()', 0)">
|
||||
<body>
|
||||
|
||||
<div id="test"><span class="increment"></span><span class="increment">FAIL-</span><span class="increment"></span><span class="increment"></span></div>
|
||||
<div id="reference"><span>1-</span><span>2-</span><span>3-</span></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -7,14 +7,11 @@
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
|
||||
<style type="text/css">
|
||||
|
||||
ul { display: block; margin: 0; padding: 0; counter-reset: c; }
|
||||
li { counter-increment: c; }
|
||||
ul { display: block; margin: 0; padding: 0; }
|
||||
li, div { display: block; margin: 0; padding: 0;
|
||||
width: 3em; border: thin solid; }
|
||||
li:before, div:before { content: counter(c); }
|
||||
|
||||
#four { border: none; }
|
||||
#four:before { content: none; }
|
||||
|
||||
#two { float: left; }
|
||||
#three { position: relative; }
|
||||
@@ -31,15 +28,15 @@
|
||||
should appear on this page.</p>
|
||||
|
||||
<ul>
|
||||
<li id="one">1</li>
|
||||
<li id="two">2</li>
|
||||
<li id="three">3</li>
|
||||
<li id="four"><div>4</div></li>
|
||||
<li id="five">5</li>
|
||||
<li id="six">6</li>
|
||||
<li id="seven">7</li>
|
||||
<li id="eight">8</li>
|
||||
<li id="nine">9</li>
|
||||
<li id="one">11</li>
|
||||
<li id="two">22</li>
|
||||
<li id="three">33</li>
|
||||
<li id="four"><div>44</div></li>
|
||||
<li id="five">55</li>
|
||||
<li id="six">66</li>
|
||||
<li id="seven">77</li>
|
||||
<li id="eight">88</li>
|
||||
<li id="nine">99</li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user