From 0c8d9b93b93dbdbf974d15e2c1aca724de9e9924 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 24 Feb 2017 18:12:09 -0600 Subject: [PATCH] Add Event.returnValue. --- dom.bs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dom.bs b/dom.bs index deb1d7a44..721075696 100644 --- a/dom.bs +++ b/dom.bs @@ -517,6 +517,7 @@ interface Event { readonly attribute boolean bubbles; readonly attribute boolean cancelable; + attribute boolean returnValue; void preventDefault(); readonly attribute boolean defaultPrevented; readonly attribute boolean composed; @@ -735,6 +736,12 @@ The bubbles and cancelable attributes must return the values they were initialized to. +The returnValue +attribute must be initialized to true when an event is created. +When the attribute is set to false it must set the canceled flag if the +{{Event/cancelable}} attribute value is true and the +in passive listener flag is unset. + The preventDefault() method, when invoked, must set the canceled flag if the {{Event/cancelable}} attribute value is true and the in passive listener flag is unset.