⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 245242 in webkit


Ignore:
Timestamp:
May 13, 2019, 11:13:40 AM (7 years ago)
Author:
Antti Koivisto
Message:

REGRESSION (r245208): compositing/shared-backing/sharing-bounds-non-clipping-shared-layer.html asserts
https://bugs.webkit.org/show_bug.cgi?id=197818
<rdar://problem/50705762>

Reviewed by Simon Fraser.

Source/WebCore:

Tests: fast/scrolling/ios/event-region-scale-transform-shared.html

fast/scrolling/ios/event-region-translate-transform-shared.html

This fixes the assert. However the added tests demonstrate that transform is not taken into account
when computing the event region, https://bugs.webkit.org/show_bug.cgi?id=197836.

  • rendering/RenderLayerBacking.cpp:

(WebCore::RenderLayerBacking::updateEventRegion):

LayoutTests:

  • fast/scrolling/ios/event-region-scale-transform-shared-expected.txt: Added.
  • fast/scrolling/ios/event-region-scale-transform-shared.html: Added.
  • fast/scrolling/ios/event-region-translate-transform-shared-expected.txt: Added.
  • fast/scrolling/ios/event-region-translate-transform-shared.html: Added.
  • platform/ios-wk2/TestExpectations:
Location:
trunk
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r245238 r245242  
     12019-05-13  Antti Koivisto  <antti@apple.com>
     2
     3        REGRESSION (r245208): compositing/shared-backing/sharing-bounds-non-clipping-shared-layer.html asserts
     4        https://bugs.webkit.org/show_bug.cgi?id=197818
     5        <rdar://problem/50705762>
     6
     7        Reviewed by Simon Fraser.
     8
     9        * fast/scrolling/ios/event-region-scale-transform-shared-expected.txt: Added.
     10        * fast/scrolling/ios/event-region-scale-transform-shared.html: Added.
     11        * fast/scrolling/ios/event-region-translate-transform-shared-expected.txt: Added.
     12        * fast/scrolling/ios/event-region-translate-transform-shared.html: Added.
     13        * platform/ios-wk2/TestExpectations:
     14
    1152019-05-13  Wenson Hsieh  <wenson_hsieh@apple.com>
    216
  • trunk/LayoutTests/platform/ios-wk2/TestExpectations

    r245221 r245242  
    13161316webkit.org/b/196013 fast/scrolling/rubber-band-shows-background.html [ ImageOnlyFailure ]
    13171317
    1318 webkit.org/b/197818 compositing/shared-backing/sharing-bounds-non-clipping-shared-layer.html [ Skip ]
    1319 
    13201318webkit.org/b/196269 http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-fragment-from-prevalent-resource.html [ Pass Timeout ]
    13211319webkit.org/b/196269 http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource.html [ Pass Timeout ]
  • trunk/Source/WebCore/ChangeLog

    r245238 r245242  
     12019-05-13  Antti Koivisto  <antti@apple.com>
     2
     3        REGRESSION (r245208): compositing/shared-backing/sharing-bounds-non-clipping-shared-layer.html asserts
     4        https://bugs.webkit.org/show_bug.cgi?id=197818
     5        <rdar://problem/50705762>
     6
     7        Reviewed by Simon Fraser.
     8
     9        Tests: fast/scrolling/ios/event-region-scale-transform-shared.html
     10               fast/scrolling/ios/event-region-translate-transform-shared.html
     11
     12        This fixes the assert. However the added tests demonstrate that transform is not taken into account
     13        when computing the event region, https://bugs.webkit.org/show_bug.cgi?id=197836.
     14
     15        * rendering/RenderLayerBacking.cpp:
     16        (WebCore::RenderLayerBacking::updateEventRegion):
     17
    1182019-05-13  Wenson Hsieh  <wenson_hsieh@apple.com>
    219
  • trunk/Source/WebCore/rendering/RenderLayerBacking.cpp

    r245220 r245242  
    14901490    m_owningLayer.paintLayerContents(nullContext, paintingInfo, paintFlags);
    14911491
    1492     for (auto& layerWeakPtr : m_backingSharingLayers)
    1493         layerWeakPtr->paintLayerContents(nullContext, paintingInfo, paintFlags);
     1492    for (auto& layer : m_backingSharingLayers)
     1493        layer->paintLayerWithEffects(nullContext, paintingInfo, paintFlags);
    14941494
    14951495    auto contentOffset = roundedIntSize(contentOffsetInCompositingLayer());
Note: See TracChangeset for help on using the changeset viewer.