- From: <bugzilla@jessica.w3.org>
- Date: Mon, 04 Feb 2013 01:54:04 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=14053 Kentaro Hara <haraken@chromium.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |travil@microsoft.com --- Comment #5 from Kentaro Hara <haraken@chromium.org> --- Now WheelEvent constructor is on the editor's draft (Thanks for the specing!): https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm#constructor-wheelevent I have a question about a 'deltaMode' attribute. The spec says: > Initializes the deltaMode attribute on the WheelEvent object to the enumerated values 0, 1, or 2, which represent the amount of pixels scrolled (DOM_DELTA_PIXEL), lines scrolled (DOM_DELTA_LINE), or pages scrolled (DOM_DELTA_PAGE) if the rotation of the wheel would have resulted in scrolling. What should happen when 123 is passed to deltaMode in a constructor, like this? new WheelEvent("type", {deltaMode: 123}); Should we set 123 to deltaMode, or should we just ignore such an invalid value? The type of 'deltaMode' is speced as 'unsigned long'. As far as I read the WebIDL spec for 'unsigned long' attributes getters/setters, it seems reasonable to set 123 to deltaMode. Is my understanding correct? -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Monday, 4 February 2013 01:54:06 UTC