Closed
Bug 28219
Opened 25 years ago
Closed 24 years ago
font-family dosn't work with textarea when cols attribute is used. [FONT]
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
FIXED
Future
People
(Reporter: andrew, Assigned: attinasi)
References
()
Details
(Keywords: css1)
Attachments
(3 files)
No description provided.
Comment 1•25 years ago
|
||
Please provide more information and a test case or url. Reassigning to Rods.
Assignee: karnaze → rods
Reporter | ||
Comment 2•25 years ago
|
||
I have put together a basic page demonstrating the problem at the URL given. A couple of other related problems showed up in putting the page together too.
Reporter | ||
Comment 3•25 years ago
|
||
I've corrected an accidental redirect in my bug demo page at http://wrms.cat-it.co.nz/mozilla-bug-demo.php so it should be possible to see what I mean now. Sorry about that!
Reporter | ||
Comment 4•25 years ago
|
||
I just looked at the page with Windows build 2000022108 and I am seeing the same problems.
Reporter | ||
Comment 5•25 years ago
|
||
I guess this is a duplicate (or perhaps a superset) of http://bugzilla.mozilla.org/show_bug.cgi?id=18232
This seems fixed now. The only problem left on the page is that the textarea has wrong font. Would be nice if you submitted a minimal testcase showing only the textarea-font problem (think you should get the BugAThon creds for this bug). Changing summary and confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Form style not applied during data entry → font-family dosn't work with textarea.
Comment 9•24 years ago
|
||
this is a css issue, assigning to cmanske for confirmation.
Assignee: beppe → cmanske
Comment 10•24 years ago
|
||
I see a "Courier" font in the textarea, not Tahoma, sans-serif. I have the new "ender lite" turned on, so this issue now goes to mjudge.
Assignee: cmanske → mjudge
Comment 11•24 years ago
|
||
the text areas simply inherit their font via style. If the wrong font is showing up then the style system is giving the text area the wrong one. assigning to marc.
Assignee: mjudge → attinasi
Assignee | ||
Comment 12•24 years ago
|
||
The textarea is reverting to the monospaced font when the COLS attribute is defined. If you remvoe the cols attribute then the font-family is used correctly. I'll attach a simple testcase demonstrating this, and then I'll try to fogure out why (if it is intentional or not). CC'ing RodS. too since he can probably help.
Status: NEW → ASSIGNED
Summary: font-family dosn't work with textarea. → font-family dosn't work with textarea when cols attribut is used.
Assignee | ||
Comment 13•24 years ago
|
||
Assignee | ||
Comment 14•24 years ago
|
||
Looking at the style contexts it appears that the textarea itself is fine, however there is a DIV that is a child of the textarea and that is where the difference is seen: in the case where the TEXTAREA has the COLS attribute, the child DIV has 'font-family: monospace' as a rule, and when there is no COLS attribute, the child DIV does not have the font-family rule. I'll attach a dump of the contexts that shows the difference (pasting it into bugzill awould make it unreadable).
Summary: font-family dosn't work with textarea when cols attribut is used. → font-family dosn't work with textarea when cols attribute is used.
Assignee | ||
Comment 15•24 years ago
|
||
Assignee | ||
Comment 16•24 years ago
|
||
Hey Rod, is this intentional? When COLS is specified on a textarea, do we want to revert to monospaced font? I haven't found the code that is changing the font yet and I thought you might know...
Assignee | ||
Comment 17•24 years ago
|
||
Moving all non-nsbeta3 bugs to future milestone: these will be worked on after beta3/rtm.
Target Milestone: M18 → Future
Updated•24 years ago
|
Summary: font-family dosn't work with textarea when cols attribute is used. → font-family dosn't work with textarea when cols attribute is used. [FONT]
Reporter | ||
Comment 18•24 years ago
|
||
The style now appears correctly formatted with the Linux build 20000925, so I am happy to consider this fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 21•23 years ago
|
||
somethings still wrong here... if i use the following stylesheet: * { font-family: verdana; } textarea { font-family: monospace;} the textarea uses verdana! (mozilla 0.9.6) i attached a testcase...
You need to log in
before you can comment on or make changes to this bug.
Description
•