scrollable-horizontal-margin-ref.html 614 B

1234567891011121314151617181920212223242526
  1. <!DOCTYPE HTML>
  2. <html><head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  4. <title>Testcase for bug 724352</title>
  5. <style type="text/css">
  6. html,body {
  7. color:black; background-color:white; font-size:16px; padding:0; margin:0;
  8. }
  9. x1,x2,x3,x4,x5,x6 { display:block; }
  10. x2 { overflow:auto; width:100px; background:grey; }
  11. x4 { width: 70px; }
  12. x3 { width: 70px; padding-left: 20px; padding-right: 10px; }
  13. </style>
  14. </head>
  15. <body>
  16. <x1><x2 style="height:50px;">
  17. <x3><x4 style="height:20px; background:lime; "></x4></x3>
  18. </x2></x1>
  19. </body>
  20. </html>