W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] <img> element comments

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sat, 04 Nov 2006 22:35:34 +0100
Message-ID: <op.tiigxkr5aw9dld@id-c0020>
On Sat, 04 Nov 2006 22:27:18 +0100, Matthew Raymond  
<mattraymond at earthlink.net> wrote:
>    Right. There can be differences between the initial value of an
> attribute contained in markup and the instantaneous value in the DOM,
> such as the case with <input value=""> or <option selected>,

That's <input>.defaultValue and <option>.defaultSelected respectively.  
They are reflected one on one...

> but with
> <img>, I can't think of a situation where the |src| value could change
> from the initial value in markup. Setting the |src| attribute's
> instantaneous value and setting the value in markup are one and the same
> in this case.

This was not at all the issue I was raising.

Anne van Kesteren
Received on Saturday, 4 November 2006 13:35:34 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC