tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 6b00496862f4945b9ae62a0a598a41523ec43053
parent 88cf0788a68329304beece856b68526f808e66e7
Author: Alison Maher <almaher@microsoft.com>
Date:   Thu,  6 Nov 2025 21:38:06 +0000

Bug 1998045 [wpt PR 55839] - [Masonry] Fix masonry-grid-template-columns-computed-withcontent.html, a=testonly

Automatic update from web-platform-tests
[Masonry] Fix masonry-grid-template-columns-computed-withcontent.html

This test was failing on three different checks. Two of which, the
actual output matched that of grid and were expected, so update the
expectations for those two.

There was also a check that setting 'none' for grid-template-rows on a
column masonry returned back a computed value of 'none'. This is not
expected, since there are no template rows in a column masonry. The
expected computed value is '', however, updating the expectation to ''
fails because an empty string gets overridden to the computed value in
the harness. Instead, just remove this entry since the test is for
grid-template-columns, not rows.

Bug: 343257585
Change-Id: I33211ed9e217f4b8605a370effac4782237dc8c3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7114684
Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com>
Commit-Queue: Kurt Catti-Schmidt <kschmi@microsoft.com>
Auto-Submit: Alison Maher <almaher@microsoft.com>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1539684}

--

wpt-commits: a046d17f947d00a034c46886888decc9254071cd
wpt-pr: 55839

Diffstat:
Mtesting/web-platform/tests/css/css-grid/masonry/tentative/masonry-grid-template-columns-computed-withcontent.html | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/testing/web-platform/tests/css/css-grid/masonry/tentative/masonry-grid-template-columns-computed-withcontent.html b/testing/web-platform/tests/css/css-grid/masonry/tentative/masonry-grid-template-columns-computed-withcontent.html @@ -36,8 +36,7 @@ </div> </div> <script> - test_computed_value("grid-template-rows", 'none', 'none'); - test_computed_value("grid-template-columns", 'none', 'none'); // "none" without #child + test_computed_value("grid-template-columns", 'none', '300px'); // "none" without #child // track-size <fixed-breadth> = <length-percentage> | <flex> | min-content | max-content | auto test_computed_value("grid-template-columns", '20%', '60px'); // 20% * width @@ -76,7 +75,7 @@ // <auto-repeat> = repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? ) test_computed_value("grid-template-columns", 'repeat(auto-fill, 200px)', '200px'); test_computed_value("grid-template-columns", 'repeat(auto-fit, [one] 20%)', - '[one] 60px [one] 60px [one] 60px [one] 60px [one] 60px'); + '[one] 60px [one] 0px [one] 0px [one] 0px [one] 0px'); test_computed_value("grid-template-columns", 'repeat(auto-fill, minmax(100px, 5fr) [two])', '100px [two] 100px [two] 100px [two]'); test_computed_value("grid-template-columns", 'repeat(auto-fit, [three] minmax(max-content, 6em) [four])',