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

Unified Diff: LayoutTests/fast/css/style-preferred-stylesheet-01.html

Issue 17496004: Do not consider title from non-css stylesheet for preferred set. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/style-preferred-stylesheet-01-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/css/style-preferred-stylesheet-01-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698