Closed
Bug 7469
Opened 26 years ago
Closed 26 years ago
SPEC: <titledbutton>
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
FIXED
M15
People
(Reporter: Brade, Assigned: hyatt)
Details
Attachments
(1 file)
|
753 bytes,
text/plain
|
Details |
I can't seem to get a <titledbutton> to be a button unless it is in a <toolbar>
| Reporter | ||
Comment 1•26 years ago
|
||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Comment 2•26 years ago
|
||
Titled buttons by default have no styles associated with them. If you want one
that looks like push button. Try <titledbutton class="push">
Comment 3•26 years ago
|
||
This is because titled buttons don't act like push buttons in toolbars. In
toolbars they are flat and appear when moved over. This behavior was defined by
a style rule in xul.css that says titled buttons should look and act a certain
way when in toolbars.
| Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → REOPENED
Summary: <titledbutton> shouldn't have to be in a <toolbar> → SPEC: <titledbutton>
| Reporter | ||
Comment 4•26 years ago
|
||
Reopening bug as documentation bug.
The specs published on mozilla.org should be updated to reflect:
* there is a default appearance in a toolbar
* there is not a default appearance otherwise
* an enumeration of the different classes ("push" isn't listed on current page)
Updated•26 years ago
|
Assignee: evaughan → hyatt
Status: REOPENED → NEW
Comment 5•26 years ago
|
||
You own the titledbutton spec. Can you add this detail? By default titledbuttons
have not style. Class="push" makes them a push button. When placed in a toolbar
they are flat and become buttons as you move over them. This is all defined in
xul.css.
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
| Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → REOPENED
| Reporter | ||
Updated•26 years ago
|
Resolution: INVALID → ---
| Reporter | ||
Comment 6•26 years ago
|
||
reopening bug; I need a spec!
| Assignee | ||
Updated•26 years ago
|
Status: REOPENED → ASSIGNED
Target Milestone: M15
Moving all Widget Set bugs, past and present, to new HTML Form Controls
component per request from karnaze. Widget Set component will be retired
shortly.
| Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 8•26 years ago
|
||
Invalid now with changes to xul.css.
| Reporter | ||
Comment 9•26 years ago
|
||
please add an enumerated list of the various types (class) of <titlebutton>; at
least mention "push" on the current page: http://www.mozilla.org/xpfe/xptoolkit/
buttons.html
| Assignee | ||
Comment 10•26 years ago
|
||
push isn't used any more.
| Reporter | ||
Comment 11•26 years ago
|
||
so what are valid "class" types?
| Assignee | ||
Comment 12•26 years ago
|
||
You don't need them any more. Include xul.css, and you'll get a button that
looks and behaves like a button. If you want to define any additional styles,
you can do that on your own. There aren't any extra pre-defined types.
Comment 13•26 years ago
|
||
Kathy, does this sound good to you? can i verify this?
Comment 14•26 years ago
|
||
it's been long enough. marking verified. kathy, reopen if necessary.
| Reporter | ||
Comment 15•26 years ago
|
||
philip--if you are happy with the state of the current spec (such that you can
test <titledbutton>) then you should mark it verified. Personally, I'm not happy
with it since I think it's missing details. I'd like to see better examples.
Comment 16•26 years ago
|
||
i agree that said spec might be missing details, but i managed
(with not too much effort) to make a small application with a menubar
and two titledbuttons and some content. plus, dbaron@fas.harvard.edu
has joined the team and he'll be working on some samples for just this
sort of thing.
You need to log in
before you can comment on or make changes to this bug.
Description
•