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

Unified Diff: LayoutTests/fast/text-autosizing/inherited-multiplier-expected.html

Issue 472893004: Apply the text autosizing multiplier in FontBuilder::updateComputedSize. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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/inherited-multiplier-expected.html
diff --git a/LayoutTests/fast/text-autosizing/inherited-multiplier-expected.html b/LayoutTests/fast/text-autosizing/inherited-multiplier-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..e0ff49e2ac3a8b7e068bfece6e56614989253b7f
--- /dev/null
+++ b/LayoutTests/fast/text-autosizing/inherited-multiplier-expected.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta name="viewport" content="width=800">
+<style>
+ body {
+ font-size: 16px;
+ margin: 0;
+ overflow: hidden;
+ width: 800px;
+ }
+</style>
+</head>
+<body>
+<div id="outer" style="font-size: 2.5rem">
+ This test verifies that a text autosizing multiplier that is inherited from a
+ parent element's RenderStyle is reflected in the computed font size, even if the
+ specified font size is different and the next text autosizing pass doesn't alter
+ the multiplier.
+ <div style="font-size: 30px">
+ This test verifies that a text autosizing multiplier that is inherited from a
+ parent element's RenderStyle is reflected in the computed font size, even if the
+ specified font size is different and the next text autosizing pass doesn't alter
+ the multiplier.
+ </div>
+</div>
+</body>
+</html>
« no previous file with comments | « LayoutTests/fast/text-autosizing/inherited-multiplier.html ('k') | Source/core/css/resolver/FontBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698