[wpt-sync] Sync PR 40550 - [GridNG] Updates to grid-repeat-max-width-001.html
Categories
(Core :: Layout: Grid, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40550 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40550
Details from upstream follow.
Kurt Catti-Schmidt <kschmi@microsoft.com> wrote:
[GridNG] Updates to grid-repeat-max-width-001.html
This test is validating the auto-repeat counts of a grid under certain
conditions. There is an issue with its method of verification, which
is matching a green square. This will never happen, due to the
max-width: 200px
being set on the grid - the grid will stretch to
200px due to this and never match the green square.This update verifies a single repeat was computed via Javascript, and
then sets the width tomin-content
(which computes to 0), and the
grid-items overflow to render a green square. If two repeats are
computed, the Javascript would return "100px 100px" and the test
would fail.This test now passes in Chromium/WebKit/Firefox, as all properly compute
one repetition.Bug: 1449942
Change-Id: I6ccde9511e283eb618fb7a1036b7c31b2b0bcfc6
Reviewed-on: https://chromium-review.googlesource.com/4616678
WPT-Export-Revision: 344b8b46a90dd769eb651fc878624f5006a0e24c
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Assignee | ||
Comment 4•2 years ago
|
||
Assignee | ||
Comment 5•2 years ago
|
||
Assignee | ||
Comment 6•2 years ago
|
||
Comment 8•1 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2cc688860f3a
https://hg.mozilla.org/mozilla-central/rev/240a99346683
Description
•