1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en">
5 <style type=
"text/css">
24 <p>This is a regression test for
<i><a href=
"https://bugs.webkit.org/show_bug.cgi?id=9122">http://bugzilla.opendarwin.org/show_bug.cgi?id=
9122</a>
25 REGRESSION: Incorrect vertical position for text fields in a
"display: table" block
</i>.
26 <p>Type something in the text field. Resize the window. The text field should not jump down. Delete what you typed and resize the window. The text field should not move.
</p>
27 <form action=
"foo" method=
"get">
29 <div class=
"dl-section">
31 <dd><input type=
"text" /></dd>
35 <p>And here's more. There should not be a difference in distance between the labels, nor any difference in distance between the text fields.
</p>
37 <div class=
"dl-section">
39 <dd><input type=
"text" /></dd>
41 <div class=
"dl-section">
43 <dd><input type=
"text" /></dd>
45 <div class=
"dl-section">
47 <dd><input type=
"text" value=
"Bar" /></dd>
49 <div class=
"dl-section">
51 <dd><input type=
"text" value=
"Bar" /></dd>
53 <div class=
"dl-section">
55 <dd><input type=
"text" /></dd>
57 <div class=
"dl-section">
59 <dd><input type=
"text" /></dd>
61 <div class=
"dl-section">
63 <dd><div style=
"display: inline-block;"><br>Bar (should be aligned with Foo)
</div></dd>