[Webkit-unassigned] [Bug 25234] New: Memory leak with some CSS selectors :first-child, [] attribute , and + sibling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 16 04:55:01 PDT 2009


           Summary: Memory leak with some CSS selectors :first-child, []
                    attribute , and + sibling
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mikko.honkala at nokia.com

Revision: 42573, Tested in Ubuntu Linux QT 4.4 and QtWebKit.

Memory leak appears when creating and deleting elements, which match a style in
a stylesheet, which also uses one of +. [], or :first-child selectors.

Note that it does not occur if the attribute selector is applied to a element
selector, such as a[attributename] {}.

See the attached test case, which generates and removes elements, which match a
simple style in a stylesheet which also uses the aforementioned selectors. The
memory usage of the process grows linearly and never stops growing. When the +.
[], and :first-child selectors are commented out, this leak does not occur.

Configure bugmail: https://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