layout/reftests/columns/columnrule-overflow.html
author Scott Johnson <sjohnson@mozilla.com>
Tue, 20 Aug 2013 16:38:29 -0500
changeset 156532 5b8cbc29a72ec0551d5144c40a51eba92b6b3a57
child 553274 bb59a0c3716298bd4645885b530d501809715541
permissions -rw-r--r--
Bug 746015: Add a nsDisplayGenericOverflow class that uses a frame's visual overflow rect as its bounds to correctly display column rules that lie outside of a column set frame's bounds. [r=dbaron]

<!DOCTYPE html>
<html>
  <head>
    <title>Bug 746015: Off-screen overflow column rules are not properly drawn.</title>
    <style type="text/css">
    * {
    	margin: 0 0;
    	padding: 0 0;
    }

    body,html {
        padding: 0 0;
        margin: 0 0;
        line-height: 1.0;
    }

    body {
        position: absolute;
        left: -570px;
    }

    div.content {
      width: 180px;
      height: 875px;
      background: blue;
    }

    div.multicolumn {
        height: 175px;
        overflow: visible;

        -moz-column-width: 180px;
        -moz-column-gap: 10px;
        -moz-column-rule: 10px solid green;
    }
    </style>
  </head>
  <body>
    <div class="multicolumn"><div class="content"></div></div>
  </body>
</html>