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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Make sure special case style sharing for readonly and type attributes works
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS getComputedStyle(document.querySelector("[black]")).color is "rgb(0, 0, 0)"
7 PASS getComputedStyle(document.querySelector("[readonly]")).color is "rgb(255, 0 , 0)"
8 PASS getComputedStyle(document.querySelector("[type]")).color is "rgb(0, 0, 255) "
9 PASS successfullyParsed is true
10
11 TEST COMPLETE
12 Black
13 Red
14 Blue
OLDNEW
« 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