Skip to content
\n

But in https://csstree.github.io/docs/syntax/#Type:attr-name ng:cloak value is shown as invalid.

\n

As I see <ident-token> can't include colon symbol.

\n

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

","upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"

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"}}}

<attr-name> syntax #149

Answered by lahmatiy
Semigradsky asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Semigradsky
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants