| <!doctype html> |
| <html> |
| <head> |
| <style> |
| .content { |
| font-family: Ahem; |
| border: solid 2px red; |
| color: red; |
| } |
| #content1 { |
| border-bottom: none; |
| height: 180px; |
| } |
| #content2 { |
| border-top: none; |
| } |
| |
| .region { |
| width: 250px; |
| height: 182px; |
| margin: 5px; |
| border: 2px solid blue; |
| padding: 22px 50px 40px 30px; |
| overflow: hidden; |
| } |
| #region1 { |
| float: left; |
| } |
| #region2 { |
| float: right; |
| } |
| </style> |
| </head> |
| <body> |
| <a href="https://bugs.webkit.org/show_bug.cgi?id=128815">Bug 128815</a> |
| <p>The borders of the <span style="color:red">content</span> are over the padding area of the <span style="color:blue">region</span>.<br/>All 4 borders should be visible.</p> |
| |
| <div class="region" id="region1"> |
| <div class="content" id="content1"> |
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when |
| </div> |
| </div> |
| |
| <div class="region" id="region2"> |
| <div class="content" id="content2"> |
| an unknown printer took a galley of type and scrambled it to make a type specimen book. |
| </div> |
| </div> |
| </body> |
| </html> |