1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/counters/counter-ua-limits-list-01-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,50 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <title>test of counter UA overflow rules for HTML lists</title> 1.8 + <!-- 1.9 + NOTE: This test cannot be contributed to the test suite because 1.10 + it presumes a 4-byte unsigned integer, which is not required by 1.11 + the spec. It also can't be contributed because it's testing HTML 1.12 + lists. 1.13 + 1.14 + However, it tests the rules for what happens at the UA-specific 1.15 + limit, which are required by the spec. 1.16 + --> 1.17 + <link rel="help" href="http://dev.w3.org/csswg/css-counter-styles-3/#counter-style-range"/> 1.18 + <link rel="help" href="http://krijnhoetmer.nl/irc-logs/css/20130205#l-1590"/> 1.19 + <style type="text/css"> 1.20 + 1.21 + ol { margin-left: 10em; padding-left: 0; } 1.22 + li { margin-left: 0; padding-left: 0 } 1.23 + li.hidden { visibility: hidden; height: 0 } 1.24 + ol { margin-bottom: 0 } 1.25 + ol + ol { margin-top: 0 } 1.26 + 1.27 + </style> 1.28 + </head> 1.29 + <body> 1.30 + 1.31 + <!-- 1.32 + Work around our inability to parse -2147483648 as an HTML integer attribute 1.33 + (Bug 586761) 1.34 + --> 1.35 + <ol reversed start="-2147483645"> 1.36 + <li class="hidden">hidden 1.37 + <li>Alpha 1.38 + </ol> 1.39 + <ol reversed start="-2147483646"> 1.40 + <li class="hidden">hidden 1.41 + <li>Bravo 1.42 + </ol> 1.43 + <ol reversed start="-2147483647"> 1.44 + <li class="hidden">hidden 1.45 + <li>Charlie 1.46 + </ol> 1.47 + <ol reversed start="-2147483647"> 1.48 + <li class="hidden">hidden 1.49 + <li>Delta 1.50 + </ol> 1.51 + 1.52 + </body> 1.53 +</html>