Skip to content

[css-properties-values-api] <length> value looks too much like an HTML element, confusing for authors #197

Open
tantek opened this Issue May 12, 2016 · 1 comment

2 participants

@tantek
tantek commented May 12, 2016 edited

The use of "<length>" in the properties and values syntax looks confusingly too much like an HTML tag. We don't like it, and would like to consider alternatives. Input welcome.

@shans
shans commented May 12, 2016 edited

The "<length>" syntax is CSS meta-syntax, and there's a strong concern that it's going to be difficult to learn for web authors.

One alternative would be some kind of explicitly constructed object tree, using for example the typed OM constructors are leaves. This isn't trivial because we need to support things like the | operator (and eventually other operators too).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.