- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Sun, 01 Jul 2018 23:53:17 +0000
- To: public-houdini-archive@w3.org
The Working Group just discussed `Allow comma-separated lists in registered properties`, and agreed to the following: * `RESOLVED: Add # to Properties and Values grammar syntax.` <details><summary>The full IRC log of that discussion</summary> <heycam> Topic: Allow comma-separated lists in registered properties<br> <heycam> github: https://github.com/w3c/css-houdini-drafts/issues/768<br> <heycam> TabAtkins: the request is from Sam Richard, pointing out a lot of properties are comma separated lists<br> <heycam> ... right now the grammar for custom props allows just values separated by spaces, no repetition<br> <heycam> ... I think it's reasonable to allow top level comma repetition<br> <heycam> ... would be happy to put this into the syntax spec<br> <heycam> fantasai: do we have the ability to repeat without commas?<br> <heycam> TabAtkins: no<br> <heycam> ... not currently<br> <heycam> fantasai: then I think those two should be added together, so people aren't forced to add commas just because they want repetition even when it would be innappropriate to use commas<br> <heycam> TabAtkins: that's probably reasonable<br> <heycam> ... the grammar work to allow commas like a CSS grammar is similar to the work for space repetition<br> <heycam> ... will have to add a way to make that unambiguous, require the repeating part at the end or something<br> <heycam> birtles: we also need to specify how to animate the lists, if they're mismatched lengths<br> <heycam> fantasai: currently do you have multi valued properties at all?<br> <heycam> TabAtkins: yes<br> <dbaron> (animation types are in https://drafts.csswg.org/css-transitions/#interpolated-types )<br> <heycam> TabAtkins: right now, you can do space separated repetition, but only of the entire thing<br> <heycam> fantasai: so you would add comma repetition of the entire thing<br> <heycam> TabAtkins: we don't have brackets yet<br> <heycam> fantasai: you just need a hash<br> <heycam> TabAtkins: that would only allow <length>#, not [<length> | <percentage>]#<br> <heycam> ... can only repeat a single term<br> <heycam> fantasai: that's a limitation currently for space separated avlues<br> <heycam> TabAtkins: yes<br> <heycam> ... at minimum, just adding that would work out ok though<br> <heycam> ... the big issue is to define what the default list animation behavior is, and possibly allow a way to change which behavior you want there<br> <heycam> fantasai: don't you have that question for <length>+ as well?<br> <heycam> TabAtkins: I'm not sure how that one animates<br> <heycam> ... I think they just have to match in length right now<br> <heycam> dbaron: so that's the "simple list" definition in Transitions<br> <heycam> ... the least common denominator thing is a generic thing<br> <heycam> ... there are other things like for shadows with specific behavior<br> <heycam> ... filters should have something similar<br> <heycam> TabAtkins: I think it does<br> <fantasai> s/generic thing/generic thing/that repeats the list/<br> <fantasai> s/generic thing/generic thing that repeats the list/<br> <heycam> frremy: I think we should try to find an easy way to handle animations now in L1, then look at more complicated animations in L2<br> <fantasai> s/specific specific values used to fill missing spots/<br> <fantasai> s/specific values/specific values used to fill missing spots/<br> <heycam> ... I feel like we should have an easy answer in L1, try to find use cases for more something complex<br> <fantasai> s/specific/specific values used to fill missing spots/<br> <heycam> TabAtkins: so we can use simplie list behavior now, then figure out what we need for later<br> <heycam> TabAtkins: objections to adding the # multiplier to L1 grammar?<br> <heycam> dbaron: adding both the # and +?<br> <heycam> TabAtkins: + is already in the grammar<br> <heycam> Rossen: any objections?<br> <heycam> fantasai: so add # with the same definition and abilities as +<br> <heycam> RESOLVED: Add # to Properties and Values grammar syntax.<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/768#issuecomment-401641773 using your GitHub account
Received on Sunday, 1 July 2018 23:53:21 UTC