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

Unified Diff: LayoutTests/css-parser/font-size-adjust.html

Issue 943463002: Initial implementation of font-size-adjust (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add some tests which need a rebaseline to TestExpectation Created 5 years, 10 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/TestExpectations ('k') | LayoutTests/css-parser/font-size-adjust-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/css-parser/font-size-adjust.html
diff --git a/LayoutTests/css-parser/font-size-adjust.html b/LayoutTests/css-parser/font-size-adjust.html
new file mode 100644
index 0000000000000000000000000000000000000000..1eb7b71dbe0efcac27858a1d5a48cb8fabbc08c8
--- /dev/null
+++ b/LayoutTests/css-parser/font-size-adjust.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<script src="../resources/js-test.js"></script>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="resources/property-parsing-test.js"></script>
+<script>
+description('Verifies that font-size-adjust property and its value are properly parsed.');
+
+assert_valid_value("fontSizeAdjust", "1.5");
+assert_valid_value("fontSizeAdjust", "0.5");
+assert_valid_value("fontSizeAdjust", "0");
+assert_valid_value("fontSizeAdjust", "none");
+assert_invalid_value("fontSizeAdjust", "-0.5");
+assert_invalid_value("fontSizeAdjust", "-1.5");
+</script>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/css-parser/font-size-adjust-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698