Squash commit of IE10 dijit test fixes.

fix spurious Dialog test failures on IE10 due to async focus(), refs #16926

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

Conflicts:
	tests/Dialog.html
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.

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

Conflicts:
	focus.js
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
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)
Fixes #16311.  Merge TextBox::_onInput into _TextBoxMixin::_onInput so that intermediateChanges is visible to mobile/TextBox.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@29941 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 15651985c5b7f8e5d384c8291d9d340825225ac5)
Fixes #16424.  CHeck to see if the textbox value is nonempty before removing the placeHolder.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@30597 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 8da346e8fd9936549f706f0b313f47bf7f28b97f)
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)
Removing parts of !ToggleDir test that fail after switching editor iframe to standards mode.   They were depending on behavior of down arrow and right arrow that isn't guaranteed.  Plus, the tests didn't seem very useful (beyond just checking the dir setting on the iframe).  Refs #16804.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@30953 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 4e521fb509c3ab8bfcfdd93868294661a69bae73)
Massively speed up robot validationMessages tests

Refs #7681

(cherry picked from commit 2070514b8ad48c9308c6d76c4b81051e1e5daf34)
(cherry picked from commit 5463f819fa5c2779f56affcaf8b4815985aa7eae)
Throttle back speedup on validationMessages slightly

There are apparently some machine speed-depedent race conditions.

Refs #7681

(cherry picked from commit 9cf86295113c6ed9cb2ba8fcf34def861356929b)
(cherry picked from commit f8c5154cff8417c052686d1855acb3522109e895)
Squash commit of IE8 fixes to Dialog_Mouse and robot InlineEditBox test failures:

remove unused modules from dependency list, and upgrade to use new dojo/Deferred code, refs #14279 !strict

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

use dijit/tests/helpers::waitForLoad rather than duplicating code, refs #7681

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

Don't assume that the focus manager is loaded or dojo.subscribe is defined in the iframe.   For AMD tests they may not be.   Plus fixing a few references to the dojo global.  Refs #14279 !strict.

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

For dijit/tests/helpers::onFocus(), if focus changes multiple times during the specified delay, return the latest focus to the callback.    Fixes a problem in the cancel test in Dialog_mouse.html: due to [23488], focus first goes to the close icon and then goes back to the button.  Perhaps the close icon should only get tabIndex=-1 when there are no focusable elements in the dialog?   For now, just changing the dijit/tests/helpers::onFocus() method.  Refs #8285 !strict.

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

Conflicts:
	tests/robot/Dialog_mouse.html
Fix IE8 Editor scrollbars: add doctype on editor's iframe, fixes #16804 !strict

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

Conflicts:
	_editor/RichText.js
Fix Tooltip_mouse test failure in IE11 due to floating point measurements
Prevent spurious test failure.  Tab 5 with inner tab 1 selected is the same height or near the same height as Tab 4 with inner tab 2 selected... so don't test for a height difference.  Plus which it's silly to test the same behavior 8 times.   Refs #11488.

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

Conflicts:
	tests/layout/robot/TabContainer_noLayout.html
Fix failure due to rounding in BorderContainer_complex 'resize accordion' test
Fix Textarea expand/contract failure due to min-width: min-content in Chrome
I reproduced the changes from commit c43fdb600f0a1a134a343583432680e189182c59 to resolve an error in IE8.  That commit cannot be cherry-picked because selection.js has been refactored and moved.
Create boilerplate.js, a successor to _testCommon.js that doesn't depend on deprecated dojo.ready().    Refs #17022 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@31239 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit ff81a4ee1b75bfe48f2b612ba1ef5340d5c6ae84)
fix missing dependency, refs #17022
(cherry picked from commit d2d424cf12fe4bbab538b2d26c719f155ab873f7)

(cherry picked from commit 45b5d6ef8624a0ba595a983f43ae8d1fbd7333d4)
Refactor robot so initRobot() is implemented as an asynchronous test fixture, rather than using monkey patching code that doesn't work well, having two places calling doh._run() in a race condition.   This design also makes better code separation between vanilla DOH and robot.

I plan to do the same for startRobot() in the next check in.

Also fixes priority of ready() call inside DOH.   The default priority is 1000, so we need to be higher than that, so that DOH doesn't execute until the iframe's dojo.ready() call has finished executing.

Fixes #16386 !strict.

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