Skip to content

Commit

Permalink
Bug 1867661 [wpt PR 43460] - [GridNG] Update test file to match refer…
Browse files Browse the repository at this point in the history
…ence scrollbars, a=testonly

Automatic update from web-platform-tests
[GridNG] Update test file to match reference scrollbars

The reference for this test is 100x100-grey-box-with-scrollbars.html,
which has a 150px by 150px square overflowing a 100px by 100px box, but
the test specifies a 120px by 120px square overflowing a 100px by 100px
box. Since the scrollbar thumb is based on the amount of content inside
of the scrollable region, the size of the scrollbar thumb didn't match
the reference and the test was failing.

The fix here is to make the test 150px by 150px so it matches the
reference. The conditions that it's testing (that scrollbars are
visible) remains unchanged.

Bug: 1335889
Change-Id: If78b7d9a2ad04bde5b6e1ce1f7757e537ab97535
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5077836
Reviewed-by: Ian Kilpatrick <[email protected]>
Reviewed-by: Alison Maher <[email protected]>
Commit-Queue: Kurt Catti-Schmidt <[email protected]>
Reviewed-by: Ethan Jimenez <[email protected]>
Commit-Queue: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1231543}

--

wpt-commits: 3e2d8fc027ffccb98d701560e7ed9d72343b549a
wpt-pr: 43460
  • Loading branch information
KurtCattiSchmidt authored and moz-wptsync-bot committed Dec 4, 2023
1 parent 67313ec commit 74256b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link href="/css/support/grid.css" rel="stylesheet">
<style>
.grid {
grid: 120px / 120px;
grid: 150px / 150px;
width: 100px;
height: 100px;
overflow: auto;
Expand Down

0 comments on commit 74256b6

Please sign in to comment.