Re: [csswg-drafts] [selectors-4] Attribute match syntax extended to cover tag selectors (#6571)

Just got blocked on this. My use case is to set `display: contents` for all of my custom elements:

```html
<my-button>
  <button type=button>
    button
  </button>
</my-button>
```

I cannot use web components or `:defined` because everything must display correctly without any JS execution.

A startsWith tag matcher would solve this perfectly.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 1 April 2026 21:24:39 UTC