Closed
Bug 61902
Opened 23 years ago
Closed 17 years ago
[BTN]<button> should softwrap contents
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: jruderman, Unassigned)
References
()
Details
(Whiteboard: [reflow-refactor])
If a button's text is long (long enough to make the button longer than the content area) but contains spaces, the text should be wrapped to make the button narrower.
Comment 1•23 years ago
|
||
The best way to do this is probably to implement 'inline-block' (once it is defined) and then define button in terms of it...
Updated•23 years ago
|
Status: NEW → ASSIGNED
Summary: <button> should softwrap contents → [BTN]<button> should softwrap contents
Updated•22 years ago
|
Target Milestone: --- → mozilla1.2
Reporter | ||
Comment 3•22 years ago
|
||
Sounds related: bug 55285, newlines within <button> (and <input type="button">) are displayed.
Updated•21 years ago
|
Priority: P3 → P2
Target Milestone: mozilla1.2 → Future
Updated•21 years ago
|
QA Contact: vladimire → tpreston
Comment 4•19 years ago
|
||
*** Bug 247580 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Assignee: rods → nobody
Status: ASSIGNED → NEW
Depends on: inline-block
OS: Windows 98 → All
QA Contact: tpreston → ian
Hardware: PC → All
![]() |
||
Comment 5•18 years ago
|
||
*** Bug 279860 has been marked as a duplicate of this bug. ***
button { max-width: 100%; } in html.css is a simple patch for this. Not perfect, but much better than now.
![]() |
||
Updated•17 years ago
|
Whiteboard: [reflow-refactor]
Comment 7•17 years ago
|
||
Re: https://bugzilla.mozilla.org/show_bug.cgi?id=279860 and http://murent.us/firefoxtest.php Huh. What'dya know. I made the text flow as desired (at least in Firefox 1.5.0.1/Linux). I set the form's width to 100% (inherit didn't work) and set the button's width to inherit. So. It would seem that neither FORM nor BUTTON properly handle WIDTH. Does this help narrow the problem?
Reporter | ||
Comment 8•17 years ago
|
||
The testcase in the URL field gets wrapped correctly in a fresh build from just after the reflow branch landed. For comparison, it created a long horizontal scrollbar in a 2006-12-05 nightly build. -> FIXED by reflow branch landing.
Status: NEW → RESOLVED
Closed: 17 years ago
Depends on: reflow-refactor
Priority: P2 → --
Resolution: --- → FIXED
Target Milestone: Future → mozilla1.9alpha
Reporter | ||
Updated•17 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•