Reading border radius from style property returns in wrong order.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Mar 2013 03:52:08 +0000 (03:52 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Mar 2013 03:52:08 +0000 (03:52 +0000)
commit2c4e25d3830906de69f1783db7bdf3fb366b44b2
tree17f8100941315a8fc9d89f3c1f627b60d37aafa5
parent4c9dfdf863811680490a3e2ff55323a99c2a6583
Reading border radius from style property returns in wrong order.
https://bugs.webkit.org/show_bug.cgi?id=110853

Source/WebCore:

Patch by Jared Wyles <wyles@adobe.com> on 2013-03-07
Reviewed by Ryosuke Niwa

Updating the order of border-radius to return in the order specified
in http://www.w3.org/TR/css3-background/#the-border-radius

Tests updated in LayoutTests/fast/borders/border-radius-parsing.html
Changed the expectations in LayoutTests/inspector/elements/elements-panel-styles-expected.txt

Compat information -
jQuery's css function favours using getComputedStyle for elements so that should not be impacted.
Zepto does check for the element on style first so may be a slight concern there.

* css/StylePropertyShorthand.cpp:
(WebCore::borderRadiusShorthand):

LayoutTests:

Patch by Jared Wyles <wyles@adobe.com> on 2013-03-07
Reviewed by Ryosuke Niwa

* fast/borders/border-radius-parsing-expected.txt:
* fast/borders/border-radius-parsing.html:
* inspector/elements/elements-panel-styles-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@145172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/borders/border-radius-parsing-expected.txt
LayoutTests/fast/borders/border-radius-parsing.html
LayoutTests/inspector/elements/elements-panel-styles-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/css/StylePropertyShorthand.cpp