summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/reference/percentage-descendant-of-anonymous-flex-item-ref.html
blob: 78dac9724f71ee739dd030f5e8034200f25ed063 (plain)
1
2
3
4
5
6
7
8
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Flexbox Test: percentage heights in descendants of anonymous flex items</title>
<link rel="author" title="Sergio Villar Senin" href="mailto:svillar@igalia.com">
<p>The test PASS if you see a 200x100 green rectangle inside a button.</p>
<button style="width: 200px; height: 100px;">
    <div style="width: 200px; height: 100%; background-color: green;"></div>
</button>