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

Side by Side Diff: LayoutTests/css2.1/20110323/block-non-replaced-height-002.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'</title> 4 <title>CSS Test: Block-level non-replaced elements in normal flow when ' overflow' does not compute to 'visible'</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 margin top and bottom used values are ' 0' for block-level non-replaced elements in normal flow when 'overflow' does not compute to 'visible' and margin top and bottom both are 'auto'."> 8 <meta name="assert" content="The margin top and bottom used values are ' 0' for block-level non-replaced elements in normal flow when 'overflow' does not compute to 'visible' and margin top and bottom both are 'auto'.">
9 <style type="text/css"> 9 <style type="text/css">
10 #div1 10 #div1
11 { 11 {
12 border-bottom: solid orange; 12 border-bottom: solid orange;
13 border-top: solid orange; 13 border-top: solid orange;
14 width: 1in; 14 width: 1in;
15 } 15 }
16 div div 16 div div
17 { 17 {
18 background: blue; 18 background: blue;
19 margin-bottom: auto; 19 margin-bottom: auto;
20 margin-top: auto; 20 margin-top: auto;
21 } 21 }
22 html, body 22 html, body
23 { 23 {
24 overflow: scroll; 24 overflow: scroll;
25 } 25 }
26 </style> 26 </style>
27 </head> 27 </head>
28 <script>
29 if (window.internals) {
30 window.internals.settings.setForceCompositingMode(true);
31 }
32 </script>
28 <body> 33 <body>
29 <p>Test passes if there is no white space between the blue box below and the orange lines.</p> 34 <p>Test passes if there is no white space between the blue box below and the orange lines.</p>
30 <div id="div1"> 35 <div id="div1">
31 <div>Filler Text</div> 36 <div>Filler Text</div>
32 </div> 37 </div>
33 </body> 38 </body>
34 </html> 39 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/css2.1/20110323/block-non-replaced-height-004.htm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698