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

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: 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
69 Running test: testSetStylePoorContent
70 Expected protocol error: SyntaxError Style text is not valid.
71 Dumping matched rules:
72 *#test* { regular
73 box-sizing: border-box;
74 }
75 *#test* { regular
76 line-height: 1;
77 font-family: "Arial";
78 color: blue;
79 display: flex;
80 }
81 @media (min-width: 1px)
82 *#test* { regular
83 font-size: 200%;
84 }
85 @media (min-width: 1px)
86 *#test* { regular
87 }
88
89 Running test: testSetStyleInMedia
90 ==== Style sheet text ====
91 #test {
92 box-sizing: border-box;
93 }
94
95 #test {
96 /* resetting some properties */
97 line-height: 1;
98 font-family: "Arial";
99 color: blue;
100 display: flex; /* flex FTW! */
101 }
102
103 @media (min-width: 1px) {
104 #test {
105 content: 'EDITED';
106 color: red;
107 /** foo */
108 }
109
110 #test {
111 }
112 }
113
114
115 Dumping matched rules:
116 *#test* { regular
117 box-sizing: border-box;
118 }
119 *#test* { regular
120 line-height: 1;
121 font-family: "Arial";
122 color: blue;
123 display: flex;
124 }
125 @media (min-width: 1px)
126 *#test* { regular
127 content: 'EDITED';
128 color: red;
129 }
130 @media (min-width: 1px)
131 *#test* { regular
132 }
133
134 Running test: testSetStylePoorRange
135 Expected protocol error: Specified range is out of bounds
136 Dumping matched rules:
137 *#test* { regular
138 box-sizing: border-box;
139 }
140 *#test* { regular
141 line-height: 1;
142 font-family: "Arial";
143 color: blue;
144 display: flex;
145 }
146 @media (min-width: 1px)
147 *#test* { regular
148 font-size: 200%;
149 }
150 @media (min-width: 1px)
151 *#test* { regular
152 }
153
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698