IE11 test fixes.  Refs #7681, refs #16926, refs #11800.

Squash commit of:

---
more test fixes to avoid spurious failures, refs #7681

git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dijit@29504 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 1058941e058b68839be402d47d9434da0dcd0072)

---
allow for IE9+ async focus in !ComboBox and !FilteringSelect test, refs #16926

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@31121 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit fbec15cae397b80cec54682cb40858a4e125050b)
(cherry picked from commit 902b314bfcd6a6138781740656c09083e3b01c24)

---
allow for IE9+'s async focus in Form test, refs #11800

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@31106 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit a63501c383e1fe018aeec952dc490719fb644df5)
(cherry picked from commit 919a3428177c010c010f4bbcc2f897ee2c4b7df7)
[Backport IE fixes to 1.7] Fix JS errors occurring during EnterKeyHandling in IE11. Curiously, the tests did not catch them. Fixes #17466.

Note: I am not adding the has("trident") test that was added in other branches because I can't seem to reproduce on IE11...

(cherry picked from commit 8ec9162b32398ed7a2a15272e277532698a6512d)

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

(cherry picked from commit 1e0d8c0945335796f09fce4d4eeb9105c28b4b69)

Conflicts:
	_editor/RichText.js
Editor fixes to use has("trident") for IE11.  Refs #17311.

Squash commit of:
---
Make necessary additions to Editor for modern Trident

Refs #17311.

(cherry picked from commit bb0ae352737b8994419d591c728bf962d1d0759b)

Conflicts:
	_editor/RichText.js

(cherry picked from commit 574fd141dd4ae18cd08174f4d5b892afdf7aa114)

Conflicts:
	_editor/RichText.js

(cherry picked from commit f2c48ad6469eaebff35bc45dd27c0ea05406e9d1)

Conflicts:
	_editor/RichText.js

---
Fix formatblock command in IE9+

Fixes FontChoice plugin test failures

Refs #17311.

(cherry picked from commit 8d884077865c16f9debe62077f8ebb2da07ee29f)
(cherry picked from commit 397c2da26c0fb18da29643ee2e8f1535246d4863)

Conflicts:
	_editor/RichText.js

(cherry picked from commit 58fac915c27e8e28e76dca762d309fcf0da24881)
Fixes and refactorings for Editor on Firefox.
Somehow this also fixes the LinkDialog regression failure on IE11.
Fixes Editor_a11y.html regression test failure and removes firefox specific code branches:

- make FF use contentEditable (like other browsers) rather than designMode
- make FF use nested <div> inside of <body> (inside of <iframe>), just like other browsers
- expand tabbing helper code (both for tabbing/shift-tabbing into and out of the iframe) to run on all browsers, not just IE
- reduce the number of branches in focus(), so that Chrome and FF use same path

Fixes #10415, #17560.
Refs #11898.

(cherry-picked from a443c8477ce0111edffe0977dbe5794380af1001)
[Backport IE fixes to 1.7]
Changes related to editor height.

Squash of commits:

---
Make <body> height 100%, so that clicking anywhere on the editor window focuses it on IE8.
As a side effect, the scroll bar needs to go on the <body> rather than on <html>.
Tested on IE8, Chrome, FF (manually), and IE9.  Fixes #16804 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@31303 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit b61b56813dc0c922976ca783496c374b81ca3b58)

Conflicts:
	_editor/RichText.js

(cherry picked from commit 162b535bcccb4711e036c7cdf5dfea23f412dc5a)

---
Set height:100% on #dijitEditorBody in addition to <body>.
Note that usually #dijitEditorBody is actually the <div> inside the <body>.

Setting height:100% on the <div> fixes the Chrome problem where typing ctrl-A
and then some characters locks up the editor.   Doesn't seem to affect IE or FF.
The scrollbar still seems to work (showing up when the editor content overflows).

Refs #16804, fixes #17559.
Fixes regression from b61b56813dc0c922976ca783496c374b81ca3b58.
(cherry picked from commit fbfc0fe89385b8c85f2ae75c27a15ac807b42e71)

(cherry picked from commit d3d7755e7d3d2135dcedcc51cc16f7431a065d5d)

Conflicts:
	_editor/RichText.js

(cherry picked from commit c77d355c71583e6cea314a1d1058bc791407bf27)
Set focus.curNode when clicking non-disabled tabIndex=-1 element, fixes #17106 !strict.  Tested on IE8, IE10, chrome.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@31423 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit e458357856119a7a4e1e80c069ddbc1ada4c2021)
(cherry picked from commit 1a799036daa8543e27921748e378de58f6e22343)

Conflicts:
	focus.js

(cherry picked from commit b4fb07e605a9d7dc35307c7a5a3370dbb5f5a535)
Change focus manager to use dojo/on rather than addEventListener() and attachEvent() on older IE's.
This makes the behavior consistent across browsers (as to listening on capture phase vs. bubbling phase),
and as a side effect fixes #13341 !strict.

Also fixes various tests on IE11, such as tests/Dialog.html.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@30957 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 9965406f7184e8cee4467efc893ca5d85637b2e1)

Conflicts:
	focus.js
Close german drop down Calenda so we can focus the american !DateTextBox <input>, refs #7681.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@28284 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit f5f3c1b20130d8705602ec523a7e064c23308d48)
Use the same on.selector() method for keyboard events as click events...
it's more resilient for Trees with custom !TreeNodes that have nested widgets,
in which case the getEnclosingWidget() call might return one of the nested widgets rather than the TreeNode.

This also switches to pure use of dojo/on, which means that the keypress event is no longer normalized to mozilla behavior,
so had to handle those browser differences myself.

Fixes Tree_a11y.html test failure on IE11, probably due to the change to use the non-normalized keypress event.

Fixes #15153, refs #14896 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@28310 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 75159670d36ded6d1d7860ede79f734665478083)

Conflicts:
	Tree.js