[Webkit-unassigned] [Bug 119039] Layout <img> with empty src attribute.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 25 17:50:42 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=119039





--- Comment #3 from Jaehun Lim <ljaehun.lim at samsung.com>  2013-07-25 17:50:33 PST ---
(In reply to comment #2)
> What I think is happening here is that FF considers this <img> element empty and empty inline elements generate empty inline boxes (like <span></span>) We, on the other hand, similarly to Opera create an inline box for it and this linebox is getting its calculated height value from the parent's font-size attribute.
> Once you add either padding, margin or border to the <img>, FF starts behaving like us.
> I couldn't find any traces in the spec when the <img> should be treated empty if at all.

'src' in <img> is a mandatory attribute. I can't find how to treat <img> with empty src attribute in spec, too.

Is it a bug ?

-- 
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