Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e9cacb7830681cb73df71eed63c34f1f2dbf83ea
https://github.com/WebKit/WebKit/commit/e9cacb7830681cb73df71eed63c34f1f2dbf83ea
Author: Tim Nguyen <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes