Closed
Bug 168391
Opened 23 years ago
Closed 22 years ago
CSS font styles do not apply to <input type='submit' or 'button'>
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: boris, Assigned: mkaply)
Details
(Whiteboard: fixed1.3)
Attachments
(1 file, 1 obsolete file)
|
945 bytes,
patch
|
asa
:
approval1.3+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.1) Gecko/20020827
Build Identifier: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.1) Gecko/20020827
Font styles e.g. font-family, font-weight and font-style do not applies to input
elements type 'button'. MSIE, and Mozilla for Windows does.
Reproducible: Always
Steps to Reproduce:
1. Crete html from example below
2. Open it in Mozilla OS/2
3. See button
Actual Results:
Text 'Submit Query' isn't bold italic
Expected Results:
Text 'Submit Query' should be bold italic.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style type="text/css">
.button {
font-family: Serif;
font-weight: bold;
font-style: italic;
font-size: 10pt;
border-style: solid;
border-color: #000000;
border-top-width: 1px;
border-bottom-width: 2px;
border-left-width: 1px;
border-right-width: 2px;
}
</style>
</head>
<body>
<form>
<input type='submit' name='test' values' test input ' class='button'>
</form>
</body>
</html>
| Reporter | ||
Updated•23 years ago
|
OS: other → OS/2
| Assignee | ||
Comment 1•23 years ago
|
||
This works fine for me.
What font do you have specified for your Serif font?
| Reporter | ||
Comment 2•23 years ago
|
||
I have tried many fonts including Tms Rmn, Courier and Helvetica. And have not
seen bold italic with any of them. May be I have some specific options on, but I
can't imagine what.
->form controls, although OS/2 has a different forms.css for some issues here.
Assignee: dbaron → jkeiser
Component: Style System → HTML Form Controls
QA Contact: ian → tpreston
| Assignee | ||
Comment 4•23 years ago
|
||
What build are you using?
I tried this with and without the custom OS/2 forms.css and it worked fine.
Summary: CCS font styles do not applies to <input type='submit' or 'button'> → CSS font styles do not apply to <input type='submit' or 'button'>
| Reporter | ||
Comment 5•23 years ago
|
||
The latest official I think: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.1)
Gecko/20020827. First I got buggy release 1.1 and the applied patch to it.
| Assignee | ||
Comment 6•23 years ago
|
||
Please try this with 1.2a. I don't see this problem.
| Reporter | ||
Comment 7•23 years ago
|
||
Same effect :( May be this information may help?
ACP2, SNAP, Ati 3D Rage Pro.
| Assignee | ||
Comment 8•23 years ago
|
||
Please check on the newsgroup and see if anyone else sees this.
There's nothing I can do with it.
| Assignee | ||
Comment 9•23 years ago
|
||
Did you check on the newsgroup? Noone sees this but you. We work fine on many
machines.
| Reporter | ||
Comment 10•23 years ago
|
||
Sorry, I was very busy. I understand that my computer is peculiar but can't
understand what :) I may send You corresponding screenshots but don't believe
that there help.
| Assignee | ||
Comment 11•23 years ago
|
||
Are you sure you did this correctly?
On Os/2, Arial Bold Italic does NOT work, so if you have Arial set as your Serif
font, it will not work.
Also, serif sould not be capitalized.
PLEASE post on the newsgroup and see if anyone else has this problem. We aren't
able to recreate it on 10 different OS/2 machines.
| Assignee | ||
Comment 12•22 years ago
|
||
Boris, do you have an update here?
| Reporter | ||
Comment 13•22 years ago
|
||
Unfotunatelly, problems are the same :(
Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.3b) Gecko/20030211
May be this problem is related to cyrillic fonts? Or cyrillic codepage? I have
two OS/2 machines with different video cards and SDD installed and effects are
the same with both.
| Assignee | ||
Comment 14•22 years ago
|
||
Duh. Patch coming.
Assignee: jkeiser → mkaply
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 15•22 years ago
|
||
I can't believe I didn't see this.
I was inheriting the wrong thing. I should only be inheriting font-style, not
all font attributes.
Sorry about that.
| Assignee | ||
Comment 16•22 years ago
|
||
Comment on attachment 116209 [details] [diff] [review]
Fix
Javier Pedemonte already looked at this and OKed it.
If there is ANY way to get this in, I would love to. It is TOTALLY OS/2
specific and was causing some of our form elements not to display correctly.
Thanks
Attachment #116209 -
Flags: review+
Attachment #116209 -
Flags: approval1.3?
| Assignee | ||
Comment 17•22 years ago
|
||
Fixing and tagging so we pick it up for next iwb if it doesn't make it into 1.3final
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Whiteboard: iwb2.0.1
| Assignee | ||
Comment 18•22 years ago
|
||
Better fix from dbaron
Attachment #116209 -
Attachment is obsolete: true
Comment 19•22 years ago
|
||
Comment on attachment 116552 [details] [diff] [review]
Better fix
a=asa (on behalf of drivers) for checkin to 1.3.
Attachment #116552 -
Flags: approval1.3+
| Assignee | ||
Updated•22 years ago
|
Attachment #116209 -
Flags: approval1.3?
| Assignee | ||
Updated•22 years ago
|
Whiteboard: iwb2.0.1 → fixed1.3
You need to log in
before you can comment on or make changes to this bug.
Description
•