Closed Bug 601366 Opened 14 years ago Closed 14 years ago

should drop native appearance when border-radius is specified

Categories

(Core :: CSS Parsing and Computation, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla2.0b7
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: ilhan, Assigned: dbaron)

Details

(Keywords: css3)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows NT 6.1; rv:2.0b7pre) Gecko/20101002 Firefox/4.0b7pre
Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0b7pre) Gecko/20101002 Firefox/4.0b7pre

Rounded borders in inputs work only when hovering

Reproducible: Always

Steps to Reproduce:
1. Open the attachment.
2. Hover to the input.
Actual Results:  
Borders of the input are not rounded when the mouse is not over the input.

Expected Results:  
Borders of the input should be rounded when the mouse is not over the input.
Confirmed.
Keywords: css3
Right now when border-*-width/style/color, padding-*, or background-color/image are specified, we drop any -moz-appearance and treat it like -moz-appearance: none.  We should probably do the same for border-radius; I think bzbarsky suggested that somewhere but I can't find an existing bug.
Status: UNCONFIRMED → NEW
blocking2.0: --- → ?
Component: Layout: Misc Code → Style System (CSS)
Ever confirmed: true
Keywords: css3
OS: Windows 7 → All
QA Contact: layout.misc-code → style-system
Hardware: x86 → All
Summary: Rounded borders in inputs work only when hovering → should drop native appearance when border-radius is specified
I agree, but I don't think this blocks.
blocking2.0: ? → -
Given that it's the first release we're shipping border-radius unprefixed, I think it does.  It's also a very simple patch; adding a few entries to an array.
Assignee: nobody → dbaron
blocking2.0: - → betaN+
Attached patch patchSplinter Review
Attachment #481261 - Flags: review?(bzbarsky)
Comment on attachment 481261 [details] [diff] [review]
patch

r=me
Attachment #481261 - Flags: review?(bzbarsky) → review+
Whiteboard: [needs landing]
http://hg.mozilla.org/mozilla-central/rev/7162cbafddb9

Please note that the fix is NOT in beta 7.
Status: NEW → RESOLVED
Closed: 14 years ago
Priority: -- → P2
Resolution: --- → FIXED
Whiteboard: [needs landing]
Target Milestone: --- → mozilla2.0b8
Target Milestone: mozilla2.0b8 → mozilla2.0b7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: