mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-08 16:03:21 +00:00
![kin%netscape.com](/assets/img/avatar_default.png)
Modified CreateAnonymousContent() so that if the text widget has a default value, it adds it as a text node under the div after it is created. Add better error checking to avoid possible problems. Removed calls to SetTextControlState() that were used to initialize the text widget contents from GetPrefSize() because it was causing a reflow within a reflow and the editor to be re-entered. Added missing call to GetText() in Reset(). r=sfraser@netscape.com