Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: firefox (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1050861

Title:
  Firefox CSS counter reset doesn't work in <body>

Status in “firefox” package in Ubuntu:
  Confirmed

Bug description:
  I have a simple CSS, i.e.

      body {
          counter-reset: mySectionCounter, mySubSectionCounter;
      }
      h1 {
          counter-increment: mySectionCounter;
          counter-reset: mySubSectionCounter;
      }
      h1:after {
      }
      h1:before {
        content: 'ARTICLE ' counter(mySectionCounter, upper-roman) ' - ';
      }

  
  the intention is to have the mySectionCounter with a very broad scope to use 
it as h1 counter. Pretty much like the example here: 
http://www.w3schools.com/cssref/pr_gen_counter-reset.asp
  But that doesn't seem to work as simple HTML fragment indicates:

  <div class="section" id="name">
  <h1><a class="toc-backref" href="#id7">Name</a></h1>
  <p>The name of the Corporation shall be GNOME Foundation (the 
&quot;<strong>Corporation</strong>&quot;), a California
  Nonprofit Public Benefit Corporation.</p>
  </div>
  <div class="section" id="offices">
  <h1><a class="toc-backref" href="#id8">Offices</a></h1>
  <div class="section" id="principal-office">
  <h2><a class="toc-backref" href="#id9">Principal Office</a></h2>
  <p>The principal office for the transaction of business of the Corporation 
shall be determined
  and may be changed from time to time by the Board of Directors (the 
&quot;<strong>Board</strong>&quot;).</p>
  </div>
  <div class="section" id="other-offices">
  <h2><a class="toc-backref" href="#id10">Other Offices</a></h2>
  <p>The Board may at any time establish branch or subordinate offices at any 
place or places
  where the Corporation is qualified to do business.</p>
  </div>
  </div>

  You can see the HTML with the embedded CSS here:
  http://people.gnome.org/~tobiasmue/bylaws2012/bylaws.html

  
  When viewing the CSS in Firebug, i.e. open the firebug view, then click the 
"CSS" tab, the body element doesn't have a rule. So my guess is that the 
counter-reset CSS command is not well recognized.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1050861/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to