Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 31a27bfdb5fc7151d1ab5338efce53651e1101da
https://github.com/WebKit/WebKit/commit/31a27bfdb5fc7151d1ab5338efce53651e1101da
Author: Chris Dumez <[email protected]>
Date: 2022-10-20 (Thu, 20 Oct 2022)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/stylevalue-normalization/normalize-numeric.tentative-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/stylevalue-subclasses/numeric-objects/parse.tentative-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/animations/setting-the-current-time-of-an-animation-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/animations/setting-the-start-time-of-an-animation-expected.txt
M Source/WebCore/css/calc/CSSCalcPrimitiveValueNode.h
M Source/WebCore/css/typedom/CSSNumericValue.cpp
Log Message:
-----------
Add support for CSSNumericValue.parse()
https://bugs.webkit.org/show_bug.cgi?id=246775
Reviewed by Geoffrey Garen.
Add support for CSSNumericValue.parse():
- https://drafts.css-houdini.org/css-typed-om/#dom-cssnumericvalue-parse
*
LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/stylevalue-normalization/normalize-numeric.tentative-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/stylevalue-subclasses/numeric-objects/parse.tentative-expected.txt:
Rebaseline WPT tests now that more checks are passing.
* Source/WebCore/css/calc/CSSCalcPrimitiveValueNode.h:
* Source/WebCore/css/typedom/CSSNumericValue.cpp:
(WebCore::canonicalOperator):
(WebCore::canCombineNodes):
(WebCore::negateOrInvertIfRequired):
(WebCore::convertToExceptionOrNumericValue):
(WebCore::reifyMathExpression):
(WebCore::reifyMathExpressions):
(WebCore::CSSNumericValue::addInternal):
(WebCore::CSSNumericValue::multiplyInternal):
(WebCore::CSSNumericValue::div):
(WebCore::CSSNumericValue::min):
(WebCore::CSSNumericValue::max):
(WebCore::CSSNumericValue::parse):
Canonical link: https://commits.webkit.org/255791@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes