1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/counters/t1204-implied-02-d-test.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 1.5 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.6 + <head> 1.7 + <title>CSS 2.1 Test Suite: Implied counter scopes by 'counter-increment'</title> 1.8 + <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters"/> 1.9 + <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/> 1.10 + <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/> 1.11 + <style type="text/css"> 1.12 + 1.13 + .i { counter-increment: c 1; } 1.14 + .ib:before { counter-increment: c 1; content: "B" } 1.15 + .r { counter-reset: c 0; } 1.16 + .u:before { content: counters(c, ".") " "; } 1.17 + 1.18 + </style> 1.19 + </head> 1.20 + <body> 1.21 + 1.22 + 1.23 + <div><span class="ib"><span class="u"></span><span class="r"><span class="u"></span></span></span><span class="i"><span class="u"></span><span class="r"><span class="u"></span></span></span></div> 1.24 + 1.25 + 1.26 + </body> 1.27 +</html>