Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 49694dd2becd6eef4db80ad7e15edbebb591f727
https://github.com/WebKit/WebKit/commit/49694dd2becd6eef4db80ad7e15edbebb591f727
Author: Ahmad Saleem <[email protected]>
Date: 2026-04-25 (Sat, 25 Apr 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/css/css-values/tree-counting/sibling-index-linear-gradient-gcs-expected.txt
M Source/WebCore/css/calc/CSSCalcTree+Parser.cpp
Log Message:
-----------
[CSS Calc] sibling-index() and sibling-count() should set
requiresConversionData in calc parser
https://bugs.webkit.org/show_bug.cgi?id=313313
rdar://175590806
Reviewed by Sam Weinig.
Mark sibling-index() and sibling-count() as requiresConversionData in the
calc parser, consistent with other functions that need runtime context to
evaluate (anchor(), random-*()). Without this flag, the calc tree may
attempt to fully simplify at parse time even though the actual value is
not available until layout.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-values/tree-counting/sibling-index-linear-gradient-gcs-expected.txt:
Progressions
* Source/WebCore/css/calc/CSSCalcTree+Parser.cpp:
(WebCore::CSSCalc::parseCalcFunction):
Canonical link: https://commits.webkit.org/312026@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications