| <!doctype html> |
| <html> |
| <head> |
| <style> |
| body { font-family: monospace; } |
| #article { -webkit-flow-into: flow; font-size: 25px; line-height: 2; text-align: justify; color:#a0a0a0; } |
| #region { -webkit-flow-from: flow; height: 450px; max-width: 200px; } |
| </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 max-width specified.</p> |
| <p>On success, you should see more than one gray line below.</p> |
| <div id="article"> |
| <span style="background-color:#a0a0a0"> |
| This is some content This is some content |
| This is some content This is some content |
| This is some content |
| </span> |
| </div> |
| <div id="region"></div> |
| </body> |
| </html> |