Commit 9637c9a0 authored by ojan@chromium.org's avatar ojan@chromium.org

2011-03-24 Ojan Vafai <ojan@chromium.org>

        Was being a little braindead when I committed this.
        Only simple selectors are allowed, but sibling selectors
        are sibling selectors.

        * css/CSSStyleSelector.cpp:
        (WebCore::collectFeaturesFromList):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 102429ef
2011-03-24 Ojan Vafai <ojan@chromium.org>
Was being a little braindead when I committed this.
Only simple selectors are allowed, but sibling selectors
are sibling selectors.
* css/CSSStyleSelector.cpp:
(WebCore::collectFeaturesFromList):
2011-03-23 MORITA Hajime <morrita@google.com>
Reviewed by Kent Tamura.
......@@ -3325,7 +3325,7 @@ static void collectFeaturesFromList(CSSStyleSelector::Features& features, const
if (CSSSelectorList* selectorList = selector->selectorList()) {
for (CSSSelector* subSelector = selectorList->first(); subSelector; subSelector = CSSSelectorList::next(subSelector)) {
ASSERT(!subSelector->isSiblingSelector());
// FIXME: handle sibling selectors here.
collectFeaturesFromSelector(features, subSelector);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment