layout/reftests/margin-collapsing/scrollable-horizontal-margin.html
author Mats Palmgren <matspal@gmail.com>
Thu, 05 Apr 2012 16:30:21 +0200
changeset 94392 b18609e4bc570b9839333fc18a05b1a2eb431714
child 92224 8072115a9e89b321c837df5be78a5d2442ede7ca
permissions -rw-r--r--
Bug 724352 - Don't add vertical margin to scrollable overflow here, it's already done during reflow and we don't need it for UpdateOverflow yet (and we need to account for margin-collapsing when we do). r=roc

<!DOCTYPE HTML>
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Testcase for bug 724352</title>
    <style type="text/css">

        html,body {
            color:black; background-color:white; font-size:16px; padding:0; margin:0;
        }
	
x1,x2,x3,x4,x5,x6 { display:block; }
x2 { overflow:auto; width:100px; background:grey; }
x4 { width: 70px; margin: 0 20px; }
    </style>
</head>
<body>

<x1><x2 style="height:50px;">
  <x4 style="height:20px; background:lime; "></x4>
</x2>


</body>
</html>