Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 <webkit.review.bot@gmail.com> on 2012-06-01

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

Canonical link: https://commits.webkit.org/105905@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@119226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
WebKit Review Bot authored and webkit-commit-queue committed Jun 1, 2012
1 parent 5738459 commit 32f4a49
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
13 changes: 13 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,16 @@
2012-06-01 Sheriff Bot <webkit.review.bot@gmail.com>

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 <webkit.review.bot@gmail.com>

Unreviewed, rolling out r119219.
Expand Down
10 changes: 2 additions & 8 deletions Source/WebCore/css/StyleResolver.cpp
Expand Up @@ -1389,14 +1389,8 @@ bool StyleResolver::canShareStyleWithElement(StyledElement* element) const
}
#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;
Expand Down

0 comments on commit 32f4a49

Please sign in to comment.