Index: Source/WebCore/rendering/RenderBox.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderBox.cpp (revision 143508) |
+++ Source/WebCore/rendering/RenderBox.cpp (working copy) |
@@ -2283,7 +2283,7 @@ |
// height since we don't set a height in RenderView when we're printing. So without this quirk, the |
// height has nothing to be a percentage of, and it ends up being 0. That is bad. |
bool paginatedContentNeedsBaseHeight = document()->printing() && h.isPercent() |
- && (isRoot() || (isBody() && document()->documentElement()->renderer()->style()->logicalHeight().isPercent())); |
+ && (isRoot() || (isBody() && document()->documentElement()->renderer()->style()->logicalHeight().isPercent())) && !isInline(); |
if (stretchesToViewport() || paginatedContentNeedsBaseHeight) { |
// FIXME: Finish accounting for block flow here. |
// https://bugs.webkit.org/show_bug.cgi?id=46603 |