layout/reftests/counters/t120403-content-none-00-c-test.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 PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3  <head>
     4   <title>CSS 2.1 Test Suite: Counter properties on 'content: none' pseudo-elements</title>
     5   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#q9"/>
     6   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters"/>
     7   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
     8   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
     9   <style type="text/css">
    11   div { counter-reset: c }
    12   #one:before { counter-increment: c }
    13   #two:before { content: counter(c) }
    15   </style>
    16  </head>
    17  <body>
    20  <div><span id="one"></span><span id="two"></span></div>
    22  </body>
    23 </html>

mercurial