Closed Bug 1505635 Opened 6 years ago Closed 6 months ago

update grid-template-areas specified and computed serialization

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: heycam, Assigned: boris)

References

Details

(Keywords: parity-chrome, parity-safari, testcase)

Attachments

(2 files)

The CSSWG just decided that specified and computed values should be simplified/normalized:

https://github.com/w3c/csswg-drafts/issues/3261#issuecomment-436828363
Type: enhancement → defect
OS: Unspecified → All
Hardware: Unspecified → All
See Also: → 1650967
Severity: normal → S3

Per https://drafts.csswg.org/css-grid/#serialize-template, we should
simplify the string:

  1. Each null cell token is serialized as a single ..
  2. Consecutive cell tokens are separated by a single space (U+0020 SPACE),
    with all other white space elided.
Duplicate of this bug: 1833499
Duplicate of this bug: 1650967
Assignee: nobody → boris.chiou
Pushed by bchiou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c644f4c19715
Fix the serialization of grid-template-area. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/43084 for changes under testing/web-platform/tests
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9e95d436fda5
Avoid a bunch of extra allocation in template areas parsing. r=boris
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: