mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 16:40:03 +00:00
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.
9 lines
212 B
Text
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)
|