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

Side by Side Diff: LayoutTests/css2.1/20110323/block-non-replaced-height-008.htm

Issue 249963002: FCMify layout tests with scrollbar rendering diffs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 8 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 PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st rict.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st rict.dtd">
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>CSS Test: Height determination for block-level non-replaced eleme nts in normal flow when 'overflow' does not compute to 'visible' and elements' m argins collapse</title> 4 <title>CSS Test: Height determination for block-level non-replaced eleme nts in normal flow when 'overflow' does not compute to 'visible' and elements' m argins collapse</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#normal-bl ock"> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#normal-bl ock">
7 <meta name="flags" content=""> 7 <meta name="flags" content="">
8 <meta name="assert" content="The 'height' is the distance between the to p border edge of the top most block-level child box that doesn't have margins co llapsed, and the bottom border edge of the bottommost block-level child that doe sn't have margins collapsed. When a block-level non-replaced element is in norma l flow, 'overflow' does not compute to 'visible' but has been propagated to the viewport and the 'height' is 'auto'."> 8 <meta name="assert" content="The 'height' is the distance between the to p border edge of the top most block-level child box that doesn't have margins co llapsed, and the bottom border edge of the bottommost block-level child that doe sn't have margins collapsed. When a block-level non-replaced element is in norma l flow, 'overflow' does not compute to 'visible' but has been propagated to the viewport and the 'height' is 'auto'.">
9 <style type="text/css"> 9 <style type="text/css">
10 html, body 10 html, body
(...skipping 26 matching lines...) Expand all
37 #div4 37 #div4
38 { 38 {
39 background: blue; 39 background: blue;
40 height: 2in; 40 height: 2in;
41 left: 1in; 41 left: 1in;
42 position: absolute; 42 position: absolute;
43 top: 0; 43 top: 0;
44 } 44 }
45 </style> 45 </style>
46 </head> 46 </head>
47 <script>
48 if (window.internals) {
49 window.internals.settings.setForceCompositingMode(true);
50 }
51 </script>
47 <body> 52 <body>
48 <p>Test passes if there is a blue square below.</p> 53 <p>Test passes if there is a blue square below.</p>
49 <div id="div1"> 54 <div id="div1">
50 <div id="div2"></div> 55 <div id="div2"></div>
51 <div id="div3"></div> 56 <div id="div3"></div>
52 <div id="div4"></div> 57 <div id="div4"></div>
53 </div> 58 </div>
54 </body> 59 </body>
55 </html> 60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698