But in https://csstree.github.io/docs/syntax/#Type:attr-name ng:cloak
value is shown as invalid.
As I see <ident-token>
can't include colon
symbol.
UPD: @lahmatiy is this non-standard behaviour in csstree
?
\nAs I see there is no ':'
in diagram https://drafts.csswg.org/css-syntax/#ident-token-diagram
Yep, you're right, that's non-standard behaviour which inherited from CSSO tests. I guess it was once important for Angular. However, I believe that no reason to support it now and it should be removed.
","upvoteCount":1,"url":"https://github.com/csstree/csstree/discussions/149#discussioncomment-351124"}}}-
In your tests I see that [ng:cloak] {
color: red
} But in https://csstree.github.io/docs/syntax/#Type:attr-name As I see UPD: @lahmatiy is this non-standard behaviour in |
Beta Was this translation helpful? Give feedback.
-
Yep, you're right, that's non-standard behaviour which inherited from CSSO tests. I guess it was once important for Angular. However, I believe that no reason to support it now and it should be removed. |
Beta Was this translation helpful? Give feedback.
-
Removed in 2.0.4 |
Beta Was this translation helpful? Give feedback.
Yep, you're right, that's non-standard behaviour which inherited from CSSO tests. I guess it was once important for Angular. However, I believe that no reason to support it now and it should be removed.