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

Unified Diff: LayoutTests/inspector/styles/stylesheet-source-url-comment.html

Issue 15832007: DevTools: Add support for //# sourceURL (sourceMappingURL) comments and deprecate //@ ones (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/stylesheet-source-url-comment.html
diff --git a/LayoutTests/inspector/styles/stylesheet-source-url-comment.html b/LayoutTests/inspector/styles/stylesheet-source-url-comment.html
index 902242572e1176ba34c2a3e938590f936d1d47a5..e114bc7927faba22cc97277a5a725e0d340b664e 100644
--- a/LayoutTests/inspector/styles/stylesheet-source-url-comment.html
+++ b/LayoutTests/inspector/styles/stylesheet-source-url-comment.html
@@ -7,20 +7,20 @@ body {
color: green;
}
-/*@ sourceURL=inlineStyleSheet.css */
+/*# sourceURL=inlineStyleSheet.css */
</style>
<script>
function addInlineStyleSheet()
{
var styleElement = document.createElement("style");
- styleElement.textContent = "body { color: black; }\n/*@ sourceURL=css/addedInlineStylesheet.css */";
+ styleElement.textContent = "body { color: black; }\n/*# sourceURL=css/addedInlineStylesheet.css */";
document.head.appendChild(styleElement);
}
function addInlineStyleSheetNonRelative()
{
var styleElement = document.createElement("style");
- styleElement.textContent = "body { color: red; }\n/*@ sourceURL=/css/nonRelativeInlineStylesheet.css */";
+ styleElement.textContent = "body { color: red; }\n/*# sourceURL=/css/nonRelativeInlineStylesheet.css */";
document.head.appendChild(styleElement);
}

Powered by Google App Engine
This is Rietveld 408576698