[Webkit-unassigned] [Bug 58032] [Qt] REGRESSION(83122): tst_QWebElement::style() fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 11 04:57:59 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58032


Andras Becsi <abecsi at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hausmann at webkit.org,
                   |                            |jocelyn.turcotte at nokia.com




--- Comment #2 from Andras Becsi <abecsi at webkit.org>  2011-04-11 04:57:58 PST ---
(In reply to comment #1)
> (In reply to comment #0)
> > FAIL!  : tst_QWebElement::style() Compared values are not the same
> >    Actual (p.styleProperty("color", QWebElement::InlineStyle)): blue
> >    Expected (QLatin1String("green")): green
> >    Loc: [/home/webkitbuildbot/slaves/release32bit/buildslave/qt-linux-release/build/Source/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp(486)]
> 
> Seems that the !important rule is not handled correctly.
> Need to check whether this only affects the Qt API.

The documentation of QWebElement::styleProperty describes the following for the QWebElement::StyleResolveStrategy enum's InlineStyle: 

"Return the property value as it is defined in the element, without respecting style inheritance and other CSS rules."

So I think the result is actually correct and r83122 fixed this behaviour.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list