Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSS Custom Highlights WPT painting-invalidation 003 & 006, painting-i…
…frame 006 failing due to not updating positions correctly https://bugs.webkit.org/show_bug.cgi?id=259521 rdar://112907577 Reviewed by Richard Robinson and Ryosuke Niwa. Added check for live range in Document::collectRangeDataFromRegister because we do not want to skip if a live range is already set. Live ranges are able to change. Took out null checks in Document::updateHighlightPositions to support that live ranges can change and there are already existing null checks before setting positions. Updated TestExpectations due to three passing tests. * LayoutTests/TestExpectations: * Source/WebCore/dom/Document.cpp: (WebCore::Document::collectRangeDataFromRegister): (WebCore::Document::updateHighlightPositions): * Source/WebCore/dom/Range.h: * Source/WebCore/dom/StaticRange.h: Canonical link: https://commits.webkit.org/266349@main
- Loading branch information