From a912faf1d86a9808b52b45154ab5c5248d185596 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Sat, 16 Dec 2023 00:48:37 +0000 Subject: [PATCH] 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 Commit-Queue: Daniil Sakhapov Cr-Commit-Position: refs/heads/main{#1233345} -- wpt-commits: 27ed8f45421a9329cb918aa82c3c22f634925061 wpt-pr: 43513 UltraBlame original commit: 2047dad9ea5945b66b3c548e8e56391b3528568d --- .../tests/css/css-values/minmax-length-percent-serialize.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/web-platform/tests/css/css-values/minmax-length-percent-serialize.html b/testing/web-platform/tests/css/css-values/minmax-length-percent-serialize.html index 20d54d8cb0c4..0a109d7c18ec 100644 --- a/testing/web-platform/tests/css/css-values/minmax-length-percent-serialize.html +++ b/testing/web-platform/tests/css/css-values/minmax-length-percent-serialize.html @@ -126,8 +126,8 @@ 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');