Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7a6719898c9ad535a97de781fb3473e26213d3bf
      
https://github.com/WebKit/WebKit/commit/7a6719898c9ad535a97de781fb3473e26213d3bf
  Author: Alan Baradlay <[email protected]>
  Date:   2024-09-08 (Sun, 08 Sep 2024)

  Changed paths:
    A 
LayoutTests/fast/scrolling/scroll-corner-update-on-direction-change-expected.html
    A LayoutTests/fast/scrolling/scroll-corner-update-on-direction-change.html
    M LayoutTests/platform/mac-wk1/TestExpectations
    M Source/WebCore/rendering/RenderLayer.cpp
    M Source/WebCore/rendering/RenderLayerScrollableArea.cpp

  Log Message:
  -----------
  textarea can't handle switch direction
https://bugs.webkit.org/show_bug.cgi?id=220830

Reviewed by Simon Fraser.

Resize control does not get updated until after its layers gets invalidated.
Without a scrollbar we paint the corner through normal renderer painting (and 
it works fine), but
when scrollbar is present, corner gets its own layer.

This patch ensures we invalidate the associated layer on inline direction 
change.

* 
LayoutTests/fast/scrolling/scroll-corner-update-on-direction-change-expected.html:
 Added.
* LayoutTests/fast/scrolling/scroll-corner-update-on-direction-change.html: 
Added.
* Source/WebCore/rendering/RenderLayer.cpp:
(WebCore::RenderLayer::calculateClipRects const):
* Source/WebCore/rendering/RenderLayerScrollableArea.cpp:
(WebCore::RenderLayerScrollableArea::invalidateScrollCornerRect):

Canonical link: https://commits.webkit.org/283327@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to