prototype: Optimize property detection of outerHTML. Avoids triggering FOUC in Safari 3.0.4. Closes #10702.
This commit is contained in:
parent
6f0def19c5
commit
7c86e29805
@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Optimize property detection of outerHTML. Avoids triggering FOUC in Safari 3.0.4. Closes #10702. [subimage, Tobie Langel]
|
||||
|
||||
* Add document.loaded, a boolean that is set to true once dom:loaded is fired. Setting document.loaded to true before the document is loaded prevents dom:loaded from being fired. [Tobie Langel]
|
||||
|
||||
* Make Element#insert standard-compliant. Fixes an issue in FF3b2 when inserting HTML or text inside DOM nodes which aren't (yet) appended to the document. [Tobie Langel]
|
||||
|
@ -918,7 +918,7 @@ if (Prototype.Browser.IE || Prototype.Browser.Opera) {
|
||||
};
|
||||
}
|
||||
|
||||
if (document.createElement('div').outerHTML) {
|
||||
if ('outerHTML' in document.createElement('div')) {
|
||||
Element.Methods.replace = function(element, content) {
|
||||
element = $(element);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user