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

Side by Side Diff: LayoutTests/fast/css/style-sharing-type-and-readonly.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 4
5 <style> 5 <style>
6 div[readonly="red"] { 6 div[readonly="red"] {
7 color: red; 7 color: red;
8 } 8 }
9 div[type="blue"] { 9 div[type="blue"] {
10 color: blue; 10 color: blue;
11 } 11 }
12 </style> 12 </style>
13 13
14 <div black>Black</div> 14 <div black>Black</div>
15 <div readonly="red">Red</div> 15 <div readonly="red">Red</div>
16 <div type="blue">Blue</div> 16 <div type="blue">Blue</div>
17 17
18 <script> 18 <script>
19 description("Make sure special case style sharing for readonly and type attribut es works"); 19 description("Make sure special case style sharing for readonly and type attribut es works");
20 20
21 shouldBe('getComputedStyle(document.querySelector("[black]")).color','"rgb(0, 0, 0)"'); 21 shouldBe('getComputedStyle(document.querySelector("[black]")).color','"rgb(0, 0, 0)"');
22 shouldBe('getComputedStyle(document.querySelector("[readonly]")).color','"rgb(25 5, 0, 0)"'); 22 shouldBe('getComputedStyle(document.querySelector("[readonly]")).color','"rgb(25 5, 0, 0)"');
23 shouldBe('getComputedStyle(document.querySelector("[type]")).color','"rgb(0, 0, 255)"'); 23 shouldBe('getComputedStyle(document.querySelector("[type]")).color','"rgb(0, 0, 255)"');
24 </script> 24 </script>
25 25
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/style-sharing-inline-stylesheet.html ('k') | LayoutTests/fast/css/table-border-spacing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698