| <!DOCTYPE html> |
| <html> |
| <head> |
| <style> |
| .container { |
| height: 100px; |
| width: 400px; |
| -webkit-column-width: 100px; |
| -webkit-column-gap: 0px; |
| -webkit-column-fill: auto; |
| column-width: 100px; |
| column-gap: 0px; |
| column-fill: auto; |
| } |
| |
| .percentLogicalHeight { |
| -webkit-writing-mode: vertical-lr; |
| height: 100%; |
| width: 100%; |
| background-color: navy; |
| } |
| </style> |
| </head> |
| <script src="../../resources/check-layout.js"></script> |
| <body onload="checkLayout('.percentLogicalHeight')"> |
| <p><a href="https://bugs.webkit.org/show_bug.cgi?id=103075">Bug 103075</a>: RenderBox::computePercentageLogicalHeight should use containingBlockLogicalWidthForContent</p> |
| <p>This test checks that a percent logical height child in an orthogonal writing mode uses the multi-column's containing block column-width when resolving the logical height.</p> |
| <div class="container"> |
| <div class="percentLogicalHeight" data-expected-width="100" data-expected-height="100"></div> |
| </div> |
| </body> |
| </html> |