-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 optimization add flag for when live ranges are …
…changed https://bugs.webkit.org/show_bug.cgi?id=259804 rdar://113361192 Reviewed by Ryosuke Niwa. Does not collect range data for live ranges that were not changed/updated. Before, would collect range data for all live ranges all the time, and repainting them. * Source/WebCore/dom/Document.cpp: (WebCore::Document::collectRangeDataFromRegister): * Source/WebCore/dom/Range.cpp: (WebCore::Range::setStart): (WebCore::Range::setEnd): (WebCore::Range::nodeChildrenChanged): (WebCore::Range::nodeChildrenWillBeRemoved): (WebCore::Range::nodeWillBeRemoved): (WebCore::Range::textInserted): (WebCore::Range::textRemoved): (WebCore::Range::textNodesMerged): (WebCore::Range::textNodeSplit): * Source/WebCore/dom/Range.h: Canonical link: https://commits.webkit.org/266614@main
- Loading branch information
Showing
3 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters