<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25476</bug_id>
          
          <creation_ts>2014-04-26 10:17:42 +0000</creation_ts>
          <short_desc>want to add @counter-style decimal-zero-padded</short_desc>
          <delta_ts>2014-04-27 20:41:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>Counter Styles</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jim Michaels">jmichae3</reporter>
          <assigned_to name="Tab Atkins Jr.">jackalmage</assigned_to>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104487</commentid>
    <comment_count>0</comment_count>
    <who name="Jim Michaels">jmichae3</who>
    <bug_when>2014-04-26 10:17:42 +0000</bug_when>
    <thetext>@counter-style decimal-zero-padded-0-width {
	system: numeric;
	pad: 0 &quot;0&quot;;
	symbols: &apos;\30&apos; &apos;\31&apos; &apos;\32&apos; &apos;\33&apos; &apos;\34&apos; &apos;\35&apos; &apos;\36&apos; &apos;\37&apos; &apos;\38&apos; &apos;\39&apos;;
	/* symbols: &apos;0&apos; &apos;1&apos; &apos;2&apos; &apos;3&apos; &apos;4&apos; &apos;5&apos; &apos;6&apos; &apos;7&apos; &apos;8&apos; &apos;9&apos;; */
} 

@counter-style decimal-space-padded-0-width {
	system: numeric;
	pad: 0 &quot; &quot;;
	symbols: &apos;\30&apos; &apos;\31&apos; &apos;\32&apos; &apos;\33&apos; &apos;\34&apos; &apos;\35&apos; &apos;\36&apos; &apos;\37&apos; &apos;\38&apos; &apos;\39&apos;;
	/* symbols: &apos;0&apos; &apos;1&apos; &apos;2&apos; &apos;3&apos; &apos;4&apos; &apos;5&apos; &apos;6&apos; &apos;7&apos; &apos;8&apos; &apos;9&apos;; */
} 

@counter-style decimal-zero-padded-4-width {
	system: numeric;
	pad: 4 &quot;0&quot;;
	symbols: &apos;\30&apos; &apos;\31&apos; &apos;\32&apos; &apos;\33&apos; &apos;\34&apos; &apos;\35&apos; &apos;\36&apos; &apos;\37&apos; &apos;\38&apos; &apos;\39&apos;;
	/* symbols: &apos;0&apos; &apos;1&apos; &apos;2&apos; &apos;3&apos; &apos;4&apos; &apos;5&apos; &apos;6&apos; &apos;7&apos; &apos;8&apos; &apos;9&apos;; */
} 

@counter-style decimal-space-padded-4-width {
	system: numeric;
	pad: 4 &quot; &quot;;
	symbols: &apos;\30&apos; &apos;\31&apos; &apos;\32&apos; &apos;\33&apos; &apos;\34&apos; &apos;\35&apos; &apos;\36&apos; &apos;\37&apos; &apos;\38&apos; &apos;\39&apos;;
	/* symbols: &apos;0&apos; &apos;1&apos; &apos;2&apos; &apos;3&apos; &apos;4&apos; &apos;5&apos; &apos;6&apos; &apos;7&apos; &apos;8&apos; &apos;9&apos;; */
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104488</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Michaels">jmichae3</who>
    <bug_when>2014-04-26 10:18:53 +0000</bug_when>
    <thetext>please add these to http://www.w3.org/TR/predefined-counter-styles/#digit-styles</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104513</commentid>
    <comment_count>2</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2014-04-27 20:41:46 +0000</bug_when>
    <thetext>Any &apos;pad&apos; 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&apos;t meant to be implemented by browsers; it&apos;s to provide useful predefined styles for authors to copy into their own stylesheets.

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

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

etc.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>