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

Side by Side Diff: LayoutTests/fast/dom/script-styled-size.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 <script src="../js/resources/js-test-pre.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 3
4 <style> 4 <style>
5 script { display: block; } 5 script { display: block; }
6 </style> 6 </style>
7 7
8 <script> 8 <script>
9 description("Test that script can access its own renderer when executing"); 9 description("Test that script can access its own renderer when executing");
10 10
11 document.documentElement.offsetTop; 11 document.documentElement.offsetTop;
12 script = document.createElement('script'); 12 script = document.createElement('script');
13 script.textContent = 'shouldBeTrue("script.offsetWidth > 0")'; 13 script.textContent = 'shouldBeTrue("script.offsetWidth > 0")';
14 document.documentElement.appendChild(script); 14 document.documentElement.appendChild(script);
15 shouldBeTrue('script.offsetWidth > 0'); 15 shouldBeTrue('script.offsetWidth > 0');
16 </script> 16 </script>
17 17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698