Re: [csswg-drafts] [css-lists] Initial value of counter-increment needs to be something different from none (#3686)

The CSS Working Group just discussed `Initial value of counter-increment needs to be something different from none  (three proposals)`, and agreed to the following:

* `RESOLVED: go with fantasai proposal (a) for initial value of counter increment?`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: Initial value of counter-increment needs to be something different from none  (three proposals)<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/3686#issuecomment-468098431<br>
&lt;dael> TabAtkins: Discussion about what to do with initial value of counter to handle default list item. Few possibilities from F2F, but couldn't decide. dbaron helpfully wrote them.<br>
&lt;dael> TabAtkins: Reviewing them I believe fantasai approach is best<br>
&lt;dael> TabAtkins: Proposal: if an element has display list item default list item counter is incremented unless counter increment already says something about that item. If you want to pause you can set counter-incremenet list item 0 and it will work<br>
&lt;dael> TabAtkins: dbaron proposal is we can pretend it always adds a counter increment of 1 and you just stack them if you repeat. So if you want to pause count you would say list item -1. Cancelling out is useful for impl value attribute.<br>
&lt;dael> TabAtkins: I don't like that because it looks a lot more confusing. A -1 making it not incremenet is interesting. fantasai prop is most similar to UA impl list via UA styles. Still some magic but for most part it seems UA generated and you can interact with it in the same way<br>
&lt;dael> TabAtkins: I think we should go with fantasai  prop and I can write it into the spec<br>
&lt;dael> rachelandrew: This is the version where if you want to set the list item to a spec value you have to explicitly say 0 incremenet on the list item?<br>
&lt;fantasai> Original thread on this issue , from 2007: https://lists.w3.org/Archives/Public/www-style/2007Oct/0100.html<br>
&lt;dael> TabAtkins: Yes if you're doing this by yourself. You use counter-set to set to a value and then set the 0. Works the same as a normal counter you define on your own<br>
&lt;TabAtkins> s/rachelandrew/AmeliaBR/<br>
&lt;dael> astearns: dbaron opinion?<br>
&lt;dael> dbaron: Fine with fantasai proposal<br>
&lt;dael> astearns: Obj to going with fantasai proposal for initial value of counter increment?<br>
&lt;dael> RESOLVED: go with fantasai proposal (a) for initial value of counter increment?<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3686#issuecomment-472504750 using your GitHub account

Received on Wednesday, 13 March 2019 16:40:43 UTC