- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 31 Jul 2013 10:06:50 -0700
- To: www-dom@w3.org
On 7/31/13 8:50 AM, Bradley Meck wrote: > Right now we have the ability to set but not read internal state using > attributes. That's not quite right for your testcase. Right now, as long as the value is the default value setting the attribute (which sets the default value) also sets the value. Likewise, reading the attribute, which reads the default value, reads the value. Once the value and the default value diverge, via the value being explicitly changed, setting and reading the attribute still sets and reads the default value (as reflected by the .defaultValue property or the behavior of reset()). But the value no longer has anything to do with the default value. -Boris
Received on Wednesday, 31 July 2013 17:07:21 UTC