Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c39e3bbd953988fd6c963873ba3c6e53cde93d8f
https://github.com/WebKit/WebKit/commit/c39e3bbd953988fd6c963873ba3c6e53cde93d8f
Author: Cameron McCormack <hey...@apple.com>
Date: 2026-09-26 (Sat, 26 Sep 2026)
Changed paths:
M
LayoutTests/http/tests/site-isolation/compositing/iframes/iframe-scrolling-change-expected.txt
M
LayoutTests/http/tests/site-isolation/compositing/iframes/iframe-scrolling-change.html
M LayoutTests/platform/ios/TestExpectations
A
LayoutTests/platform/ios/compositing/iframes/iframe-scrolling-change-expected.txt
A
LayoutTests/scrollingcoordinator/scrolling-tree/frame-scrolling-attribute-change-expected.txt
A
LayoutTests/scrollingcoordinator/scrolling-tree/frame-scrolling-attribute-change.html
M Source/WebCore/page/LocalFrameView.cpp
M Source/WebCore/page/LocalFrameView.h
M Source/WebCore/platform/ScrollView.cpp
M Source/WebCore/platform/ScrollView.h
Log Message:
-----------
Propagate <iframe scrolling> attribute changes into the frame proactively
https://bugs.webkit.org/show_bug.cgi?id=325198
rdar://188326221
Reviewed by Matt Woodrow.
Rather than wait for scrollbars to appear, causing a relayout, which
then correctly updates the scrolling mode of the document. Otherwise,
when overlay scrollbars are used, we won't respond to the attribute
change immediately.
*
LayoutTests/http/tests/site-isolation/compositing/iframes/iframe-scrolling-change-expected.txt:
*
LayoutTests/http/tests/site-isolation/compositing/iframes/iframe-scrolling-change.html:
* LayoutTests/platform/ios/TestExpectations:
*
LayoutTests/scrollingcoordinator/scrolling-tree/frame-scrolling-attribute-change-expected.txt:
Added.
*
LayoutTests/scrollingcoordinator/scrolling-tree/frame-scrolling-attribute-change.html:
Added.
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::scrollbarModesDidChange):
* Source/WebCore/page/LocalFrameView.h:
* Source/WebCore/platform/ScrollView.cpp:
(WebCore::ScrollView::setScrollbarModes):
* Source/WebCore/platform/ScrollView.h:
(WebCore::ScrollView::scrollbarModesDidChange):
*
LayoutTests/platform/ios/compositing/iframes/iframe-scrolling-change-expected.txt:
Copied from
LayoutTests/http/tests/site-isolation/compositing/iframes/iframe-scrolling-change-expected.txt.
Canonical link: https://commits.webkit.org/321994@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications