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

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

Issue 1219713003: DevTools: [regression] compare canonical text when matching styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: awesome review comment addressed. Created 5 years, 5 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 The test verifies functionality of protocol method CSS.setStyleText. 1 The test verifies functionality of protocol method CSS.setStyleText.
2 2
3 ==== Initial style sheet text ==== 3 ==== Initial style sheet text ====
4 #test { 4 #test {
5 box-sizing: border-box; 5 box-sizing: border-box;
6 } 6 }
7 7
8 #test { 8 #test {
9 /* resetting some properties */ 9 /* resetting some properties */
10 line-height: 1; 10 line-height: 1;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 60 }
61 @media (min-width: 1px) 61 @media (min-width: 1px)
62 *#test* { regular 62 *#test* { regular
63 font-size: 200%; 63 font-size: 200%;
64 } 64 }
65 @media (min-width: 1px) 65 @media (min-width: 1px)
66 *#test* { regular 66 *#test* { regular
67 } 67 }
68 Dumping inherited rules: 68 Dumping inherited rules:
69 69
70 Running test: testSetStyleTwice
71 ==== Style sheet text ====
72 #test {
73 color: green;
74 padding: 0 4px;
75 cursor: pointer
76 }
77
78 #test {
79 /* resetting some properties */
80 line-height: 1;
81 font-family: "Arial";
82 color: blue;
83 display: flex; /* flex FTW! */
84 }
85
86 @media (min-width: 1px) {
87 #test {
88 font-size: 200%;
89 }
90
91 #test {
92 }
93 }
94
95
96 Dumping matched rules:
97 *#test* { regular
98 color: green;
99 padding: 0 4px;
100 cursor: pointer;
101 padding-top: 0px;
102 padding-right: 4px;
103 padding-bottom: 0px;
104 padding-left: 4px;
105 }
106 *#test* { regular
107 line-height: 1;
108 font-family: "Arial";
109 color: blue;
110 display: flex;
111 }
112 @media (min-width: 1px)
113 *#test* { regular
114 font-size: 200%;
115 }
116 @media (min-width: 1px)
117 *#test* { regular
118 }
119 Dumping inherited rules:
120 ==== Style sheet text ====
121 #test {
122 color: green;
123 padding: 0 6px;
124 cursor: pointer
125 }
126
127 #test {
128 /* resetting some properties */
129 line-height: 1;
130 font-family: "Arial";
131 color: blue;
132 display: flex; /* flex FTW! */
133 }
134
135 @media (min-width: 1px) {
136 #test {
137 font-size: 200%;
138 }
139
140 #test {
141 }
142 }
143
144
145 Dumping matched rules:
146 *#test* { regular
147 color: green;
148 padding: 0 6px;
149 cursor: pointer;
150 padding-top: 0px;
151 padding-right: 6px;
152 padding-bottom: 0px;
153 padding-left: 6px;
154 }
155 *#test* { regular
156 line-height: 1;
157 font-family: "Arial";
158 color: blue;
159 display: flex;
160 }
161 @media (min-width: 1px)
162 *#test* { regular
163 font-size: 200%;
164 }
165 @media (min-width: 1px)
166 *#test* { regular
167 }
168 Dumping inherited rules:
169 ==== Style sheet text ====
170 #test {
171 color: green;
172 padding: 0 8px;
173 cursor: pointer
174 }
175
176 #test {
177 /* resetting some properties */
178 line-height: 1;
179 font-family: "Arial";
180 color: blue;
181 display: flex; /* flex FTW! */
182 }
183
184 @media (min-width: 1px) {
185 #test {
186 font-size: 200%;
187 }
188
189 #test {
190 }
191 }
192
193
194 Dumping matched rules:
195 *#test* { regular
196 color: green;
197 padding: 0 8px;
198 cursor: pointer;
199 padding-top: 0px;
200 padding-right: 8px;
201 padding-bottom: 0px;
202 padding-left: 8px;
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
70 Running test: testSetStylePoorContent 219 Running test: testSetStylePoorContent
71 Expected protocol error: SyntaxError Style text is not valid. 220 Expected protocol error: SyntaxError Style text is not valid.
72 Dumping matched rules: 221 Dumping matched rules:
73 *#test* { regular 222 *#test* { regular
74 box-sizing: border-box; 223 box-sizing: border-box;
75 } 224 }
76 *#test* { regular 225 *#test* { regular
77 line-height: 1; 226 line-height: 1;
78 font-family: "Arial"; 227 font-family: "Arial";
79 color: blue; 228 color: blue;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 font-size: 200%; 361 font-size: 200%;
213 } 362 }
214 @media (min-width: 1px) 363 @media (min-width: 1px)
215 *#test* { regular 364 *#test* { regular
216 } 365 }
217 Dumping inherited rules: 366 Dumping inherited rules:
218 367
219 Running test: testSetStyleOfRemovedRule 368 Running test: testSetStyleOfRemovedRule
220 ERROR: NotFoundError Source range didn't match existing style source range 369 ERROR: NotFoundError Source range didn't match existing style source range
221 370
OLDNEW
« no previous file with comments | « LayoutTests/inspector-protocol/css/css-set-style-text.html ('k') | Source/core/inspector/InspectorStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698