Skip to content
  • commit-queue@webkit.org's avatar
    Don't clamp cubic-bezier timing functions between 0 and 1 · 2a1d7da7
    commit-queue@webkit.org authored
    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
    2a1d7da7