REGRESSION (r193610): Drop down menu doesn’t expand at allofbach.com
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 May 2016 15:27:02 +0000 (15:27 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 May 2016 15:27:02 +0000 (15:27 +0000)
commit5aebb2628b9b0470d00c2677846d0fe0ae18c91a
treed60eeacf4e51ff81f7ce96b09d3f9cd7ae3a282c
parentb3716a0991bba4ba8a6845e669d482fb63138dc4
REGRESSION (r193610): Drop down menu doesn’t expand at allofbach.com
https://bugs.webkit.org/show_bug.cgi?id=157445

Reviewed by Simon Fraser.

When we don't run transitions (becasuse of to/from 'auto' values) we should also not
report the 'from' value and behave as if we finished the transition already.

Source/WebCore:

Test: fast/animation/height-auto-transition-computed-value.html

* page/animation/KeyframeAnimation.cpp:
(WebCore::KeyframeAnimation::fetchIntervalEndpointsForProperty): This is a revert of
looping the 'to' value back to the first keyframe when reverse animation is at the start value (last keyframe).

* platform/Length.cpp:
(WebCore::blend):

LayoutTests:

* fast/animation/height-auto-transition-computed-value-expected.html: Added.
* fast/animation/height-auto-transition-computed-value.html: Added.
* imported/blink/transitions/transition-not-interpolable-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@200622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/animation/height-auto-transition-computed-value-expected.html [new file with mode: 0644]
LayoutTests/fast/animation/height-auto-transition-computed-value.html [new file with mode: 0644]
LayoutTests/imported/blink/transitions/transition-not-interpolable-expected.txt
LayoutTests/platform/ios-simulator/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/page/animation/KeyframeAnimation.cpp
Source/WebCore/platform/Length.cpp