- From: Alan Stearns via GitHub <sysbot+gh@w3.org>
- Date: Fri, 04 Apr 2025 13:13:58 +0000
- To: public-css-archive@w3.org
> > in this proposal, would an empty argument for `:heading()` open up the possibility of replacing a standard h1, h2, h3, h4, h5, h6 selector list? > > > Could we have a parentheses-less `:heading` with an element-level specificity? > > My intent would be to also add the paren-less `:heading` with element-level specificity. That is what I have specified here: [#11836](https://github.com/w3c/csswg-drafts/pull/11836) (which needs some changes given some of the proposed resolutions, but I'll update it next week some time). My recollection is that we did want ::heading as well as ::heading(). But @keithamus I’m not seeing where your PR says anything about the specificity the new pseudo-element. The resolution above about making it class-level is meant for ::heading with or without arguments, and I would object to having a switch that changed the specificity based on whether arguments were provided. We did have folks arguing for tag-level specificity instead of class-level specificity overall, but “consistency with other pseudo-elements” won the case yesterday. We can always revisit the question, but please don’t add tag-level specificity to the spec until we have done that. -- GitHub Notification of comment by astearns Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10296#issuecomment-2778703697 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 4 April 2025 13:13:59 UTC