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

Side by Side Diff: LayoutTests/fast/block/margin-collapse/webkit-margin-collapse-separate-position.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../../fast/js/resources/js-test-pre.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 <style> 4 <style>
5 .container { 5 .container {
6 border: thin solid blue; 6 border: thin solid blue;
7 } 7 }
8 8
9 .child_with_margins { 9 .child_with_margins {
10 margin-top: 10px; 10 margin-top: 10px;
11 margin-bottom: 10px; 11 margin-bottom: 10px;
12 } 12 }
13 13
(...skipping 17 matching lines...) Expand all
31 testRunner.dumpAsText(); 31 testRunner.dumpAsText();
32 32
33 description("Test for https://bugs.webkit.org/show_bug.cgi?id=109956 -we bkit-margin-collapse: separate doesn't work correctly for before margins. \ 33 description("Test for https://bugs.webkit.org/show_bug.cgi?id=109956 -we bkit-margin-collapse: separate doesn't work correctly for before margins. \
34 The test basically creates an empty block inside a container with a margin that collapses with children. The empty block has the margins \ 34 The test basically creates an empty block inside a container with a margin that collapses with children. The empty block has the margins \
35 set to separate so its height should be 0px. The container is not se lfcollapsing so it should have a height of 10px+10px+2px=22px."); 35 set to separate so its height should be 0px. The container is not se lfcollapsing so it should have a height of 10px+10px+2px=22px.");
36 shouldEvaluateTo('document.getElementById("zero_height").offsetHeight', '0'); 36 shouldEvaluateTo('document.getElementById("zero_height").offsetHeight', '0');
37 shouldEvaluateTo('document.getElementById("22px_height").offsetHeight', '22'); 37 shouldEvaluateTo('document.getElementById("22px_height").offsetHeight', '22');
38 </script> 38 </script>
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698