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

Side by Side Diff: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/properties/height-expected.txt

Issue 2903413002: Restructure type tracking in StyleValues to work better with new numeric types (Closed)
Patch Set: rebase Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 PASS Setting height to max-content 2 PASS Setting height to max-content
3 PASS Setting height to min-content 3 PASS Setting height to min-content
4 PASS Setting height to fit-content 4 PASS Setting height to fit-content
5 PASS Setting height to auto 5 PASS Setting height to auto
6 PASS Setting height to initial 6 PASS Setting height to initial
7 PASS Setting height to inherit 7 PASS Setting height to inherit
8 PASS Setting height to unset 8 PASS Setting height to unset
9 FAIL Setting height to CSSUnitValue with value 1px Failed to execute 'set' on 'S tylePropertyMap': Invalid type for property 9 FAIL Setting height to CSSUnitValue with value 1px Failed to execute 'set' on 'S tylePropertyMap': Invalid type for property
10 FAIL Setting height to CSSUnitValue with value 3em Failed to execute 'set' on 'S tylePropertyMap': Invalid type for property 10 FAIL Setting height to CSSUnitValue with value 3em Failed to execute 'set' on 'S tylePropertyMap': Invalid type for property
11 FAIL Setting height to CSSUnitValue with value 4ex Failed to execute 'set' on 'S tylePropertyMap': Invalid type for property 11 FAIL Setting height to CSSUnitValue with value 4ex Failed to execute 'set' on 'S tylePropertyMap': Invalid type for property
12 FAIL Setting height to CSSUnitValue with value 5ch Failed to execute 'set' on 'S tylePropertyMap': Invalid type for property 12 FAIL Setting height to CSSUnitValue with value 5ch Failed to execute 'set' on 'S tylePropertyMap': Invalid type for property
13 FAIL Setting height to CSSUnitValue with value 6rem Failed to execute 'set' on ' StylePropertyMap': Invalid type for property 13 FAIL Setting height to CSSUnitValue with value 6rem Failed to execute 'set' on ' StylePropertyMap': Invalid type for property
14 FAIL Setting height to CSSUnitValue with value 7vw Failed to execute 'set' on 'S tylePropertyMap': Invalid type for property 14 FAIL Setting height to CSSUnitValue with value 7vw Failed to execute 'set' on 'S tylePropertyMap': Invalid type for property
15 FAIL Setting height to CSSUnitValue with value 8vh Failed to execute 'set' on 'S tylePropertyMap': Invalid type for property 15 FAIL Setting height to CSSUnitValue with value 8vh Failed to execute 'set' on 'S tylePropertyMap': Invalid type for property
16 FAIL Setting height to CSSUnitValue with value 9vmin Failed to execute 'set' on 'StylePropertyMap': Invalid type for property 16 FAIL Setting height to CSSUnitValue with value 9vmin Failed to execute 'set' on 'StylePropertyMap': Invalid type for property
17 FAIL Setting height to CSSUnitValue with value 10vmax Failed to execute 'set' on 'StylePropertyMap': Invalid type for property 17 FAIL Setting height to CSSUnitValue with value 10vmax Failed to execute 'set' on 'StylePropertyMap': Invalid type for property
18 FAIL Setting height to CSSUnitValue with value 11cm Failed to execute 'set' on ' StylePropertyMap': Invalid type for property 18 FAIL Setting height to CSSUnitValue with value 11cm Failed to execute 'set' on ' StylePropertyMap': Invalid type for property
19 FAIL Setting height to CSSUnitValue with value 12mm Failed to execute 'set' on ' StylePropertyMap': Invalid type for property 19 FAIL Setting height to CSSUnitValue with value 12mm Failed to execute 'set' on ' StylePropertyMap': Invalid type for property
20 FAIL Setting height to CSSUnitValue with value 13in Failed to execute 'set' on ' StylePropertyMap': Invalid type for property 20 FAIL Setting height to CSSUnitValue with value 13in Failed to execute 'set' on ' StylePropertyMap': Invalid type for property
21 FAIL Setting height to CSSUnitValue with value 14pc Failed to execute 'set' on ' StylePropertyMap': Invalid type for property 21 FAIL Setting height to CSSUnitValue with value 14pc Failed to execute 'set' on ' StylePropertyMap': Invalid type for property
22 FAIL Setting height to CSSUnitValue with value 15pt Failed to execute 'set' on ' StylePropertyMap': Invalid type for property 22 FAIL Setting height to CSSUnitValue with value 15pt Failed to execute 'set' on ' StylePropertyMap': Invalid type for property
23 PASS Setting height to invalid value CSSUnitValue throws 23 PASS Setting height to invalid value CSSUnitValue "1" throws
24 PASS Setting height to invalid value null throws 24 PASS Setting height to invalid value null throws
25 PASS Setting height to invalid value undefined throws 25 PASS Setting height to invalid value undefined throws
26 PASS Setting height to invalid value true throws 26 PASS Setting height to invalid value true throws
27 PASS Setting height to invalid value false throws 27 PASS Setting height to invalid value false throws
28 PASS Setting height to invalid value 1 throws 28 PASS Setting height to invalid value 1 throws
29 PASS Setting height to invalid value hello throws 29 PASS Setting height to invalid value hello throws
30 PASS Setting height to invalid value [object Object] throws 30 PASS Setting height to invalid value [object Object] throws
31 PASS Setting height to invalid value CSSKeywordValue throws 31 PASS Setting height to invalid value CSSKeywordValue "notAKeyword" throws
32 PASS Getting height when it is set to max-content 32 PASS Getting height when it is set to max-content
33 PASS Getting height when it is set to min-content 33 PASS Getting height when it is set to min-content
34 PASS Getting height when it is set to fit-content 34 PASS Getting height when it is set to fit-content
35 PASS Getting height when it is set to auto 35 PASS Getting height when it is set to auto
36 PASS Getting height when it is set to initial 36 PASS Getting height when it is set to initial
37 PASS Getting height when it is set to inherit 37 PASS Getting height when it is set to inherit
38 PASS Getting height when it is set to unset 38 PASS Getting height when it is set to unset
39 FAIL Getting height with a CSSUnitValue whose value is 1px assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" 39 FAIL Getting height with a CSSUnitValue whose value is 1px assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue"
40 FAIL Getting height with a CSSUnitValue whose value is 3em assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" 40 FAIL Getting height with a CSSUnitValue whose value is 3em assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue"
41 FAIL Getting height with a CSSUnitValue whose value is 4ex assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" 41 FAIL Getting height with a CSSUnitValue whose value is 4ex assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue"
42 FAIL Getting height with a CSSUnitValue whose value is 5ch assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" 42 FAIL Getting height with a CSSUnitValue whose value is 5ch assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue"
43 FAIL Getting height with a CSSUnitValue whose value is 6rem assert_equals: typeo f result expected "CSSUnitValue" but got "CSSStyleValue" 43 FAIL Getting height with a CSSUnitValue whose value is 6rem assert_equals: typeo f result expected "CSSUnitValue" but got "CSSStyleValue"
44 FAIL Getting height with a CSSUnitValue whose value is 7vw assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" 44 FAIL Getting height with a CSSUnitValue whose value is 7vw assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue"
45 FAIL Getting height with a CSSUnitValue whose value is 8vh assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue" 45 FAIL Getting height with a CSSUnitValue whose value is 8vh assert_equals: typeof result expected "CSSUnitValue" but got "CSSStyleValue"
46 FAIL Getting height with a CSSUnitValue whose value is 9vmin assert_equals: type of result expected "CSSUnitValue" but got "CSSStyleValue" 46 FAIL Getting height with a CSSUnitValue whose value is 9vmin assert_equals: type of result expected "CSSUnitValue" but got "CSSStyleValue"
47 FAIL Getting height with a CSSUnitValue whose value is 10vmax assert_equals: typ eof result expected "CSSUnitValue" but got "CSSStyleValue" 47 FAIL Getting height with a CSSUnitValue whose value is 10vmax assert_equals: typ eof result expected "CSSUnitValue" but got "CSSStyleValue"
48 FAIL Getting height with a CSSUnitValue whose value is 11cm assert_equals: typeo f result expected "CSSUnitValue" but got "CSSStyleValue" 48 FAIL Getting height with a CSSUnitValue whose value is 11cm assert_equals: typeo f result expected "CSSUnitValue" but got "CSSStyleValue"
49 FAIL Getting height with a CSSUnitValue whose value is 12mm assert_equals: typeo f result expected "CSSUnitValue" but got "CSSStyleValue" 49 FAIL Getting height with a CSSUnitValue whose value is 12mm assert_equals: typeo f result expected "CSSUnitValue" but got "CSSStyleValue"
50 FAIL Getting height with a CSSUnitValue whose value is 13in assert_equals: typeo f result expected "CSSUnitValue" but got "CSSStyleValue" 50 FAIL Getting height with a CSSUnitValue whose value is 13in assert_equals: typeo f result expected "CSSUnitValue" but got "CSSStyleValue"
51 FAIL Getting height with a CSSUnitValue whose value is 14pc assert_equals: typeo f result expected "CSSUnitValue" but got "CSSStyleValue" 51 FAIL Getting height with a CSSUnitValue whose value is 14pc assert_equals: typeo f result expected "CSSUnitValue" but got "CSSStyleValue"
52 FAIL Getting height with a CSSUnitValue whose value is 15pt assert_equals: typeo f result expected "CSSUnitValue" but got "CSSStyleValue" 52 FAIL Getting height with a CSSUnitValue whose value is 15pt assert_equals: typeo f result expected "CSSUnitValue" but got "CSSStyleValue"
53 FAIL getAll for single-valued height assert_equals: Returned type is incorrect: expected "CSSUnitValue" but got "CSSStyleValue" 53 FAIL getAll for single-valued height assert_equals: Returned type is incorrect: expected "CSSUnitValue" but got "CSSStyleValue"
54 PASS Delete height removes the value from the styleMap 54 PASS Delete height removes the value from the styleMap
55 FAIL height shows up in getProperties Failed to execute 'set' on 'StylePropertyM ap': Invalid type for property 55 FAIL height shows up in getProperties Failed to execute 'set' on 'StylePropertyM ap': Invalid type for property
56 PASS Setting height to a sequence throws 56 PASS Setting height to a sequence throws
57 PASS Appending to height throws 57 PASS Appending to height throws
58 Harness: the test ran to completion. 58 Harness: the test ran to completion.
59 59
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698