Reviewed by Dave Hyatt.
- fix http://bugs.webkit.org/show_bug.cgi?id=15262
REGRESSION: Margin-top:18px is pushing down the multiple select list box outside the div.
Reflected in existing tests.
* css/html4.css: Changed listboxes to use border-box sizing, to match Firefox,
WinIE and apparently also Safari 2.
2007-09-27 Mitz Pettel <mitz@webkit.org>
Reviewed by Dave Hyatt.
- updated tests and results for http://bugs.webkit.org/show_bug.cgi?id=15262
REGRESSION: Margin-top:18px is pushing down the multiple select list box outside the div.
* fast/forms/listbox-clip-expected.checksum:
* fast/forms/listbox-clip-expected.png:
* fast/forms/listbox-clip-expected.txt:
* fast/forms/listbox-selection-2.html:
* fast/forms/select-item-background-clip.html:
* fast/forms/select-list-box-with-height-expected.checksum:
* fast/forms/select-list-box-with-height-expected.png:
* fast/forms/select-list-box-with-height-expected.txt:
* fast/text/drawBidiText.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25788
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-09-27 Mitz Pettel <mitz@webkit.org>
+
+ Reviewed by Dave Hyatt.
+
+ - updated tests and results for http://bugs.webkit.org/show_bug.cgi?id=15262
+ REGRESSION: Margin-top:18px is pushing down the multiple select list box outside the div.
+
+ * fast/forms/listbox-clip-expected.checksum:
+ * fast/forms/listbox-clip-expected.png:
+ * fast/forms/listbox-clip-expected.txt:
+ * fast/forms/listbox-selection-2.html:
+ * fast/forms/select-item-background-clip.html:
+ * fast/forms/select-list-box-with-height-expected.checksum:
+ * fast/forms/select-list-box-with-height-expected.png:
+ * fast/forms/select-list-box-with-height-expected.txt:
+ * fast/text/drawBidiText.html:
+
2007-09-27 Antti Koivisto <antti@apple.com>
Reviewed by Geoff.
-244469ce5e8f5b033c6d73c7b7fd13d3
\ No newline at end of file
+c8dfb9f2896f50dc201a942d722b4067
\ No newline at end of file
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
- RenderListBox {SELECT} at (0,2) size 102x106 [bgcolor=#FFFFFF] [border: (1px inset #808080)]
+ RenderListBox {SELECT} at (0,2) size 100x106 [bgcolor=#FFFFFF] [border: (1px inset #808080)]
RenderText {#text} at (0,0) size 0x0
RenderText {#text} at (0,0) size 0x0
RenderText {#text} at (0,0) size 0x0
</head>
<body onload="test()">
- <select id="sl1" multiple style="height: 105px; border: 10px solid; padding: 5px;">
+ <select id="sl1" multiple style="height: 135px; border: 10px solid; padding: 5px;">
<option>one</option>
<option>two</option>
<option>three</option>
<option>seventeen</option>
</select>
- <select id="sl2" multiple style="height: 105px; border: 10px solid; padding: 5px;">
+ <select id="sl2" multiple style="height: 135px; border: 10px solid; padding: 5px;">
<option>one</option>
<option>two</option>
<option>three</option>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=12364">http://bugs.webkit.org/show_bug.cgi?id=12364</a>
REGRESSSION (NativeListBox): Selected option's background is not clipped to the list box</i>.
</p>
- <select size="4" style="height: 46px; border: 3px solid blue; padding: 3px;">
+ <select size="4" style="height: 58px; border: 3px solid blue; padding: 3px;">
<option>one</option>
<option>two</option>
<option>three</option>
-1c8f99de59c167828bd8b3f3080dd11c
\ No newline at end of file
+945ca1438a48ec64890c56ec37ff024f
\ No newline at end of file
RenderBlock {P} at (0,0) size 784x18
RenderText {#text} at (0,0) size 365x18
text run at (0,0) width 365: "The select below has a size of 3, but a much larger height."
- RenderBlock (anonymous) at (0,34) size 784x252
- RenderListBox {SELECT} at (2,0) size 59x252 [bgcolor=#FFFFFF] [border: (1px inset #808080)]
+ RenderBlock (anonymous) at (0,34) size 784x250
+ RenderListBox {SELECT} at (2,0) size 59x250 [bgcolor=#FFFFFF] [border: (1px inset #808080)]
RenderText {#text} at (0,0) size 0x0
+2007-09-27 Mitz Pettel <mitz@webkit.org>
+
+ Reviewed by Dave Hyatt.
+
+ - fix http://bugs.webkit.org/show_bug.cgi?id=15262
+ REGRESSION: Margin-top:18px is pushing down the multiple select list box outside the div.
+
+ Reflected in existing tests.
+
+ * css/html4.css: Changed listboxes to use border-box sizing, to match Firefox,
+ WinIE and apparently also Safari 2.
+
2007-09-27 Kevin Decker <kdecker@apple.com>
<rdar://problem/5493093>
select[multiple],
select[size][multiple] {
-webkit-appearance: listbox;
- -webkit-box-sizing: initial;
-webkit-box-align: start;
border: 1px inset gray;
-webkit-border-radius: initial;
select[size="0"],
select[size="1"] {
-webkit-appearance: menulist;
- -webkit-box-sizing: border-box;
-webkit-box-align: center;
border: 1px solid;
-webkit-border-radius: 5px;