Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 989c9f9cd5b1f0c9606820e219ee51da32a34c6b
https://github.com/WebKit/WebKit/commit/989c9f9cd5b1f0c9606820e219ee51da32a34c6b
Author: Anuj Panta <[email protected]>
Date: 2025-11-10 (Mon, 10 Nov 2025)
Changed paths:
M Source/WebCore/inspector/InspectorOverlay.cpp
Log Message:
-----------
Wrong grid track sizes in dev tools when using custom properties
https://bugs.webkit.org/show_bug.cgi?id=284490
rdar://problem/141709306
Reviewed by Devin Rousso.
We now detect CSS variable references and resolve them while preserving
authored values.
By using Style::Extractor::propertyValueInStyle() with a nullptr renderer, we
avoid pixel
conversion that occurs for rendered grids.
This preserves track sizing values like 1fr, minmax(), repeat(), fit-content(),
and
percentages while still resolving variable references.
* Source/WebCore/inspector/InspectorOverlay.cpp:
(WebCore::authoredGridTrackSizes):
Canonical link: https://commits.webkit.org/302811@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications