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

Unified Diff: LayoutTests/fast/css/style-preferred-stylesheet-02.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
Index: LayoutTests/fast/css/style-preferred-stylesheet-02.html
diff --git a/LayoutTests/fast/css/style-preferred-stylesheet-02.html b/LayoutTests/fast/css/style-preferred-stylesheet-02.html
new file mode 100644
index 0000000000000000000000000000000000000000..1622a8b0a6ebaf0ad07296bc2314140e6719218b
--- /dev/null
+++ b/LayoutTests/fast/css/style-preferred-stylesheet-02.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<!-- title of a style element define the preferred stylesheet set -->
+<style type="text/css" title="preferred"></style>
+<link rel="alternate stylesheet" type="text/css" title="preferred" href="data:text/css,p{color:green}">
+<p>This text should be green.</p>

Powered by Google App Engine
This is Rietveld 408576698