CSS variables land in WebKit (again)
trac.webkit.org
trac.webkit.org
@variables {
foreground: green;
}
body {
background: var(foreground);
}
was discontinued in 2008 [1] and we now have a new spec [2] var-foreground: green;
body {
background: var(foreground);
}
1: http://lists.w3.org/Archives/Public/www-style/2008Sep/0194.h...There's a lot of CSS that's been written in the last four years that would have been much easier to read/maintain with proper variable support.