Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
2001-05-08 21:42:36 +04:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2001-01-21 12:10:30 +03:00
|
|
|
|
|
|
|
#include "nsIDOMEvent.idl"
|
|
|
|
|
2012-08-04 21:05:15 +04:00
|
|
|
[scriptable, builtinclass, uuid(f5afec28-e7c0-4c1b-9cf4-8f3a5f0634d5)]
|
2001-01-23 22:55:34 +03:00
|
|
|
interface nsIDOMMutationEvent : nsIDOMEvent
|
2001-01-21 12:10:30 +03:00
|
|
|
{
|
2001-01-22 07:34:24 +03:00
|
|
|
const unsigned short MODIFICATION = 1;
|
|
|
|
const unsigned short ADDITION = 2;
|
|
|
|
const unsigned short REMOVAL = 3;
|
2001-01-21 12:10:30 +03:00
|
|
|
|
2001-01-22 07:34:24 +03:00
|
|
|
readonly attribute nsIDOMNode relatedNode;
|
2001-01-21 12:10:30 +03:00
|
|
|
readonly attribute DOMString prevValue;
|
|
|
|
readonly attribute DOMString newValue;
|
|
|
|
readonly attribute DOMString attrName;
|
|
|
|
readonly attribute unsigned short attrChange;
|
2001-01-22 07:34:24 +03:00
|
|
|
void initMutationEvent(in DOMString typeArg,
|
|
|
|
in boolean canBubbleArg,
|
|
|
|
in boolean cancelableArg,
|
|
|
|
in nsIDOMNode relatedNodeArg,
|
|
|
|
in DOMString prevValueArg,
|
|
|
|
in DOMString newValueArg,
|
2001-05-14 05:54:11 +04:00
|
|
|
in DOMString attrNameArg,
|
|
|
|
in unsigned short attrChangeArg);
|
2001-01-21 12:10:30 +03:00
|
|
|
};
|