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

Unified Diff: LayoutTests/fast/text-autosizing/font-scale-factor-change-expected.html

Issue 209353003: Clean up handling of autosizing state changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@crap_base
Patch Set: Address review comments. Created 6 years, 9 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
Index: LayoutTests/fast/text-autosizing/font-scale-factor-change-expected.html
diff --git a/LayoutTests/fast/text-autosizing/font-scale-factor-change-expected.html b/LayoutTests/fast/text-autosizing/font-scale-factor-change-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..311ecf8cf203f607484082ea976d358bcdfd5d05
--- /dev/null
+++ b/LayoutTests/fast/text-autosizing/font-scale-factor-change-expected.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta name="viewport" content="width=320">
+<style>
+html { font-size: 16px; }
+body { width: 320px; margin: 0; overflow-y: hidden; }
+</style>
+
+</head>
+<body>
+<div style="font-size: 2rem">
timvolodine 2014/03/25 13:08:14 so the 2 is due to setFontScaleFactor(2)? I unders
skobes 2014/03/25 18:25:26 I'm not following what you mean here. Autosizing
timvolodine 2014/03/26 12:33:00 What I meant is that you are testing the accessibi
+This test verifies that the page updates correctly after a dynamic change to the font scale factor.
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sapien sapien, tempus id egestas a, consectetur et felis. Ut pharetra mi eget lectus laoreet rutrum. Mauris tellus odio, egestas vitae sodales in, vehicula eget ante. Pellentesque id egestas arcu. Quisque tellus quam, rhoncus ac elementum vel, volutpat vel felis. Aliquam ut leo dolor, eget egestas tellus. Nunc ut velit gravida nisl fringilla rutrum eget at arcu. Vivamus et pretium mauris.
+</div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698