ladybird/Tests/LibWeb/Text/expected/css/attr-serialization.txt
Sam Atkins 8f01297182 LibWeb: Remove now-invalid attr() type support
Previously the type argument in attr() could be the name of a CSS type
on its own. This has changed, and now only `raw-string`
(previously `string`) or the name of a dimension unit is allowed. Other
types and more complex grammar use the `type()` function, which we
don't yet support.

I've updated the syntax comment, but not the algorithm itself, which
will be reimplemented in a later commit.
2025-07-09 16:44:20 +01:00

9 lines
212 B
Text

attr(foo)
attr( foo )
attr(foo, "fallback")
attr( foo , "fallback" )
attr(foo raw-string)
attr( foo raw-string )
attr(foo raw-string, "fallback")
attr( foo raw-string , "fallback" )
attr(foo) attr(bar) attr(baz)