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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/pretty-print-html-3-expected.txt

Issue 1894343002: DevTools: pretty-print HTML (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 Verifies JavaScript pretty-printing functionality.
2
3
4 Running: testInlineJavascript
5 ====== 8< ------
6 <html>
7 <script>
8 for (var i = 0; i < 10; ++i)
9 console.log('test ' + i);
10 </script>
11 </html>
12
13 ------ >8 ======
14 Correct mapping for <console>
15 Correct mapping for <test>
16 Correct mapping for <</html>
17
18 Running: testInlineCSS
19 ====== 8< ------
20 <html>
21 <style>
22 div {
23 color: red;
24 border: 1px solid black;
25 }
26 </style>
27 </html>
28
29 ------ >8 ======
30 Correct mapping for <<html>>
31 Correct mapping for <red>
32 Correct mapping for <black>
33
34 Running: testMultilineInput
35 ====== 8< ------
36 <html>
37 <head>
38 <meta name="ROBOTS" content="NOODP">
39 <meta name='viewport' content='text/html'>
40 <title>foobar</title>
41 <body>
42 <script>
43 if (1 < 2) {
44 if (2 < 3) {
45 if (3 < 4) {
46 if (4 < 5) {
47 console.log("magic")
48 }
49 }
50 }
51 }
52 </script>
53 <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA...">
54 <style>
55 div {
56 display: flex;
57 align-items: center;
58 justify-content: center;
59 }
60
61 body {
62 width: 100%
63 }
64
65 * {
66 border: 1px solid black
67 }
68 </style>
69 </body>
70 </html>
71
72 ------ >8 ======
73 Correct mapping for <ROBOTS>
74 Correct mapping for <image>
75 Correct mapping for <...>
76 Correct mapping for <</body>>
77 Correct mapping for <</html>>
78 Correct mapping for <</style>>
79
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698