Bug 13577

Summary: ER: the default font for textarea is not monospace (needed platform specific html4.css)
Product: WebKit Reporter: Jungshik Shin <jshin>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Enhancement CC: ahmad.saleem792, ap, bfulgham, fishd, mike, rniwa, simon.fraser, zalan
Priority: P4    
Version: 523.x (Safari 3)   
Hardware: All   
OS: All   

Jungshik Shin
Reported 2007-05-03 16:20:43 PDT
This is not a bug per se, but it'd be nice to be compatible with Firefox and MS IE. Adding the following line to WebCore/css/html4.css (between the style specification for 'input, textarea, keygen,...' and that for 'input[type="hidden"]' would do it. textarea { font-family: monospace; } I wonder what others think of this change.
Attachments
Dave Hyatt
Comment 1 2007-05-03 16:43:21 PDT
This is incompatible with how textareas look on the Mac. I think it would be appropriate for the RenderTheme to make this decision so that a RenderThemeWin could do what it wanted to do.
Darin Fisher (:fishd, Google)
Comment 2 2007-05-03 17:00:10 PDT
Since this can be solved via a platform-specific change to html4.css, wouldn't it be better to ship a platform-specific html4.css instead of modifying code to support this?
Robert Blaut
Comment 3 2009-01-02 04:23:54 PST
Confirmed as enhancement request.
Ahmad Saleem
Comment 4 2022-09-18 03:05:55 PDT
It is currently configured to "system-ui": https://github.com/WebKit/WebKit/blob/main/Source/WebCore/css/html.css#L411 plus HTML standard does not add "monospace" for textarea: >> https://html.spec.whatwg.org/#the-textarea-element ap@webkit.org - Is this valid anymore?
Ryosuke Niwa
Comment 5 2022-09-18 16:11:40 PDT
We're not making this change in general for texture.
Note You need to log in before you can comment on or make changes to this bug.