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