diff --git a/dom/public/coreEvents/nsIDOMEvent.h b/dom/public/coreEvents/nsIDOMEvent.h index cd40046fa62..b2c6be781fb 100644 --- a/dom/public/coreEvents/nsIDOMEvent.h +++ b/dom/public/coreEvents/nsIDOMEvent.h @@ -38,9 +38,9 @@ class nsIDOMEvent : public nsISupports { public: static const nsIID& GetIID() { static nsIID iid = NS_IDOMEVENT_IID; return iid; } enum { - BUBBLING_PHASE = 1, - CAPTURING_PHASE = 2, - AT_TARGET = 3, + CAPTURING_PHASE = 1, + AT_TARGET = 2, + BUBBLING_PHASE = 3, MOUSEDOWN = 1, MOUSEUP = 2, MOUSEOVER = 4, diff --git a/dom/public/idl/events/Event.idl b/dom/public/idl/events/Event.idl index e9e642ce678..13b090a4c6e 100644 --- a/dom/public/idl/events/Event.idl +++ b/dom/public/idl/events/Event.idl @@ -3,9 +3,9 @@ { 0x00, 0x80, 0x5f, 0x8a, 0xe3, 0x8a, 0xdd, 0x32 } } */ - const unsigned short BUBBLING_PHASE = 1; - const unsigned short CAPTURING_PHASE = 2; - const unsigned short AT_TARGET = 3; + const unsigned short CAPTURING_PHASE = 1; + const unsigned short AT_TARGET = 2; + const unsigned short BUBBLING_PHASE = 3; const int MOUSEDOWN = 0x00000001; const int MOUSEUP = 0x00000002;