- From: Dave Tapuska <notifications@github.com>
- Date: Fri, 09 Dec 2016 06:28:25 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Friday, 9 December 2016 14:29:00 UTC
do we know how often assigning the return value from true to false occurs?
I'd prefer if the implementation was essentially pollyfill-able;
For example:
bool legacyReturnValue() const { return !defaultPrevented(); }
void setLegacyReturnValue(bool returnValue) { if (returnValue) preventDefault(); }
Which specifically disallows the true->false transition. (much like the setCancelBubble debate)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/334#issuecomment-266026074
Received on Friday, 9 December 2016 14:29:00 UTC