You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There have been not much changes or addition of elements recently, but inability of querying the support of HTML element is not handy.
so I would like to issue the new specs that would be written like this:
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.
More concerning though is that we would need a crisp definition of what it means to support an element. Simply parsing it and not throwing it away? Something more, surely, but what exactly?
svgeesus
changed the title
[css-conditional-4] @supports elements queries
[css-conditional-5] @supports elements queries
Feb 10, 2022
There have been not much changes or addition of elements recently, but inability of querying the support of HTML element is not handy.
so I would like to issue the new specs that would be written like this:
The text was updated successfully, but these errors were encountered: