diff --git a/content/base/public/nsIDocumentEncoder.idl b/content/base/public/nsIDocumentEncoder.idl index 13cadc20e92..6da4fbda80e 100644 --- a/content/base/public/nsIDocumentEncoder.idl +++ b/content/base/public/nsIDocumentEncoder.idl @@ -51,7 +51,7 @@ class nsIDocument; [ptr] native nsINodePtr(nsINode); [ptr] native nsIDocumentPtr(nsIDocument); -[scriptable, uuid(c0da5b87-0ba7-4d7c-8cb3-fcb02af4253d)] +[scriptable, uuid(82adaeca-63ee-44eb-830a-e1678bb8745e)] interface nsIDocumentEncoderNodeFixup : nsISupports { /** @@ -272,6 +272,7 @@ interface nsIDocumentEncoder : nsISupports * @param aNode The node to encode. */ void setNode(in nsIDOMNode aNode); + [noscript] void setNativeNode(in nsINodePtr aNode); /** * If the container is set to a non-null value, then its diff --git a/content/base/src/nsDocumentEncoder.cpp b/content/base/src/nsDocumentEncoder.cpp index aa583313bdc..8b69baea6c3 100644 --- a/content/base/src/nsDocumentEncoder.cpp +++ b/content/base/src/nsDocumentEncoder.cpp @@ -301,6 +301,14 @@ nsDocumentEncoder::SetNode(nsIDOMNode* aNode) return NS_OK; } +NS_IMETHODIMP +nsDocumentEncoder::SetNativeNode(nsINode* aNode) +{ + mNodeIsContainer = false; + mNode = aNode; + return NS_OK; +} + NS_IMETHODIMP nsDocumentEncoder::SetContainerNode(nsIDOMNode *aContainer) { diff --git a/content/html/content/src/nsGenericHTMLElement.cpp b/content/html/content/src/nsGenericHTMLElement.cpp index c764eaeb5b6..2b2f345bcc8 100644 --- a/content/html/content/src/nsGenericHTMLElement.cpp +++ b/content/html/content/src/nsGenericHTMLElement.cpp @@ -120,6 +120,7 @@ #include "nsPLDOMEvent.h" #include "mozilla/Preferences.h" +#include "mozilla/dom/FromParser.h" using namespace mozilla; using namespace mozilla::dom; @@ -665,15 +666,13 @@ nsGenericHTMLElement::GetOffsetParent(nsIDOMElement** aOffsetParent) return NS_OK; } -NS_IMETHODIMP -nsGenericHTMLElement::GetInnerHTML(nsAString& aInnerHTML) +nsresult +nsGenericHTMLElement::GetMarkup(bool aIncludeSelf, nsAString& aMarkup) { - aInnerHTML.Truncate(); + aMarkup.Truncate(); nsIDocument* doc = OwnerDoc(); - nsresult rv = NS_OK; - nsAutoString contentType; if (IsInHTMLDocument()) { contentType.AssignLiteral("text/html"); @@ -698,21 +697,37 @@ nsGenericHTMLElement::GetInnerHTML(nsAString& aInnerHTML) NS_ENSURE_TRUE(docEncoder, NS_ERROR_FAILURE); - rv = docEncoder->NativeInit(doc, contentType, - nsIDocumentEncoder::OutputEncodeBasicEntities | - // Output DOM-standard newlines - nsIDocumentEncoder::OutputLFLineBreak | - // Don't do linebreaking that's not present in - // the source - nsIDocumentEncoder::OutputRaw); + nsresult rv = docEncoder->NativeInit(doc, contentType, + nsIDocumentEncoder::OutputEncodeBasicEntities | + // Output DOM-standard newlines + nsIDocumentEncoder::OutputLFLineBreak | + // Don't do linebreaking that's not present in + // the source + nsIDocumentEncoder::OutputRaw); NS_ENSURE_SUCCESS(rv, rv); - docEncoder->SetNativeContainerNode(this); - rv = docEncoder->EncodeToString(aInnerHTML); - doc->SetCachedEncoder(docEncoder.forget()); + if (aIncludeSelf) { + docEncoder->SetNativeNode(this); + } else { + docEncoder->SetNativeContainerNode(this); + } + rv = docEncoder->EncodeToString(aMarkup); + if (!aIncludeSelf) { + doc->SetCachedEncoder(docEncoder.forget()); + } return rv; } +nsresult +nsGenericHTMLElement::GetInnerHTML(nsAString& aInnerHTML) { + return GetMarkup(false, aInnerHTML); +} + +NS_IMETHODIMP +nsGenericHTMLElement::GetOuterHTML(nsAString& aOuterHTML) { + return GetMarkup(true, aOuterHTML); +} + void nsGenericHTMLElement::FireMutationEventsForDirectParsing(nsIDocument* aDoc, nsIContent* aDest, @@ -740,8 +755,6 @@ nsGenericHTMLElement::SetInnerHTML(const nsAString& aInnerHTML) { nsIDocument* doc = OwnerDoc(); - nsresult rv = NS_OK; - // Batch possible DOMSubtreeModified events. mozAutoSubtreeModified subtree(doc, nsnull); @@ -758,8 +771,7 @@ nsGenericHTMLElement::SetInnerHTML(const nsAString& aInnerHTML) nsAutoScriptLoaderDisabler sld(doc); - nsCOMPtr df; - + nsresult rv = NS_OK; if (doc->IsHTML()) { PRInt32 oldChildCount = GetChildCount(); rv = nsContentUtils::ParseFragmentHTML(aInnerHTML, @@ -772,6 +784,7 @@ nsGenericHTMLElement::SetInnerHTML(const nsAString& aInnerHTML) // HTML5 parser has notified, but not fired mutation events. FireMutationEventsForDirectParsing(doc, this, oldChildCount); } else { + nsCOMPtr df; rv = nsContentUtils::CreateContextualFragment(this, aInnerHTML, true, getter_AddRefs(df)); @@ -789,6 +802,71 @@ nsGenericHTMLElement::SetInnerHTML(const nsAString& aInnerHTML) return rv; } +NS_IMETHODIMP +nsGenericHTMLElement::SetOuterHTML(const nsAString& aOuterHTML) +{ + nsINode* parent = GetNodeParent(); + if (!parent) { + return NS_OK; + } + + if (parent->NodeType() == nsIDOMNode::DOCUMENT_NODE) { + return NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR; + } + + if (OwnerDoc()->IsHTML()) { + nsIAtom* localName; + PRInt32 namespaceID; + if (parent->IsElement()) { + localName = static_cast(parent)->Tag(); + namespaceID = static_cast(parent)->GetNameSpaceID(); + } else { + NS_ASSERTION(parent->NodeType() == nsIDOMNode::DOCUMENT_FRAGMENT_NODE, + "How come the parent isn't a document, a fragment or an element?"); + localName = nsGkAtoms::body; + namespaceID = kNameSpaceID_XHTML; + } + nsCOMPtr df; + nsresult rv = NS_NewDocumentFragment(getter_AddRefs(df), + OwnerDoc()->NodeInfoManager()); + NS_ENSURE_SUCCESS(rv, rv); + nsCOMPtr fragment = do_QueryInterface(df); + nsContentUtils::ParseFragmentHTML(aOuterHTML, + fragment, + localName, + namespaceID, + OwnerDoc()->GetCompatibilityMode() == + eCompatibility_NavQuirks, + PR_TRUE); + parent->ReplaceChild(fragment, this, &rv); + return rv; + } + + nsCOMPtr context; + if (parent->IsElement()) { + context = parent; + } else { + NS_ASSERTION(parent->NodeType() == nsIDOMNode::DOCUMENT_FRAGMENT_NODE, + "How come the parent isn't a document, a fragment or an element?"); + nsCOMPtr info = + OwnerDoc()->NodeInfoManager()->GetNodeInfo(nsGkAtoms::body, + nsnull, + kNameSpaceID_XHTML, + nsIDOMNode::ELEMENT_NODE); + context = NS_NewHTMLBodyElement(info.forget(), FROM_PARSER_FRAGMENT); + } + + nsCOMPtr df; + nsresult rv = nsContentUtils::CreateContextualFragment(context, + aOuterHTML, + PR_TRUE, + getter_AddRefs(df)); + NS_ENSURE_SUCCESS(rv, rv); + nsCOMPtr fragment = do_QueryInterface(df); + parent->ReplaceChild(fragment, this, &rv); + return rv; +} + enum nsAdjacentPosition { eBeforeBegin, eAfterBegin, diff --git a/content/html/content/src/nsGenericHTMLElement.h b/content/html/content/src/nsGenericHTMLElement.h index 41641a2edc0..9172bc10438 100644 --- a/content/html/content/src/nsGenericHTMLElement.h +++ b/content/html/content/src/nsGenericHTMLElement.h @@ -132,6 +132,8 @@ public: nsresult GetOffsetParent(nsIDOMElement** aOffsetParent); NS_IMETHOD GetInnerHTML(nsAString& aInnerHTML); NS_IMETHOD SetInnerHTML(const nsAString& aInnerHTML); + NS_IMETHOD GetOuterHTML(nsAString& aOuterHTML); + NS_IMETHOD SetOuterHTML(const nsAString& aOuterHTML); NS_IMETHOD InsertAdjacentHTML(const nsAString& aPosition, const nsAString& aText); nsresult ScrollIntoView(bool aTop, PRUint8 optional_argc); @@ -161,6 +163,10 @@ public: nsresult ClearDataset(); nsresult GetContextMenu(nsIDOMHTMLMenuElement** aContextMenu); +protected: + nsresult GetMarkup(bool aIncludeSelf, nsAString& aMarkup); + +public: // Implementation for nsIContent virtual nsresult BindToTree(nsIDocument* aDocument, nsIContent* aParent, nsIContent* aBindingParent, @@ -1571,6 +1577,12 @@ protected: NS_SCRIPTABLE NS_IMETHOD SetSpellcheck(bool aSpellcheck) { \ return _to SetSpellcheck(aSpellcheck); \ } \ + NS_SCRIPTABLE NS_IMETHOD GetOuterHTML(nsAString& aOuterHTML) { \ + return _to GetOuterHTML(aOuterHTML); \ + } \ + NS_SCRIPTABLE NS_IMETHOD SetOuterHTML(const nsAString& aOuterHTML) { \ + return _to SetOuterHTML(aOuterHTML); \ + } \ NS_SCRIPTABLE NS_IMETHOD InsertAdjacentHTML(const nsAString& position, const nsAString& text) { \ return _to InsertAdjacentHTML(position, text); \ } \ diff --git a/dom/interfaces/html/nsIDOMHTMLAnchorElement.idl b/dom/interfaces/html/nsIDOMHTMLAnchorElement.idl index cc493a375df..040f5c8f15f 100644 --- a/dom/interfaces/html/nsIDOMHTMLAnchorElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLAnchorElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(2da904fa-83da-426d-a320-a6868192583e)] +[scriptable, uuid(bcb54394-d9f8-4bcb-bbbb-eca9826cdbca)] interface nsIDOMHTMLAnchorElement : nsIDOMHTMLElement { attribute DOMString href; diff --git a/dom/interfaces/html/nsIDOMHTMLAppletElement.idl b/dom/interfaces/html/nsIDOMHTMLAppletElement.idl index 2295977f495..74a5f0c0ab8 100644 --- a/dom/interfaces/html/nsIDOMHTMLAppletElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLAppletElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(c874e500-a185-4d69-96dd-474d1137e21f)] +[scriptable, uuid(a06bca18-791f-474e-a031-bf6c2bd14994)] interface nsIDOMHTMLAppletElement : nsIDOMHTMLElement { attribute DOMString align; diff --git a/dom/interfaces/html/nsIDOMHTMLAreaElement.idl b/dom/interfaces/html/nsIDOMHTMLAreaElement.idl index b5bdfaf74e2..07cd3917656 100644 --- a/dom/interfaces/html/nsIDOMHTMLAreaElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLAreaElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(d88c8515-5a27-4955-8ca5-18c908433cfd)] +[scriptable, uuid(7e607c36-aecc-4dee-a93a-95e22a374bfb)] interface nsIDOMHTMLAreaElement : nsIDOMHTMLElement { attribute DOMString alt; diff --git a/dom/interfaces/html/nsIDOMHTMLAudioElement.idl b/dom/interfaces/html/nsIDOMHTMLAudioElement.idl index 95d99c8ab84..4ebee6b4837 100644 --- a/dom/interfaces/html/nsIDOMHTMLAudioElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLAudioElement.idl @@ -52,7 +52,7 @@ * @status UNDER_DEVELOPMENT */ -[scriptable, uuid(f4115c13-bc51-4c3b-a5c0-9106af9f7368)] +[scriptable, uuid(756e2792-b937-4a70-bd1f-9d6820473e7e)] interface nsIDOMHTMLAudioElement : nsIDOMHTMLMediaElement { // Setup the audio stream for writing diff --git a/dom/interfaces/html/nsIDOMHTMLBRElement.idl b/dom/interfaces/html/nsIDOMHTMLBRElement.idl index 8c8bb6d785e..bef88132df0 100644 --- a/dom/interfaces/html/nsIDOMHTMLBRElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLBRElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(a4f319d7-442d-4154-8c60-b9acdca87523)] +[scriptable, uuid(7eefd466-7c4d-499a-a076-e33204e69dc3)] interface nsIDOMHTMLBRElement : nsIDOMHTMLElement { attribute DOMString clear; diff --git a/dom/interfaces/html/nsIDOMHTMLBaseElement.idl b/dom/interfaces/html/nsIDOMHTMLBaseElement.idl index 2b6bdfd407f..1de84be9b9b 100644 --- a/dom/interfaces/html/nsIDOMHTMLBaseElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLBaseElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(1ba4957f-629e-4410-b5fd-64f2b7eeb32c)] +[scriptable, uuid(e55cd224-b603-4976-892a-20b11d469394)] interface nsIDOMHTMLBaseElement : nsIDOMHTMLElement { attribute DOMString href; diff --git a/dom/interfaces/html/nsIDOMHTMLBodyElement.idl b/dom/interfaces/html/nsIDOMHTMLBodyElement.idl index b4623b175cd..5f4e595e166 100644 --- a/dom/interfaces/html/nsIDOMHTMLBodyElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLBodyElement.idl @@ -54,7 +54,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(dcf343a9-fa7f-4e16-b122-0ece0d8bdea9)] +[scriptable, uuid(6c377d44-a5d1-4f0f-860a-9858d2cb5679)] interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement { attribute DOMString aLink; diff --git a/dom/interfaces/html/nsIDOMHTMLButtonElement.idl b/dom/interfaces/html/nsIDOMHTMLButtonElement.idl index b38f649b53f..b454007d275 100644 --- a/dom/interfaces/html/nsIDOMHTMLButtonElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLButtonElement.idl @@ -52,7 +52,7 @@ interface nsIDOMValidityState; -[scriptable, uuid(4b48e075-a05b-480f-9e37-fcd88e7aebdd)] +[scriptable, uuid(79f034f0-5c13-4101-9598-412e1eac1986)] interface nsIDOMHTMLButtonElement : nsIDOMHTMLElement { attribute boolean autofocus; diff --git a/dom/interfaces/html/nsIDOMHTMLCanvasElement.idl b/dom/interfaces/html/nsIDOMHTMLCanvasElement.idl index 8d01e765548..f19a8f46d18 100644 --- a/dom/interfaces/html/nsIDOMHTMLCanvasElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLCanvasElement.idl @@ -55,7 +55,7 @@ interface nsIDOMFile; interface nsIVariant; -[scriptable, uuid(e1ea26e6-4141-487f-a9cf-d7e9344b571c)] +[scriptable, uuid(dbbeeba1-3c20-4d9d-ac82-98b69fd819a9)] interface nsIDOMHTMLCanvasElement : nsIDOMHTMLElement { attribute unsigned long width; diff --git a/dom/interfaces/html/nsIDOMHTMLCommandElement.idl b/dom/interfaces/html/nsIDOMHTMLCommandElement.idl index 527f0d596e2..e8efab96b5f 100644 --- a/dom/interfaces/html/nsIDOMHTMLCommandElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLCommandElement.idl @@ -46,7 +46,7 @@ * @status UNDER_DEVELOPMENT */ -[scriptable, uuid(4c466da8-5c6d-427f-95f5-bba96ab99c96)] +[scriptable, uuid(13032f74-4150-4768-ab5e-51f4de39a300)] interface nsIDOMHTMLCommandElement : nsIDOMHTMLElement { attribute DOMString type; diff --git a/dom/interfaces/html/nsIDOMHTMLDListElement.idl b/dom/interfaces/html/nsIDOMHTMLDListElement.idl index f4d6c282169..e3ad0fcc13f 100644 --- a/dom/interfaces/html/nsIDOMHTMLDListElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLDListElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(f3e65e2b-e079-4970-bb5d-f96ac9cd18c5)] +[scriptable, uuid(50e9ff30-0982-4074-bc65-313f41be8624)] interface nsIDOMHTMLDListElement : nsIDOMHTMLElement { attribute boolean compact; diff --git a/dom/interfaces/html/nsIDOMHTMLDataListElement.idl b/dom/interfaces/html/nsIDOMHTMLDataListElement.idl index 0a92f6b0788..4496b81c73b 100644 --- a/dom/interfaces/html/nsIDOMHTMLDataListElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLDataListElement.idl @@ -49,7 +49,7 @@ interface nsIDOMHTMLCollection; -[scriptable, uuid(312ed7c1-8c62-4d80-bbd9-99d7ea4377e6)] +[scriptable, uuid(3bace78b-9eca-4990-a5d6-9c2b8c32cc8a)] interface nsIDOMHTMLDataListElement : nsIDOMHTMLElement { readonly attribute nsIDOMHTMLCollection options; diff --git a/dom/interfaces/html/nsIDOMHTMLDirectoryElement.idl b/dom/interfaces/html/nsIDOMHTMLDirectoryElement.idl index aed3d77dc1f..184e6bb5415 100644 --- a/dom/interfaces/html/nsIDOMHTMLDirectoryElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLDirectoryElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(1e04cd43-edc0-4658-bd77-d67661af6c9c)] +[scriptable, uuid(a99e86ae-7761-4145-b8a4-5a91186051f1)] interface nsIDOMHTMLDirectoryElement : nsIDOMHTMLElement { attribute boolean compact; diff --git a/dom/interfaces/html/nsIDOMHTMLDivElement.idl b/dom/interfaces/html/nsIDOMHTMLDivElement.idl index b0fdcb046fa..c8369f74081 100644 --- a/dom/interfaces/html/nsIDOMHTMLDivElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLDivElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(771be9ee-b883-4556-bf90-2d7c904fe94d)] +[scriptable, uuid(6815b902-8e04-49dd-977b-0a8785e5ffaf)] interface nsIDOMHTMLDivElement : nsIDOMHTMLElement { attribute DOMString align; diff --git a/dom/interfaces/html/nsIDOMHTMLElement.idl b/dom/interfaces/html/nsIDOMHTMLElement.idl index 12397ba470f..78cd0756eb1 100644 --- a/dom/interfaces/html/nsIDOMHTMLElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLElement.idl @@ -53,7 +53,7 @@ interface nsIDOMHTMLMenuElement; * with changes from the work-in-progress WHATWG HTML specification: * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(0a21bb68-d8bd-4b2a-a3db-048a02e81c62)] +[scriptable, uuid(4eccf8a3-8bf5-43f3-a728-f5b632f7db3a)] interface nsIDOMHTMLElement : nsIDOMElement { // metadata attributes @@ -86,6 +86,7 @@ interface nsIDOMHTMLElement : nsIDOMElement // DOM Parsing and Serialization attribute DOMString innerHTML; + attribute DOMString outerHTML; void insertAdjacentHTML(in DOMString position, in DOMString text); diff --git a/dom/interfaces/html/nsIDOMHTMLEmbedElement.idl b/dom/interfaces/html/nsIDOMHTMLEmbedElement.idl index 76ba843a7c4..9546df2aaad 100644 --- a/dom/interfaces/html/nsIDOMHTMLEmbedElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLEmbedElement.idl @@ -47,7 +47,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element */ -[scriptable, uuid(d6309fc7-e9d2-4087-b452-490ed84f2dc2)] +[scriptable, uuid(940a15c2-0d48-4186-b4d8-067fa1ce5675)] interface nsIDOMHTMLEmbedElement : nsIDOMHTMLElement { attribute DOMString align; diff --git a/dom/interfaces/html/nsIDOMHTMLFieldSetElement.idl b/dom/interfaces/html/nsIDOMHTMLFieldSetElement.idl index 8f37aabdbcb..d5905ebc6b4 100644 --- a/dom/interfaces/html/nsIDOMHTMLFieldSetElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLFieldSetElement.idl @@ -52,7 +52,7 @@ interface nsIDOMValidityState; -[scriptable, uuid(e153c20e-7a3d-4184-865c-ee7c6d9b65df)] +[scriptable, uuid(781ae103-b030-4aad-b2d5-96e5c2317dec)] interface nsIDOMHTMLFieldSetElement : nsIDOMHTMLElement { attribute boolean disabled; diff --git a/dom/interfaces/html/nsIDOMHTMLFontElement.idl b/dom/interfaces/html/nsIDOMHTMLFontElement.idl index 994a74ddb4c..7648bf8961a 100644 --- a/dom/interfaces/html/nsIDOMHTMLFontElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLFontElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(8a205975-86cb-44db-b20e-df7f2d200580)] +[scriptable, uuid(1c9778ee-a49c-40ee-9b93-c0ff15630431)] interface nsIDOMHTMLFontElement : nsIDOMHTMLElement { attribute DOMString color; diff --git a/dom/interfaces/html/nsIDOMHTMLFormElement.idl b/dom/interfaces/html/nsIDOMHTMLFormElement.idl index a93cc376626..65fb4dfccaa 100644 --- a/dom/interfaces/html/nsIDOMHTMLFormElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLFormElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(8fe67952-6f7b-4d6e-b17b-79a454687e5f)] +[scriptable, uuid(d873b251-6f96-4e70-baf5-aaa935aabe59)] interface nsIDOMHTMLFormElement : nsIDOMHTMLElement { attribute DOMString acceptCharset; diff --git a/dom/interfaces/html/nsIDOMHTMLFrameElement.idl b/dom/interfaces/html/nsIDOMHTMLFrameElement.idl index 90752d2e8e0..dab1a4de2ae 100644 --- a/dom/interfaces/html/nsIDOMHTMLFrameElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLFrameElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(6de9d59d-42fd-44df-bb41-22cd64a85d4f)] +[scriptable, uuid(318fdc4a-3fca-4099-94aa-c9a1c30ca2b9)] interface nsIDOMHTMLFrameElement : nsIDOMHTMLElement { attribute DOMString frameBorder; diff --git a/dom/interfaces/html/nsIDOMHTMLFrameSetElement.idl b/dom/interfaces/html/nsIDOMHTMLFrameSetElement.idl index 7bff911baa9..5747a276db7 100644 --- a/dom/interfaces/html/nsIDOMHTMLFrameSetElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLFrameSetElement.idl @@ -54,7 +54,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(a9423392-0f92-4b25-8700-49d28752c092)] +[scriptable, uuid(6eefbe6d-182c-42e9-9850-af1892b6f2e4)] interface nsIDOMHTMLFrameSetElement : nsIDOMHTMLElement { attribute DOMString cols; diff --git a/dom/interfaces/html/nsIDOMHTMLHRElement.idl b/dom/interfaces/html/nsIDOMHTMLHRElement.idl index b5977327bf8..ac338fdc7d2 100644 --- a/dom/interfaces/html/nsIDOMHTMLHRElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLHRElement.idl @@ -51,7 +51,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(a6950d69-a376-4ad5-a911-8f91abb2b15d)] +[scriptable, uuid(b94bff8f-dfa7-4dd8-8d97-c301dd9de729)] interface nsIDOMHTMLHRElement : nsIDOMHTMLElement { attribute DOMString align; diff --git a/dom/interfaces/html/nsIDOMHTMLHeadElement.idl b/dom/interfaces/html/nsIDOMHTMLHeadElement.idl index c017ac292fe..4d7600fe9bf 100644 --- a/dom/interfaces/html/nsIDOMHTMLHeadElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLHeadElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(6d049c37-2cee-4c04-816c-270973e58ccf)] +[scriptable, uuid(628fe597-6408-4387-9fcb-75381e2b2dd0)] interface nsIDOMHTMLHeadElement : nsIDOMHTMLElement { }; diff --git a/dom/interfaces/html/nsIDOMHTMLHeadingElement.idl b/dom/interfaces/html/nsIDOMHTMLHeadingElement.idl index e3bf581f6d3..0d7265080c2 100644 --- a/dom/interfaces/html/nsIDOMHTMLHeadingElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLHeadingElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(c3c30a05-1dc0-413a-85f6-3c4d5af5f2b6)] +[scriptable, uuid(964c94b0-5571-44e7-9b29-f81c6ea7828a)] interface nsIDOMHTMLHeadingElement : nsIDOMHTMLElement { attribute DOMString align; diff --git a/dom/interfaces/html/nsIDOMHTMLHtmlElement.idl b/dom/interfaces/html/nsIDOMHTMLHtmlElement.idl index 420570c389b..f7459ab2ac0 100644 --- a/dom/interfaces/html/nsIDOMHTMLHtmlElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLHtmlElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(84825a7d-d5c7-4b1a-9d2a-b3e5df055824)] +[scriptable, uuid(4bafbc15-aa88-4021-9ad6-e14189b7227b)] interface nsIDOMHTMLHtmlElement : nsIDOMHTMLElement { attribute DOMString version; diff --git a/dom/interfaces/html/nsIDOMHTMLIFrameElement.idl b/dom/interfaces/html/nsIDOMHTMLIFrameElement.idl index bcfdd797ba4..759a5f481a5 100644 --- a/dom/interfaces/html/nsIDOMHTMLIFrameElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLIFrameElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(166c1cdb-9af5-4217-9a2f-f9dae0923e85)] +[scriptable, uuid(5ef30718-fe45-43a2-a478-a9e3cbf3a118)] interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement { attribute DOMString align; diff --git a/dom/interfaces/html/nsIDOMHTMLImageElement.idl b/dom/interfaces/html/nsIDOMHTMLImageElement.idl index d5d039494b4..9c04b214e06 100644 --- a/dom/interfaces/html/nsIDOMHTMLImageElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLImageElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(02dbe3c7-e75e-4a35-989c-b6f6d7a3108f)] +[scriptable, uuid(56d9191f-5a94-432f-af70-6fccdeaf614b)] interface nsIDOMHTMLImageElement : nsIDOMHTMLElement { attribute DOMString alt; diff --git a/dom/interfaces/html/nsIDOMHTMLInputElement.idl b/dom/interfaces/html/nsIDOMHTMLInputElement.idl index 6ecc4215c11..2b81463e409 100644 --- a/dom/interfaces/html/nsIDOMHTMLInputElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLInputElement.idl @@ -54,7 +54,7 @@ interface nsIDOMValidityState; * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(81cc1b30-02e1-4779-ac9e-0091933478a4)] +[scriptable, uuid(7330cd35-c930-4f45-ae61-f5380c30222d)] interface nsIDOMHTMLInputElement : nsIDOMHTMLElement { attribute DOMString accept; diff --git a/dom/interfaces/html/nsIDOMHTMLLIElement.idl b/dom/interfaces/html/nsIDOMHTMLLIElement.idl index a4c3180708a..5b8b0135a51 100644 --- a/dom/interfaces/html/nsIDOMHTMLLIElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLLIElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(cb9bbac6-3198-4159-9ee9-262eef35f265)] +[scriptable, uuid(85b15d13-be6d-4653-9c70-22a13d510247)] interface nsIDOMHTMLLIElement : nsIDOMHTMLElement { attribute DOMString type; diff --git a/dom/interfaces/html/nsIDOMHTMLLabelElement.idl b/dom/interfaces/html/nsIDOMHTMLLabelElement.idl index 0557647b51c..3cb02ca6c3f 100644 --- a/dom/interfaces/html/nsIDOMHTMLLabelElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLLabelElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(0c36c887-04e3-4926-a916-8e3596130f9a)] +[scriptable, uuid(ddbca449-625d-467c-a22d-7887474f9eb9)] interface nsIDOMHTMLLabelElement : nsIDOMHTMLElement { readonly attribute nsIDOMHTMLFormElement form; diff --git a/dom/interfaces/html/nsIDOMHTMLLegendElement.idl b/dom/interfaces/html/nsIDOMHTMLLegendElement.idl index f9b33d77337..b3a57b6f290 100644 --- a/dom/interfaces/html/nsIDOMHTMLLegendElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLLegendElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(cabacc5f-5179-4c97-be60-0af8feafb4c9)] +[scriptable, uuid(dac72753-6919-414b-b771-9e1e86e7749c)] interface nsIDOMHTMLLegendElement : nsIDOMHTMLElement { readonly attribute nsIDOMHTMLFormElement form; diff --git a/dom/interfaces/html/nsIDOMHTMLLinkElement.idl b/dom/interfaces/html/nsIDOMHTMLLinkElement.idl index dc79e285df4..f1f56d7ed9f 100644 --- a/dom/interfaces/html/nsIDOMHTMLLinkElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLLinkElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(2f238f84-1b45-4ef9-9cda-bd1430ce9304)] +[scriptable, uuid(2ece79f4-83d7-499c-946f-ae9ab93147b7)] interface nsIDOMHTMLLinkElement : nsIDOMHTMLElement { attribute boolean disabled; diff --git a/dom/interfaces/html/nsIDOMHTMLMapElement.idl b/dom/interfaces/html/nsIDOMHTMLMapElement.idl index da0736fb208..904847b7e0d 100644 --- a/dom/interfaces/html/nsIDOMHTMLMapElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLMapElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(3fb8ec10-8778-418d-9c83-556e46f115a9)] +[scriptable, uuid(c919bc49-bd49-4b89-ba70-5c74c4ef504a)] interface nsIDOMHTMLMapElement : nsIDOMHTMLElement { readonly attribute nsIDOMHTMLCollection areas; diff --git a/dom/interfaces/html/nsIDOMHTMLMediaElement.idl b/dom/interfaces/html/nsIDOMHTMLMediaElement.idl index d9f67315665..785550892d0 100644 --- a/dom/interfaces/html/nsIDOMHTMLMediaElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLMediaElement.idl @@ -57,7 +57,7 @@ #endif %} -[scriptable, uuid(85baaa10-73ab-4a48-a57a-b3951b67e494)] +[scriptable, uuid(642a3b85-4edb-4c01-a162-06b5d88171e7)] interface nsIDOMHTMLMediaElement : nsIDOMHTMLElement { // error state diff --git a/dom/interfaces/html/nsIDOMHTMLMenuElement.idl b/dom/interfaces/html/nsIDOMHTMLMenuElement.idl index 1e227250daf..d4eb205997b 100644 --- a/dom/interfaces/html/nsIDOMHTMLMenuElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLMenuElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(12de9196-b164-43e0-9347-f23e1bffbede)] +[scriptable, uuid(06d48250-45e0-4f26-9a07-d9b5a3f08bb6)] interface nsIDOMHTMLMenuElement : nsIDOMHTMLElement { attribute boolean compact; diff --git a/dom/interfaces/html/nsIDOMHTMLMenuItemElement.idl b/dom/interfaces/html/nsIDOMHTMLMenuItemElement.idl index 7b11b7c3a03..1cc730b87a6 100644 --- a/dom/interfaces/html/nsIDOMHTMLMenuItemElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLMenuItemElement.idl @@ -43,7 +43,7 @@ * @status UNDER_DEVELOPMENT */ -[scriptable, uuid(e0469d92-a137-4329-9d4b-9f2ba5ce8e77)] +[scriptable, uuid(4680ec24-94f0-4eb7-9413-98f9a857de72)] interface nsIDOMHTMLMenuItemElement : nsIDOMHTMLCommandElement { }; diff --git a/dom/interfaces/html/nsIDOMHTMLMetaElement.idl b/dom/interfaces/html/nsIDOMHTMLMetaElement.idl index 28d737c2ed3..b74cfc89cc6 100644 --- a/dom/interfaces/html/nsIDOMHTMLMetaElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLMetaElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(c883b92b-5ae0-4563-894a-fa7f0e9aacda)] +[scriptable, uuid(db476657-5f59-4e29-84a6-50afe6f85ac7)] interface nsIDOMHTMLMetaElement : nsIDOMHTMLElement { attribute DOMString content; diff --git a/dom/interfaces/html/nsIDOMHTMLModElement.idl b/dom/interfaces/html/nsIDOMHTMLModElement.idl index c10055044de..fcb9e99895c 100644 --- a/dom/interfaces/html/nsIDOMHTMLModElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLModElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(417626fa-191c-41e5-aed5-f6157b408e72)] +[scriptable, uuid(170733d4-aad5-4f6e-86c0-94845ea6116d)] interface nsIDOMHTMLModElement : nsIDOMHTMLElement { attribute DOMString cite; diff --git a/dom/interfaces/html/nsIDOMHTMLOListElement.idl b/dom/interfaces/html/nsIDOMHTMLOListElement.idl index b8c9c184cb6..989aa350570 100644 --- a/dom/interfaces/html/nsIDOMHTMLOListElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLOListElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(11e66686-b1ef-47be-9025-ffc20b875e4a)] +[scriptable, uuid(31a5f083-59a6-41c3-8a0b-e58e484c6516)] interface nsIDOMHTMLOListElement : nsIDOMHTMLElement { attribute boolean compact; diff --git a/dom/interfaces/html/nsIDOMHTMLObjectElement.idl b/dom/interfaces/html/nsIDOMHTMLObjectElement.idl index ff86e566c61..ae2c09b996e 100644 --- a/dom/interfaces/html/nsIDOMHTMLObjectElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLObjectElement.idl @@ -52,7 +52,7 @@ interface nsIDOMValidityState; -[scriptable, uuid(5d873128-d4e3-4e89-8900-599155167105)] +[scriptable, uuid(40037f4a-5bae-476f-977b-bbd8e78aaefe)] interface nsIDOMHTMLObjectElement : nsIDOMHTMLElement { readonly attribute nsIDOMHTMLFormElement form; diff --git a/dom/interfaces/html/nsIDOMHTMLOptGroupElement.idl b/dom/interfaces/html/nsIDOMHTMLOptGroupElement.idl index 9865c534bc2..77c3f6e863f 100644 --- a/dom/interfaces/html/nsIDOMHTMLOptGroupElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLOptGroupElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(7b585d49-1da3-4fc6-a50c-b661063c2edc)] +[scriptable, uuid(ab55d67a-aabb-4441-b182-8ff2bd7d157e)] interface nsIDOMHTMLOptGroupElement : nsIDOMHTMLElement { attribute boolean disabled; diff --git a/dom/interfaces/html/nsIDOMHTMLOptionElement.idl b/dom/interfaces/html/nsIDOMHTMLOptionElement.idl index c5451316161..814046266ea 100644 --- a/dom/interfaces/html/nsIDOMHTMLOptionElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLOptionElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(c20ead8a-cb89-43b1-89ed-8f4713bf8452)] +[scriptable, uuid(7c5bf0ac-6230-4ee0-8b82-e7ebf211af03)] interface nsIDOMHTMLOptionElement : nsIDOMHTMLElement { attribute boolean disabled; diff --git a/dom/interfaces/html/nsIDOMHTMLOutputElement.idl b/dom/interfaces/html/nsIDOMHTMLOutputElement.idl index c348a5b2314..9e3d17cbb43 100644 --- a/dom/interfaces/html/nsIDOMHTMLOutputElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLOutputElement.idl @@ -50,7 +50,7 @@ interface nsIDOMDOMSettableTokenList; interface nsIDOMValidityState; -[scriptable, uuid(7d1fb2a9-7678-409e-8eb5-9216c47c233b)] +[scriptable, uuid(f2074cdb-19cb-447a-935c-9f4402dc1b5e)] interface nsIDOMHTMLOutputElement : nsIDOMHTMLElement { readonly attribute nsIDOMDOMSettableTokenList htmlFor; diff --git a/dom/interfaces/html/nsIDOMHTMLParagraphElement.idl b/dom/interfaces/html/nsIDOMHTMLParagraphElement.idl index 3dd0608addb..6ff31c369ae 100644 --- a/dom/interfaces/html/nsIDOMHTMLParagraphElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLParagraphElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(d5d3eb33-0925-4555-be2f-4078dec49f59)] +[scriptable, uuid(e4f498f4-e3c5-46fe-92d0-c9957ccab530)] interface nsIDOMHTMLParagraphElement : nsIDOMHTMLElement { attribute DOMString align; diff --git a/dom/interfaces/html/nsIDOMHTMLParamElement.idl b/dom/interfaces/html/nsIDOMHTMLParamElement.idl index f39e07ede76..fc76ad88c9d 100644 --- a/dom/interfaces/html/nsIDOMHTMLParamElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLParamElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(ccffedb8-f234-474e-9af4-576eba766023)] +[scriptable, uuid(d832b1ac-9bb6-4df0-9d9e-f7c040759672)] interface nsIDOMHTMLParamElement : nsIDOMHTMLElement { attribute DOMString name; diff --git a/dom/interfaces/html/nsIDOMHTMLPreElement.idl b/dom/interfaces/html/nsIDOMHTMLPreElement.idl index 78440bd9697..462d9b91c25 100644 --- a/dom/interfaces/html/nsIDOMHTMLPreElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLPreElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(c9d9b45a-e7d9-4dfb-abae-f3b9e6addbaa)] +[scriptable, uuid(f4088dff-649c-4eff-a3a4-dbd6333cdc44)] interface nsIDOMHTMLPreElement : nsIDOMHTMLElement { attribute long width; diff --git a/dom/interfaces/html/nsIDOMHTMLProgressElement.idl b/dom/interfaces/html/nsIDOMHTMLProgressElement.idl index aa1db31233c..24b584d7846 100644 --- a/dom/interfaces/html/nsIDOMHTMLProgressElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLProgressElement.idl @@ -47,7 +47,7 @@ * @status UNDER_DEVELOPMENT */ -[scriptable, uuid(aa830aa2-a4ea-455e-8285-8344cadb4c6d)] +[scriptable, uuid(9b1d2263-b60f-4d18-b4d1-66e8c3867c79)] interface nsIDOMHTMLProgressElement : nsIDOMHTMLElement { attribute double value; diff --git a/dom/interfaces/html/nsIDOMHTMLQuoteElement.idl b/dom/interfaces/html/nsIDOMHTMLQuoteElement.idl index 20e0ef6c494..c100f9090e3 100644 --- a/dom/interfaces/html/nsIDOMHTMLQuoteElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLQuoteElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(820ccd14-2479-4e4a-99d3-76d138caf7ec)] +[scriptable, uuid(55643647-2eda-4a45-af55-b2ba6c40c5f5)] interface nsIDOMHTMLQuoteElement : nsIDOMHTMLElement { attribute DOMString cite; diff --git a/dom/interfaces/html/nsIDOMHTMLScriptElement.idl b/dom/interfaces/html/nsIDOMHTMLScriptElement.idl index 8e7cf55a5a6..02a52c1486a 100644 --- a/dom/interfaces/html/nsIDOMHTMLScriptElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLScriptElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(e6252d3b-521a-4f79-9d57-2721a81e7cc2)] +[scriptable, uuid(4b6a0957-5466-4134-8a0a-dd7e4675c106)] interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement { attribute DOMString src; diff --git a/dom/interfaces/html/nsIDOMHTMLSelectElement.idl b/dom/interfaces/html/nsIDOMHTMLSelectElement.idl index 2a71f9f2df2..8034c29a916 100644 --- a/dom/interfaces/html/nsIDOMHTMLSelectElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLSelectElement.idl @@ -53,7 +53,7 @@ interface nsIDOMValidityState; -[scriptable, uuid(30a948a3-61a0-453c-a1e4-de67a1664746)] +[scriptable, uuid(98f111e0-2b7e-4abd-984b-2cc1d174fe44)] interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement { attribute boolean autofocus; diff --git a/dom/interfaces/html/nsIDOMHTMLSourceElement.idl b/dom/interfaces/html/nsIDOMHTMLSourceElement.idl index 0cc0a6b1ca1..4cf5f82416d 100644 --- a/dom/interfaces/html/nsIDOMHTMLSourceElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLSourceElement.idl @@ -48,7 +48,7 @@ * @status UNDER_DEVELOPMENT */ -[scriptable, uuid(dcac4414-37e2-409f-b0a6-8231007e585b)] +[scriptable, uuid(c49d9a78-fa02-49c9-b239-9cd51e99f866)] interface nsIDOMHTMLSourceElement : nsIDOMHTMLElement { attribute DOMString src; diff --git a/dom/interfaces/html/nsIDOMHTMLStyleElement.idl b/dom/interfaces/html/nsIDOMHTMLStyleElement.idl index 41d4741d039..2ce7924082e 100644 --- a/dom/interfaces/html/nsIDOMHTMLStyleElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLStyleElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(e72a6069-4987-480b-a349-ffd5fbebd59f)] +[scriptable, uuid(247fc8c4-92f3-427b-af6f-41b13f28287d)] interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement { attribute boolean disabled; diff --git a/dom/interfaces/html/nsIDOMHTMLTableCaptionElem.idl b/dom/interfaces/html/nsIDOMHTMLTableCaptionElem.idl index 19dd0979726..fecd4818488 100644 --- a/dom/interfaces/html/nsIDOMHTMLTableCaptionElem.idl +++ b/dom/interfaces/html/nsIDOMHTMLTableCaptionElem.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(cbd44d29-3120-470d-a7fb-fac4730c8b4b)] +[scriptable, uuid(db0e641f-ba2b-4c67-8da1-4e418cc5fbf7)] interface nsIDOMHTMLTableCaptionElement : nsIDOMHTMLElement { attribute DOMString align; diff --git a/dom/interfaces/html/nsIDOMHTMLTableCellElement.idl b/dom/interfaces/html/nsIDOMHTMLTableCellElement.idl index 43a9133ffea..2f91ade14a1 100644 --- a/dom/interfaces/html/nsIDOMHTMLTableCellElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLTableCellElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(03dd5118-7eaf-4bd3-a4a7-77f3f7eb8539)] +[scriptable, uuid(4caa7af0-fec4-44c1-9a81-e1f14166e60c)] interface nsIDOMHTMLTableCellElement : nsIDOMHTMLElement { readonly attribute long cellIndex; diff --git a/dom/interfaces/html/nsIDOMHTMLTableColElement.idl b/dom/interfaces/html/nsIDOMHTMLTableColElement.idl index 2573a0c9ccd..e82b5b5fb21 100644 --- a/dom/interfaces/html/nsIDOMHTMLTableColElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLTableColElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(d221534a-d13c-43b2-9ba0-7e0dd7452856)] +[scriptable, uuid(9a4d1f6a-fb19-4886-b0d8-dcd201566580)] interface nsIDOMHTMLTableColElement : nsIDOMHTMLElement { attribute DOMString align; diff --git a/dom/interfaces/html/nsIDOMHTMLTableElement.idl b/dom/interfaces/html/nsIDOMHTMLTableElement.idl index 3614a17a74e..e7724f3d98f 100644 --- a/dom/interfaces/html/nsIDOMHTMLTableElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLTableElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(bba4b8b2-d01c-4c9b-abc8-3df28d048e68)] +[scriptable, uuid(0f809b97-9311-45c4-a44e-7145f354438b)] interface nsIDOMHTMLTableElement : nsIDOMHTMLElement { // Modified in DOM Level 2: diff --git a/dom/interfaces/html/nsIDOMHTMLTableRowElement.idl b/dom/interfaces/html/nsIDOMHTMLTableRowElement.idl index f9aeed647f6..e6748b0cf67 100644 --- a/dom/interfaces/html/nsIDOMHTMLTableRowElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLTableRowElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(b0199f36-9e76-4ec6-867f-850e388d6244)] +[scriptable, uuid(d24a80d4-491d-4e36-9349-afd3c6999b3e)] interface nsIDOMHTMLTableRowElement : nsIDOMHTMLElement { // Modified in DOM Level 2: diff --git a/dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl b/dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl index 96facb0877c..037f300de7d 100644 --- a/dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl +++ b/dom/interfaces/html/nsIDOMHTMLTableSectionElem.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(ac2e2719-71f1-4485-ac1e-694e7e49bd2a)] +[scriptable, uuid(6acc106e-96a2-4519-8f3a-142ebbdc1bb1)] interface nsIDOMHTMLTableSectionElement : nsIDOMHTMLElement { attribute DOMString align; diff --git a/dom/interfaces/html/nsIDOMHTMLTextAreaElement.idl b/dom/interfaces/html/nsIDOMHTMLTextAreaElement.idl index fc78d04cf51..ec65b72c4e1 100644 --- a/dom/interfaces/html/nsIDOMHTMLTextAreaElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLTextAreaElement.idl @@ -53,7 +53,7 @@ interface nsIDOMValidityState; * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(88d09917-d2da-4737-a887-277a2f9750c7)] +[scriptable, uuid(16db703d-4816-440c-bcb3-c1ae0cae6532)] interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement { attribute boolean autofocus; diff --git a/dom/interfaces/html/nsIDOMHTMLTitleElement.idl b/dom/interfaces/html/nsIDOMHTMLTitleElement.idl index 18345f1421a..305b773467c 100644 --- a/dom/interfaces/html/nsIDOMHTMLTitleElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLTitleElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(5cb8cfaf-7551-422b-9b03-58d756e54339)] +[scriptable, uuid(e20fd651-6240-4f20-b8f0-6cc25cb699b7)] interface nsIDOMHTMLTitleElement : nsIDOMHTMLElement { attribute DOMString text; diff --git a/dom/interfaces/html/nsIDOMHTMLUListElement.idl b/dom/interfaces/html/nsIDOMHTMLUListElement.idl index 313c2a16fa1..8ecf76e00e6 100644 --- a/dom/interfaces/html/nsIDOMHTMLUListElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLUListElement.idl @@ -50,7 +50,7 @@ * http://www.whatwg.org/specs/web-apps/current-work/ */ -[scriptable, uuid(1f409357-8cea-4f69-9f0c-4149886b63a1)] +[scriptable, uuid(2467d39c-2c30-407e-9b67-ea5f231b7809)] interface nsIDOMHTMLUListElement : nsIDOMHTMLElement { attribute boolean compact; diff --git a/dom/interfaces/html/nsIDOMHTMLUnknownElement.idl b/dom/interfaces/html/nsIDOMHTMLUnknownElement.idl index 508930fd0d3..97809dbd594 100644 --- a/dom/interfaces/html/nsIDOMHTMLUnknownElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLUnknownElement.idl @@ -43,7 +43,7 @@ * * @see */ -[scriptable, uuid(0d69049f-8181-47f1-a7f7-e5417dd54136)] +[scriptable, uuid(5f922c13-c2c1-4c49-b7c2-0e4e5c8e6860)] interface nsIDOMHTMLUnknownElement : nsIDOMHTMLElement { }; diff --git a/dom/interfaces/html/nsIDOMHTMLVideoElement.idl b/dom/interfaces/html/nsIDOMHTMLVideoElement.idl index 622eafe5294..02c2bbbf8a2 100644 --- a/dom/interfaces/html/nsIDOMHTMLVideoElement.idl +++ b/dom/interfaces/html/nsIDOMHTMLVideoElement.idl @@ -48,7 +48,7 @@ * @status UNDER_DEVELOPMENT */ -[scriptable, uuid(5e1e4453-96fe-4cc0-9c32-7e9355b4f917)] +[scriptable, uuid(390b974b-1c3a-4700-8001-5ef832c4b4bf)] interface nsIDOMHTMLVideoElement : nsIDOMHTMLMediaElement { attribute long width; diff --git a/dom/tests/mochitest/general/Makefile.in b/dom/tests/mochitest/general/Makefile.in index d548a8ebfbf..e35c278fad6 100644 --- a/dom/tests/mochitest/general/Makefile.in +++ b/dom/tests/mochitest/general/Makefile.in @@ -45,6 +45,8 @@ include $(DEPTH)/config/autoconf.mk include $(topsrcdir)/config/rules.mk _TEST_FILES = \ + test_outerHTML.html \ + test_outerHTML.xhtml \ 497633.html \ 489127.html \ historyframes.html \ diff --git a/dom/tests/mochitest/general/test_outerHTML.html b/dom/tests/mochitest/general/test_outerHTML.html new file mode 100644 index 00000000000..dba25984423 --- /dev/null +++ b/dom/tests/mochitest/general/test_outerHTML.html @@ -0,0 +1,73 @@ + + + + + Test for Bug 92264 + + + + +Mozilla Bug 92264 +

+ +
+
+
+ + diff --git a/dom/tests/mochitest/general/test_outerHTML.xhtml b/dom/tests/mochitest/general/test_outerHTML.xhtml new file mode 100644 index 00000000000..46013deb0af --- /dev/null +++ b/dom/tests/mochitest/general/test_outerHTML.xhtml @@ -0,0 +1,74 @@ + + + + + Test for Bug 92264 + + + + +Mozilla Bug 92264 +

+ +
+
+
+ +