Don't clamp cubic-bezier timing functions between 0 and 1
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Sep 2011 00:29:11 +0000 (00:29 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Sep 2011 00:29:11 +0000 (00:29 +0000)
commit2a1d7da7017638469d163029275f55b9c859fef1
tree4eaf08c594239da95f48b1248170fd1d04ec3318
parent89c770a8bfba2216945e50a191ea53dbb76c4bb3
Don't clamp cubic-bezier timing functions between 0 and 1
https://bugs.webkit.org/show_bug.cgi?id=45761

Source/WebCore:

Remove the limitation of clamping the cubic-bezier timing function
values between 0 and 1, following the specification change made on
April 5 of this year.

Patch by Peter Beverloo <peter@chromium.org> on 2011-09-28
Reviewed by Dean Jackson.

Tests: transitions/cubic-bezier-overflow-color.html
       transitions/cubic-bezier-overflow-length.html
       transitions/cubic-bezier-overflow-shadow.html
       transitions/cubic-bezier-overflow-svg-length.html
       transitions/cubic-bezier-overflow-transform.html

* css/CSSParser.cpp:
(WebCore::CSSParser::parseCubicBezierTimingFunctionValue):

LayoutTests:

Test overflow behavior of colors, lengths, svg lengths,
shadows and transforms (through rotations). Update the
timing function test to check for now valid values.

Patch by Peter Beverloo <peter@chromium.org> on 2011-09-28
Reviewed by Dean Jackson.

* fast/css/transition-timing-function-expected.txt:
* fast/css/transition-timing-function.html:
* transitions/cubic-bezier-overflow-color-expected.txt: Added.
* transitions/cubic-bezier-overflow-color.html: Added.
* transitions/cubic-bezier-overflow-length-expected.txt: Added.
* transitions/cubic-bezier-overflow-length.html: Added.
* transitions/cubic-bezier-overflow-shadow-expected.txt: Added.
* transitions/cubic-bezier-overflow-shadow.html: Added.
* transitions/cubic-bezier-overflow-svg-length-expected.txt: Added.
* transitions/cubic-bezier-overflow-svg-length.html: Added.
* transitions/cubic-bezier-overflow-transform-expected.txt: Added.
* transitions/cubic-bezier-overflow-transform.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
15 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/css/transition-timing-function-expected.txt
LayoutTests/fast/css/transition-timing-function.html
LayoutTests/transitions/cubic-bezier-overflow-color-expected.txt [new file with mode: 0644]
LayoutTests/transitions/cubic-bezier-overflow-color.html [new file with mode: 0644]
LayoutTests/transitions/cubic-bezier-overflow-length-expected.txt [new file with mode: 0644]
LayoutTests/transitions/cubic-bezier-overflow-length.html [new file with mode: 0644]
LayoutTests/transitions/cubic-bezier-overflow-shadow-expected.txt [new file with mode: 0644]
LayoutTests/transitions/cubic-bezier-overflow-shadow.html [new file with mode: 0644]
LayoutTests/transitions/cubic-bezier-overflow-svg-length-expected.txt [new file with mode: 0644]
LayoutTests/transitions/cubic-bezier-overflow-svg-length.html [new file with mode: 0644]
LayoutTests/transitions/cubic-bezier-overflow-transform-expected.txt [new file with mode: 0644]
LayoutTests/transitions/cubic-bezier-overflow-transform.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/css/CSSParser.cpp