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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/sources/pretty-print-html-3-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-html-3-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-html-3-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a821a5999f616f5925e2e0bd29ef8d37debf1cf4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-html-3-expected.txt
@@ -0,0 +1,79 @@
+Verifies JavaScript pretty-printing functionality.
+
+
+Running: testInlineJavascript
+====== 8< ------
+<html>
+ <script>
+ for (var i = 0; i < 10; ++i)
+ console.log('test ' + i);
+ </script>
+</html>
+
+------ >8 ======
+Correct mapping for <console>
+Correct mapping for <test>
+Correct mapping for <</html>
+
+Running: testInlineCSS
+====== 8< ------
+<html>
+ <style>
+ div {
+ color: red;
+ border: 1px solid black;
+ }
+ </style>
+</html>
+
+------ >8 ======
+Correct mapping for <<html>>
+Correct mapping for <red>
+Correct mapping for <black>
+
+Running: testMultilineInput
+====== 8< ------
+<html>
+ <head>
+ <meta name="ROBOTS" content="NOODP">
+ <meta name='viewport' content='text/html'>
+ <title>foobar</title>
+ <body>
+ <script>
+ if (1 < 2) {
+ if (2 < 3) {
+ if (3 < 4) {
+ if (4 < 5) {
+ console.log("magic")
+ }
+ }
+ }
+ }
+ </script>
+ <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA...">
+ <style>
+ div {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
+ body {
+ width: 100%
+ }
+
+ * {
+ border: 1px solid black
+ }
+ </style>
+ </body>
+</html>
+
+------ >8 ======
+Correct mapping for <ROBOTS>
+Correct mapping for <image>
+Correct mapping for <...>
+Correct mapping for <</body>>
+Correct mapping for <</html>>
+Correct mapping for <</style>>
+

Powered by Google App Engine
This is Rietveld 408576698