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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/bottom-expected.txt

Issue 2529043002: [CSS Typed OM] Add a property test generator for testing the inline StylePropertyMap (Closed)
Patch Set: Add expectation files Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/bottom-expected.txt
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/bottom-expected.txt b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/bottom-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..05bcf31e3a79d9affa949c560016012b8a6350d1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/bottom-expected.txt
@@ -0,0 +1,33 @@
+This is a testharness.js-based test.
+PASS Setting bottom to auto
+PASS Setting bottom to initial
+PASS Setting bottom to inherit
+PASS Setting bottom to unset
+PASS Setting bottom to CSSSimpleLength with value 1px
+PASS Setting bottom to CSSSimpleLength with value 2%
+PASS Setting bottom to CSSSimpleLength with value 3em
+PASS Setting bottom to CSSCalcLength with value calc(10% + 1px)
+PASS Setting bottom to invalid value [object CSSNumberValue] fails
+PASS Setting bottom to invalid value null fails
+PASS Setting bottom to invalid value undefined fails
+PASS Setting bottom to invalid value true fails
+PASS Setting bottom to invalid value false fails
+PASS Setting bottom to invalid value 1 fails
+PASS Setting bottom to invalid value hello fails
+PASS Setting bottom to invalid value [object Object] fails
+PASS Setting bottom to invalid value [object CSSKeywordValue] fails
+FAIL Getting bottom when it is set to auto assert_true: expected true got false
+FAIL Getting bottom when it is set to initial assert_true: expected true got false
+FAIL Getting bottom when it is set to inherit assert_true: expected true got false
+FAIL Getting bottom when it is set to unset assert_true: expected true got false
+PASS Getting bottom with a CSSSimpleLength whose value is 1px
+PASS Getting bottom with a CSSSimpleLength whose value is 2%
+PASS Getting bottom with a CSSSimpleLength whose value is 3em
+FAIL Getting bottom with a CSSCalcLength whose value is calc(10% + 1px) assert_equals: expected function "function CSSCalcLength() { [native code] }" but got function "function CSSStyleValue() { [native code] }"
dstockwell 2016/11/29 06:26:35 Can we do better with the failure messages here?
meade_UTC10 2016/12/01 03:48:20 Done.
+PASS getAll for single-valued bottom
+PASS Delete bottom removes the value form the styleMap
+PASS bottom shows up in getProperties
+PASS Setting bottom to a sequence throws
+PASS Appending to bottom throws
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698