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: third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-multiple-style-texts-expected.txt

Issue 1694433003: DevTools: [CSS] Add CSS.setMultipleStyleTexts command to CSS domain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: %zu is not cross-platform - do not use. Created 4 years, 10 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
OLDNEW
(Empty)
1 The test verifies functionality of protocol method CSS.setStyleTexts.
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: testMalformedArguments1
28 Expected protocol error: Could not parse styleSheetId for edit #2 of 2
29
30 Running test: testMalformedArguments2
31 Expected protocol error: Could not parse range object for edit #1 of 3
32
33 Running test: testMalformedArguments3
34 Expected protocol error: range.startLine must be a non-negative integer
35
36 Running test: testFirstEditDoesNotApply
37 Expected protocol error: Failed applying edit #0: SyntaxError Style text is not valid.
38
39 Running test: testSecondEditDoesNotApply
40 Expected protocol error: Failed applying edit #1: SyntaxError Style text is not valid.
41
42 Running test: testBasicSetStyle
43 ==== Style sheet text ====
44 #test {
45 content: 'EDITED';
46 }
47
48 #test {
49 /* resetting some properties */
50 line-height: 1;
51 font-family: "Arial";
52 color: blue;
53 display: flex; /* flex FTW! */
54 }
55
56 @media (min-width: 1px) {
57 #test {
58 font-size: 200%;
59 }
60
61 #test {
62 }
63 }
64
65
66
67 Running test: testMultipleStyleTexts1
68 ==== Style sheet text ====
69 #test {
70 content: 'EDITED2';
71 }
72
73 #test {
74 /* resetting some properties */
75 line-height: 1;
76 font-family: "Arial";
77 color: blue;
78 display: flex; /* flex FTW! */
79 }
80
81 @media (min-width: 1px) {
82 #test {
83 content: 'EDITED1';
84 }
85
86 #test {
87 }
88 }
89
90
91
92 Running test: testMultipleStyleTexts2
93 ==== Style sheet text ====
94 #test {
95 content: 'EDITED3';
96 }
97
98 #test {
99 /* resetting some properties */
100 line-height: 1;
101 font-family: "Arial";
102 color: blue;
103 display: flex; /* flex FTW! */
104 }
105
106 @media (min-width: 1px) {
107 #test {
108 content: 'EDITED4';
109 }
110
111 #test {
112 content: 'EDITED5';
113 }
114 }
115
116
117
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698