| Index: LayoutTests/fast/text-autosizing/constrained-floats.html
|
| diff --git a/LayoutTests/fast/text-autosizing/constrained-then-float-ancestors.html b/LayoutTests/fast/text-autosizing/constrained-floats.html
|
| similarity index 72%
|
| rename from LayoutTests/fast/text-autosizing/constrained-then-float-ancestors.html
|
| rename to LayoutTests/fast/text-autosizing/constrained-floats.html
|
| index b82d185778d46dd227e47afcbed7a33063383d18..36d6787ed965c0882b548086747225f21f2ff06c 100644
|
| --- a/LayoutTests/fast/text-autosizing/constrained-then-float-ancestors.html
|
| +++ b/LayoutTests/fast/text-autosizing/constrained-floats.html
|
| @@ -20,11 +20,16 @@ if (window.internals) {
|
| </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>
|
| 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>
|
|
|