| Index: Source/core/rendering/TextAutosizer.cpp
|
| diff --git a/Source/core/rendering/TextAutosizer.cpp b/Source/core/rendering/TextAutosizer.cpp
|
| index d34593f5fb20f1e238e980e52fa2b7a704e53b8d..d6f23bdbaca8d3ba46ee5ee687cb9c59fb33866d 100644
|
| --- a/Source/core/rendering/TextAutosizer.cpp
|
| +++ b/Source/core/rendering/TextAutosizer.cpp
|
| @@ -446,12 +446,12 @@ bool TextAutosizer::contentHeightIsConstrained(const RenderBlock* container)
|
| RenderStyle* style = container->style();
|
| if (style->overflowY() >= OSCROLL)
|
| return false;
|
| - if (style->height().isSpecified() || style->maxHeight().isSpecified()) {
|
| + if (style->height().isSpecified() || style->maxHeight().isSpecified() || container->isOutOfFlowPositioned()) {
|
| // Some sites (e.g. wikipedia) set their html and/or body elements to height:100%,
|
| // without intending to constrain the height of the content within them.
|
| return !container->isRoot() && !container->isBody();
|
| }
|
| - if (container->isFloatingOrOutOfFlowPositioned())
|
| + if (container->isFloating())
|
| return false;
|
| }
|
| return false;
|
|
|