Closed
Bug 470045
Opened 17 years ago
Closed 17 years ago
Add -moz-appearance: -moz-mac-scopebar
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mstange, Assigned: mstange)
References
()
Details
Attachments
(1 file)
|
9.11 KB,
patch
|
Details | Diff | Splinter Review |
(Also see URL.)
We're using scope bars in the Bookmarks Organizer and in the Error Console, and I'm planning to use them in bug 466642, too.
I think it's worth introducing a -moz-appearance for them.
This patch is on top of that in bug 449442.
| Assignee | ||
Updated•17 years ago
|
Attachment #353492 -
Attachment description: render part, v1, wip → render part, v1
Attachment #353492 -
Flags: superreview?(roc)
Attachment #353492 -
Flags: review?(joshmoz)
| Assignee | ||
Comment 2•17 years ago
|
||
It's a toolbar with a light gradient. Screenshots are here (see URL field):
http://developer.apple.com/DOCUMENTATION/UserExperience/Conceptual/AppleHIGuidelines/XHIGWindows/chapter_18_section_4.html#//apple_ref/doc/uid/20000961-SW3
The patch looks fine, but how do we decide when it's worth introducing a -moz-appearance value and implementing the rendering in native code?
| Assignee | ||
Comment 4•17 years ago
|
||
That's a good question...
I can think of three criteria but this patch satisfies neither of them:
- Code simplification - not really, the CSS for scope bars is easy
- Less total LOC - not the case; scope bars only need 3 lines of CSS at most,
so we'd need a lot of them to make up for the lines that this patch adds
- Sometimes -moz-appearance can do things that can't be done easily with CSS,
like adapting to the OS theme - also not the case here.
Now I'm convinced that it's not worth it. :-)
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
| Assignee | ||
Updated•17 years ago
|
Attachment #353492 -
Flags: superreview?(roc)
Attachment #353492 -
Flags: review?(joshmoz)
You need to log in
before you can comment on or make changes to this bug.
Description
•