diff --git a/index.html b/index.html index 66c09de..e34e619 100644 --- a/index.html +++ b/index.html @@ -517,9 +517,10 @@

The onrelease attribute

- The {{WakeLockSentinel/onrelease}} attribute is an event - handler whose corresponding event handler event type is - release. + The {{WakeLockSentinel/onrelease}} attribute is an event handler + IDL attribute for the "onrelease" event + handler, whose event handler event type is + "release".

It is used to notify scripts that a given {{WakeLockSentinel}} @@ -545,10 +546,11 @@

While a {{WakeLockSentinel}} object has one or more event listeners - registered for "release", and the {{WakeLockSentinel}} object hasn't - already been released, there MUST be a strong reference from the - {{Window}} object that the {{WakeLockSentinel}} object's constructor - was invoked from to the {{WakeLockSentinel}} object itself. + registered for "release", and the + {{WakeLockSentinel}} object hasn't already been released, there MUST + be a strong reference from the {{Window}} object that the + {{WakeLockSentinel}} object's constructor was invoked from to the + {{WakeLockSentinel}} object itself.

While there is a task queued by an {{WakeLockSentinel}} object on the @@ -738,7 +740,7 @@

  • Set |lock|'s {{WakeLockSentinel/[[Released]]}} to `true`.
  • - Fire an event named "`release`" at |lock|. + Fire an event named "release" at |lock|.