New issue
Advanced search Search tips

Issue 897444 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Nov 8
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Serializing grid-template-areas <string>s normalizes white-space - this is not compliant with CSSOM

Project Member Reported by mpalmg...@mozilla.com, Oct 20

Issue description

Chrome Version: 71.0.3573.0
OS: Linux

What steps will reproduce the problem?
(1) load http://w3c-test.org/css/css-grid/parsing/grid-template-areas-valid.html
(2)
(3)

What is the expected result?
That test is currently bogus, so the expected result is FAIL.

What happens instead?
PASS

The CSS Grid spec says:
https://drafts.csswg.org/css-grid/#grid-template-areas-property
"Value: 	none | <string>+"
"Computed value: 	the keyword none or a list of string values"

The CSSOM spec says about serializing a <string>:
https://drafts.csswg.org/cssom/#serializing-css-values
"<string>
  The string _serialized as a string_."

and white-space normalization is NOT allowed there:
https://drafts.csswg.org/cssom/#serialize-a-string

So the <string> values should be serialized with the white-space
as specified.
 
Components: -Blink>CSS Blink>Layout>Grid
Status: Available (was: Untriaged)
Cc: ericwilligers@chromium.org
Cc: -ericwilligers@chromium.org
Owner: ericwilligers@chromium.org
Status: WontFix (was: Available)
Discussed in
https://github.com/w3c/csswg-drafts/issues/3261#issuecomment-436828363

Sign in to add a comment