- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Tue, 08 Feb 2022 08:05:52 +0000
- To: public-css-archive@w3.org
```html <foo style="color: red">Red</foo> ``` The above markup renders `Red` with the red color in most (all?) browsers, even when `foo` is not declared as an HTML custom element (web component). I think it would be hard to validate an element type in CSS, which can also apply in XML documents, for exemple. Also, because `element()` *allows an author to use an element in the document as an image*, it would be confusing to get different behaviors (feature query and image source) in `@supports` and eg. `background-image`. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7023#issuecomment-1032319477 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 8 February 2022 08:05:54 UTC