Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nodes with display::none should be considered search invisible.
https://bugs.webkit.org/show_bug.cgi?id=245170 <rdar://99905766> Reviewed by Devin Rousso. Address a FIXME from the spec implementation, nodes with display::none should be considered search-invisible and not considered valid for a fragment. * LayoutTests/http/tests/scroll-to-text-fragment/word-display-none-expected.html: Added. * LayoutTests/http/tests/scroll-to-text-fragment/word-display-none.html: Added. * Source/WebCore/dom/FragmentDirectiveRangeFinder.cpp: (WebCore::FragmentDirectiveRangeFinder::isSearchInvisible): Canonical link: https://commits.webkit.org/254498@main
- Loading branch information
Showing 3 changed files with 32 additions and 1 deletion.