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

Side by Side Diff: LayoutTests/fast/dom/css-inline-style-important.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 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 <style type="text/css"> 6 <style type="text/css">
7 #e { color:red; visibility: hidden;} 7 #e { color:red; visibility: hidden;}
8 </style> 8 </style>
9 </head> 9 </head>
10 <body> 10 <body>
11 <p id="e">This is the test element.</p> 11 <p id="e">This is the test element.</p>
12 <script> 12 <script>
13 13
14 description("This test checks to see whether setting a CSS value including !impo rtant on an inline style property fails (as it should)."); 14 description("This test checks to see whether setting a CSS value including !impo rtant on an inline style property fails (as it should).");
15 15
16 var e = document.getElementById('e'); 16 var e = document.getElementById('e');
17 e.style.color = "green !important"; 17 e.style.color = "green !important";
18 18
19 shouldBe('window.getComputedStyle(e).color', '"rgb(255, 0, 0)"'); 19 shouldBe('window.getComputedStyle(e).color', '"rgb(255, 0, 0)"');
20 20
21 </script> 21 </script>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/css-inline-style-declaration-crash.html ('k') | LayoutTests/fast/dom/css-mediarule-parentRule.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698