Closed Bug 1341056 Opened 7 years ago Closed 7 years ago

Stop setting a border for .button-box on Linux

Categories

(Toolkit :: Themes, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: dao, Assigned: deepsrijit1105)

References

Details

(Keywords: good-first-bug, Whiteboard: [good first bug][lang=css])

Attachments

(1 file, 1 obsolete file)

We add a transparent border and change it to a dotted on one focus, but that border is never used because -moz-appearance: button-focus takes precedence:

https://hg.mozilla.org/mozilla-central/annotate/16effd5b21ab03629feca04b5b83911bb757394c/toolkit/themes/linux/global/button.css#l21
Attached patch initial_patch (obsolete) — Splinter Review
Hi Dao,

Will this work?

Thanks.
Attachment #8839645 - Flags: review?(dao+bmo)
Comment on attachment 8839645 [details] [diff] [review]
initial_patch

This is halfway there. You also need to remove the button:focus > .button-box rule.
Attachment #8839645 - Flags: review?(dao+bmo) → review-
Assignee: nobody → deepsrijit1105
Attached patch updated_patchSplinter Review
I have changed as per the suggestion. Thanks.
Attachment #8839645 - Attachment is obsolete: true
Attachment #8840009 - Flags: review?(dao+bmo)
Comment on attachment 8840009 [details] [diff] [review]
updated_patch

Looks good, thanks!
Attachment #8840009 - Flags: review?(dao+bmo) → review+
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/869ee93548d3
Stop setting a border for .button-box on Linux. r=dao
https://hg.mozilla.org/mozilla-central/rev/869ee93548d3
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Depends on: 1342368
Blocks: 1348495
You need to log in before you can comment on or make changes to this bug.