[wpt-sync] Sync PR 41869 - [GridNG] Update test expectation for grid-template-shorthand-valid.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 41869 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41869
Details from upstream follow.
Kurt Catti-Schmidt (SCHMIDT) <kschmi@microsoft.com> wrote:
[GridNG] Update test expectation for grid-template-shorthand-valid.html
Per https://drafts.csswg.org/cssom/#serializing-css-values "If component
values can be omitted or replaced with a shorter representation without
changing the meaning of the value, omit/replace them."This means that when serializing
grid-template-*, we should always
omitautosizes ingrid-template-*serialization as it is the
default value, so it will always be a shorter representation
without changing the value. This should happen regardless of whether
it was specified by the author.This means that the final test case expectation in
grid-template-shorthand-valid.html is incorrect. It is also failing in
Blink/Gecko/WebKit for this exact reason, so this CL updates the test's
expected behavior to omitauto. After this change, it passes
everywhere.Bug: 1028283
Change-Id: I640f450e50df45c404b46c17c2d9cdce49313c60
Reviewed-on: https://chromium-review.googlesource.com/4851233
WPT-Export-Revision: c7c294151e4f07650ff2ae944e8a9749eb9793db
| 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
|
||
Comment 7•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a41a4b2a72bc
https://hg.mozilla.org/mozilla-central/rev/ac362f8f5092
Description
•