[Webkit-unassigned] [Bug 118963] In strict mode, inline box height is wrong.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 23 09:50:51 PDT 2013


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


Zalan Bujtas <zalan at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zalan at apple.com




--- Comment #2 from Zalan Bujtas <zalan at apple.com>  2013-07-23 09:50:42 PST ---
(In reply to comment #0)
> In strict mode, inline box has the font-based height even though its child has no size and no text contents.

It's the block element which has the height mandated by the font-size attribute. In strict mode, it is irrelevant whether the inline child has zero height. Try the following, modified test case and notice the block/inline elements' height.
(also both Opera and FF agree with Safari's rendering on this in general)

<!DOCTYPE html>
<html>
<body><div style="font-size:500px; border: solid 1px red"><iframe style='border: solid 1px green' src='missing.html'></iframe></div></body>
</html>

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