beforeinput event is not canceable
Reported by
j.bogdan...@cksource.com,
Mar 21 2018
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36 Steps to reproduce the problem: 1. Visit https://codepen.io/jacekbogdanski/pen/YaZRXe 2. Type something inside contenteditable div What is the expected behavior? You should't be able to type inside contenteditable. What went wrong? You are able to type inside contenteditable. Did this work before? N/A Does this work in other browsers? No beforeinput event is not supported in other browsers Chrome version: 65.0.3325.162 Channel: n/a OS Version: OS X 10.13.2 Flash Version: 'beforeinput' is canceled for contenteditable so according to https://w3c.github.io/input-events/#x5-input-event-types you shouldn't be able to type inside it.
,
Mar 21 2018
That isn't necessarily true. Chrome implements Level 1 of the spec. See: https://rawgit.com/w3c/input-events/v1/index.html |
||
►
Sign in to add a comment |
||
Comment 1 by woxxom@gmail.com
, Mar 21 2018