NEW 65843
Can't apply border style to radio buttons
https://bugs.webkit.org/show_bug.cgi?id=65843
Summary Can't apply border style to radio buttons
Zhang Youfu
Reported 2011-08-08 00:27:41 PDT
It seems that radio buttons are not rendered by Webkit, causing some css style can't be applied to them. For Example: <input type="radio" style="border: 1px #A7C0D7 none;"></input> Such a radio button can't be rendered in Webkit, but rendered properly in IE. If the radio button doesn't have css style, then IE will simply use the radio button provided by operating system. But if it has, then IE will draw it by hand. Maybe the same scheme could be applied to Webkit. I havn't test it under linux or mac. If I am wrong, please notify me. Best wishes
Attachments
Alexey Proskuryakov
Comment 1 2011-08-08 11:00:51 PDT
See also: bug 13834. Re-titling for the specific issue reported here.
Shane Stephens
Comment 2 2011-08-10 20:54:49 PDT
I can't find any specification that indicates that border properties should be able to apply to radio buttons in this fashion. Are you sure the IE behaviour is not a non-standard extension?
Zhang Youfu
Comment 3 2011-08-10 22:16:32 PDT
Well, I have made two mistakes. The first is that border style for radio buttons is a non-standard extension. According to this page: http://www.456bereastreet.com/lab/styling-form-controls-revisited/radio-button/ IE and Opera rendered it properly, while Firefox and Webkit failed. The second is that I gave a wrong example. It shouldn't be <input type="radio" style="border: 1px #A7C0D7 none;"></input> but something like <input type="radio" style="border: 1px #A7C0D7 solid;"></input> LOL
Note You need to log in before you can comment on or make changes to this bug.