Closed
Bug 40065
Opened 25 years ago
Closed 25 years ago
[FIX]<input type="button"> and <button> use different fonts
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: jruderman, Assigned: rods)
Details
(Keywords: html4, Whiteboard: Fix in tree (low risk))
Attachments
(1 file)
78 bytes,
text/html
|
Details |
<input type="button"> and <button> use different fonts, causing html4 buttons
to look bigger than old form buttons.
this doesn't seem to violate an html 4 spec, but it does make pages that mix
<input type="button"> and <button> look ugly.
from http://www.w3.org/TR/html4/interact/forms.html#h-17.5 :
Buttons created with the BUTTON element function just like buttons created with
the INPUT element, but they offer richer rendering possibilities: the BUTTON
element may have content. For example, a BUTTON element that contains an image
functions like and may resemble an INPUT element whose type is set to "image",
but the BUTTON element type allows content.
Visual user agents may render BUTTON buttons with relief and an up/down motion
when clicked, while they may render INPUT buttons as "flat" images.
Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
The rule for BUTTON in html.css needs to have the font-face and font-size
specified. Adding the following to the testcase makes the buttons the same size:
BUTTON {
font-family: sans-serif;
font-size: small;
}
So, I think this should be added to html.css for BUTTON - sending to the
control-master for approval.
Assignee: pierre → rods
Component: Style System → HTML Form Controls
Assignee | ||
Comment 3•25 years ago
|
||
HTML 4.x compliance, easy fix to style sheet
Assignee | ||
Comment 4•25 years ago
|
||
accepting and marking as M16
Severity: minor → normal
Status: NEW → ASSIGNED
Target Milestone: --- → M16
Assignee | ||
Updated•25 years ago
|
Summary: <input type="button"> and <button> use different fonts → [FIX]<input type="button"> and <button> use different fonts
Assignee | ||
Comment 5•25 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•25 years ago
|
QA Contact: chrisd → ckritzer
Comment 7•25 years ago
|
||
Works for Me
Platform: PC
OS: Windows 98
Mozilla Version: 2000100508
Marking as Verified
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•