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

Side by Side Diff: LayoutTests/fast/frames/frameset-frameborder-overrides-border.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 <iframe> 5 <iframe>
6 <!doctype html> 6 <!doctype html>
7 <frameset rows="*" cols="150,*" frameborder="0" border="10"> 7 <frameset rows="*" cols="150,*" frameborder="0" border="10">
8 <frame src="data:text/html,<body bgcolor=green>"> 8 <frame src="data:text/html,<body bgcolor=green>">
9 <frame src="data:text/html,<body bgcolor=yellow>"> 9 <frame src="data:text/html,<body bgcolor=yellow>">
10 </frameset> 10 </frameset>
11 </iframe> 11 </iframe>
12 12
13 <script> 13 <script>
14 // Can't use srcdoc since that wouldn't synchronously load the content. 14 // Can't use srcdoc since that wouldn't synchronously load the content.
15 frame = document.querySelector('iframe'); 15 frame = document.querySelector('iframe');
16 frameDoc = frame.contentDocument; 16 frameDoc = frame.contentDocument;
17 frameDoc.write(frame.textContent); 17 frameDoc.write(frame.textContent);
18 frameDoc.close(); 18 frameDoc.close();
19 19
20 description('Bug 17767: Frameset with frameborder=0 and border=N should not show a border'); 20 description('Bug 17767: Frameset with frameborder=0 and border=N should not show a border');
21 frames = frameDoc.querySelectorAll('frame'); 21 frames = frameDoc.querySelectorAll('frame');
22 shouldBe('frames[0].offsetWidth', '150'); 22 shouldBe('frames[0].offsetWidth', '150');
23 shouldBe('frames[1].offsetWidth', '150'); 23 shouldBe('frames[1].offsetWidth', '150');
24 </script> 24 </script>
25 25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698