Closed Bug 323265 Opened 20 years ago Closed 20 years ago

Disabled input type="image" has opaque/white background in Camino

Categories

(Camino Graveyard :: HTML Form Controls, defect)

1.8 Branch
PowerPC
macOS
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED
Camino1.0

People

(Reporter: alqahira, Assigned: bugzilla-graveyard)

References

()

Details

(Keywords: fixed1.8.0.2, fixed1.8.1, testcase, Whiteboard: [camino-1.0])

Attachments

(1 file)

Spun off from bug 322890, which will just fix the input type="file" stuff via code. Disabled input type="image" "buttons" have an opaque/white background in Camino; they should be transparent. The testcase from bug 322890 is in the URL field above; Chris has a patch to our part of forms.css to fix this.
Here's the patch, tested and ready for review/superreview/check-in. cl
Assignee: mikepinkerton → bugzilla
Status: NEW → ASSIGNED
Attachment #208356 - Flags: review?
Attachment #208356 - Flags: superreview?(sfraser_bugs) → superreview+
Comment on attachment 208356 [details] [diff] [review] sets background-color: transparent on disabled input images Hard to argue with that. r=me
Attachment #208356 - Flags: review? → review+
Comment on attachment 208356 [details] [diff] [review] sets background-color: transparent on disabled input images This is a cocoa-widget forms.css bug and affects Camino only.
Attachment #208356 - Flags: approval1.8.1?
Attachment #208356 - Flags: approval1.8.0.1?
I'm pretty sure what's going in is this: This core rule: 282 input[type="image"] { ... 286 background-color: transparent; gives both transparent, but then there's this Cocoa rule: 551 input, 552 input[disabled] { 553 padding: 0px 1px 0px 1px; 554 font-size: 11px; 555 margin: 1px 1px 1px 1px; 556 background-color: -moz-field; The |input| part isn't enough to override the transparent declaration, because it's less specific. |input[disabled]|, on the other hand, is equally specific and later in the file, so it trumps the transparancy (for disabled only).
Comment on attachment 208356 [details] [diff] [review] sets background-color: transparent on disabled input images 1.8.0.1 is over
Attachment #208356 - Flags: approval1.8.0.1? → approval1.8.0.2?
This would be nice to get in 1.0 if we can get approval (as would bug 322890, which was moved to Core).
Flags: camino1.0?
Target Milestone: --- → Camino1.1
Comment on attachment 208356 [details] [diff] [review] sets background-color: transparent on disabled input images Moving flag request to branch-1.8.1.
Attachment #208356 - Flags: approval1.8.1? → branch-1.8.1?
Attachment #208356 - Flags: branch-1.8.1? → branch-1.8.1+
Fixed on trunk, MOZILLA_1_8, and CAMINO_1_0.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Whiteboard: [camino-1.0]
Flags: camino1.0? → camino1.0+
Target Milestone: Camino1.1 → Camino1.0
Version: unspecified → 1.8 Branch
v. on CAMINO_1_0_BRANCH and trunk.
Status: RESOLVED → VERIFIED
Comment on attachment 208356 [details] [diff] [review] sets background-color: transparent on disabled input images a=dveditz for 1.8.0 branch (cocoa only change)
Attachment #208356 - Flags: approval1.8.0.2? → approval1.8.0.2+
Fixed on MOZILLA_1_8_0_BRANCH.
Keywords: fixed1.8.0.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: