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

Side by Side Diff: LayoutTests/fast/css/auto-min-size.html

Issue 48903019: Delete js-test-post.js. (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='../js/resources/js-test-pre.js'></script>
3 <div id=foo></div> 3 <div id=foo></div>
4 <script> 4 <script>
5 div = document.getElementById('foo'); 5 div = document.getElementById('foo');
6 shouldBe('div.style.minWidth', '""'); 6 shouldBe('div.style.minWidth', '""');
7 shouldBe('getComputedStyle(div)["min-width"]', '"0px"'); 7 shouldBe('getComputedStyle(div)["min-width"]', '"0px"');
8 8
9 div.style.minWidth = 'auto'; 9 div.style.minWidth = 'auto';
10 div.style.maxWidth = 'auto'; 10 div.style.maxWidth = 'auto';
(...skipping 12 matching lines...) Expand all
23 div.style.maxHeight = 'auto'; 23 div.style.maxHeight = 'auto';
24 shouldBe('div.style.minHeight', '""'); 24 shouldBe('div.style.minHeight', '""');
25 shouldBe('div.style.maxHeight', '""'); 25 shouldBe('div.style.maxHeight', '""');
26 shouldBe('getComputedStyle(div).minHeight', '"0px"'); 26 shouldBe('getComputedStyle(div).minHeight', '"0px"');
27 27
28 div.style.minHeight = 0; 28 div.style.minHeight = 0;
29 shouldBe('div.style.minHeight', '"0px"'); 29 shouldBe('div.style.minHeight', '"0px"');
30 shouldBe('getComputedStyle(div)["min-height"]', '"0px"'); 30 shouldBe('getComputedStyle(div)["min-height"]', '"0px"');
31 31
32 </script> 32 </script>
33 <script src='../js/resources/js-test-post.js'></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698