Index: LayoutTests/fast/css/style-preferred-stylesheet-01.html |
diff --git a/LayoutTests/fast/css/style-preferred-stylesheet-01.html b/LayoutTests/fast/css/style-preferred-stylesheet-01.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b9e35ead849ac279023b1dde4e0195462b6f26d0 |
--- /dev/null |
+++ b/LayoutTests/fast/css/style-preferred-stylesheet-01.html |
@@ -0,0 +1,5 @@ |
+<!DOCTYPE html> |
+<!-- title of a style element with invalid type should never be the preferred stylesheet set --> |
+<style type="text/invalid" title="preferred"></style> |
+<link rel="alternate stylesheet" type="text/css" title="preferred" href="data:text/css,p{color:red}"> |
+<p>This text should not be red.</p> |