W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [css-variables] typo in example

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 29 Mar 2013 10:00:02 -0700
Message-ID: <CAAWBYDDCyPDpNvdF57EqETFOjM8n48Me+DDcoNUy8i2Cg8rwBQ@mail.gmail.com>
To: Florian Rivoal <florian@rivoal.net>
Cc: www-style list <www-style@w3.org>
On Fri, Mar 29, 2013 at 2:19 AM, Florian Rivoal <florian@rivoal.net> wrote:
> I found a typo in example 13:
>
>   print(el.style.var.foo-bar);
>   /* Retrieves "var-foo" and subtracts a JS variable named "bar"
>
> It should say:
>
>   /* Retrieves "var.foo" and subtracts [...]

Not technically a typo (it retrieves the value of the "var-foo"
property), but your version is clearer if I want to maintain this
abbreviated explanation.

~TJ
Received on Friday, 29 March 2013 17:00:53 UTC

This archive was generated by hypermail 2.3.1 : Friday, 29 March 2013 17:00:53 UTC