Changeset 245175 in webkit


Ignore:
Timestamp:
May 10, 2019 9:20:12 AM (5 years ago)
Author:
Antti Koivisto
Message:

Event region generation needs to know about backing-sharing
https://bugs.webkit.org/show_bug.cgi?id=197694
<rdar://problem/50584991>

Reviewed by Simon Fraser.

Source/WebCore:

Test: pointerevents/ios/touch-action-region-backing-sharing.html

  • rendering/RenderLayerBacking.cpp:

(WebCore::RenderLayerBacking::updateEventRegion):

Gather event region from backing sharing layers too.

LayoutTests:

  • platform/ios-wk2/TestExpectations:
  • pointerevents/ios/touch-action-region-backing-sharing-expected.txt: Added.
  • pointerevents/ios/touch-action-region-backing-sharing.html: Added.
Location:
trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r245173 r245175  
     12019-05-10  Antti Koivisto  <antti@apple.com>
     2
     3        Event region generation needs to know about backing-sharing
     4        https://bugs.webkit.org/show_bug.cgi?id=197694
     5        <rdar://problem/50584991>
     6
     7        Reviewed by Simon Fraser.
     8
     9        * platform/ios-wk2/TestExpectations:
     10        * pointerevents/ios/touch-action-region-backing-sharing-expected.txt: Added.
     11        * pointerevents/ios/touch-action-region-backing-sharing.html: Added.
     12
    1132019-05-10  Ryan Haddad  <ryanhaddad@apple.com>
    214
  • trunk/LayoutTests/platform/ios-wk2/TestExpectations

    r245170 r245175  
    10771077
    10781078fast/scrolling/ios/scroll-events-back-forward-after-pageshow.html [ Pass Failure ]
    1079 webkit.org/b/197694 fast/scrolling/ios/overflow-scroll-overlap-4.html [ Failure ]
    10801079
    10811080webkit.org/b/157589 fast/text-autosizing/ios/text-autosizing-after-back.html [ Pass Timeout ]
  • trunk/Source/WebCore/ChangeLog

    r245174 r245175  
     12019-05-10  Antti Koivisto  <antti@apple.com>
     2
     3        Event region generation needs to know about backing-sharing
     4        https://bugs.webkit.org/show_bug.cgi?id=197694
     5        <rdar://problem/50584991>
     6
     7        Reviewed by Simon Fraser.
     8
     9        Test: pointerevents/ios/touch-action-region-backing-sharing.html
     10
     11        * rendering/RenderLayerBacking.cpp:
     12        (WebCore::RenderLayerBacking::updateEventRegion):
     13
     14        Gather event region from backing sharing layers too.
     15
    1162019-05-10  Michael Catanzaro  <mcatanzaro@igalia.com>
    217
  • trunk/Source/WebCore/rendering/RenderLayerBacking.cpp

    r245170 r245175  
    14941494    m_owningLayer.paintLayerContents(nullContext, paintingInfo, paintFlags);
    14951495
     1496    for (auto& layerWeakPtr : m_backingSharingLayers)
     1497        layerWeakPtr->paintLayerContents(nullContext, paintingInfo, paintFlags);
     1498
    14961499    auto contentOffset = roundedIntSize(contentOffsetInCompositingLayer());
    14971500    eventRegion.translate(contentOffset);
Note: See TracChangeset for help on using the changeset viewer.