blob: 6ddff4ae4a7f5c926b2e695a8a83d146e58d594d [file] [log] [blame]
Test the effect of percentages widths on the preferred widths of replaced elements.
PASS
PASS
FAIL:
Expected 130 for width, but got 30.
<div class="container" data-expected-width="130" data-expected-height="130">
<img class="min-content" src="resources/square-blue-100x100.png" style="width: 100%; border: 5px solid black; padding: 5px;" data-expected-width="120" data-expected-height="120">
</div>
FAIL:
Expected 130 for width, but got 30.
<div class="container" data-expected-width="130" data-expected-height="130">
<img class="max-content" src="resources/square-blue-100x100.png" style="width: 100%; border: 5px solid black; padding: 5px;" data-expected-width="120" data-expected-height="120">
</div>
PASS
PASS
PASS
PASS
PASS