-
Notifications
You must be signed in to change notification settings - Fork 719
[css-grid] grid-line custom identifier auto? #2856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Some excerpts from Grid Layout spec:
Also from CSS Values and Units spec:
There is also a related issue #494 and some old threads in www-style: |
Spec: https://drafts.csswg.org/css-grid/ These tests highlight the following 5 issues: Spec [cssom] [css-grid] Serialization of custom identifiers w3c/csswg-drafts#2858 Spec [css-grid] grid-line custom identifier auto? w3c/csswg-drafts#2856 Edge grid-area should reject non-integer numbers https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/18112694/ Firefox grid-auto-columns/rows should accept multiple track-size values https://bugzilla.mozilla.org/show_bug.cgi?id=1339672 WebKit [CSS Grid Layout] Fix grid-{row, column, area} shorthand CSSOM serialization https://bugs.webkit.org/show_bug.cgi?id=149890 Note that some properties such as grid and grid-template are not yet tested.
Seems to me the spec is clear that |
The Working Group just discussed
The full IRC log of that discussion |
The custom-ident for line name cannot be 'auto'. Resolved in w3c#2856 (comment) fixes w3c#2856
Spec: https://drafts.csswg.org/css-grid/ These tests highlight the following 5 issues: Spec [cssom] [css-grid] Serialization of custom identifiers w3c/csswg-drafts#2858 Spec [css-grid] grid-line custom identifier auto? w3c/csswg-drafts#2856 Edge grid-area should reject non-integer numbers https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/18112694/ Firefox grid-auto-columns/rows should accept multiple track-size values https://bugzilla.mozilla.org/show_bug.cgi?id=1339672 WebKit [CSS Grid Layout] Fix grid-{row, column, area} shorthand CSSOM serialization https://bugs.webkit.org/show_bug.cgi?id=149890 Note that some properties such as grid and grid-template are not yet tested.
The custom-ident for line name cannot be 'auto'. Resolved in #2856 (comment) fixes #2856
Spec: https://drafts.csswg.org/css-grid/ These tests highlight the following 5 issues: Spec [cssom] [css-grid] Serialization of custom identifiers w3c/csswg-drafts#2858 Spec [css-grid] grid-line custom identifier auto? w3c/csswg-drafts#2856 Edge grid-area should reject non-integer numbers https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/18112694/ Firefox grid-auto-columns/rows should accept multiple track-size values https://bugzilla.mozilla.org/show_bug.cgi?id=1339672 WebKit [CSS Grid Layout] Fix grid-{row, column, area} shorthand CSSOM serialization https://bugs.webkit.org/show_bug.cgi?id=149890 Note that some properties such as grid and grid-template are not yet tested.
See w3c/csswg-drafts#2856. Differential Revision: https://phabricator.services.mozilla.com/D9882 --HG-- extra : moz-landing-system : lando
See w3c/csswg-drafts#2856. Differential Revision: https://phabricator.services.mozilla.com/D9882
See w3c/csswg-drafts#2856. Differential Revision: https://phabricator.services.mozilla.com/D9882 UltraBlame original commit: 7a6d0f1c69724e07771447ca3c32aa27e0d2f888
See w3c/csswg-drafts#2856. Differential Revision: https://phabricator.services.mozilla.com/D9882 UltraBlame original commit: 7a6d0f1c69724e07771447ca3c32aa27e0d2f888
See w3c/csswg-drafts#2856. Differential Revision: https://phabricator.services.mozilla.com/D9882 UltraBlame original commit: 7a6d0f1c69724e07771447ca3c32aa27e0d2f888
Blink and WebKit reject grid-row-end
1 auto
.Edge and Firefox accept grid-row-end
1 auto
and serialize it as1 auto
.Blink and WebKit reject grid-row-end values
span 1 auto
,span auto 1
and1 auto span
.Edge and Firefox accept these and serialize all of them as
span 1 auto
.Testing with uppercase makes it clear that
span
is being accepted as a keyword andauto
is being accepted as a custom identifier:http://jsfiddle.net/ericwilligers/meya2q7d/
All browsers reject the following:
auto 1
span span 1
,span 1 span
and1 span span
1 span auto
,auto 1 span
andauto span 1
The relevant grammar for
isAre
auto
orspan
permitted as a
?The custom-ident spec may be relevant:
I don't see a reading of the spec where
span 1 auto
would be permissible but notspan 1 span
.The text was updated successfully, but these errors were encountered: