layout/reftests/counters/counter-ua-limits-01.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE html>
     2 <html>
     3  <head>
     4   <title>css-counter-styles-3 Test Suite: content: counter(c)</title>
     5   <!--
     6     NOTE: This test cannot be contributed to the test suite because
     7     it presumes a 4-byte unsigned integer, which is not required by
     8     the spec.
    10     However, it tests the rules for what happens at the UA-specific
    11     limit, which are required by the spec.
    12    -->
    13   <link rel="help" href="http://dev.w3.org/csswg/css-counter-styles-3/#counter-style-range"/>
    14   <link rel="help" href="http://krijnhoetmer.nl/irc-logs/css/20130205#l-1590"/>
    15   <style type="text/css">
    17   #test { counter-reset: c 2147483635; }
    18   #test span { counter-increment: c 5; }
    19   #test span:before { content: counter(c); }
    21   </style>
    22  </head>
    23  <body>
    25  <div id="test">
    26    <span></span>
    27    <span></span>
    28    <span></span>
    29    <span></span>
    30  </div>
    32  </body>
    33 </html>

mercurial