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

Unified Diff: LayoutTests/fast/css/style-sharing-type-and-readonly-expected.txt

Issue 27033011: Fix readonly and type attribute selector incorrect style sharing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix for svg Created 7 years, 2 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-sharing-type-and-readonly-expected.txt
diff --git a/LayoutTests/fast/css/style-sharing-type-and-readonly-expected.txt b/LayoutTests/fast/css/style-sharing-type-and-readonly-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b04370a7cd42bf58c99a71f3bfd7ed06e99b2c55
--- /dev/null
+++ b/LayoutTests/fast/css/style-sharing-type-and-readonly-expected.txt
@@ -0,0 +1,14 @@
+Make sure special case style sharing for readonly and type attributes works
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS getComputedStyle(document.querySelector("[black]")).color is "rgb(0, 0, 0)"
+PASS getComputedStyle(document.querySelector("[readonly]")).color is "rgb(255, 0, 0)"
+PASS getComputedStyle(document.querySelector("[type]")).color is "rgb(0, 0, 255)"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+Black
+Red
+Blue
« no previous file with comments | « LayoutTests/fast/css/style-sharing-type-and-readonly.html ('k') | Source/core/css/resolver/SharedStyleFinder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698