[Webkit-unassigned] [Bug 41129] CSSSelector: Avoid chaining tagHistory of CSSSelector, which causes stack overflow.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 25 06:51:03 PDT 2010


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





--- Comment #2 from Hayato Ito <hayato at chromium.org>  2010-06-25 06:51:03 PST ---
I could also fix WebCore::CSSSelector::specificity() function so that it is not recursive one, but I've left it as is because I cannot find a test case where such recursive specificity() function causes stack overflow.

It seems specificity() is only used when an element is matched with CSS Selector. Because WebKit seems to limit nested level of DOM elements, it is unlikely that recursive specificity() method causes stack overflow.

-- 
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