[Webkit-unassigned] [Bug 26285] Removing an image's src attribute, or setting it to null, via scripting, doesn't change the image
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 1 01:39:12 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=26285
Jaehun Lim <ljaehun.lim at samsung.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ljaehun.lim at samsung.com
--- Comment #3 from Jaehun Lim <ljaehun.lim at samsung.com> 2012-11-01 01:40:33 PST ---
(In reply to comment #2)
> Seems like WebKit is in compliance with HTML5 here.
mitz, is the current WebKit behavior(show the previous image when src is removed) right ?
I found below lines in HTML5 standard document(in progress).
If the src attribute is not set and either the alt attribute is set to the empty string or the alt attribute is not set at all
-> The element represents nothing.
(http://www.w3.org/TR/2012/WD-html5-20121025/the-img-element.html#the-img-element)
I think "represents nothing" means "paints nothing". In my opinion, clearing the previous image is right. It's more intuitive, too. How do you think about this ?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list