Changeset 177927 in webkit
- Timestamp:
- Jan 5, 2015 1:44:32 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r177919 r177927 1 2015-01-05 Chris Dumez <cdumez@apple.com> 2 3 Regression(r163928): Animated images are not resumed on window resizing 4 https://bugs.webkit.org/show_bug.cgi?id=139714 5 <rdar://problem/18855285> 6 7 Reviewed by Darin Adler. 8 9 Add a layout test to make sure animated images are correctly paused / 10 resumed when resizing the window. 11 12 Also add another test to make sure animated images are correctly paused 13 / resumed when zooming in and out. 14 15 * fast/images/animated-gif-window-resizing-expected.txt: Added. 16 * fast/images/animated-gif-window-resizing.html: Added. 17 * fast/images/animated-gif-zooming-expected.txt: Added. 18 * fast/images/animated-gif-zooming.html: Added. 19 * fast/images/resources/animated-gif-window-resize.html: Added. 20 * platform/mac-wk1/TestExpectations: 21 1 22 2015-01-05 Alexey Proskuryakov <ap@apple.com> 2 23 -
trunk/LayoutTests/platform/mac-wk1/TestExpectations
r177837 r177927 28 28 29 29 webkit.org/b/112533 media/auto-play-in-sandbox-with-allow-scripts.html [ Pass Timeout ] 30 31 webkit.org/b/139599 fast/images/animated-gif-body-outside-viewport.html [ Pass Failure Timeout ]32 30 33 31 webkit.org/b/139778 fullscreen/exit-full-screen-iframe.html [ Skip ] … … 67 65 plugins/snapshotting 68 66 67 # Animated image throttling behaves differently on WK1. 68 fast/images/animated-gif-body-outside-viewport.html [ Skip ] 69 fast/images/animated-gif-window-resizing.html [ Skip ] 70 fast/images/animated-gif-zooming.html [ Skip ] 71 69 72 # Mavericks and prior do not support contentInset 70 73 [ MountainLion Mavericks ] platform/mac/fast/events/content-inset-hit-testing.html [ Skip ] -
trunk/Source/WebCore/ChangeLog
r177925 r177927 1 2015-01-05 Chris Dumez <cdumez@apple.com> 2 3 Regression(r163928): Animated images are not resumed on window resizing 4 https://bugs.webkit.org/show_bug.cgi?id=139714 5 <rdar://problem/18855285> 6 7 Reviewed by Darin Adler. 8 9 After r163928, animated images were not resumed if they became visible 10 after resizing the window. This patch calls resumes animated images if 11 necessary in FrameView::setFrameRect() to handle this case properly. 12 13 Tests: fast/images/animated-gif-window-resizing.html 14 fast/images/animated-gif-zooming.html 15 16 * page/FrameView.cpp: 17 (WebCore::FrameView::setFrameRect): 18 1 19 2015-01-01 Brian J. Burg <burg@cs.washington.edu> 2 20 -
trunk/Source/WebCore/page/FrameView.cpp
r177925 r177927 459 459 if (frame().isMainFrame()) 460 460 frame().mainFrame().pageOverlayController().didChangeViewSize(); 461 462 // The frame view was resized, check if we should resume animated images. 463 resumeVisibleImageAnimationsIncludingSubframes(); 461 464 } 462 465
Note: See TracChangeset
for help on using the changeset viewer.