- From: Lea Verou <leaverou@gmail.com>
- Date: Sun, 19 Feb 2012 03:24:55 +0200
- To: "Marat Tanalin | tanalin.com" <mtanalin@yandex.ru>
- CC: Brian Kardell <bkardell@gmail.com>, www-style@w3.org
On 18/2/12 00:39, Marat Tanalin | tanalin.com wrote: > I think var- prefix is MUCH more intuitive, appropriate and preferable for CSS variables than data-. Using data- prefix for CSS-variables would be both confusing for authors and harmful for ability to add possible future features like described by Brian (<div data-foo="something"> => div{property: data(foo);}). Brian didn't describe a new feature, he just said that authors may confuse data() with something of the sort. Such a feature would be completely redundant, as it offers little benefit (if any) over attr(data-foo). -- Lea Verou (http://lea.verou.me | @LeaVerou)
Received on Sunday, 19 February 2012 01:25:28 UTC