[wpt-sync] Sync PR 16764 - [css-grid] Preserve repeat() notation when serializing declared values
Categories
(Core :: CSS Parsing and Computation, defect, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 16764 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/16764
Details from upstream follow.
Oriol Brufau <obrufau@igalia.com> wrote:
[css-grid] Preserve repeat() notation when serializing declared values
Before this change, a repeat() notation with an integral number of
repetitions was expanded at parse time. This was observable when reading
declared values using JS APIs.This patch makes the parser preserve that notation, like it was already
happening when the number of repetitions was automatic and not integral.The resolved value in getComputedStyle() will still be expanded, though,
as required by the spec.BUG=716114
TEST=external/wpt/css/css-grid/grid-definition/grid-support-repeat-002.html
TEST=fast/css-grid-layout/grid-element-auto-repeat-get-set.html
TEST=fast/css-grid-layout/named-grid-line-get-set.htmlChange-Id: I2d1286bf32aacc9e4fe0b0e8cf14f9f3871d0b46
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1605401
Reviewed-by: Manuel Rego \<rego@igalia.com>
Commit-Queue: Oriol Brufau \<obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#658764}
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
Comment 5•7 years ago
|
||
| bugherder | ||
Description
•