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

Side by Side Diff: LayoutTests/css2.1/20110323/block-non-replaced-height-006.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: Block-level non-replaced elements in normal flow when ' overflow' does not compute to 'visible' and 'height' is 'auto' adjust based on t he line box height</title> 4 <title>CSS Test: Block-level non-replaced elements in normal flow when ' overflow' does not compute to 'visible' and 'height' is 'auto' adjust based on t he line box height</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="ahem"> 7 <meta name="flags" content="ahem">
8 <meta name="assert" content="The 'height' is the distance from the topmo st to the bottommost line box when a block-level non-replaced element is in norm al flow and 'overflow' does not compute to 'visible'."> 8 <meta name="assert" content="The 'height' is the distance from the topmo st to the bottommost line box when a block-level non-replaced element is in norm al flow and 'overflow' does not compute to 'visible'.">
9 <style type="text/css"> 9 <style type="text/css">
10 html, body 10 html, body
(...skipping 19 matching lines...) Expand all
30 { 30 {
31 background: orange; 31 background: orange;
32 height: 2in; 32 height: 2in;
33 left: 2in; 33 left: 2in;
34 position: absolute; 34 position: absolute;
35 top: 0; 35 top: 0;
36 width: 2in; 36 width: 2in;
37 } 37 }
38 </style> 38 </style>
39 </head> 39 </head>
40 <script>
41 if (window.internals) {
42 window.internals.settings.setForceCompositingMode(true);
43 }
44 </script>
40 <body> 45 <body>
41 <p>Test passes if the blue and orange boxes below are the same height an d there is no red visible on the page.</p> 46 <p>Test passes if the blue and orange boxes below are the same height an d there is no red visible on the page.</p>
42 <div> 47 <div>
43 <div id="div1"> 48 <div id="div1">
44 <span>XX XX</span> 49 <span>XX XX</span>
45 </div> 50 </div>
46 <div id="div2"></div> 51 <div id="div2"></div>
47 </div> 52 </div>
48 </body> 53 </body>
49 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698