Skip to content

Commit 3be4046

Browse files
WebKit export: Percent height border-box content should get correct height in percent height cells (#61325)
https://bugs.webkit.org/show_bug.cgi?id=299410 Co-authored-by: Alan Baradlay <zalan@apple.com>
1 parent 27d2ee7 commit 3be4046

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!DOCTYPE html>
2+
<meta charset="utf-8">
3+
<title>CSS Basic User Interface Test: widget percentage height in auto-height container (reference)</title>
4+
<p>There should be a checkbox and a radio button below, both at their normal intrinsic size.</p>
5+
<div><input type="checkbox"></div>
6+
<div><input type="radio"></div>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<meta charset="utf-8">
3+
<title>CSS Basic User Interface Test: widget percentage height in auto-height container</title>
4+
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-switching">
5+
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#percentage-sizing">
6+
<meta name="assert" content="Form controls with percentage height in an auto-height container should use their intrinsic size, since the unresolvable percentage behaves as auto.">
7+
<link rel="match" href="widget-percentage-height-001-ref.html">
8+
<style>
9+
input {
10+
height: 100%;
11+
}
12+
</style>
13+
<p>There should be a checkbox and a radio button below, both at their normal intrinsic size.</p>
14+
<div><input type="checkbox"></div>
15+
<div><input type="radio"></div>

0 commit comments

Comments
 (0)