2010-10-19 Hayato Ito <hayato@chromium.org>
[WebKit-https.git] / WebCore / ChangeLog
index 5953e92..37bac81 100644 (file)
@@ -1,3 +1,23 @@
+2010-10-19  Hayato Ito  <hayato@chromium.org>
+
+        Reviewed by Darin Adler.
+
+        Make CSS style selector non-recursive.
+        https://bugs.webkit.org/show_bug.cgi?id=43783
+
+        This change is one of the required changes to fix the following master bug:
+        https://bugs.webkit.org/show_bug.cgi?id=42806
+
+        To avoid recursion, we prepare a call stack and maintain a list of
+        function call state by ourselves and try matching iteratively.
+
+        Test: fast/css/long-css-selector-matches.html
+
+        * css/CSSStyleSelector.cpp:
+        (WebCore::CSSStyleSelector::SelectorChecker::checkSelector):
+        (WebCore::CSSStyleSelector::checkSelector):
+        * css/CSSStyleSelector.h:
+
 2010-10-19  Sheriff Bot  <webkit.review.bot@gmail.com>
 
         Unreviewed, rolling out r70034.