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> |