diff --git a/sections/events.include b/sections/events.include index c3c85be46..f27d8b27a 100644 --- a/sections/events.include +++ b/sections/events.include @@ -277,15 +277,15 @@ method must, when invoked, run these steps:

When a constructor of the Event interface, or of an interface that inherits from the Event interface, is invoked, these steps must be run:

    - 1. Create an event that uses the interface the constructor was invoked upon. +
  1. Create an event that uses the interface the constructor was invoked upon. - 2. Set its initialized flag. +

  2. Set its initialized flag. - 3. Initialize the type attribute to the type argument. +

  3. Initialize the type attribute to the type argument. - 4. If there is an eventInitDict argument then for each dictionary member defined therein find the attribute on event whose identifier matches the key of the dictionary member and then set the attribute to the value of that dictionary member. +

  4. If there is an eventInitDict argument then for each dictionary member present, find the attribute on event whose identifier matches the key of the dictionary member and then set the attribute to the value of that dictionary member. - 5. Return the event. +

  5. Return the event.