Bug
1701554 [wpt PR 28273] - Implement invert and negate exp.node creation and type check in CSSScale, a=testonly
Automatic update from web-platform-tests
Implement invert and negate exp.node creation and type check in CSSScale
For the current implementation, the CSS Typed OM could occur null
pointer access when building CSSMathExpressionNode.
Because in the middle of ToCalcExpressionNode() recursion, nullptr is
accessed instead of propagation.
Also, The CSSScale's constructor didn't check the type properly for
the expression. This possibly might be needed another typed om.
Therefore, implement TODOs for building CSSMathExpressionNode tree
and add condition in IsValidScaleCoord() to check resolved type is
the number for CSSMathExpressionNode tree.
Bug:
1188610
Change-Id: If6bf70b791b72c7ed67465f898130e098f68e853
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
2788308
Commit-Queue: Seokho Song <0xdevssh@gmail.com>
Reviewed-by: Mason Freed <masonf@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#868415}
--
wpt-commits:
90166f709d096e77e7cf1279cc3b13a5ddf0cd87
wpt-pr: 28273