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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>110420</bug_id>
          
          <creation_ts>2013-02-20 17:46:45 -0800</creation_ts>
          <short_desc>Adding a style with a counter-reset property does not correctly invalidate displayed counters</short_desc>
          <delta_ts>2022-07-13 14:09:40 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mihai Parparita">mihaip</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>carol</cc>
    
    <cc>darin</cc>
    
    <cc>esprehn</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>838007</commentid>
    <comment_count>0</comment_count>
    <who name="Mihai Parparita">mihaip</who>
    <bug_when>2013-02-20 17:46:45 -0800</bug_when>
    <thetext>Test case: http://persistent.info/webkit/test-cases/counter-reset.html

The test case simulates a normal &lt;ol&gt; via an &lt;ul&gt; that uses CSS counters and generated content.  Press the &apos;Deintent &quot;Four&quot;&apos; button. The &quot;Four&quot; list item is unindented, which gives it a list counter of 2 (correct). Then the items that follow it should restart the second-level counter, and thus have counters of &quot;a&quot;, &quot;b&quot; and &quot;c&quot; Instead they end up with &quot;c&quot;, &quot;d&quot; and &quot;e&quot;, continuing the count from the &quot;Two&quot; and &quot;Three&quot; items.

To prove that this is an invalidation issue, the entire list DOM hierarchy is cloned and appended to the document. The clone renders correctly (Gecko renders the test case correctly).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883308</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-13 14:09:29 -0700</bug_when>
    <thetext>This continues to be a problem in Safari 15.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883309</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-13 14:09:40 -0700</bug_when>
    <thetext>&lt;rdar://problem/96972565&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>