Index: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/left-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/left-expected.txt b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/left-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5f0bd9b24ece3a19d0218cb4f1231535b3995c60 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/left-expected.txt |
@@ -0,0 +1,53 @@ |
+This is a testharness.js-based test. |
+PASS Setting left to auto |
+PASS Setting left to initial |
+PASS Setting left to inherit |
+PASS Setting left to unset |
+FAIL Setting left to CSSUnitValue with value 1px Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 3em Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 4ex Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 5ch Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 6rem Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 7vw Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 8vh Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 9vmin Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 10vmax Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 11cm Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 12mm Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 13in Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 14pc Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+FAIL Setting left to CSSUnitValue with value 15pt Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+PASS Setting left to invalid value CSSUnitValue throws |
+PASS Setting left to invalid value null throws |
+PASS Setting left to invalid value undefined throws |
+PASS Setting left to invalid value true throws |
+PASS Setting left to invalid value false throws |
+PASS Setting left to invalid value 1 throws |
+PASS Setting left to invalid value hello throws |
+PASS Setting left to invalid value [object Object] throws |
+PASS Setting left to invalid value CSSKeywordValue throws |
+PASS Getting left when it is set to auto |
+PASS Getting left when it is set to initial |
+PASS Getting left when it is set to inherit |
+PASS Getting left when it is set to unset |
+FAIL Getting left with a CSSUnitValue whose value is 1px assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 3em assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 4ex assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 5ch assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 6rem assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 7vw assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 8vh assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 9vmin assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 10vmax assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 11cm assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 12mm assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 13in assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 14pc assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL Getting left with a CSSUnitValue whose value is 15pt assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" |
+FAIL getAll for single-valued left assert_equals: Returned type is incorrect: expected "CSSUnitValue" but got "CSSStyleValue" |
+PASS Delete left removes the value from the styleMap |
+FAIL left shows up in getProperties Failed to execute 'set' on 'StylePropertyMap': Invalid type for property |
+PASS Setting left to a sequence throws |
+PASS Appending to left throws |
+Harness: the test ran to completion. |
+ |