- From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
- Date: Fri, 02 Aug 2019 01:08:55 +0000
- To: public-css-archive@w3.org
> I believe there are only 2 examples in the spec that use the list-item counter Actually, there are many more. Also, there are other UA style assumptions: example 3, 4, 6 and 10 are missing `li { display: list-item; }`, example 17 and 19 are missing various styles on o/ul/li and example 17 is also missing attribute mappings for `start` and `reversed`. Just to mention a few issues I found at first glance... Making the examples complete in the sense that they work with an empty UA sheet might be good for implementors, but I think it makes the examples less informative for authors since it's less clear which declarations they need to include for the example to work and which are simply copies from the UA sheet. It would be unfortunate if the spec mislead authors to include `li { display: list-item; }` etc in their sheets. If we make the examples complete, could we at least make two sections of rules, like so: ```css li { display: list-item; } /* in UA sheet */ ol { counter-reset: list-item; list-style-type: decimal; } /* in UA sheet */ li::marker { content: "(" counter(list-item, lower-roman) ")"; } ... other non-UA sheet rules needed for the example ... ``` -- GitHub Notification of comment by MatsPalmgren Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4168#issuecomment-517509869 using your GitHub account
Received on Friday, 2 August 2019 01:08:57 UTC