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

Side by Side Diff: LayoutTests/inspector/elements/styles-4/styles-formatting-expected.txt

Issue 1187193005: DevTools: migrate from CSS.setPropertyText to CSS.setStyleText (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: for landing Created 5 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 | Annotate | Revision Log
OLDNEW
1 Tests that InspectorCSSAgent formats the CSS style text based on the CSS model m odifications. 1 Tests that InspectorCSSAgent formats the CSS style text based on the CSS model m odifications.
2 2
3 Formatted 3 Formatted
4 Unformatted 4 Unformatted
5 5
6 Running: initFormattedStyle 6 Running: initFormattedStyle
7 7
8 Running: testFormattedInsertStart 8 Running: testFormattedInsertStart
9 raw cssText: 9 raw cssText:
10 { 10 {
11 firstProperty: firstValue; 11 firstProperty: rgba(1, 2, 3, 0);
12 property1: value1; 12 property1: value1;
13 property2: value2; 13 property2: value2;
14 property3: value3; 14 property3: value3;
15 } 15 }
16 16
17 Running: testFormattedRemoveStart 17 Running: testFormattedRemoveStart
18 raw cssText: 18 raw cssText:
19 { 19 {
20 property1: value1; 20 property1: value1;
21 property2: value2; 21 property2: value2;
22 property3: value3; 22 property3: value3;
23 } 23 }
24 24
25 Running: testFormattedInsertMiddle 25 Running: testFormattedInsertMiddle
26 raw cssText: 26 raw cssText:
27 { 27 {
28 property1: value1; 28 property1: value1;
29 middleProperty: middleValue; 29 middleProperty: middleValue /* comment */;
30 property2: value2; 30 property2: value2;
31 property3: value3; 31 property3: value3;
32 } 32 }
33 33
34 Running: testFormattedRemoveMiddle 34 Running: testFormattedRemoveMiddle
35 raw cssText: 35 raw cssText:
36 { 36 {
37 property1: value1; 37 property1: value1;
38 property2: value2; 38 property2: value2;
39 property3: value3; 39 property3: value3;
40 } 40 }
41 41
42 Running: testFormattedInsertEnd 42 Running: testFormattedInsertEnd
43 raw cssText: 43 raw cssText:
44 { 44 {
45 property1: value1; 45 property1: value1;
46 property2: value2; 46 property2: value2;
47 property3: value3; 47 property3: value3;
48 endProperty: endValue; 48 endProperty: endValue;
49 } 49 }
50 50
51 Running: testFormattedRemoveEnd 51 Running: testFormattedRemoveEnd
52 raw cssText: 52 raw cssText:
53 { 53 {
54 property1: value1; 54 property1: value1;
55 property2: value2; 55 property2: value2;
56 property3: value3; 56 property3: value3;
57 } 57 }
58 58
59 Running: testFormattedDisableStart 59 Running: testFormattedDisableStart
60 raw cssText: 60 raw cssText:
61 { 61 {
62 /* property1: value1; */ 62 /* property1: value1; */
63 property2: value2; 63 property2: value2;
64 property3: value3; 64 property3: value3;
65 } 65 }
66 66
67 Running: testFormattedDisableEnd 67 Running: testFormattedDisableEnd
68 raw cssText: 68 raw cssText:
69 { 69 {
70 /* property1: value1; */ 70 /* property1: value1; */
71 property2: value2; 71 property2: value2;
72 /* property3: value3; */ 72 /* property3: value3; */
73 } 73 }
74 74
75 Running: testFormattedDisableMiddle 75 Running: testFormattedDisableMiddle
76 raw cssText: 76 raw cssText:
77 { 77 {
78 /* property1: value1; */ 78 /* property1: value1; */
79 /* property2: value2; */ 79 /* property2: value2; */
80 /* property3: value3; */ 80 /* property3: value3; */
81 } 81 }
82 82
83 Running: testFormattedInsert1 83 Running: testFormattedInsert1
84 raw cssText: 84 raw cssText:
85 { 85 {
86 propA: valA; 86 propA: valA;
87 /* property1: value1; */ 87 /* property1: value1; */
88 /* property2: value2; */ 88 /* property2: value2; */
89 /* property3: value3; */ 89 /* property3: value3; */
90 } 90 }
91 91
92 Running: testFormattedInsert2 92 Running: testFormattedInsert2
93 raw cssText: 93 raw cssText:
94 { 94 {
95 propA: valA; 95 propA: valA;
96 /* property1: value1; */ 96 /* property1: value1; */
97 propB: valB; 97 propB: valB;
98 /* property2: value2; */ 98 /* property2: value2; */
99 /* property3: value3; */ 99 /* property3: value3; */
100 } 100 }
101 101
102 Running: testFormattedInsert3 102 Running: testFormattedInsert3
103 raw cssText: 103 raw cssText:
104 { 104 {
105 propA: valA; 105 propA: valA;
106 /* property1: value1; */ 106 /* property1: value1; */
107 propB: valB; 107 propB: valB;
108 /* property2: value2; */ 108 /* property2: value2; */
109 /* property3: value3; */ 109 /* property3: value3; */
110 propC: valC; 110 propC: valC;
111 } 111 }
112 112
113 Running: testFormattedEnableStart 113 Running: testFormattedEnableStart
114 raw cssText: 114 raw cssText:
115 { 115 {
116 propA: valA; 116 propA: valA;
117 property1: value1; 117 property1: value1;
118 propB: valB; 118 propB: valB;
119 /* property2: value2; */ 119 /* property2: value2; */
120 /* property3: value3; */ 120 /* property3: value3; */
121 propC: valC; 121 propC: valC;
122 } 122 }
123 123
124 Running: testFormattedEnableEnd 124 Running: testFormattedEnableEnd
125 raw cssText: 125 raw cssText:
126 { 126 {
127 propA: valA; 127 propA: valA;
128 property1: value1; 128 property1: value1;
129 propB: valB; 129 propB: valB;
130 /* property2: value2; */ 130 /* property2: value2; */
131 property3: value3; 131 property3: value3;
132 propC: valC; 132 propC: valC;
133 } 133 }
134 134
135 Running: testFormattedEnableMiddle 135 Running: testFormattedEnableMiddle
136 raw cssText: 136 raw cssText:
137 { 137 {
138 propA: valA; 138 propA: valA;
139 property1: value1; 139 property1: value1;
140 propB: valB; 140 propB: valB;
141 property2: value2; 141 property2: value2;
142 property3: value3; 142 property3: value3;
143 propC: valC; 143 propC: valC;
144 } 144 }
145 145
146 Running: initUnformattedStyle 146 Running: initUnformattedStyle
147 147
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 {property1:value1;/* property2:value2; *//* property3:value3; */} 186 {property1:value1;/* property2:value2; *//* property3:value3; */}
187 187
188 Running: testUnformattedEnableEnd 188 Running: testUnformattedEnableEnd
189 raw cssText: 189 raw cssText:
190 {property1:value1;/* property2:value2; */property3:value3;} 190 {property1:value1;/* property2:value2; */property3:value3;}
191 191
192 Running: testUnformattedEnableMiddle 192 Running: testUnformattedEnableMiddle
193 raw cssText: 193 raw cssText:
194 {property1:value1;property2:value2;property3:value3;} 194 {property1:value1;property2:value2;property3:value3;}
195 195
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698