[webkit-changes] [WebKit/WebKit] c7b1f5: [CSS Math Functions] NaN numeric representation sh...
Tim Nguyen
noreply at github.com
Sun Jul 9 16:45:08 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c7b1f512809864e81e4075e6397542230f916253
https://github.com/WebKit/WebKit/commit/c7b1f512809864e81e4075e6397542230f916253
Author: Tim Nguyen <ntim at apple.com>
Date: 2023-07-09 (Sun, 09 Jul 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-function-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-lab-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-color-function-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-lab-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-values/calc-infinity-nan-computed-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-values/round-mod-rem-serialize-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-values/signs-abs-computed-expected.txt
M Source/WebCore/css/calc/CSSCalcOperationNode.h
M Source/WebCore/css/calc/CSSCalcValue.cpp
Log Message:
-----------
[CSS Math Functions] NaN numeric representation should be 0 (not Infinity)
https://bugs.webkit.org/show_bug.cgi?id=259034
rdar://111984451
Reviewed by Darin Adler.
This changed in https://github.com/w3c/csswg-drafts/commit/b5113b93e11b74282597187ee3a7d60caa82783d
Discussion was at https://github.com/w3c/csswg-drafts/issues/7067
* LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-function-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-lab-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-color-function-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-lab-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-values/calc-infinity-nan-computed-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-values/round-mod-rem-serialize-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-values/signs-abs-computed-expected.txt:
* Source/WebCore/css/calc/CSSCalcOperationNode.h:
* Source/WebCore/css/calc/CSSCalcValue.cpp:
(WebCore::CSSCalcValue::clampToPermittedRange const):
Canonical link: https://commits.webkit.org/265891@main
More information about the webkit-changes
mailing list