W3C home > Mailing lists > Public > www-style@w3.org > October 2008

Re: pseudo-attributes

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 29 Oct 2008 09:57:51 -0700
Message-ID: <4908960F.7060406@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style@w3.org

Tab Atkins Jr. wrote:
> Really?  At least in terms of scripting, value *does* update 
> interactively.  I can ask for the value of an input initially and after 
> typing things in, and they're different.

The DOM value property updates.  The value attribute does not.  Except 
in IE, they're not the same thing.

> As for breaking sites, do you mean that sites are currently relying on 
> the [value] selector only keying off of the written @value attribute in 
> the code?

No, there are sites relying on the value attribute not changing when the 
user types.

-Boris
Received on Wednesday, 29 October 2008 16:58:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:15 GMT