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

Side by Side Diff: LayoutTests/fast/css/url-with-multi-byte-unicode-escape.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 <style>#test { background-image: url("data:\100")} #test { background-color: gre en !important }</style> 4 <style>#test { background-image: url("data:\100")} #test { background-color: gre en !important }</style>
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 <script> 6 <script>
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 </script> 9 </script>
10 </head> 10 </head>
11 <body> 11 <body>
12 <div id="test" style="width: 100px; height: 100px; background-color: red"></div> 12 <div id="test" style="width: 100px; height: 100px; background-color: red"></div>
13 <script> 13 <script>
14 description('Test parsing a CSS URI containing a multi-byte Unicode escape s equence.'); 14 description('Test parsing a CSS URI containing a multi-byte Unicode escape s equence.');
15 shouldBe('document.styleSheets[0].cssRules.length', '2'); 15 shouldBe('document.styleSheets[0].cssRules.length', '2');
16 shouldBeEqualToString('document.styleSheets[0].cssRules[0].style.getProperty Value("background-image")', 'url(data:%C4%80)'); 16 shouldBeEqualToString('document.styleSheets[0].cssRules[0].style.getProperty Value("background-image")', 'url(data:%C4%80)');
17 shouldBeEqualToString('document.styleSheets[0].cssRules[1].style.getProperty Value("background-color")', 'green'); 17 shouldBeEqualToString('document.styleSheets[0].cssRules[1].style.getProperty Value("background-color")', 'green');
18 shouldBeEqualToString('window.getComputedStyle(document.getElementById("test ")).getPropertyValue("background-color")', 'rgb(0, 128, 0)'); 18 shouldBeEqualToString('window.getComputedStyle(document.getElementById("test ")).getPropertyValue("background-color")', 'rgb(0, 128, 0)');
19 </script> 19 </script>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/unicode-bidi-computed-value.html ('k') | LayoutTests/fast/css/variables/cssom-computed-style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698