Closed
Bug 1043423
Opened 10 years ago
Closed 8 years ago
SDK's ui/toolbar element creates a border in Firefox 31
Categories
(Add-on SDK Graveyard :: General, defect)
Tracking
(firefox53 fixed)
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: cplantijn90, Assigned: dylan)
References
Details
Attachments
(2 files, 1 obsolete file)
26.41 KB,
image/png
|
Details | |
1.14 KB,
patch
|
zer0
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36 Steps to reproduce: Followed instructions on creating a toolbar via - https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/ui_toolbar Actual results: The toolbar was created with a -moz-like 3d border around the edges. See Image included. Expected results: A clean ui toolbar that doesn't have the border.
Updated•10 years ago
|
Assignee: nobody → zer0
Updated•10 years ago
|
Component: Untriaged → General
Product: Firefox → Add-on SDK
Version: 31 Branch → unspecified
Priority: -- → P1
Updated•8 years ago
|
Priority: P1 → --
Assignee | ||
Comment 2•8 years ago
|
||
There are already no borders on Mac or Linux, just Windows. The original source of the border is toolkit/themes/windows/global/toolbar.css:26-31 -------------------------------------------------------------------------------- ... toolbar { min-width: 1px; min-height: 19px; border-top: 1px solid ThreeDHighlight; border-bottom: 1px solid ThreeDShadow; } ... -------------------------------------------------------------------------------- but we can't change that because SeaMonkey (and Thunderbird?) still depend on that CSS property left over from the Firefox 3.x days. However, addon toolbars are custom-styled in addon-sdk/source/lib/sdk/ui/toolbar/view.js:99 -------------------------------------------------------------------------------- ... view.setAttribute("style", "padding: 2px 0; max-height: 40px;"); ... -------------------------------------------------------------------------------- so it would be simplest to just add "border: 0;" to that line. :)
Attachment #8822124 -
Flags: review?(zer0)
Assignee | ||
Comment 3•8 years ago
|
||
Correction: it's the inner "hack" toolbar that needs its border removed, not the outer toolbar.
Attachment #8822124 -
Attachment is obsolete: true
Attachment #8822124 -
Flags: review?(zer0)
Attachment #8822292 -
Flags: review?(zer0)
Comment 4•8 years ago
|
||
Comment on attachment 8822292 [details] [diff] [review] noborder2.patch Looks good to me! Thanks for working on that.
Attachment #8822292 -
Flags: review?(zer0) → review+
Updated•8 years ago
|
Assignee: zer0 → dylan
Keywords: checkin-needed
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/7875d24ddb7a Fix "SDK's ui/toolbar element creates a border in Firefox 31" r=zer0
Keywords: checkin-needed
Comment 8•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7875d24ddb7a
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•