[Webkit-unassigned] [Bug 11384] New: CSS: Selectors are not re-evaluated after dynamically updating the DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 23 02:43:41 PDT 2006


http://bugs.webkit.org/show_bug.cgi?id=11384

           Summary: CSS: Selectors are not re-evaluated after dynamically
                    updating the DOM
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://www.css3.info/selectors-test/
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: niels.leenheer at gmail.com


After the DOM is modified the CSS selectors should be re-evaluated. 
Affected selectors: :first-child, :last-child, :only-child, :first-of-type,
:last-of-type, :only-of-type, :empty

For example: an element that used to be empty would match the :empty selector.
If the update added a new child to that element, it should no longer match  the
:empty selector. 

Another example: an element that is the only child of its parent would match
the following selectors: :first-child, :last-child, :only-child,
:first-of-type, :last-of-type and :only-of-type. If we modify the DOM and
append another child of the same type, the original element would only match
the :first-child selector.


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



More information about the webkit-unassigned mailing list