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

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-position-expected.txt

Issue 38573003: Use 4 value syntax for getComputedStyle of background-position and -webkit-mask-position (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test calling getPropertyValue on computed styles for background-position propert ies. 1 Test calling getPropertyValue on computed styles for background-position propert ies.
2 2
3 background-position: 0; 3 background-position: 0;
4 background-position 4 background-position
5 getPropertyValue: 0px 50% 5 getPropertyValue: left 0px top 50%
6 getPropertyCSSValue: [object CSSValueList] 6 getPropertyCSSValue: [object CSSValueList]
7 background-position-x 7 background-position-x
8 getPropertyValue: 0px 8 getPropertyValue: 0px
9 getPropertyCSSValue: [object CSSPrimitiveValue] 9 getPropertyCSSValue: [object CSSPrimitiveValue]
10 background-position-y 10 background-position-y
11 getPropertyValue: 50% 11 getPropertyValue: 50%
12 getPropertyCSSValue: [object CSSPrimitiveValue] 12 getPropertyCSSValue: [object CSSPrimitiveValue]
13 background-position: 0 0; 13 background-position: 0 0;
14 background-position 14 background-position
15 getPropertyValue: 0px 0px 15 getPropertyValue: left 0px top 0px
16 getPropertyCSSValue: [object CSSValueList] 16 getPropertyCSSValue: [object CSSValueList]
17 background-position-x 17 background-position-x
18 getPropertyValue: 0px 18 getPropertyValue: 0px
19 getPropertyCSSValue: [object CSSPrimitiveValue] 19 getPropertyCSSValue: [object CSSPrimitiveValue]
20 background-position-y 20 background-position-y
21 getPropertyValue: 0px 21 getPropertyValue: 0px
22 getPropertyCSSValue: [object CSSPrimitiveValue] 22 getPropertyCSSValue: [object CSSPrimitiveValue]
23 23
24 background-position: 15px; 24 background-position: 15px;
25 background-position 25 background-position
26 getPropertyValue: 15px 50% 26 getPropertyValue: left 15px top 50%
27 getPropertyCSSValue: [object CSSValueList] 27 getPropertyCSSValue: [object CSSValueList]
28 background-position-x 28 background-position-x
29 getPropertyValue: 15px 29 getPropertyValue: 15px
30 getPropertyCSSValue: [object CSSPrimitiveValue] 30 getPropertyCSSValue: [object CSSPrimitiveValue]
31 background-position-y 31 background-position-y
32 getPropertyValue: 50% 32 getPropertyValue: 50%
33 getPropertyCSSValue: [object CSSPrimitiveValue] 33 getPropertyCSSValue: [object CSSPrimitiveValue]
34 background-position: 10px 20px; 34 background-position: 10px 20px;
35 background-position 35 background-position
36 getPropertyValue: 10px 20px 36 getPropertyValue: left 10px top 20px
37 getPropertyCSSValue: [object CSSValueList] 37 getPropertyCSSValue: [object CSSValueList]
38 background-position-x 38 background-position-x
39 getPropertyValue: 10px 39 getPropertyValue: 10px
40 getPropertyCSSValue: [object CSSPrimitiveValue] 40 getPropertyCSSValue: [object CSSPrimitiveValue]
41 background-position-y 41 background-position-y
42 getPropertyValue: 20px 42 getPropertyValue: 20px
43 getPropertyCSSValue: [object CSSPrimitiveValue] 43 getPropertyCSSValue: [object CSSPrimitiveValue]
44 44
45 No background-position set 45 No background-position set
46 background-position 46 background-position
47 getPropertyValue: 0% 0% 47 getPropertyValue: left 0% top 0%
48 getPropertyCSSValue: [object CSSValueList] 48 getPropertyCSSValue: [object CSSValueList]
49 background-position-x 49 background-position-x
50 getPropertyValue: 0% 50 getPropertyValue: 0%
51 getPropertyCSSValue: [object CSSPrimitiveValue] 51 getPropertyCSSValue: [object CSSPrimitiveValue]
52 background-position-y 52 background-position-y
53 getPropertyValue: 0% 53 getPropertyValue: 0%
54 getPropertyCSSValue: [object CSSPrimitiveValue] 54 getPropertyCSSValue: [object CSSPrimitiveValue]
55 55
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698