W3C HTML is an irrelevant garbage fire, so we can ignore what's going on there. We can define whether the "top level" is 0 or 1 for the purpose of this pseudo-class (CSS uses 1-based numbering, so the clear answer is 1 for the top level). Yeah, the discussion of lists is a non-sequitur here. There's a well-defined HTML "level" concept based on sections/headings, but no such concept exists for lists, or is planned to be added. Some theoretical language could have such a thing, but not HTML. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/351#issuecomment-237292732 using your GitHub accountReceived on Wednesday, 3 August 2016 16:42:03 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:01 UTC