[Webkit-unassigned] [Bug 110420] New: Adding a style with a counter-reset property does not correctly invalidate displayed counters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 20 17:44:22 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=110420

           Summary: Adding a style with a counter-reset property does not
                    correctly invalidate displayed counters
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: HasReduction
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mihaip at chromium.org
                CC: darin at apple.com, esprehn at chromium.org,
                    carol at webkit.org


Test case: http://persistent.info/webkit/test-cases/counter-reset.html

The test case simulates a normal <ol> via an <ul> that uses CSS counters and generated content.  Press the 'Deintent "Four"' button. The "Four" 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 "a", "b" and "c" Instead they end up with "c", "d" and "e", continuing the count from the "Two" and "Three" 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).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list