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

Side by Side Diff: LayoutTests/fast/css/MarqueeLayoutTest.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 <p>Test passes if all silver blocks are the same size as the green blocks next t o them. 2 <p>Test passes if all silver blocks are the same size as the green blocks next t o them.
3 <div id='horiz'> 3 <div id='horiz'>
4 <div class='pre'></div> 4 <div class='pre'></div>
5 <marquee>foo</marquee> 5 <marquee>foo</marquee>
6 <div class='post'></div> 6 <div class='post'></div>
7 </div> 7 </div>
8 <hr> 8 <hr>
9 <div id='vertAuto'> 9 <div id='vertAuto'>
10 <div class='pre'></div> 10 <div class='pre'></div>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 height: 100px; 63 height: 100px;
64 } 64 }
65 #vertFixed .post { 65 #vertFixed .post {
66 height: 200px; 66 height: 200px;
67 } 67 }
68 #vertFixed marquee { 68 #vertFixed marquee {
69 height: 100px; 69 height: 100px;
70 } 70 }
71 </style> 71 </style>
72 72
73 <script src="../js/resources/js-test-pre.js"></script> 73 <script src="../../resources/js-test.js"></script>
74 <script> 74 <script>
75 description("The height of a horizontal marquee is computed as normal for inline -blocks. The 'auto' height of a vertical marquee defaults to 200px."); 75 description("The height of a horizontal marquee is computed as normal for inline -blocks. The 'auto' height of a vertical marquee defaults to 200px.");
76 var horiz = document.querySelector('#horiz marquee'); 76 var horiz = document.querySelector('#horiz marquee');
77 var vertAuto = document.querySelector('#vertAuto marquee'); 77 var vertAuto = document.querySelector('#vertAuto marquee');
78 var vertFixed = document.querySelector('#vertFixed marquee'); 78 var vertFixed = document.querySelector('#vertFixed marquee');
79 shouldBe('getComputedStyle(horiz).height', '"10px"'); 79 shouldBe('getComputedStyle(horiz).height', '"10px"');
80 shouldBe('getComputedStyle(vertAuto).height', '"200px"'); 80 shouldBe('getComputedStyle(vertAuto).height', '"200px"');
81 shouldBe('getComputedStyle(vertFixed).height', '"100px"'); 81 shouldBe('getComputedStyle(vertFixed).height', '"100px"');
82 if (window.testRunner) { 82 if (window.testRunner) {
83 testRunner.dumpAsText(); 83 testRunner.dumpAsText();
84 } 84 }
85 </script> 85 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/CSSPrimitiveValue-exceptions.html ('k') | LayoutTests/fast/css/annotated-regions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698