Reviewers: jgw,
Description:
Reapplying r5742 and r5747 to fix RichTextArea issues 3133, 3176, 3503.
The original version of this patch was reverted because it failed in FF.
There is a small delay between the time an iframe is attached to the
DOM and when it is actually available for focus. Programatically
calling setFocus() immediately after attach will fail to focus on the
iframe. This patch defers focus until design mode has completely
initialized.
Please review this at http://gwt-code-reviews.appspot.com/555801/show
Affected files:
M /user/src/com/google/gwt/user/RichText.gwt.xml
M /user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplIE6.java
M
/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplMozilla.java
A
/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplOldMozilla.java
M /user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplOpera.java
M /user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplSafari.java
M
/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplStandard.java
M /user/test/com/google/gwt/user/client/ui/RichTextAreaTest.java
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors