1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/counters/t1202-counter-16-f-test.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,41 @@ 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: content: counter() error cases</title> 1.8 + <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/> 1.9 + <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/> 1.10 + <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counter-styles"/> 1.11 + <style type="text/css"> 1.12 + 1.13 + #test { counter-reset: c 0 f 1000; } 1.14 + #test span { counter-increment: c; } 1.15 + #test span:before { 1.16 + content: counter(c); 1.17 + content: counter(f, "."); 1.18 + content: counter(f, ".", decimal); 1.19 + content: counter(f, decimal, "."); 1.20 + content: counter(f, decimal, decimal); 1.21 + content: counter(f, unknowntype); 1.22 + } 1.23 + 1.24 + </style> 1.25 + </head> 1.26 + <body> 1.27 + 1.28 + <div id="test"> 1.29 + <span></span> 1.30 + <span></span> 1.31 + <span></span> 1.32 + <span></span> 1.33 + <span></span> 1.34 + <span></span> 1.35 + <span></span> 1.36 + <span></span> 1.37 + <span></span> 1.38 + <span></span> 1.39 + <span></span> 1.40 + <span></span> 1.41 + </div> 1.42 + 1.43 + </body> 1.44 +</html>