Closed Bug 341051 Opened 20 years ago Closed 20 years ago

Extensions to textarea element

Categories

(Core :: Layout, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: barryg, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 A few useful extensions to the textarea element: (BTW, I know that these lie more within the realm of the XHTML standard however as a single developer I have to leverage available to even bring this to the attention of the W3C, hence I raise it here) 1. Allow the caret to be styled. Even a simple "line" or "block" (perhaps with caret-color as well) would be useful (or perhaps a caret-width). This is for when you are editing code within a textarea. And perhaps a caret-blink/flash-time would be useful as well, i.e. a millisecond value that defines how quickly the caret blinks on and off. 2. Allow the content to be styled. The most useful way of performing this would be to do: textarea.applyStyle (start, end, style); The content of the textarea would then be presented in a styled form (NOT html). A further useful extension would then be to allow the the content to be retrieved either as plain text or as styled HTML content (not sure about the tags that would be appropriate since this is a user choice thing). Given the number of online editors that are available this would be most useful for them. Reproducible: Always Steps to Reproduce: Feature enhancement. Actual Results: Feature enhancement. Expected Results: Feature enhancement.
This is a wrong place for this. Even if you wish to discuss it with mozilla developers (and not with one of standards bodies), the better place for the suggestion would be the developer newsgroups. And when submitting a bug, keep it one suggestion/issue per bug, please.
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → Trunk
Thanks for that. I won't trouble myself (or waste my time and yours seemingly) with trying to improve the Firefox product again, especially since "Enhancement" doesn't seem to mean that, it seems to mean "discuss with developers".
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.