Using the redesigned css attr() function displays a syntax error:
#foo {
left: attr(x type(<length>));
}
Results in:
- at first
<: ) expected css(css-rparentexpected)
- at closing
}: at-rule or selector expected css(css-ruleorselectorexpected)
Details about the spec:
This is pretty new and experimental feature in CSS, so I understand why it's not supported. Happy to try to implement if help is welcome.
Using the redesigned css
attr()function displays a syntax error:Results in:
<:) expected css(css-rparentexpected)}:at-rule or selector expected css(css-ruleorselectorexpected)Details about the spec:
This is pretty new and experimental feature in CSS, so I understand why it's not supported. Happy to try to implement if help is welcome.