Bug 1868321 [wpt PR 43513] - Change parentheses for css math functions serialization test, a=testonly

Automatic update from web-platform-tests
Change parentheses for css math functions serialization test

Add parentheses around multiplication operation as per spec:
https://drafts.csswg.org/css-values/#serialize-a-calculation-tree
we should add parentheses around the product node.

Github discussion:
https://github.com/web-platform-tests/wpt/pull/43364

Change-Id: I7879bfc2cc62af63dd7598d380e10e96426ff5dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5087987
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1233345}

--

wpt-commits: 27ed8f45421a9329cb918aa82c3c22f634925061
wpt-pr: 43513
This commit is contained in:
Daniil Sakhapov 2023-12-13 01:00:01 +00:00 committed by moz-wptsync-bot
parent ef28747084
commit 36466e4d90

View File

@ -126,8 +126,8 @@ test_serialization(
test_serialization(
'max((min(10%, 30px) + 10px) * 2 + 10px, 5em + 5%)',
'max(10px + (10px + min(10%, 30px)) * 2, 5% + 5em)',
'max(10px + (10px + min(10%, 30px)) * 2, 5% + 80px)',
'max(10px + ((10px + min(10%, 30px)) * 2), 5% + 5em)',
'max(10px + ((10px + min(10%, 30px)) * 2), 5% + 80px)',
'85px',
prop='width');
</script>