fix lint errors, refs #13036 !strict

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27563 560b804f-0ae3-0310-86f3-f6aa0a117693
fix invalid HTML and other lint errors, refs #13036 !strict

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27569 560b804f-0ae3-0310-86f3-f6aa0a117693
Ignore {id: undefined} specified in widget constructor parameters, fixes #14495 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27583 560b804f-0ae3-0310-86f3-f6aa0a117693
Simplify template of !TabButton, removing .dijitTabInner, .dijitTabContent, and the div inside of the .dijitTabContent.   The border, padding and background all now go on .dijitTab, and the focus goes to the .tabLabel.

This simplification eliminates the need for a lot of workaround CSS, so the files are much smaller now, and in turn the theme is easier to customize.

Since each tab now just has a single background image, many of the images from soria and nihilo are no longer used, and have been removed.   In addition, for soria, needed to modify the image for the selected tab on left and right !TabContainers to contain the dark section near the content, and the dual-tone gradient for the remainder of the tab.

IE RTL quirks mode has problems with left/right tabs, but they weren't working before either.

Removed the _rectifyRtlTabList() code for IE7 due to the low usage of IE7, especially of left/right !TabContainers in RTL mode on IE7.   So, when IE7 displays left/right !TabContainers in RTL mode, there's a gap between the tab labels and the tab content.

Fixes #14663 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27642 560b804f-0ae3-0310-86f3-f6aa0a117693
Add selector parameter and getContent() method so that a single dijit.Tooltip can be applied to many rows in a table, or many nodes in a Tree, etc.

Fixes #14654 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27677 560b804f-0ae3-0310-86f3-f6aa0a117693
add comment, refs #14654 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27678 560b804f-0ae3-0310-86f3-f6aa0a117693
Support textdir for !MultiSelect, patch from Maria Vinikov (IBM, CCLA), thanks!    Fixes #13100 !strict.

I do think eventually though that we should replace !MultiSelect altogether with a friendly widget, like dojox.form.!CheckedMultiSelect.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27688 560b804f-0ae3-0310-86f3-f6aa0a117693
DnD fixes regarding horizontal containers and the drop-insert line:

1. For horizontal containers, make the drop insert line be to the left/right of elements, rather than above/below them.

2. Fix jitter issues when moving over drop targets by trading off padding for border, rather than just by creating a border.

3. Change the claro drop insert line for generic DnD containers be 2px rather than 1px, to match the drop insert line for Tree.

4. On RTL pages for horizontal containers, dropping an element A near the right edge of an element B should put A (before B (in the page flow), not after it.

I put the CSS rules into dijit.css, even though they aren't part of dijit.  I think they'd make more sense in dojo/resource/dnd.css, but for some reason the precedent in dojo/ is to have the drop insert line rules in dojo/tests/dndDefaults.css, which doesn't get included into non-test pages.

Fixes #7225 !strict.


git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27710 560b804f-0ae3-0310-86f3-f6aa0a117693
Make "before" and "after" positioning (used for submenus) work like in 1.6, where it would align either the tops or bottoms of the anchor and popup.   Add "before-centered"and "after-centered" options to be used for Tooltips.   Fixes #14701 !strict on trunk/

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27718 560b804f-0ae3-0310-86f3-f6aa0a117693
Refs #14387 !strict Fixed a problem where mblUserAgent didn't work.

git-svn-id: http://svn.dojotoolkit.org/src/dojox/trunk@27750 560b804f-0ae3-0310-86f3-f6aa0a117693
Fix MID's in dojo/ and dijit/ modules to be relative paths (when possible), and convert "." --> "./main".  

The "./main" references in dijit/ modules are for exporting symbols to the "dijit" namespace and thus will be removed in 2.0, but before that (for consistency) maybe it's worth changing the code to export via setObject(), like dojo.declare() does.

Fixes #14742 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27778 560b804f-0ae3-0310-86f3-f6aa0a117693
Fixes #14752 !strict Use relative MID's when referring to itself. Thanks Bill for the patch.

git-svn-id: http://svn.dojotoolkit.org/src/dojox/trunk@27784 560b804f-0ae3-0310-86f3-f6aa0a117693
fix spacing, refs #13036 !strict

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27790 560b804f-0ae3-0310-86f3-f6aa0a117693
Fix a lingering non-relative MID, and convert ".." --> "../main", refs #14742 !strict

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27813 560b804f-0ae3-0310-86f3-f6aa0a117693
Fix quote escaping, thanks Doug, fixes #14784, refs #10970, #11442 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27853 560b804f-0ae3-0310-86f3-f6aa0a117693
Fixes #14733 !strict Added lazy-load feature to Opener and its test cases.

git-svn-id: http://svn.dojotoolkit.org/src/dojox/trunk@27854 560b804f-0ae3-0310-86f3-f6aa0a117693
Modify ondijitclick to convert keyboard ENTER/SPACE key events into actual click events, so that the click events bubble, and apps can catch the events on an ancestor node, using on(wrapperNode, "click", ...).

The other option was to tell apps to do on(wrapperNode, _OnDijitClick.a11yclick, ...), but I worry that's confusing, given the name of the existing event dijit.form.Button.onClick(), and so I worry that apps will end up doing on(wrapperNode, "click", ...), and thus being non-accessible.

For longer term, I'd like to convert a lot of the current clickable <span> and <div> nodes into <button> nodes, thus avoiding the need for ondijitclick altogether.   However, that can't be done until we desupport IE6/IE7 (due to glitches they have rendering <button>'s), and also can't be done for cases like !ComboButton and Menu where for formatting reasons the clickable nodes need to be <td> nodes.

Finally, there's a subtle bug both before and after this checkin that an app can't call evt.preventDefault() on a button's keypress/keydown event in order to stop the click event from being generated and stop the form from submitting.    Probably that won't be an issue in practice because (to support mouse users) apps would instead call evt.preventDefault() on the click event.

Refs #13785, #14734 !strict.


git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27937 560b804f-0ae3-0310-86f3-f6aa0a117693
On second thought, a margin between horizontal items isn't needed: unlike Tree, there's no point to distinguishing between "drop after item 2" and "drop before item 3".  Ideally those two states should look the same, although I don't know how to achieve that.  Refs #7225.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27945 560b804f-0ae3-0310-86f3-f6aa0a117693
Fixes #14755.  Replace mixin(..., evt) calls with a simple event shallow copy and skip layerX/Y attributes to avoid webkit warnings.  Change TextBox's _onInput to use on(...) instead of this.connect for input events. 

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27954 560b804f-0ae3-0310-86f3-f6aa0a117693
Fixes #14755.  Ensure faux event object is fully initialized before calling typematic callback.

git-svn-id: http://svn.dojotoolkit.org/src/dijit/trunk@27962 560b804f-0ae3-0310-86f3-f6aa0a117693