Changeset 185402 in webkit
- Timestamp:
- Jun 9, 2015, 10:38:03 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 10 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/media/video-transformed-by-javascript-expected.txt (added)
-
LayoutTests/media/video-transformed-by-javascript.html (added)
-
LayoutTests/platform/gtk/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/ios-simulator-wk1/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/ios-simulator-wk2/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/ios-simulator/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/mac-wk1/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/mac-wk2/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/mac/TestExpectations (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderLayerBacking.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r185401 r185402 1 2015-06-09 Daegyu Lee <daegyu.lee@navercorp.com> 2 3 3D-transformed video does not display on platforms without accelerated video rendering 4 https://bugs.webkit.org/show_bug.cgi?id=144782 5 6 Reviewed by Simon Fraser. 7 8 Add layout test that is simply checking video transform by javascript works properly. 9 10 * media/video-transformed-by-javascript-expected.txt: Added. 11 * media/video-transformed-by-javascript.html: Added. 12 * platform/gtk/TestExpectations: 13 * platform/ios-simulator-wk1/TestExpectations: 14 * platform/ios-simulator-wk2/TestExpectations: 15 * platform/ios-simulator/TestExpectations: 16 * platform/mac-wk1/TestExpectations: 17 * platform/mac-wk2/TestExpectations: 18 * platform/mac/TestExpectations: 19 1 20 2015-06-09 Daniel Bates <dabates@apple.com> 2 21 -
trunk/LayoutTests/platform/gtk/TestExpectations
r185119 r185402 2388 2388 webkit.org/b/145049 fast/text/simple-line-layout-text-stroke-width.html [ Failure ] 2389 2389 2390 webkit.org/b/145432 media/video-transformed-by-javascript.html [ Failure ] 2391 2390 2392 #//////////////////////////////////////////////////////////////////////////////////////// 2391 2393 # End of Tests failing -
trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations
r185401 r185402 1731 1731 fast/history/history-length.html [ Crash ] 1732 1732 storage/websql/alter-to-info-table.html [ Crash ] 1733 1734 webkit.org/b/145432 media/video-transformed-by-javascript.html [ Failure ] -
trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations
r185401 r185402 2177 2177 # Time outs as of 06/09/2015 2178 2178 fast/images/animated-gif-webkit-transform.html 2179 2180 webkit.org/b/145432 media/video-transformed-by-javascript.html [ Failure ] -
trunk/LayoutTests/platform/ios-simulator/TestExpectations
r185353 r185402 2613 2613 platform/ios-simulator/ios/scrolling/touch-stacking.html [ Failure ] 2614 2614 2615 webkit.org/b/145432 media/video-transformed-by-javascript.html [ Failure ] 2616 2615 2617 # iOS tests that assert: 2616 2618 platform/ios-simulator/ios/fast/text/combining-enclosing-keycap.html -
trunk/LayoutTests/platform/mac-wk1/TestExpectations
r185322 r185402 34 34 35 35 webkit.org/b/144127 compositing/scrolling/touch-scroll-to-clip.html [ Pass Failure ] 36 37 webkit.org/b/145432 media/video-transformed-by-javascript.html [ Failure ] 36 38 37 39 ### END OF (1) Failures with bug reports -
trunk/LayoutTests/platform/mac-wk2/TestExpectations
r185254 r185402 262 262 webkit.org/b/144811 platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-rotated.html [ Pass Timeout ] 263 263 264 webkit.org/b/145432 media/video-transformed-by-javascript.html [ Failure ] 265 264 266 ### END OF (1) Classified failures with bug reports 265 267 ######################################## -
trunk/LayoutTests/platform/mac/TestExpectations
r185332 r185402 1260 1260 1261 1261 media/accessiblity-describes-video.html [ Pass Failure ] 1262 1263 webkit.org/b/145432 media/video-transformed-by-javascript.html [ Failure ] -
trunk/Source/WebCore/ChangeLog
r185398 r185402 1 2015-06-09 Daegyu Lee <daegyu.lee@navercorp.com> 2 3 3D-transformed video does not display on platforms without accelerated video rendering 4 https://bugs.webkit.org/show_bug.cgi?id=144782 5 6 Reviewed by Simon Fraser. 7 8 Video element does not get GraphicsLayer when MediaPlayerPrivate::supportsAcceleratedRendering() returns false 9 which means not using accelerated video decoding. 10 Although the video element gets GraphicsLayer by changing the CSS style of video element by javascript, 11 there is no way to set GraphicsLayer::setDrawsContent(true) for updating the video content. 12 As a result, after changing the CSS style, the video content does not show. 13 To avoid missing setDrawsContent(true), add conditions(!supportsAcceleratedRendering() && m_requiresOwnBackingStore). 14 15 Test: media/video-transformed-by-javascript.html 16 media/video-transformed-by-javascript-expected.html 17 18 * rendering/RenderLayerBacking.cpp: 19 (WebCore::RenderLayerBacking::containsPaintedContent): 20 1 21 2015-06-09 Ryosuke Niwa <rniwa@webkit.org> 2 22 -
trunk/Source/WebCore/rendering/RenderLayerBacking.cpp
r185343 r185402 1955 1955 #if ENABLE(VIDEO) 1956 1956 if (is<RenderVideo>(renderer()) && downcast<RenderVideo>(renderer()).shouldDisplayVideo()) 1957 return m_owningLayer.hasBoxDecorationsOrBackground() ;1957 return m_owningLayer.hasBoxDecorationsOrBackground() || (!(downcast<RenderVideo>(renderer()).supportsAcceleratedRendering()) && m_requiresOwnBackingStore); 1958 1958 #endif 1959 1959
Note:
See TracChangeset
for help on using the changeset viewer.