From f14f31892d4d95d4265240bd568983342e8fc3d9 Mon Sep 17 00:00:00 2001 From: Rune Lillesveen Date: Wed, 25 May 2022 01:52:42 -0700 Subject: [PATCH] [@container] Keep duplicate container names in computed value Per resolution [1], don't remove duplicate container names from the computed value. [1] https://github.com/w3c/csswg-drafts/issues/7181 Bug: 1145970 Change-Id: I3950c9dafefe952cbbe90cec4e1df09d8e9382e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3663167 Reviewed-by: Anders Hartvoll Ruud Commit-Queue: Rune Lillesveen Cr-Commit-Position: refs/heads/main@{#1007289} --- .../container-queries/container-name-computed.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/css-contain/container-queries/container-name-computed.html b/css/css-contain/container-queries/container-name-computed.html index 94e173730f15f5..f58d54744e46d3 100644 --- a/css/css-contain/container-queries/container-name-computed.html +++ b/css/css-contain/container-queries/container-name-computed.html @@ -16,8 +16,8 @@ test_computed_value('container-name', 'FoO'); test_computed_value('container-name', 'foo bar'); test_computed_value('container-name', 'bar foo'); -test_computed_value('container-name', 'foo foo bar', 'foo bar'); -test_computed_value('container-name', 'foo bar foo', 'foo bar'); -test_computed_value('container-name', 'bar foo foo', 'bar foo'); +test_computed_value('container-name', 'foo foo bar'); +test_computed_value('container-name', 'foo bar foo'); +test_computed_value('container-name', 'bar foo foo'); test_computed_value('container-name', '\\!escaped');