Can not change border style for gfx-rendered radio button

VERIFIED FIXED in M8

Status

()

P3
normal
VERIFIED FIXED
20 years ago
20 years ago

People

(Reporter: kmcclusk, Assigned: kmcclusk)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

20 years ago
Gfx rendered radio buttons do not honor CSS border styles. Need to use CSS
border rendering code rather than custom gfx-code for rendering borders now that
-mox-border-radius allows us to render a circular border.

<INPUT checked type=radio style="-moz-border-radius:2px; width:15px;
height:15px; border:2px inset; background-color:#cccccc; ">untitled
(Assignee)

Updated

20 years ago
Status: NEW → ASSIGNED
Target Milestone: M7
(Assignee)

Updated

20 years ago
Target Milestone: M7 → M8
(Assignee)

Updated

20 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → FIXED
(Assignee)

Comment 1

20 years ago
Added a new nsIRadioControlFrame.h interface. The interface is used at frame
construction to pass in the pseudo style controlling the appearance of the radio
button.
Modified Makefile.in, makefile.win, and MANIFEST in
mozilla/layout/html/forms/public to export the new
nsIRadioControlFrame.h file Added nsRadioControlFrame::QueryInterface to return
nsIRadioControlFrame interface.
Added nsRadioControlFrame::ReResolveStyleContext to resolve the
nsHTMLAtoms::radioPseudo style
Added nsRadioControlFrame::SetRadioButtonFace to set the psuedo style used to
render the radio button.
Modifed nsRadioControlFrame::Paint to call border code to render the
radio buttons background + foreground.
Added nsHTMLAtoms::radioPseudo(:-moz-radio)  to control the appearance of
gfx-rendered radio buttons.
Added :-moz-radio style to ua.css to control the appearance of the radio button.
Added new method ConstructRadioControlFrame method to CSSFrameConstructor.cpp to
construct the radio button frame and initialize it with a the radioPseudo style.

Updated

20 years ago
Status: RESOLVED → VERIFIED

Comment 2

20 years ago
lowlevel fix that appears to have taken effect (because of hover and active
classes enabled in bug 6752)

marking verified.
You need to log in before you can comment on or make changes to this bug.