w3c/csswg-drafts (original) (raw)

https://drafts.csswg.org/css-overflow-3/#propdef-continue / https://drafts.csswg.org/css-overflow-3/#valdef-continue--webkit-discard

Per the value grammar for continue, -webkit-discard is not a valid value, despite it being set as the value of continue by the -webkit-line-clamp shorthand.

I'm unaware of any other case where a property has a value that can only be set via a shorthand, hence this feels like it's adding an oddity (and quite probably causing extra implementation complexity as a result, for unclear benefit to anyone).

It's also somewhat surprising that a value for continue is defined within the "Limiting Visible Lines: the line-clamp shorthand property" section, without "Fragmentation of Overflow: the continue property" even mentioning that value.

Also, if the computed value of continue is -webkit-discard (via the shorthand), how do we expect continue to serialise? Do we expect it to serialise to an invalid value, or to what?