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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-format-linkify.html

Issue 2568983003: Add ability to linkify substituted string
Patch Set: Comments addressed Created 3 years, 11 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/console/console-format-linkify.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-format-style.html b/third_party/WebKit/LayoutTests/inspector/console/console-format-linkify.html
similarity index 53%
copy from third_party/WebKit/LayoutTests/inspector/console/console-format-style.html
copy to third_party/WebKit/LayoutTests/inspector/console/console-format-linkify.html
index 6a8abb53d5a7fc73702a6958dc302b946d134e6d..4fbb0e3db698049f6c87c11fbfb0c03997f6ad32 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-format-style.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-format-linkify.html
@@ -5,9 +5,12 @@
<script>
function onload()
{
- console.log("%cBlue!.", "color: blue;");
- console.log("%cBlue! %cRed!", "color: blue;", "color: red;");
+ console.log("%chttp://%cwww.google.com%c:%d%c/%c:123%c:456", "color:lightgray", "color:blue", "color:orange", 80, "color:lightgray", "color:green", "color:red", 12);
+ console.log("%cwww.%s", "color:lightgray", "google.com", 12);
console.log("%cwww.google.com", "color: blue");
+ console.log("%cwww.%s 12", "color:lightgray", "google.com");
+ console.log('www.%s.c%co%sww.chromium.com','google','color:red','m w');
+
runTest();
}
@@ -25,6 +28,6 @@ function test()
</head>
<body onload="onload()">
- <p>Tests that console logging dumps properly styled messages.</p>
+ <p>Tests that console logging dumps properly linkified messages.</p>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698