Re: [whatwg/dom] Remove "svgevent" and "touchevent" from createEvent list? (#227)

At least based on Gecko source code, TouchEvent seems to be behind a pref: http://hg.mozilla.org/mozilla-central/file/1f16d3da9280/dom/events/EventDispatcher.cpp#l923  Maybe other engines also?

There was a problem in my testing methodology, because I grepped the output of http://w3c-test.org/dom/nodes/Document-createEvent.html but it previously omitted the trailing "s" from some of the plurals.  Chrome and Firefox support "SVGEvents", but only Firefox supports "SVGEvent".  New list:

```
AnimationEvent
BeforeUnloadEvent
CloseEvent
CompositionEvent
DeviceMotionEvent
DeviceOrientationEvent
DragEvent
ErrorEvent
FocusEvent
HashChangeEvent
IDBVersionChangeEvent
MutationEvent
MutationEvents
PageTransitionEvent
PopStateEvent
ProgressEvent
StorageEvent
SVGEvents
SVGZoomEvent
SVGZoomEvents
TextEvent
TrackEvent
TransitionEvent
WebGLContextEvent
WheelEvent
```

Exact methodology:

1) For each browser, copy-paste output of http://w3c-test.org/dom/nodes/Document-createEvent.html to a text file, grep for '^Fail.*NOT_SUPP', s/^[^"]*"//, s/".*//.  This gives a list of all the events that are not per the current version of the file.

2) cat chrome.txt firefox.txt ie.txt | sort | uniq -c | sort -nr | grep '^ *[23]' | sed 's/^ *[2-3] //' | sort

The only difference I see is SVGEvent -> SVGEvents.

---
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/227#issuecomment-211339699

Received on Monday, 18 April 2016 11:31:55 UTC