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>> |
+ |