DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16804>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16804

html:text tag has no filter attribute





------- Additional Comments From [EMAIL PROTECTED]  2003-06-23 15:18 -------
How do you envision the output of this? 
"<b>this</b>"
A text input with 'this' in bold?

and the output of:
"<b>this</b> or that"
A text input with 'this' in bold and 'or that' not bolded?

I do not think that an HTML text input can render inline html in the value.  In 
order to control styles you have to do it at the input level.  That is you can 
only have styles (bold, italics, color) that apply to the entire input element.

I could see how you could make the filter and if the value starts and ends with 
some sort of style tags it could modify the style, but I think that might be a 
bit heavy handed. (I'm back and forth on this though) Decisions would have to 
be made on who had final say over styles (in-value v. in-line v. inherited), 
and the style data field would have to be parsed through and data removed and 
the new style data appended.

I have proposed an alternative patch/enhancement that gives a lot of new style 
control to all of the html-input tags.  And depending on the real-world problem 
you are trying to solve, it might just do the trick.
That is, if you are trying to make all of your errors show up bold, it's for 
you. ( http://issues.apache.org/bugzilla/show_bug.cgi?id=20784 )

Jonathan R. DeRose

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to