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

Side by Side Diff: LayoutTests/fast/css/MarqueeLayoutTest.html

Issue 394773003: Implement HTMLMarqueeElement's animation in private scripts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 </style> 71 </style>
72 72
73 <script src="../../resources/js-test.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', '"380px"');
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/block/float/marquee-shrink-to-avoid-floats.html ('k') | LayoutTests/fast/css/MarqueeLayoutTest-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698