Closed Bug 7469 Opened 26 years ago Closed 26 years ago

SPEC: <titledbutton>

Categories

(Core :: Layout: Form Controls, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: Brade, Assigned: hyatt)

Details

Attachments

(1 file)

I can't seem to get a <titledbutton> to be a button unless it is in a <toolbar>
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Titled buttons by default have no styles associated with them. If you want one that looks like push button. Try <titledbutton class="push">
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.
Status: RESOLVED → REOPENED
Summary: <titledbutton> shouldn't have to be in a <toolbar> → SPEC: <titledbutton>
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)
Assignee: evaughan → hyatt
Status: REOPENED → NEW
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.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago26 years ago
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
reopening bug; I need a spec!
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.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → FIXED
Invalid now with changes to xul.css.
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
push isn't used any more.
so what are valid "class" types?
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.
Kathy, does this sound good to you? can i verify this?
Status: RESOLVED → VERIFIED
it's been long enough. marking verified. kathy, reopen if necessary.
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.
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.

Attachment

General

Created:
Updated:
Size: