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

Side by Side Diff: LayoutTests/inspector/elements/styles/undo-add-new-rule-expected.txt

Issue 441873010: DevTools: [SSP] Implement adding new rule in user stylesheet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix compilation error Created 6 years, 4 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 Tests that adding a new rule can be undone. 1 Tests that adding a new rule can be undone.
2 2
3 Text 3 Text
4 After adding new rule: 4 After adding new rule:
5 [expanded] 5 [expanded]
6 element.style { () 6 element.style { ()
7 font-size: 12px; 7 font-size: 12px;
8 8
9 [expanded] 9 [expanded]
10 div.foo { (inspector-stylesheet:2 -> inspector-stylesheet:2:1) 10 div.foo { (inspector-stylesheet:3 -> inspector-stylesheet:3:1)
11 11
12 [expanded] 12 [expanded]
13 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1) 13 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1)
14 14
15 [expanded] 15 [expanded]
16 div { (user agent stylesheet) 16 div { (user agent stylesheet)
17 display: block; 17 display: block;
18 18
19 19
20 ===== Style sheet text: ===== 20 ===== Style sheet text: =====
21 div.foo {} 21 div.foo {}
22
22 div.foo {} 23 div.foo {}
23 ============================= 24 =============================
24 After undo: 25 After undo:
25 [expanded] 26 [expanded]
26 element.style { () 27 element.style { ()
27 color: red; 28 color: red;
28 29
29 [expanded] 30 [expanded]
30 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1) 31 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1)
31 32
32 [expanded] 33 [expanded]
33 div { (user agent stylesheet) 34 div { (user agent stylesheet)
34 display: block; 35 display: block;
35 36
36 37
37 ===== Style sheet text: ===== 38 ===== Style sheet text: =====
38 div.foo {} 39 div.foo {}
39
40 ============================= 40 =============================
41 After redo: 41 After redo:
42 [expanded] 42 [expanded]
43 element.style { () 43 element.style { ()
44 font-size: 12px; 44 font-size: 12px;
45 45
46 [expanded] 46 [expanded]
47 div.foo { (inspector-stylesheet:3 -> inspector-stylesheet:3:1) 47 div.foo { (inspector-stylesheet:3 -> inspector-stylesheet:3:1)
48 48
49 [expanded] 49 [expanded]
50 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1) 50 div.foo { (inspector-stylesheet:1 -> inspector-stylesheet:1:1)
51 51
52 [expanded] 52 [expanded]
53 div { (user agent stylesheet) 53 div { (user agent stylesheet)
54 display: block; 54 display: block;
55 55
56 56
57 ===== Style sheet text: ===== 57 ===== Style sheet text: =====
58 div.foo {} 58 div.foo {}
59 59
60 div.foo {} 60 div.foo {}
61 ============================= 61 =============================
62 62
OLDNEW
« no previous file with comments | « LayoutTests/inspector/elements/styles/styles-new-API.html ('k') | Source/core/inspector/InspectorCSSAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698