Bug 267978
Summary: | Sync 'TouchEventInit' dictionary as per WebIDL Specification | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | mcatanzaro, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ahmad Saleem
Hi Team,
I know TouchEvent implementation for Apple port is different but just wanted to sync with web-spec:
Web-Spec: https://w3c.github.io/touch-events/#dom-toucheventinit
File: Source/WebCore/dom/TouchEvent.idl
Current:
dictionary TouchEventInit : UIEventInit {
TouchList? touches = null;
TouchList? targetTouches = null;
TouchList? changedTouches = null;
};
Web-Spec:
dictionary TouchEventInit : EventModifierInit {
sequence<Touch> touches = [];
sequence<Touch> targetTouches = [];
sequence<Touch> targetTouches = [];
};
__
It compiles and just wanted to raise so we can fix it.
Thanks!
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
It compiles on Apple port rather than non-mac port, it leads to compilation issue.
Radar WebKit Bug Importer
<rdar://problem/121981975>