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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 25 05:08:12 PDT 2013


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





--- Comment #2 from Zalan Bujtas <zalan at apple.com>  2013-07-25 05:08:02 PST ---
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.

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