Skip to content
  • dbates@webkit.org's avatar
    Require layout when -webkit-overflow-scrolling changes · 0c8f89fb
    dbates@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=120535
    
    Reviewed by Darin Adler.
    
    Source/WebCore:
    
    Test: fast/repaint/overflow-scroll-touch-repaint.html
    
    We want to require a layout when the value of -webkit-overflow-scrolling changes
    since -webkit-overflow-scrolling creates a stacking context.
    
    * rendering/style/RenderStyle.cpp:
    (WebCore::RenderStyle::changeRequiresLayout):
    
    LayoutTests:
    
    Add a test to ensure we perform a layout and repaint when the
    value of -webkit-overflow-scrolling changes on an element.
    
    At the time of writing, the iOS port enables ACCELERATED_OVERFLOW_SCROLLING.
    
    * fast/repaint/overflow-scroll-touch-repaint-expected.txt: Added.
    * fast/repaint/overflow-scroll-touch-repaint.html: Added.
    * platform/efl/TestExpectations: Skip test fast/repaint/overflow-scroll-touch-repaint.html
    since this platform doesn't enable ACCELERATED_OVERFLOW_SCROLLING.
    * platform/gtk/TestExpectations: Ditto.
    * platform/mac/TestExpectations: Ditto.
    * platform/qt/TestExpectations: Ditto.
    * platform/win/TestExpectations: Ditto.
    * platform/wincairo/TestExpectations: Ditto.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    0c8f89fb