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

Unified Diff: LayoutTests/inspector/styles/dynamic-style-tag.html

Issue 15832007: DevTools: Add support for //# sourceURL (sourceMappingURL) comments and deprecate //@ ones (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 7 years, 6 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: LayoutTests/inspector/styles/dynamic-style-tag.html
diff --git a/LayoutTests/inspector/styles/dynamic-style-tag.html b/LayoutTests/inspector/styles/dynamic-style-tag.html
index b7488b270b1ceea0faf0a27a007faf12cbd9d233..b961874bc7fcd1c9138846a78b24134a10779e72 100644
--- a/LayoutTests/inspector/styles/dynamic-style-tag.html
+++ b/LayoutTests/inspector/styles/dynamic-style-tag.html
@@ -11,13 +11,13 @@
.inline-style-added-by-parser-with-source-url {
color: green;
}
-/*@ sourceURL=inlineStyleAddedByParser.css*/
+/*# sourceURL=inlineStyleAddedByParser.css*/
</style>
<script>
document.write("<style>\n.inline-style-added-by-parser-in-document-write {\n color: blue;\n}\n</style>");
-document.write("<style>\n.inline-style-added-by-document-write-with-source-url {\n color: yellow;\n}\n/*@ sourceURL=inlineStyleAddedByDocumentWrite.css*/\n</style>");
+document.write("<style>\n.inline-style-added-by-document-write-with-source-url {\n color: yellow;\n}\n/*# sourceURL=inlineStyleAddedByDocumentWrite.css*/\n</style>");
addStyleElement(".inline-style-created-by-script {\n color: orange;\n}");
-addStyleElement(".inline-style-created-by-script-with-source-url {\n color: grey;\n}\n/*@ sourceURL=inlineStyleCreatedByScript.css*/");
+addStyleElement(".inline-style-created-by-script-with-source-url {\n color: grey;\n}\n/*# sourceURL=inlineStyleCreatedByScript.css*/");
function addStyleElement(styleContent)
{

Powered by Google App Engine
This is Rietveld 408576698