From 4c01c08173bb9aba8e672810b85d04aaa44be906 Mon Sep 17 00:00:00 2001 From: Vladimir Levin Date: Wed, 19 Apr 2023 06:22:49 -0700 Subject: [PATCH] CIS: Change the parsing test to test against computed value. This patch changes the "reference" box to use the computed value of width, instead of the used value. From: https://drafts.csswg.org/cssom/#resolved-value-special-case-property-like-height ``` If the property applies to the element or pseudo-element and the resolved value of the display property is not none or contents, then the resolved value is the used value. Otherwise the resolved value is the computed value. ``` Since we're testing the computed value of contain-intrinsic-size, we should compare it against a computed value of width in the reference. R=futhark@chromium.org Change-Id: I9dc3376ca6c3c41ab835251e29ec639a7c1336cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4442948 Reviewed-by: Rune Lillesveen Commit-Queue: Vladimir Levin Cr-Commit-Position: refs/heads/main@{#1132453} --- .../parsing/contain-intrinsic-size-computed.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/css/css-sizing/contain-intrinsic-size/parsing/contain-intrinsic-size-computed.html b/css/css-sizing/contain-intrinsic-size/parsing/contain-intrinsic-size-computed.html index c03b28269977772..18461c0ed2e818b 100644 --- a/css/css-sizing/contain-intrinsic-size/parsing/contain-intrinsic-size-computed.html +++ b/css/css-sizing/contain-intrinsic-size/parsing/contain-intrinsic-size-computed.html @@ -9,6 +9,9 @@ +