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..e72a50657e59b404d7825ad8bac616c9126eb00a |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/loader/link-load-only-supported-stylesheet-types.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE html> |
+<html> |
+<body> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+</script> |
+ <link rel="stylesheet" type="text/css" href="resources/blue.css"> |
+ <link rel="stylesheet" type="application/javascript" href="resources/red.css"> |
+ <link rel="stylesheet" href="resources/yellow.css"> |
+ <div style="color: green" id="blue">This text should be blue</div> |
+ <div style="color: green" id="red">This text should be red and trigger a deprecation warning</div> |
+ <div style="color: green" id="yellow">This text should be yellow</div> |
+</body> |
+</html> |