[Bug 25476] want to add @counter-style decimal-zero-padded

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25476

Tab Atkins Jr. <jackalmage@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Tab Atkins Jr. <jackalmage@gmail.com> ---
Any 'pad' with a 0 width has no effect, so the first two do nothing.

Why are the 4-width styles you present special over anything else?  Note that
the Predefined Counter Styles spec isn't meant to be implemented by browsers;
it's to provide useful predefined styles for authors to copy into their own
stylesheets.

Also note that, since the styles are identical to 'decimal' except for their
'pad' value, you can define them as override styles more easily:

@counter-style decimal-zero-padded-4-width { 
  system: override decimal;
  pad: 4 "0";
}

etc.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 27 April 2014 20:41:53 UTC