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

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

Issue 2568983003: Add ability to linkify substituted string
Patch Set: Created 4 years 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 70%
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..7bff30b4673f73ae3cadad96b5ec1468f81e22a0 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,8 @@
<script>
function onload()
{
- console.log("%cBlue!.", "color: blue;");
- console.log("%cBlue! %cRed!", "color: blue;", "color: red;");
- console.log("%cwww.google.com", "color: blue");
+ 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)
luoe 2016/12/13 00:08:27 This case passes, but a similar case does not: con
karabur 2016/12/14 17:32:50 Yes, this is same case as @pfeldman noted, current
runTest();
}

Powered by Google App Engine
This is Rietveld 408576698