Bug 1735051 [wpt PR 31178] - Remove feature flag if-statement in CSSMathExpressionNode::ToCalcValue, a=testonly

Automatic update from web-platform-tests
Remove feature flag if-statement in CSSMathExpressionNode::ToCalcValue

The value could be infinity and NaN from the function  ToPixelsAndPercent().
But the value is conditionally clamped can create DCHECK failure somewhere if the feature flag 'CSSCalcInfinityAndNaN' is disabled.

Therefore, Remove the feature flag check statement for clamping.

Bug: 1248824
Change-Id: I3370a30815975d1935ccf6e583e6358e4fe2cf0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3216564
Reviewed-by: Mason Freed <masonf@chromium.org>
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Seokho Song <0xdevssh@gmail.com>
Cr-Commit-Position: refs/heads/main@{#933860}

--

wpt-commits: 551712556fe03f60fc68628a7207ca60aca5dff2
wpt-pr: 31178
This commit is contained in:
Seokho Song 2021-10-28 10:23:40 +00:00 committed by moz-wptsync-bot
parent 409abf42fc
commit 4323ff0eff

View File

@ -0,0 +1,3 @@
<canvas>
<marquee style="width: calc(340282366920938463463374607431768211455in - 15%); "/>
</canvas>