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

Unified Diff: LayoutTests/fast/css/rem-calc-dynamic-scaling.html

Issue 1181023004: Move rem handling out of CSSParserValues.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Another attempt Created 5 years, 5 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 | « no previous file | LayoutTests/platform/linux/fast/css/rem-calc-dynamic-scaling-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/rem-calc-dynamic-scaling.html
diff --git a/LayoutTests/fast/css/rem-dynamic-scaling.html b/LayoutTests/fast/css/rem-calc-dynamic-scaling.html
similarity index 90%
copy from LayoutTests/fast/css/rem-dynamic-scaling.html
copy to LayoutTests/fast/css/rem-calc-dynamic-scaling.html
index 9eeabc51cfa68538d4184740e0bd9fe8fbc0260f..deaf54ce869e017796a55c76bb351bc873fea933 100644
--- a/LayoutTests/fast/css/rem-dynamic-scaling.html
+++ b/LayoutTests/fast/css/rem-calc-dynamic-scaling.html
@@ -4,7 +4,7 @@ This is a test of dynamic rem unit scaling. Changes to the root element's font
to update as well.
<div style="font-size:10px">
This text should be small.
-<div style="font-size:1rem">
+<div style="font-size:calc(0% + 1rem)">
This text should match the root (and be 24px).
</div>
</div>
« no previous file with comments | « no previous file | LayoutTests/platform/linux/fast/css/rem-calc-dynamic-scaling-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698