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

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

Issue 211193006: DevTools: [CSS] use setStyleText as undo action for setPropertyText (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: do not crash renderer in case of invalid styleId 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: testEditProperty
23 ==== Style sheet text ====
24 * {
25 box-sizing: border-box;
26 }
27
28 html, body, div, a {
29 /* resetting some properties */
30 padding: 0;
31 content: 'EDITED PROPERTY';
32 border: 0;
33 display: flex; /* flex FTW! */
34 }
35
36 p:first-letter {
37 font-size: 200%;
38 }
39
40 .empty-rule {
41 }
42
43
44 Running test: testBreakingCommentEditProperty
45 Expected protocol error: SyntaxError The property '/*<--OPENED COMMENT' could no t be set.
46
47 Running test: testInsertFirstProperty
48 ==== Style sheet text ====
49 * {
50 box-sizing: border-box;
51 }
52
53 html, body, div, a {
54 /* resetting some properties */
55 content: 'INSERTED PROPERTY';
56 padding: 0;
57 margin: 0;
58 border: 0;
59 display: flex; /* flex FTW! */
60 }
61
62 p:first-letter {
63 font-size: 200%;
64 }
65
66 .empty-rule {
67 }
68
69
70 Running test: testInsertLastProperty
71 ==== Style sheet text ====
72 * {
73 box-sizing: border-box;
74 }
75
76 html, body, div, a {
77 /* resetting some properties */
78 padding: 0;
79 margin: 0;
80 border: 0;
81 display: flex; /* flex FTW! */
82 content: 'INSERTED PROPERTY';
83 }
84
85 p:first-letter {
86 font-size: 200%;
87 }
88
89 .empty-rule {
90 }
91
92
93 Running test: testInsertMultipleProperties
94 ==== Style sheet text ====
95 * {
96 box-sizing: border-box;
97 }
98
99 html, body, div, a {
100 /* resetting some properties */
101 padding: 0;
102 margin: 0;
103 content: 'INSERTED #1';content: 'INSERTED #2';
104 border: 0;
105 display: flex; /* flex FTW! */
106 }
107
108 p:first-letter {
109 font-size: 200%;
110 }
111
112 .empty-rule {
113 }
114
115
116 Running test: testInsertPropertyInEmptyRule
117 ==== Style sheet text ====
118 * {
119 box-sizing: border-box;
120 }
121
122 html, body, div, a {
123 /* resetting some properties */
124 padding: 0;
125 margin: 0;
126 border: 0;
127 display: flex; /* flex FTW! */
128 }
129
130 p:first-letter {
131 font-size: 200%;
132 }
133
134 .empty-rule {
135 content: 'INSERTED PROPERTY';
136 }
137
138
139 Running test: testInsertBreakingPropertyInLastEmptyRule
140 Expected protocol error: SyntaxError The property 'content: 'INSERTED PROPERTY'/ *' could not be set.
141
142 Running test: testDisableProperty
143 ==== Style sheet text ====
144 * {
145 box-sizing: border-box;
146 }
147
148 html, body, div, a {
149 /* resetting some properties */
150 padding: 0;
151 /* margin: 0; */
152 border: 0;
153 display: flex; /* flex FTW! */
154 }
155
156 p:first-letter {
157 font-size: 200%;
158 }
159
160 .empty-rule {
161 }
162
163
164 Running test: testRedo
165 ==== Style sheet text ====
166 * {
167 box-sizing: border-box;
168 }
169
170 html, body, div, a {
171 /* resetting some properties */
172 padding: 0;
173 margin: 0;
174 border: 0;
175 display: flex; /* flex FTW! */
176 align-items: center;
177 }
178
179 p:first-letter {
180 font-size: 200%;
181 }
182
183 .empty-rule {
184 }
185
186 ==== Style sheet text ====
187 * {
188 box-sizing: border-box;
189 }
190
191 html, body, div, a {
192 /* resetting some properties */
193 padding: 0;
194 margin: 0;
195 border: 0;
196 display: flex; /* flex FTW! */
197 align-items: center;
198 }
199
200 p:first-letter {
201 font-size: 200%;
202 }
203
204 .empty-rule {
205 }
206
207
208 Running test: testInvalidParameters
209 Expected protocol error: Failed to parse styleId argument
210
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698