[webkit-changes] [WebKit/WebKit] e9cacb: [content-visibility] Web Inspector: Account for sk...
Tim Nguyen
noreply at github.com
Thu Jan 4 19:22:58 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e9cacb7830681cb73df71eed63c34f1f2dbf83ea
https://github.com/WebKit/WebKit/commit/e9cacb7830681cb73df71eed63c34f1f2dbf83ea
Author: Tim Nguyen <ntim at apple.com>
Date: 2024-01-04 (Thu, 04 Jan 2024)
Changed paths:
M Source/WebCore/inspector/InspectorOverlay.cpp
Log Message:
-----------
[content-visibility] Web Inspector: Account for skipped content in InspectorOverlay
https://bugs.webkit.org/show_bug.cgi?id=267099
rdar://120495150
Reviewed by Darin Adler.
Skipped content behaves similarly to display: none, visual highlighters are not super helpful in this case.
Skip the work of building highlighter for skipped content to save some laying out.
* Source/WebCore/inspector/InspectorOverlay.cpp:
(WebCore::buildNodeHighlight):
(WebCore::drawShapeHighlight):
(WebCore::InspectorOverlay::drawElementTitle):
Canonical link: https://commits.webkit.org/272668@main
More information about the webkit-changes
mailing list