Re: [csswg-drafts] [css-lists] How does the list-item counter affect display? (#4168)

I think we're talking past each other. I'm not talking about making the examples complete with an empty UA stylesheet. I'm talking about making the examples complete with the UA stylesheet. That seems important for authors. I agree it's of dubious value to duplicate the relevant UA stylesheet rules in every example in the spec; we should not need to spell out that `li` has `display: list-item`.

But, given that there is no UA stylesheet rule that li's render using the list-item counter, it seems like the two examples in the spec (16 and 17) which relate to the behavior of the list-item counter should probably make that counter render. Otherwise they're just confusing. (Especially since example 17 does include such a rule; it's just example 16 that we're discussing.)

An example such as example 3 works fine with the UA stylesheet rules that exist today, so it doesn't need any additions.

Note: perhaps the confusion is that when I say "UA stylesheet", I mean the one normatively specified to apply to UAs (in the HTML spec), whereas you might be referring to the non-normative example UA stylesheet appendix? I think the one that applies to UAs is more relevant when we're talking about usefulness to authors, than the example appendix one.

-- 
GitHub Notification of comment by domenic
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4168#issuecomment-517521160 using your GitHub account

Received on Friday, 2 August 2019 02:14:06 UTC