<?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>25496</bug_id>
          
          <creation_ts>2014-04-29 05:47:55 +0000</creation_ts>
          <short_desc>Interaction between style of lists and CSS counter styles spec</short_desc>
          <delta_ts>2014-07-21 21:21:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xidorn Quan">xidorn+w3c</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104658</commentid>
    <comment_count>0</comment_count>
    <who name="Xidorn Quan">xidorn+w3c</who>
    <bug_when>2014-04-29 05:47:55 +0000</bug_when>
    <thetext>Currently, in Rendering/Lists section, there are many declaractions of list-style-type property. Since in the new spec &quot;CSS counter styles&quot; [COUNTERS], all builtin styles except none and decimal can be overridden by author, I think it might be better to make it clear that whether author-defined counter style with the same name used here could affect these style declaraction of html elements.

[COUNTERS] http://dev.w3.org/csswg/css-counter-styles/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104729</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-04-29 21:39:21 +0000</bug_when>
    <thetext>Tab, what should I do here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104733</commentid>
    <comment_count>2</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2014-04-29 21:51:50 +0000</bug_when>
    <thetext>Xidorn&apos;s just asking for an informative note that, say, replacing the &apos;upper-alpha&apos; counter style will affect rendering of &lt;ol type=A&gt; elements.

Nothing needs to be done normatively.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104756</commentid>
    <comment_count>3</comment_count>
    <who name="Xidorn Quan">xidorn+w3c</who>
    <bug_when>2014-04-29 23:09:43 +0000</bug_when>
    <thetext>(In reply to Tab Atkins Jr. from comment #2)
&gt; Xidorn&apos;s just asking for an informative note that, say, replacing the
&gt; &apos;upper-alpha&apos; counter style will affect rendering of &lt;ol type=A&gt; elements.
&gt; 
&gt; Nothing needs to be done normatively.

Not exactly. I supposed that author-defined counter styles would not affect the &apos;type&apos; attribute. Therefore I was suprised when I saw the behavior is defined using CSS. Though, I&apos;d welcome the behavior that author-defineds affect, since it could simplify the impl.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104759</commentid>
    <comment_count>4</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2014-04-29 23:13:33 +0000</bug_when>
    <thetext>The HTML spec defines &lt;ol type=A&gt;, etc in terms of a CSS list-style-type rule, so the fact that &quot;@counter-style upper-alpha {...}&quot; would affect that seems to fall out of what&apos;s defined.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104835</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-04-30 18:12:50 +0000</bug_when>
    <thetext>It seems weird that you can redefine spec-defined counter types, but that&apos;s your call. If it&apos;s going to be allowed, I agree that it makes sense that it would affect &lt;ol type&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105132</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-05 23:25:39 +0000</bug_when>
    <thetext>I guess I&apos;ll add a note to the &lt;ol&gt; section saying that this relies on CSS and you can override the counter styles which will indirectly affect the type=&quot;&quot; attribute, just like you could directly override it with list-style-type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105133</commentid>
    <comment_count>7</comment_count>
    <who name="Xidorn Quan">xidorn+w3c</who>
    <bug_when>2014-05-05 23:30:25 +0000</bug_when>
    <thetext>(In reply to Ian &apos;Hixie&apos; Hickson from comment #6)
&gt; I guess I&apos;ll add a note to the &lt;ol&gt; section saying that this relies on CSS
&gt; and you can override the counter styles which will indirectly affect the
&gt; type=&quot;&quot; attribute, just like you could directly override it with
&gt; list-style-type.

That&apos;s fine. One problem I am aware of is that, the word &quot;override&quot; has a different meaning in counter styles spec. To avoid confusion, I suggest using &quot;redefine&quot; before &quot;the counter styls&quot; instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105218</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-06 18:30:29 +0000</bug_when>
    <thetext>Thanks. Will do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109148</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-07-21 21:21:48 +0000</bug_when>
    <thetext>Added. (Change will be in a future update to the spec, rolled up with some other fixes. I&apos;m debugging my pipeline today and so can&apos;t publish just this change right now.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>