| Index: LayoutTests/fast/text-autosizing/constrained-floats-expected.html
|
| diff --git a/LayoutTests/fast/text-autosizing/constrained-then-float-ancestors-expected.html b/LayoutTests/fast/text-autosizing/constrained-floats-expected.html
|
| similarity index 59%
|
| rename from LayoutTests/fast/text-autosizing/constrained-then-float-ancestors-expected.html
|
| rename to LayoutTests/fast/text-autosizing/constrained-floats-expected.html
|
| index a7e662617a4ed430bfa275ae72fedb87c7c438f3..18d4041f04d2f8d3cfc70525431dd5fcea025583 100644
|
| --- a/LayoutTests/fast/text-autosizing/constrained-then-float-ancestors-expected.html
|
| +++ b/LayoutTests/fast/text-autosizing/constrained-floats-expected.html
|
| @@ -11,11 +11,16 @@ body { width: 800px; margin: 0; overflow-y: hidden; }
|
| </head>
|
| <body>
|
|
|
| +<div style="max-height: 500px; float: left">
|
| + This text should not be autosized (its computed font-size should remain 16px), as autosizing usually causes text to wrap onto more lines, which might cause it to overflow the block's max-height (the float:left doesn't affect this).<br>
|
| + Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
| +</div>
|
| +
|
| <div style="max-height: 500px">
|
| <div style="float: left">
|
| <div style="font-size: 2.5rem">
|
| This text should be autosized to 40px computed font-size, since the parent is float:left so the height is considered to be unconstrained (ancestors of the parent are ignored).<br>
|
| - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|
| + Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
| </div>
|
| </div>
|
| </div>
|
|
|