Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 41d44f9cf55ad635410d0a652ea7311f54b8f6bf
https://github.com/WebKit/WebKit/commit/41d44f9cf55ad635410d0a652ea7311f54b8f6bf
Author: Tim Nguyen <[email protected]>
Date: 2025-07-16 (Wed, 16 Jul 2025)
Changed paths:
M LayoutTests/TestExpectations
M
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-auto-text-fragment-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/editing/the-hidden-attribute/beforematch-scroll-to-text-fragment-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/editing/the-hidden-attribute/hidden-until-found-text-fragment-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/auto-expand-details-text-fragment-expected.txt
M Source/WebCore/page/LocalFrameView.cpp
Log Message:
-----------
Make auto-expanding details & `hidden=until-found` work with text fragments
https://bugs.webkit.org/show_bug.cgi?id=296085
rdar://155998249
Reviewed by Darin Adler and Tim Horton.
`LocalFrameView::scrollToFragmentInternal` was calling the reveal algorithm,
but it is not used by text fragments, only for ID fragments.
Call the reveal algorithm before try to record any scroll adjustments, as the
spec requires.
* LayoutTests/TestExpectations:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-auto-text-fragment-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/html/editing/the-hidden-attribute/beforematch-scroll-to-text-fragment-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/html/editing/the-hidden-attribute/hidden-until-found-text-fragment-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-details-element/auto-expand-details-text-fragment-expected.txt:
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::scrollToFragment):
Canonical link: https://commits.webkit.org/297505@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