OLD | NEW |
| (Empty) |
1 Tests that InspectorCSSAgent formats the CSS style text based on the CSS model m
odifications. | |
2 | |
3 Formatted | |
4 Unformatted | |
5 | |
6 Running: initFormattedStyle | |
7 | |
8 Running: testFormattedInsertStart | |
9 raw cssText: | |
10 { | |
11 firstProperty: firstValue; | |
12 property1: value1; | |
13 property2: value2; | |
14 property3: value3; | |
15 } | |
16 | |
17 Running: testFormattedRemoveStart | |
18 raw cssText: | |
19 { | |
20 property1: value1; | |
21 property2: value2; | |
22 property3: value3; | |
23 } | |
24 | |
25 Running: testFormattedInsertMiddle | |
26 raw cssText: | |
27 { | |
28 property1: value1; | |
29 middleProperty: middleValue; | |
30 property2: value2; | |
31 property3: value3; | |
32 } | |
33 | |
34 Running: testFormattedRemoveMiddle | |
35 raw cssText: | |
36 { | |
37 property1: value1; | |
38 property2: value2; | |
39 property3: value3; | |
40 } | |
41 | |
42 Running: testFormattedInsertEnd | |
43 raw cssText: | |
44 { | |
45 property1: value1; | |
46 property2: value2; | |
47 property3: value3; | |
48 endProperty: endValue; | |
49 } | |
50 | |
51 Running: testFormattedRemoveEnd | |
52 raw cssText: | |
53 { | |
54 property1: value1; | |
55 property2: value2; | |
56 property3: value3; | |
57 } | |
58 | |
59 Running: testFormattedDisableStart | |
60 raw cssText: | |
61 { | |
62 /* property1: value1; */ | |
63 property2: value2; | |
64 property3: value3; | |
65 } | |
66 | |
67 Running: testFormattedDisableEnd | |
68 raw cssText: | |
69 { | |
70 /* property1: value1; */ | |
71 property2: value2; | |
72 /* property3: value3; */ | |
73 } | |
74 | |
75 Running: testFormattedDisableMiddle | |
76 raw cssText: | |
77 { | |
78 /* property1: value1; */ | |
79 /* property2: value2; */ | |
80 /* property3: value3; */ | |
81 } | |
82 | |
83 Running: testFormattedInsert1 | |
84 raw cssText: | |
85 { | |
86 propA: valA; | |
87 /* property1: value1; */ | |
88 /* property2: value2; */ | |
89 /* property3: value3; */ | |
90 } | |
91 | |
92 Running: testFormattedInsert2 | |
93 raw cssText: | |
94 { | |
95 propA: valA; | |
96 /* property1: value1; */ | |
97 propB: valB; | |
98 /* property2: value2; */ | |
99 /* property3: value3; */ | |
100 } | |
101 | |
102 Running: testFormattedInsert3 | |
103 raw cssText: | |
104 { | |
105 propA: valA; | |
106 /* property1: value1; */ | |
107 propB: valB; | |
108 /* property2: value2; */ | |
109 /* property3: value3; */ | |
110 propC: valC; | |
111 } | |
112 | |
113 Running: testFormattedEnableStart | |
114 raw cssText: | |
115 { | |
116 propA: valA; | |
117 property1: value1; | |
118 propB: valB; | |
119 /* property2: value2; */ | |
120 /* property3: value3; */ | |
121 propC: valC; | |
122 } | |
123 | |
124 Running: testFormattedEnableEnd | |
125 raw cssText: | |
126 { | |
127 propA: valA; | |
128 property1: value1; | |
129 propB: valB; | |
130 /* property2: value2; */ | |
131 property3: value3; | |
132 propC: valC; | |
133 } | |
134 | |
135 Running: testFormattedEnableMiddle | |
136 raw cssText: | |
137 { | |
138 propA: valA; | |
139 property1: value1; | |
140 propB: valB; | |
141 property2: value2; | |
142 property3: value3; | |
143 propC: valC; | |
144 } | |
145 | |
146 Running: initUnformattedStyle | |
147 | |
148 Running: testUnformattedInsertStart | |
149 raw cssText: | |
150 {firstProperty: firstValue;property1:value1;property2:value2;property3:value3;} | |
151 | |
152 Running: testUnformattedRemoveStart | |
153 raw cssText: | |
154 {property1:value1;property2:value2;property3:value3;} | |
155 | |
156 Running: testUnformattedInsertMiddle | |
157 raw cssText: | |
158 {property1:value1;middleProperty: middleValue;property2:value2;property3:value3;
} | |
159 | |
160 Running: testUnformattedRemoveMiddle | |
161 raw cssText: | |
162 {property1:value1;property2:value2;property3:value3;} | |
163 | |
164 Running: testUnformattedInsertEnd | |
165 raw cssText: | |
166 {property1:value1;property2:value2;property3:value3;endProperty: endValue;} | |
167 | |
168 Running: testUnformattedRemoveEnd | |
169 raw cssText: | |
170 {property1:value1;property2:value2;property3:value3;} | |
171 | |
172 Running: testUnformattedDisableStart | |
173 raw cssText: | |
174 {/* property1:value1; */property2:value2;property3:value3;} | |
175 | |
176 Running: testUnformattedDisableEnd | |
177 raw cssText: | |
178 {/* property1:value1; */property2:value2;/* property3:value3; */} | |
179 | |
180 Running: testUnformattedDisableMiddle | |
181 raw cssText: | |
182 {/* property1:value1; *//* property2:value2; *//* property3:value3; */} | |
183 | |
184 Running: testUnformattedEnableStart | |
185 raw cssText: | |
186 {property1:value1;/* property2:value2; *//* property3:value3; */} | |
187 | |
188 Running: testUnformattedEnableEnd | |
189 raw cssText: | |
190 {property1:value1;/* property2:value2; */property3:value3;} | |
191 | |
192 Running: testUnformattedEnableMiddle | |
193 raw cssText: | |
194 {property1:value1;property2:value2;property3:value3;} | |
195 | |
OLD | NEW |