Index: compat/core/src/main/javascript/scriptaculous/builder.js =================================================================== --- compat/core/src/main/javascript/scriptaculous/builder.js (revision 21898) +++ compat/core/src/main/javascript/scriptaculous/builder.js (revision 21897) @@ -142,12 +142,12 @@ dump: function(scope) { if (typeof scope != 'object' && typeof scope != 'function') scope = window; //global scope - var tags = ("A ABBR ACRONYM ADDRESS APPLET AREA B BASE BASEFONT BDO BIG BLOCKQUOTE BODY " + - "BR BUTTON CAPTION CENTER CITE CODE COL COLGROUP DD DEL DFN DIR DIV DL DT EM FIELDSET " + - "FONT FORM FRAME FRAMESET H1 H2 H3 H4 H5 H6 HEAD HR HTML I IFRAME IMG INPUT INS ISINDEX " + - "KBD LABEL LEGEND LI LINK MAP MENU META NOFRAMES NOSCRIPT OBJECT OL OPTGROUP OPTION P " + - "PARAM PRE Q S SAMP SCRIPT SELECT SMALL SPAN STRIKE STRONG STYLE SUB SUP TABLE TBODY TD " + - "TEXTAREA TFOOT TH THEAD TITLE TR TT U UL VAR").split(/\s+/); + var tags = ("a abbr acronym address applet area b base basefont bdo big blockquote body " + + "br button caption center cite code col colgroup dd del dfn dir div dl dt em fieldset " + + "font form frame frameset h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex " + + "kbd label legend li link map menu meta noframes noscript object ol optgroup option p " + + "param pre q s samp script select small span strike strong style sub sup table tbody td " + + "textarea tfoot th thead title tr tt u ul var").split(/\s+/); tags.each(function(tag) { scope[tag] = function() { Index: compat/core/src/main/javascript/scriptaculous/dragdrop.js =================================================================== --- compat/core/src/main/javascript/scriptaculous/dragdrop.js (revision 21898) +++ compat/core/src/main/javascript/scriptaculous/dragdrop.js (revision 21897) @@ -903,7 +903,7 @@ if (!Sortable._marker) { Sortable._marker = - ($('dropmarker') || Element.extend(document.createElement('DIV'))). + ($('dropmarker') || Element.extend(document.createElement('div'))). hide().addClassName('dropmarker').setStyle({position:'absolute'}); document.getElementsByTagName("body").item(0).appendChild(Sortable._marker); } Index: compat/core/src/main/javascript/extras/extras.js =================================================================== --- compat/core/src/main/javascript/extras/extras.js (revision 21898) +++ compat/core/src/main/javascript/extras/extras.js (revision 21897) @@ -2257,7 +2257,7 @@ }, onHover: function(event) { - var element = Event.findElement(event, 'DIV'); + var element = Event.findElement(event, 'div'); if (this.index != element.autocompleteIndex) { if (!this.skip_mouse_hover) this.index = element.autocompleteIndex; this.render(); @@ -2275,7 +2275,7 @@ onClick: function(event) { this.hidden = true; // Hack to fix before beta. Was popup up the list after a selection was made - var element = Event.findElement(event, 'DIV'); + var element = Event.findElement(event, 'div'); this.index = element.autocompleteIndex; var idx = element.autocompleteIndex; this.selectEntry(); @@ -3849,7 +3849,7 @@ getPreviousElement: function() { - if (this.source.previousSibling.tagName == "DIV") { + if (this.source.previousSibling.tagName == "div") { return this.source.previousSibling; } else { return this.source.previousSibling.previousSibling; @@ -3857,7 +3857,7 @@ }, getNextElement: function() { - if (this.source.nextSibling.tagName == "DIV") { + if (this.source.nextSibling.tagName == "div") { return this.source.nextSibling; } else { return this.source.nextSibling.nextSibling; @@ -4345,7 +4345,7 @@ var rootLevelItems = this.component.childNodes; for(i=0; i < rootLevelItems.length; i++) { var element = rootLevelItems[i]; - if (element.tagName == "DIV") { + if (element.tagName == "div") { if (Element.hasClassName(element, this.getMenuBarItemClass())) { element.onmouseover = this.hover.bindAsEventListener(this, element); //add focus support