r=myself, I'll take the heat if this goes bad. It's a very simple change.
The text control optimization was turned on for single line text controls,
and turned off for text areas. With this change, the optimization is also
turned off for password fields. This shouldn't effect performance in any
noticable way, because there are very rarely more than one or two password
controls on a single page. The optimization in the case of password fields
isn't worth the extra code and complexity for dealing with replacing
characters with '*'
git-svn-id: svn://10.0.0.236/trunk@52688 18797224-902f-48f8-a5cc-f745e15eee43
This fixed 6 warnings and cases where reset and set property where not working properly for
all form elements. r = rods@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@52619 18797224-902f-48f8-a5cc-f745e15eee43
r=brade
change is in nsGfxTextControl.cpp. I used to just blindly set the text of the underlying text frame.
Now I check if it's a password field, and replace the display text with '*' if it is.
git-svn-id: svn://10.0.0.236/trunk@52546 18797224-902f-48f8-a5cc-f745e15eee43
height" when reflowing child frames. What was happening was that the child
table frame didn't fit and was trying to split. That should only happen when
we're paginated
git-svn-id: svn://10.0.0.236/trunk@52359 18797224-902f-48f8-a5cc-f745e15eee43
we now display the content of a single line text control using a child pseudo frame
until the text control first gets focus. at that time, a webshell and editor are created on the fly.
fixed bug bug 14727
r=rods
git-svn-id: svn://10.0.0.236/trunk@52330 18797224-902f-48f8-a5cc-f745e15eee43
after my AppendReflowCommand. The reflow command gets "kicked off"
and it is now fixed. r=kipp, b=14771
git-svn-id: svn://10.0.0.236/trunk@51916 18797224-902f-48f8-a5cc-f745e15eee43
reflow paths for NavQuirks and Standard mode. Also, Standard mode reflow now obeys
cols rows etc. Although there may be a little code bloat, this will make maintaining
the input text and textarea much much easier.
r=kmcclusk, b=6695,7461
git-svn-id: svn://10.0.0.236/trunk@51818 18797224-902f-48f8-a5cc-f745e15eee43
not it properly calculates the number of cols and rows when in NavQuiks mode
r=kmcclusk, part of bug 7461
git-svn-id: svn://10.0.0.236/trunk@51498 18797224-902f-48f8-a5cc-f745e15eee43
for the input text and textarea, I also changed the border calc for only when the
the size is explicitly set.
r=kmcclusk, Bug #3040,11285
git-svn-id: svn://10.0.0.236/trunk@51130 18797224-902f-48f8-a5cc-f745e15eee43
Changed add the added of scrollbar sizes for Standard mode
r=kmcclusk, Bug #3040,11285
git-svn-id: svn://10.0.0.236/trunk@51129 18797224-902f-48f8-a5cc-f745e15eee43
for calculating the nsIFormControlFrame's NavQuirks size
Added two methods for getting the "wrap" property and andded a new enum
for for testing against instead of a string
Added a method for calculating the size when in NavQuirks modes, this currently
duplicates the algorithms for for input text and textareas
r=kmcclusk, Bug #3040,11285
git-svn-id: svn://10.0.0.236/trunk@51128 18797224-902f-48f8-a5cc-f745e15eee43
r=rods@netscape.com
also did some associated performance work, factoring code and collapsing multiple listener
objects down to 1. This saves a few allocations and about 60 bytes per text control.
bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
git-svn-id: svn://10.0.0.236/trunk@50825 18797224-902f-48f8-a5cc-f745e15eee43