tor-browser

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

commit a303501ffadcb2cfb71925cb9f104c32b8d212f9
parent 6781766f9740c83869fb70a46d972fd743e70f37
Author: Alison Maher <almaher@microsoft.com>
Date:   Sun, 26 Oct 2025 21:13:35 +0000

Bug 1995410 [wpt PR 55555] - [Masonry] Fix row/column-item-percentage-sizes-*.html, a=testonly

Automatic update from web-platform-tests
[Masonry] Fix row/column-item-percentage-sizes-*.html

There were a group of tests failing when setting various % sizes on
items in a masonry container. The differences observed were expected
because masonry resolves %s differently from grid in the masonry
axis. Update expectations per the expected masonry behavior.

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

--

wpt-commits: b4bf8ab4b5b08f4c0bc87751c39bd287ac397054
wpt-pr: 55555

Diffstat:
Mtesting/web-platform/tests/css/css-grid/masonry/tentative/items/column-item-percentage-sizes-001-ref.html | 4++--
Mtesting/web-platform/tests/css/css-grid/masonry/tentative/items/column-item-percentage-sizes-002-ref.html | 4++--
Mtesting/web-platform/tests/css/css-grid/masonry/tentative/items/column-item-percentage-sizes-003-ref.html | 6+++---
Mtesting/web-platform/tests/css/css-grid/masonry/tentative/items/row-item-percentage-sizes-001-ref.html | 4++--
Mtesting/web-platform/tests/css/css-grid/masonry/tentative/items/row-item-percentage-sizes-002-ref.html | 4++--
Mtesting/web-platform/tests/css/css-grid/masonry/tentative/items/row-item-percentage-sizes-003-ref.html | 6+++---
6 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/testing/web-platform/tests/css/css-grid/masonry/tentative/items/column-item-percentage-sizes-001-ref.html b/testing/web-platform/tests/css/css-grid/masonry/tentative/items/column-item-percentage-sizes-001-ref.html @@ -27,11 +27,11 @@ html,body { min-width: 100%; } .max { - max-height: 100%; + max-height: 10px; max-width: 100%; } .size { - height: 100%; + height: 10px; width: 100%; } diff --git a/testing/web-platform/tests/css/css-grid/masonry/tentative/items/column-item-percentage-sizes-002-ref.html b/testing/web-platform/tests/css/css-grid/masonry/tentative/items/column-item-percentage-sizes-002-ref.html @@ -27,11 +27,11 @@ html,body { min-width: 100%; } .max { - max-height: 100%; + max-height: 10px; max-width: 100%; } .size { - height: 100%; + height: 10px; width: 100%; } diff --git a/testing/web-platform/tests/css/css-grid/masonry/tentative/items/column-item-percentage-sizes-003-ref.html b/testing/web-platform/tests/css/css-grid/masonry/tentative/items/column-item-percentage-sizes-003-ref.html @@ -23,15 +23,15 @@ html,body { width: 30px; } .min { - min-height: calc(2px + 100%); + min-height: calc(2px + 10px); min-width: calc(2px + 100%); } .max { - max-height: calc(2px + 100%); + max-height: calc(2px + 10px); max-width: calc(2px + 100%); } .size { - height: calc(2px + 100%); + height: calc(2px + 10px); width: calc(2px + 100%); } diff --git a/testing/web-platform/tests/css/css-grid/masonry/tentative/items/row-item-percentage-sizes-001-ref.html b/testing/web-platform/tests/css/css-grid/masonry/tentative/items/row-item-percentage-sizes-001-ref.html @@ -28,11 +28,11 @@ html,body { } .max { max-height: 100%; - max-width: 100%; + max-width: 10px; } .size { height: 100%; - width: 100%; + width: 10px; } .hl .item { writing-mode: horizontal-tb; direction:ltr; } diff --git a/testing/web-platform/tests/css/css-grid/masonry/tentative/items/row-item-percentage-sizes-002-ref.html b/testing/web-platform/tests/css/css-grid/masonry/tentative/items/row-item-percentage-sizes-002-ref.html @@ -28,11 +28,11 @@ html,body { } .max { max-height: 100%; - max-width: 100%; + max-width: 10px; } .size { height: 100%; - width: 100%; + width: 10px; } .hl .item { writing-mode: horizontal-tb; direction:ltr; } diff --git a/testing/web-platform/tests/css/css-grid/masonry/tentative/items/row-item-percentage-sizes-003-ref.html b/testing/web-platform/tests/css/css-grid/masonry/tentative/items/row-item-percentage-sizes-003-ref.html @@ -24,15 +24,15 @@ html,body { } .min { min-height: calc(2px + 100%); - min-width: calc(2px + 100%); + min-width: calc(2px + 10px); } .max { max-height: calc(2px + 100%); - max-width: calc(2px + 100%); + max-width: calc(2px + 10px); } .size { height: calc(2px + 100%); - width: calc(2px + 100%); + width: calc(2px + 10px); } .hl .item { writing-mode: horizontal-tb; direction:ltr; }