Changeset 252439 in webkit
- Timestamp:
- Nov 13, 2019, 4:35:07 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/compositing/backing/backing-for-clipping-expected.html (added)
-
LayoutTests/compositing/backing/backing-for-clipping.html (added)
-
LayoutTests/compositing/backing/no-backing-for-perspective-expected.txt (modified) (1 diff)
-
LayoutTests/platform/ios-wk2/compositing/backing/no-backing-for-perspective-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderLayerCompositor.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r252429 r252439 187 187 and fast/visual-viewport/zoomed-fixed-scroll-down-then-up.html as 188 188 Failure. 189 190 2019-11-13 Simon Fraser <simon.fraser@apple.com> 191 192 REGRESSION (r249434): flashy menus on wellsfargo.com 193 https://bugs.webkit.org/show_bug.cgi?id=204175 194 <rdar://problem/56654512> 195 196 Reviewed by Zalan Bujtas. 197 198 * compositing/backing/backing-for-clipping-expected.html: Added. 199 * compositing/backing/backing-for-clipping.html: Added. 200 * compositing/backing/no-backing-for-perspective-expected.txt: 201 * platform/ios-wk2/compositing/backing/no-backing-for-perspective-expected.txt: 189 202 190 203 2019-11-11 Ryosuke Niwa <rniwa@webkit.org> -
trunk/LayoutTests/compositing/backing/no-backing-for-perspective-expected.txt
r180441 r252439 17 17 (position 21.00 39.00) 18 18 (bounds 342.00 180.00) 19 (drawsContent 1) 19 20 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 -0.00] [0.00 0.00 0.00 1.00]) 20 21 (children 1 -
trunk/LayoutTests/platform/ios-wk2/compositing/backing/no-backing-for-perspective-expected.txt
r177052 r252439 17 17 (position 21.00 41.00) 18 18 (bounds 342.00 182.00) 19 (drawsContent 1) 19 20 (childrenTransform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 -0.00] [0.00 0.00 0.00 1.00]) 20 21 (children 1 -
trunk/Source/WebCore/ChangeLog
r252438 r252439 713 713 * Modules/modern-media-controls/media/pip-support.js: 714 714 (PiPSupport.prototype.buttonWasPressed): 715 716 2019-11-13 Simon Fraser <simon.fraser@apple.com> 717 718 REGRESSION (r249434): flashy menus on wellsfargo.com 719 https://bugs.webkit.org/show_bug.cgi?id=204175 720 <rdar://problem/56654512> 721 722 Reviewed by Zalan Bujtas. 723 724 Test: compositing/backing/backing-for-clipping.html 725 726 r249434 made overflow an "indirect compositing reason" (i.e. we composite for overflow:hidden 727 when necessary to clip a composited descendant). However this made a clause in RenderLayerCompositor::requiresOwnBackingStore() 728 return early when this reason is set, skipping the bounds check, so we need to do the bound check first. 729 This is similar to the fix in r252070. 730 731 The change to the perspective test relates to the "FIXME"; we don't use the correct ancestor for the 732 bounds check, so sometimes layers can have backing store when they don't need it until that's fixed. 733 734 * rendering/RenderLayerCompositor.cpp: 735 (WebCore::RenderLayerCompositor::requiresOwnBackingStore const): 715 736 716 737 2019-11-11 Per Arne Vollan <pvollan@apple.com> -
trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp
r252353 r252439 2427 2427 return true; 2428 2428 2429 // FIXME: We really need to keep track of the ancestor layer that has its own backing store. 2430 if (!ancestorCompositedBounds.contains(layerCompositedBoundsInAncestor)) 2431 return true; 2432 2429 2433 if (layer.mustCompositeForIndirectReasons()) { 2430 2434 IndirectCompositingReason reason = layer.indirectCompositingReason(); … … 2436 2440 || reason == IndirectCompositingReason::Preserve3D; // preserve-3d has to create backing store to ensure that 3d-transformed elements intersect. 2437 2441 } 2438 2439 // FIXME: We really need to keep track of the ancestor layer that has its own backing store.2440 if (!ancestorCompositedBounds.contains(layerCompositedBoundsInAncestor))2441 return true;2442 2442 2443 2443 return false;
Note:
See TracChangeset
for help on using the changeset viewer.