Title: [119226] trunk/Source/WebCore
Revision
119226
Author
[email protected]
Date
2012-06-01 06:53:48 -0700 (Fri, 01 Jun 2012)

Log Message

Unreviewed, rolling out r119213.
http://trac.webkit.org/changeset/119213
https://bugs.webkit.org/show_bug.cgi?id=88084

This patch broke two tests on all platform except Chromium.
The authors are unavailable. (Requested by zherczeg on
#webkit).

Patch by Sheriff Bot <[email protected]> on 2012-06-01

* css/StyleResolver.cpp:
(WebCore::StyleResolver::collectMatchingRulesForList):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (119225 => 119226)


--- trunk/Source/WebCore/ChangeLog	2012-06-01 13:51:14 UTC (rev 119225)
+++ trunk/Source/WebCore/ChangeLog	2012-06-01 13:53:48 UTC (rev 119226)
@@ -1,5 +1,18 @@
 2012-06-01  Sheriff Bot  <[email protected]>
 
+        Unreviewed, rolling out r119213.
+        http://trac.webkit.org/changeset/119213
+        https://bugs.webkit.org/show_bug.cgi?id=88084
+
+        This patch broke two tests on all platform except Chromium.
+        The authors are unavailable. (Requested by zherczeg on
+        #webkit).
+
+        * css/StyleResolver.cpp:
+        (WebCore::StyleResolver::collectMatchingRulesForList):
+
+2012-06-01  Sheriff Bot  <[email protected]>
+
         Unreviewed, rolling out r119219.
         http://trac.webkit.org/changeset/119219
         https://bugs.webkit.org/show_bug.cgi?id=88088

Modified: trunk/Source/WebCore/css/StyleResolver.cpp (119225 => 119226)


--- trunk/Source/WebCore/css/StyleResolver.cpp	2012-06-01 13:51:14 UTC (rev 119225)
+++ trunk/Source/WebCore/css/StyleResolver.cpp	2012-06-01 13:53:48 UTC (rev 119226)
@@ -1389,14 +1389,8 @@
     }
 #endif
 
-    // Check attributes for :disabled, :enabeld, :checked, :default, CSS pseudo class.
-    if (element->hasTagName(optionTag)) {
-        HTMLOptionElement* thisOptionElement = toHTMLOptionElement(element);
-        HTMLOptionElement* otherOptionElement = toHTMLOptionElement(m_element);
-        if (thisOptionElement->isEnabledFormControl() != otherOptionElement->isEnabledFormControl()
-            || thisOptionElement->selected() != otherOptionElement->selected())
-            return false;
-    }
+    if (element->hasTagName(optionTag))
+        return false;
 
     if (element->hasTagName(optgroupTag) && m_element->disabled() != element->disabled())
         return false;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to