You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
None of these are "computing to" anything. They're serializing as "span i" or "span 1 i". All browsers compute them to the same internal value.
Per the shortest serialization principle, the 1 should be omitted from the serialization here. There's nothing special about numeric values vs keywords; numerics get omitted all the time (in shorthands, particularly).
https://drafts.csswg.org/css-grid/#grid-placement-span-int
grid-row-start
"span i"
computes to"span 1 i"
on Blink/WebKit, but computes to"span i"
on Edge/Firefox.grid-row
"span i / auto"
computes to"span 1 i / auto"
on Blink/WebKit, but computes to"span i / auto"
on Edge, empty string on Firefox.For many properties, the shortest serialization principle often leads to keywords being omitted, but it is unusual for numeric values to be omitted.
The text was updated successfully, but these errors were encountered: