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

Side by Side Diff: LayoutTests/inspector-protocol/css/css-edit-range-expected.txt

Issue 172593003: DevTools: [CSS] Add CSS.editRangeInStyleSheetText() to the protocol (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix glitch Created 6 years, 9 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 ==== Initial style sheet text ====
2 * {
3 box-sizing: border-box;
4 }
5
6 html, body, div, a {
7 /* resetting some properties */
8 padding: 0;
9 margin: 0;
10 border: 0;
11 display: flex; /* flex FTW! */
12 }
13
14 p:first-letter {
15 font-size: 200%;
16 }
17
18 .empty-rule {
19 }
20
21
22 Running test: testEditSelector
23 === updated RULE ===
24 .EDITED-SELECTOR {
25 box-sizing: border-box
26 }
27
28 Running test: testEditSubSelector
29 === updated RULE ===
30 html, .EDITED-SELECTOR, div, a {
31 padding: 0
32 margin: 0
33 border: 0
34 display: flex
35 }
36
37 Running test: testBreakingCommentEditSelector
38 Expected protocol error: NotFoundError Editing in stylesheet scope should insert a single rule.
39
40 Running test: testInsertInSelectorStart
41 === updated RULE ===
42 head, html, body, div, a {
43 padding: 0
44 margin: 0
45 border: 0
46 display: flex
47 }
48
49 Running test: testValidEditPseudoClass
50 === updated RULE ===
51 p:first-line {
52 font-size: 200%
53 }
54
55 Running test: testInvalidPseudoClass
56 Expected protocol error: NotFoundError Editing in stylesheet scope should insert a single rule.
57
58 Running test: testEditProperty
59 === updated STYLE ===
60 padding: 0
61 content: 'EDITED PROPERTY'
62 border: 0
63 display: flex
64
65 Running test: testBreakingCommentEditProperty
66 Expected protocol error: NotFoundError Rule property edit should not damage more then one property.
67
68 Running test: testInsertFirstProperty
69 === updated STYLE ===
70 content: 'INSERTED PROPERTY'
71 padding: 0
72 margin: 0
73 border: 0
74 display: flex
75
76 Running test: testInsertLastProperty
77 === updated STYLE ===
78 padding: 0
79 margin: 0
80 border: 0
81 display: flex
82 content: 'INSERTED PROPERTY'
83
84 Running test: testInsertMultipleProperties
85 === updated STYLE ===
86 padding: 0
87 margin: 0
88 content: 'INSERTED #1'
89 content: 'INSERTED #2'
90 border: 0
91 display: flex
92
93 Running test: testInsertPropertyInEmptyRule
94 === updated STYLE ===
95 content: 'INSERTED PROPERTY'
96
97 Running test: testInsertPropertyOutsideRule
98 Expected protocol error: NotFoundError Editing in stylesheet scope should insert a single rule.
99
100 Running test: testInsertBreakingPropertyInLastEmptyRule
101 Expected protocol error: SyntaxError The property 'content: 'INSERTED PROPERTY'/ *
102 };' could not be set.
103
104 Running test: testDisableProperty
105 === updated STYLE ===
106 padding: 0
107 /* margin: 0 */
108 border: 0
109 display: flex
110
111 Running test: testInsertEmptyFirstRule
112 === updated RULE ===
113 div {
114 }
115 ==== Style sheet text ====
116 div {}
117 * {
118 box-sizing: border-box;
119 }
120
121 html, body, div, a {
122 /* resetting some properties */
123 padding: 0;
124 margin: 0;
125 border: 0;
126 display: flex; /* flex FTW! */
127 }
128
129 p:first-letter {
130 font-size: 200%;
131 }
132
133 .empty-rule {
134 }
135
136
137 Running test: testInsertEmptyLastRule
138 === updated RULE ===
139 div {
140 }
141 ==== Style sheet text ====
142 * {
143 box-sizing: border-box;
144 }
145
146 html, body, div, a {
147 /* resetting some properties */
148 padding: 0;
149 margin: 0;
150 border: 0;
151 display: flex; /* flex FTW! */
152 }
153
154 p:first-letter {
155 font-size: 200%;
156 }
157
158 .empty-rule {
159 }div { }
160
161
162 Running test: testRedo
163 === updated RULE ===
164 div {
165 content: 'INSERTED RULE'
166 }
167 ==== Style sheet text ====
168 * {
169 box-sizing: border-box;
170 }
171
172 html, body, div, a {
173 /* resetting some properties */
174 padding: 0;
175 margin: 0;
176 border: 0;
177 display: flex; /* flex FTW! */
178 }
179 div { content: 'INSERTED RULE'; }
180 p:first-letter {
181 font-size: 200%;
182 }
183
184 .empty-rule {
185 }
186
187
188 Running test: testInvalidParameters
189 Expected protocol error: range.startLine must be a non-negative integer
190
191 Running test: testNegativeRangeParameters
192 Expected protocol error: range.startLine must be a non-negative integer
193
194 Running test: testStartLineOutOfBounds
195 Expected protocol error: Specified range is out of bounds
196
197 Running test: testEndLineOutOfBounds
198 Expected protocol error: Specified range is out of bounds
199
200 Running test: testStartColumnBeyondLastLineCharacter
201 Expected protocol error: Specified range is out of bounds
202
203 Running test: testEndColumnBeyondLastLineCharacter
204 Expected protocol error: Specified range is out of bounds
205
206 Running test: testInsertBeyondLastCharacterOfLastLine
207 Expected protocol error: Specified range is out of bounds
208
209 Running test: testReversedRange
210 Expected protocol error: Range start must not succeed its end
211
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698