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

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

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
Index: LayoutTests/css-parser/font-size-adjust-expected.txt
diff --git a/LayoutTests/css-parser/font-size-adjust-expected.txt b/LayoutTests/css-parser/font-size-adjust-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed68ac0506f81aaa50d48b96a01a3fec3302e966
--- /dev/null
+++ b/LayoutTests/css-parser/font-size-adjust-expected.txt
@@ -0,0 +1,27 @@
+Verifies that font-size-adjust property and its value are properly parsed.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+This is a testharness.js-based test.
+PASS CSS.supports('fontSizeAdjust', '1.5') should return true
+PASS e.style['fontSizeAdjust'] = '1.5' should set the value
+PASS Serialization should round-trip after setting e.style['fontSizeAdjust'] = '1.5'
+PASS CSS.supports('fontSizeAdjust', '0.5') should return true
+PASS e.style['fontSizeAdjust'] = '0.5' should set the value
+PASS Serialization should round-trip after setting e.style['fontSizeAdjust'] = '0.5'
+PASS CSS.supports('fontSizeAdjust', '0') should return true
+PASS e.style['fontSizeAdjust'] = '0' should set the value
+PASS Serialization should round-trip after setting e.style['fontSizeAdjust'] = '0'
+PASS CSS.supports('fontSizeAdjust', 'none') should return true
+PASS e.style['fontSizeAdjust'] = 'none' should set the value
+PASS Serialization should round-trip after setting e.style['fontSizeAdjust'] = 'none'
+PASS CSS.supports('fontSizeAdjust', '-0.5') should return false
+PASS e.style['fontSizeAdjust'] = '-0.5' should not set the value
+PASS CSS.supports('fontSizeAdjust', '-1.5') should return false
+PASS e.style['fontSizeAdjust'] = '-1.5' should not set the value
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698