Changeset 200347 in webkit
- Timestamp:
- May 2, 2016 4:47:33 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r200346 r200347 1 2016-05-02 Antti Koivisto <antti@apple.com> 2 3 REGRESSION(r199964): Animation on pseudo elements doesn't trigger if first frame matches the current style 4 https://bugs.webkit.org/show_bug.cgi?id=157284 5 6 Reviewed by Simon Fraser. 7 8 * fast/css/animation-pseudo-style-change-expected.html: Added. 9 * fast/css/animation-pseudo-style-change.html: Added. 10 1 11 2016-05-02 Brady Eidson <beidson@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r200346 r200347 1 2016-05-02 Antti Koivisto <antti@apple.com> 2 3 REGRESSION(r199964): Animation on pseudo elements doesn't trigger if first frame matches the current style 4 https://bugs.webkit.org/show_bug.cgi?id=157284 5 6 Reviewed by Simon Fraser. 7 8 r199964 accidentally changed the logic for computing style change for animations. 9 10 Test: fast/css/animation-pseudo-style-change.html 11 12 * style/RenderTreeUpdater.cpp: 13 (WebCore::RenderTreeUpdater::updateBeforeOrAfterPseudoElement): 14 15 If there is an animated style determine the style change using it rather than the originally resolved style. 16 17 * style/StyleTreeResolver.cpp: 18 (WebCore::Style::TreeResolver::resolveElement): 19 20 Here too. 21 1 22 2016-05-02 Brady Eidson <beidson@apple.com> 2 23 -
trunk/Source/WebCore/style/RenderTreeUpdater.cpp
r200041 r200347 489 489 elementUpdate.isSynthetic = true; 490 490 491 elementUpdate.change = renderer ? Style::determineChange(renderer->style(), *newStyle) : Style::Detach;492 491 elementUpdate.style = animatedStyle ? WTFMove(animatedStyle) : WTFMove(newStyle); 492 elementUpdate.change = renderer ? Style::determineChange(renderer->style(), *elementUpdate.style) : Style::Detach; 493 493 494 494 if (elementUpdate.change == Style::NoChange) -
trunk/Source/WebCore/style/StyleTreeResolver.cpp
r200301 r200347 199 199 update.isSynthetic = true; 200 200 201 update.change = needsNewRenderer ? Detach : determineChange(renderer->style(), *newStyle);202 201 update.style = animatedStyle ? WTFMove(animatedStyle) : WTFMove(newStyle); 202 update.change = needsNewRenderer ? Detach : determineChange(renderer->style(), *update.style); 203 203 204 204 if (element.styleChangeType() == SyntheticStyleChange)
Note: See TracChangeset
for help on using the changeset viewer.