Closed Bug 7908 Opened 26 years ago Closed 26 years ago

<input type=button doesn't respect border-width style (GFX rendering)

Categories

(Core :: Layout, defect, P3)

All
Windows NT
defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: rods, Assigned: eric)

Details

<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <body bgcolor=#C0C0C0> <FORM METHOD="POST" name="myform" > <input type=button align=left value="Left" style="width:200px;"> <input type=button align=center value="Center" style="width:200px;"> <input type=button align=right value="Right" style="width:200px;"> <input type=button align=justify value="Justify" style="width:200px;border-width:5px 5px 5px 5px;"> </form> </body> </html>
In the above example, you should also be defining the border style. So instead of "border-width:5px 5px 5px 5px", try "border:5px solid black". If you don't define a border-style, no border will show up. I went ahead and tested this with the correct declarations and it works. In case there is something I'm missing, I'll let you guys close this one out.
Status: NEW → ASSIGNED
The alignment does not work this is a bug that needs to be fixed. Border width only works with GFX rendered buttons. You can turn these on in viewer by the menu. Style->widgetRenderingMode->gfx. Native buttons do not render borders and will eventually be replaced by GFX ones.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → VERIFIED
Summary: <input type=button doesn't respect border-width style (GFX rendering)
You need to log in before you can comment on or make changes to this bug.