Consider this testcase:
<!DOCTYPE html>
<html>
<body style="width: 0">
<span style="border-style: solid; border-width: 0 0 0 1px;">
<div style="display: inline-block; width: 100px"></div>
</span>
next
</body>
</html>
In Gecko that shows a blank line between the vertical bar and the text
"next", because the continuation of the span has IsSelfEmpty() false,
and hence isEmpty ends up false in nsLineLayout::ReflowFrame.
In Opera and Webkit, the blank line is not present.
It seems to me that we should perhaps be taking the GetSkipSides for the
frame into account when determining self-emptiness... The problem is
that this state isn't really reliable until after bidi reordering and
the like, right?
-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout