Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: LayoutTests/fast/text-autosizing/oscillation-javascript-fontsize-change-expected.html

Issue 356133003: Update the two remaining tests for the fast text autosizer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/text-autosizing/oscillation-javascript-fontsize-change.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « LayoutTests/fast/text-autosizing/oscillation-javascript-fontsize-change.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698