Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-format-style.html
blob6a8abb53d5a7fc73702a6958dc302b946d134e6d
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script>
6 function onload()
8 console.log("%cBlue!.", "color: blue;");
9 console.log("%cBlue! %cRed!", "color: blue;", "color: red;");
10 console.log("%cwww.google.com", "color: blue");
11 runTest();
14 function test()
16 InspectorTest.expandConsoleMessages(onExpanded);
18 function onExpanded()
20 InspectorTest.dumpConsoleMessagesWithStyles();
21 InspectorTest.completeTest();
24 </script>
25 </head>
27 <body onload="onload()">
28 <p>Tests that console logging dumps properly styled messages.</p>
29 </body>
30 </html>