| <!doctype html> |
| <html> |
| <head> |
| <style> |
| #gray { width: 200px; height: 400px; font-size: 25px; line-height: 2; |
| text-align: justify; color: #a0a0a0; font-family: Ahem; |
| padding-left: 25px; padding-right: 25px; box-sizing: border-box; } |
| </style> |
| </head> |
| <body> |
| <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=74135"> Auto width is not working for regions</a>.</p> |
| <p>The region is a block level, non replaced element in normal flow, having min-width and max-width specified.</p> |
| <p>On success, you should see 2 gray lines below.</p> |
| <div id="gray"> |
| <span style="background-color:#a0a0a0"> |
| aaa aaa |
| </span> |
| </div> |
| </body> |
| </html> |