Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4c71b4620c4ecf2abb4741bf56c443910f20f3f9
https://github.com/WebKit/WebKit/commit/4c71b4620c4ecf2abb4741bf56c443910f20f3f9
Author: Vitor Roriz <[email protected]>
Date: 2025-10-24 (Fri, 24 Oct 2025)
Changed paths:
M Source/WebCore/css/calc/CSSCalcTree+Simplification.cpp
M Source/WebCore/style/values/primitives/StyleLengthResolution.cpp
M Source/WebCore/style/values/primitives/StyleLengthResolution.h
Log Message:
-----------
[CSS Zoom] Refactor computeCanonicalNonCalcLengthDouble to its own function
https://bugs.webkit.org/show_bug.cgi?id=301437
rdar://163354798
Reviewed by Brent Fulgham.
Move this logic into its own free function for better abstraction/readability.
* Source/WebCore/css/calc/CSSCalcTree+Simplification.cpp:
(WebCore::CSSCalc::canonicalize):
* Source/WebCore/style/values/primitives/StyleLengthResolution.cpp:
(WebCore::Style::computeCanonicalNonCalcLengthDouble):
* Source/WebCore/style/values/primitives/StyleLengthResolution.h:
Canonical link: https://commits.webkit.org/302114@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications