Index: LayoutTests/fast/text-autosizing/oscillation-javascript-fontsize-change-expected.html |
diff --git a/LayoutTests/fast/text-autosizing/oscillation-javascript-fontsize-change-expected.html b/LayoutTests/fast/text-autosizing/oscillation-javascript-fontsize-change-expected.html |
index 5c79f908aa1724e38f333b76cb5dcf6b4c518b14..a671cdac03dfbf23fc79e0a42a92fc1a6eed76e4 100644 |
--- a/LayoutTests/fast/text-autosizing/oscillation-javascript-fontsize-change-expected.html |
+++ b/LayoutTests/fast/text-autosizing/oscillation-javascript-fontsize-change-expected.html |
@@ -1,7 +1,6 @@ |
<!DOCTYPE html> |
<html style="font-size: 16px"> |
<head> |
- |
<meta name="viewport" content="width=800"> |
<style> |
body { |
@@ -10,22 +9,18 @@ |
overflow-y: hidden; |
} |
</style> |
- |
</head> |
<body> |
- |
-<div style="top: 50px; position: absolute; overflow: auto; font-size: 19.8px"> |
- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br/> |
- This paragraph should be autosized to 19.8px<br/> |
+<div style="font-size: 2.5rem"> |
+ This paragraph should be autosized to 40px<br/> |
because it contains line breaks.<br/> |
This test is intended to check<br/> |
that there are no oscillations due to javascript<br/> |
briefly increasing the font size of a<br/> |
small paragraph below. |
</div> |
-<div id="sizechanging"> |
+<div id="sizechanging" style="position: absolute; bottom: 0;"> |
This text changes size using javascript below. |
</div> |
- |
</body> |
</html> |