Commit 82c7b400 authored by antti@apple.com's avatar antti@apple.com

Try to fix Qt build.

Not reviewed.

* Api/qwebelement.cpp:
(QWebElement::styleProperty):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106402 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0bc95091
......@@ -866,11 +866,11 @@ QString QWebElement::styleProperty(const QString &name, StyleResolveStrategy str
for (int i = rules->length(); i > 0; --i) {
CSSStyleRule* rule = static_cast<CSSStyleRule*>(rules->item(i - 1));
if (rule->style()->getPropertyPriority(propID))
return rule->style()->getPropertyValue(propID);
if (rule->declaration()->getPropertyPriority(propID))
return rule->declaration()->getPropertyValue(propID);
if (style->getPropertyValue(propID).isEmpty())
style = rule->style();
style = rule->declaration();
}
}
......
2012-01-31 Antti Koivisto <antti@apple.com>
Try to fix Qt build.
Not reviewed.
* Api/qwebelement.cpp:
(QWebElement::styleProperty):
2012-01-30 Antti Koivisto <antti@apple.com>
Reduce non-CSSOM API of CSSStyleDeclaration
......
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