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
In issue #5998 we resolved to make base an attribute rather than a keyword. However, we also resolved that an author will want to be able to determine if base is supported to adjust their styles accordingly. I was actioned to open this issue to determine what that solution will look like.
@frivoal recommended a pseudo-class approach for detection since it will be added by element while an @support would be more generic and thus won't allow the granular detection.
The text was updated successfully, but these errors were encountered:
gregwhitworth
changed the title
CSS detection of base attribute implementation support
[CSS-PSEUDO][CSS-UI] Detection of base HTML attribute implementation support
Apr 9, 2021
Right. To be able to style things properly, we need to detect the combination of:
base styling is supported for this type of element
base styling is set on this particular element
@supports might be extended to cover the first one, but it won't do the second one. Attribute selectors can be used to check on the second one, but not on the first one. Using the two in combination is clumsy, and error prone. So I think that a pseudo class is what we want.
In issue #5998 we resolved to make
base
an attribute rather than a keyword. However, we also resolved that an author will want to be able to determine ifbase
is supported to adjust their styles accordingly. I was actioned to open this issue to determine what that solution will look like.@frivoal recommended a pseudo-class approach for detection since it will be added by element while an
@support
would be more generic and thus won't allow the granular detection.The text was updated successfully, but these errors were encountered: