-
Notifications
You must be signed in to change notification settings - Fork 669
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
[scroll-animations-1] Should none
be part of the list in scroll/view-timeline-name?
#8843
Comments
I think it's intentional since these are timeline declarations that can be matched by definitions of |
Yeah, |
OK, in that case, how am I supposed to interpret the grammar of
I'm aware of css-values-4:
But Even if you ignore that, the grammar would suggest that
Yet if |
Hm, yes, it does seem we have a problem. :) I think the two options are:
|
ah, for coordinating between longhand lists, I see. |
Yeah, I suppose following the animation-name model works. It's weird and I don't particularly like it, but it works slightly better with a few of our abstractions. |
The CSS Working Group just discussed
The full IRC log of that discussion<dael> fantasai: This issue was brought b/c right now the way values are spec, scroll-timeline name is none or a list of comma spec idents. But background-image and the like is a list of nones or whatever so can have a list of nones.<dael> fantasai: Question here is shorthand drafted as inconsitent. Do we want pattern to have a list of nones or make that explicitly not possible <dael> fantasai: Seem to be leaning toward a list of nones for consistency and it allows an author to turn off a timeline without taking out definition from all properties you can flip it to none <dael> flackr: I support allowing a list of nones <dael> fantasai: Prop: Allow list of nones <dael> Rossen_: Any opinions? <dael> florian: Seems reasonable. No strong opinion. <dael> Rossen_: Objections: <dael> RESOLVED: Allow a list of nones |
The
scroll-timeline-name
andview-timeline-name
properties have this grammar:none | <custom-ident>#
. That is fine in isolation, but it's inconsistent withanimation-name
, which has[ none | <custom-ident> ]#
, and that made me wonder if it's intentional.If it is intentional, then feel free to close this.
@fantasai
The text was updated successfully, but these errors were encountered: