Commit bce364f7 authored by hyatt@apple.com's avatar hyatt@apple.com
Browse files

The comedy continues. Bungled the rename from Eric's review when doing the...

The comedy continues. Bungled the rename from Eric's review when doing the backout of CSSStyleSelector's accidental fix for 17254.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9ef3ec67
......@@ -733,7 +733,7 @@ static bool parseNth(const String& nth, int &a, int &b)
if (n == 1)
a = -1; // -n == -1n
else
a = nth.substring(1, n - 1).toInt();
a = nth.substring(1, n-1).toInt();
} else if (!n)
a = 1; // n == 1n
else
......@@ -1715,7 +1715,7 @@ bool CSSStyleSelector::checkOneSelector(CSSSelector* sel, Element* e, bool isAnc
if (e->parentNode() && e->parentNode()->isElementNode()) {
Element* parentNode = static_cast<Element*>(e->parentNode());
bool result = false;
if (parentNode->finishedParsingChildren()) {
if (parentNode->isFinishedParsingChildren()) {
Node* n = e->nextSibling();
while (n && !n->isElementNode())
n = n->nextSibling();
......@@ -1743,7 +1743,7 @@ bool CSSStyleSelector::checkOneSelector(CSSSelector* sel, Element* e, bool isAnc
if (parentStyle)
parentStyle->setChildrenAffectedByBackwardPositionalRules();
}
if (!parentNode->finishedParsingChildren())
if (!parentNode->isFinishedParsingChildren())
return false;
bool result = false;
const QualifiedName& type = e->tagQName();
......@@ -1770,7 +1770,7 @@ bool CSSStyleSelector::checkOneSelector(CSSSelector* sel, Element* e, bool isAnc
n = n->previousSibling();
if (!n)
firstChild = true;
if (firstChild && parentNode->finishedParsingChildren()) {
if (firstChild && parentNode->isFinishedParsingChildren()) {
n = e->nextSibling();
while (n && !n->isElementNode())
n = n->nextSibling();
......@@ -1804,7 +1804,7 @@ bool CSSStyleSelector::checkOneSelector(CSSSelector* sel, Element* e, bool isAnc
parentStyle->setChildrenAffectedByBackwardPositionalRules();
}
}
if (!parentNode->finishedParsingChildren())
if (!parentNode->isFinishedParsingChildren())
return false;
bool firstChild = false;
bool lastChild = false;
......@@ -1909,7 +1909,7 @@ bool CSSStyleSelector::checkOneSelector(CSSSelector* sel, Element* e, bool isAnc
if (parentStyle)
parentStyle->setChildrenAffectedByBackwardPositionalRules();
}
if (!parentNode->finishedParsingChildren())
if (!parentNode->isFinishedParsingChildren())
return false;
int count = 1;
Node* n = e->nextSibling();
......@@ -1936,7 +1936,7 @@ bool CSSStyleSelector::checkOneSelector(CSSSelector* sel, Element* e, bool isAnc
if (parentStyle)
parentStyle->setChildrenAffectedByBackwardPositionalRules();
}
if (!parentNode->finishedParsingChildren())
if (!parentNode->isFinishedParsingChildren())
return false;
int count = 1;
const QualifiedName& type = e->tagQName();
......
Supports Markdown
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