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

Unified Diff: third_party/WebKit/LayoutTests/loader/link-load-only-supported-stylesheet-types.html

Issue 1501393003: Deprecate fetching stylesheets with unsupported type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/loader/link-load-only-supported-stylesheet-types.html
diff --git a/third_party/WebKit/LayoutTests/loader/link-load-only-supported-stylesheet-types.html b/third_party/WebKit/LayoutTests/loader/link-load-only-supported-stylesheet-types.html
new file mode 100644
index 0000000000000000000000000000000000000000..b0b2fe543ed065e67dae6d102b654c4e68a15f7f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/loader/link-load-only-supported-stylesheet-types.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+<body style="color: green">
+ <link rel="stylesheet" type="application/javascript" href="data:text/css,body { color: red !important; }">
Rick Byers 2015/12/21 19:58:41 nit: for completeness can you also add test cases
suzyh_UTC10 (ex-contributor) 2016/01/18 07:28:27 Done.
+ This text should be green
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698