Add isLoaded check to RichText#getValue to avoid errors when the iframe has not yet loaded.
Fixes #15134.
(cherry picked from commit 4dc879a433b3c3db4310011cf28e13edd0801139)

(cherry picked from commit 73c826455d90aefa088a165b6fc240edbcf80199)

Conflicts:
	_editor/RichText.js
	tests/editor/Editor.html
Fixes #16194.  Don't call validate() until _created==true.
This also restores all the tests erroneously removed in 948cda25a51f8f065a99c1d018beb6889cb3a380.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29878 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 73f44da76b7b09cd80e3785e193cccd798158c92)
Avoid problem on IE9+ where the link dialog opens then closes immediately the first time a link is double clicked.  It stems from a problem on IE9+ where the focusout event on the <iframe> comes after the focusin event on the <input> in the link dialog.   Fixes #16928 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@31074 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit e89649a77e631212874cb9d105d1d63d60a99c3e)
Workaround IE10 problem where Dialog's close icon doesn't get focus.   Not sure why tabindex="-1" isn't working but in this case we can just set it to tabindex="0".  Fixes #16961 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@31103 560b804f-0ae3-0310-86f3-f6aa0a117693
fix IE10 rounding problem, fixes #16128, refs #17969

(cherry picked from commit f469394c20265f5dbfdaeec2c233a61efffd2fbb)
Use opacity :0 rather than opacity: 0.01.
Opacity: 0.01 was a workaround to a firefox or webkit bug that's been fixed,
and using opacity:0 allegedly fixes a rendering problem on IE on certain hardware/drivers.

Fixes #17200.

(cherry picked from commit 4068c904425890334d5face9cb692815ae4db7bb)
Prevent unnecessary tooltip word wrap on IE10, IE11.
Fixes #17688, refs #15299.

(cherry picked from commit 6e68e6c35dc61636eca0442898351ecbc09e1960)
Don't call preventDefault() on MSPointerDown/pointerdown event.
Likewise for MSPointerUp/pointerup.
It prevents the mousedown / mouseup events from being emitted.

Fixes #17709.

(cherry picked from commit d4334c3d206c01ad28d6f030560445c2866dd496)

Conflicts:
	tests/tree/robot/Tree_mouse.html
	tests/tree/test_Tree.html
Fix IE problem with caret disappearing or not moving on ENTER.
Happens with EnterKeyHandling plugin when blockNodeForEnter=BR (the default setting
for an editor without any plugins explicitly specified).

Also fixes FF problem on ENTER with caret moving to beginning of current line,
rather than beginning of next line.

Code changes:

- this.editor.selection.collapse(true) doesn't work well when the selection is the \n at the end of a document.
  So trim() whitespace from the end of the document on load.
- Don't call remove() on the current selection as it causes havoc with the caret.
  Code to call remove() was added in 08c381738d5c1da53099db51848d94fde3c3249d for #12008,
  to remove the &nbsp added, but now I'm handling this in _stripTrailingEmptyNodes()

Unfortunately this change needs to be manually tested,
since doh/robot doesn't know where the caret appears visually.

Fixes #17745, refs #12008.
(cherry picked from commit f569ab4d48ab9a225f12eae3bdf423abcd25e84f)

(cherry picked from commit 7adf55b21a7938dce7d369dacf87c423d7423be7)

Conflicts:
	_editor/RichText.js
	_editor/plugins/EnterKeyHandling.js