Fix Bug 14498: RenderContainer::positionForCoordinates contains an order of operations error
WebCore:
Fix Bug 14498: RenderContainer::positionForCoordinates contains an order of operations error
http://bugs.webkit.org/show_bug.cgi?id=14498
There were two bugs:
1) xPos/yPos were flipped
2) + binds tighter than ?:, so the order of operations was incorrect
Reviewed by Darin.
Test: fast/inline-block/14498-positionForCoordinates.html
* rendering/RenderContainer.cpp:
(WebCore::RenderContainer::positionForCoordinates):
LayoutTests:
Test for Bug 14498: RenderContainer::positionForCoordinates contains an order of operations error
http://bugs.webkit.org/show_bug.cgi?id=14498
Reviewed by Darin.
* fast/inline-block/14498-positionForCoordinates-expected.txt: Added.
* fast/inline-block/14498-positionForCoordinates.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23938
268f45cc-cd09-0410-ab3c-
d52691b4dbfc