W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

Re: [csswg-drafts] [css-lists] Contradictory normative requirements for implicit 'list-item' counter? (#4167)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Tue, 06 Aug 2019 17:17:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-518762661-1565111824-sysbot+gh@w3.org>
@tabatkins I'm not convinced that the automatic counter increment needs to be magically tied to the document semantics. It works fine if it's done through the UA style sheet. If you think it needs to be magic, let's file an issue so we can discuss it.


> I don't feel like that really answered my question though. In particular, how is HTML supposed to fulfill the "should" requirement? I can't understand how, unless "UA style sheet and presentational hint style mappings" are allowed to use magic 

There's all kinds of magic in how HTML defines rendering, from special rules for parsing colors to layout effects that aren't possible using pure CSS. There's some interesting questions on what's the best way to handle the start value of a reversed list, but other than that the mappings needed here are relatively simple to define either through the UA style sheet or as presentational hints, as appropriate.

> We have one proposed set of edits in https://github.com/whatwg/html/pull/4816/files, but it uses a lot of undefined terminology and unprecedented mechanisms, which I'm unsure how we should proceed with.

I've looked at the PR, it looks pretty reasonable. It needs some work to get the terminology straightened out and stuff, but nothing there seems outrageously unprecedented from my perspective. I'm happy to work with Mats on getting it in better shape.

GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4167#issuecomment-518762661 using your GitHub account
Received on Tuesday, 6 August 2019 17:17:07 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:51 UTC