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

Side by Side Diff: LayoutTests/inspector-protocol/css/css-set-style-text-expected.txt

Issue 1181213007: DevTools: introduce CSS.setStyleText, we'll migrate setPropertyText to it later. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: win fixed 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
(Empty)
1 The test verifies functionality of protocol method CSS.setStyleText.
2
3 ==== Initial style sheet text ====
4 #test {
5 box-sizing: border-box;
6 }
7
8 #test {
9 /* resetting some properties */
10 line-height: 1;
11 font-family: "Arial";
12 color: blue;
13 display: flex; /* flex FTW! */
14 }
15
16 @media (min-width: 1px) {
17 #test {
18 font-size: 200%;
19 }
20
21 #test {
22 }
23 }
24
25
26
27 Running test: testBasicSetStyle
28 ==== Style sheet text ====
29 #test {
30 content: 'EDITED';
31 }
32
33 #test {
34 /* resetting some properties */
35 line-height: 1;
36 font-family: "Arial";
37 color: blue;
38 display: flex; /* flex FTW! */
39 }
40
41 @media (min-width: 1px) {
42 #test {
43 font-size: 200%;
44 }
45
46 #test {
47 }
48 }
49
50
51 Dumping matched rules:
52 *#test* { regular
53 content: 'EDITED';
54 }
55 *#test* { regular
56 line-height: 1;
57 font-family: "Arial";
58 color: blue;
59 display: flex;
60 }
61 @media (min-width: 1px)
62 *#test* { regular
63 font-size: 200%;
64 }
65 @media (min-width: 1px)
66 *#test* { regular
67 }
68 Dumping inherited rules:
69
70 Running test: testSetStylePoorContent
71 Expected protocol error: SyntaxError Style text is not valid.
72 Dumping matched rules:
73 *#test* { regular
74 box-sizing: border-box;
75 }
76 *#test* { regular
77 line-height: 1;
78 font-family: "Arial";
79 color: blue;
80 display: flex;
81 }
82 @media (min-width: 1px)
83 *#test* { regular
84 font-size: 200%;
85 }
86 @media (min-width: 1px)
87 *#test* { regular
88 }
89 Dumping inherited rules:
90
91 Running test: testSetStyleInMedia
92 ==== Style sheet text ====
93 #test {
94 box-sizing: border-box;
95 }
96
97 #test {
98 /* resetting some properties */
99 line-height: 1;
100 font-family: "Arial";
101 color: blue;
102 display: flex; /* flex FTW! */
103 }
104
105 @media (min-width: 1px) {
106 #test {
107 content: 'EDITED';
108 color: red;
109 /** foo */
110 }
111
112 #test {
113 }
114 }
115
116
117 Dumping matched rules:
118 *#test* { regular
119 box-sizing: border-box;
120 }
121 *#test* { regular
122 line-height: 1;
123 font-family: "Arial";
124 color: blue;
125 display: flex;
126 }
127 @media (min-width: 1px)
128 *#test* { regular
129 content: 'EDITED';
130 color: red;
131 }
132 @media (min-width: 1px)
133 *#test* { regular
134 }
135 Dumping inherited rules:
136
137 Running test: testDeleteStyleBody
138 ==== Style sheet text ====
139 #test {
140 box-sizing: border-box;
141 }
142
143 #test {
144 /* resetting some properties */
145 line-height: 1;
146 font-family: "Arial";
147 color: blue;
148 display: flex; /* flex FTW! */
149 }
150
151 @media (min-width: 1px) {
152 #test {}
153
154 #test {
155 }
156 }
157
158
159 Dumping matched rules:
160 *#test* { regular
161 box-sizing: border-box;
162 }
163 *#test* { regular
164 line-height: 1;
165 font-family: "Arial";
166 color: blue;
167 display: flex;
168 }
169 @media (min-width: 1px)
170 *#test* { regular
171 }
172 @media (min-width: 1px)
173 *#test* { regular
174 }
175 Dumping inherited rules:
176
177 Running test: testSetStylePoorRange
178 Expected protocol error: Specified range is out of bounds
179 Dumping matched rules:
180 *#test* { regular
181 box-sizing: border-box;
182 }
183 *#test* { regular
184 line-height: 1;
185 font-family: "Arial";
186 color: blue;
187 display: flex;
188 }
189 @media (min-width: 1px)
190 *#test* { regular
191 font-size: 200%;
192 }
193 @media (min-width: 1px)
194 *#test* { regular
195 }
196 Dumping inherited rules:
197
198 Running test: testSetStyleOpenComment
199 Expected protocol error: SyntaxError Style text is not valid.
200 Dumping matched rules:
201 *#test* { regular
202 box-sizing: border-box;
203 }
204 *#test* { regular
205 line-height: 1;
206 font-family: "Arial";
207 color: blue;
208 display: flex;
209 }
210 @media (min-width: 1px)
211 *#test* { regular
212 font-size: 200%;
213 }
214 @media (min-width: 1px)
215 *#test* { regular
216 }
217 Dumping inherited rules:
218
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698