Open Bug 992703 Opened 10 years ago Updated 2 years ago

User Interface Event Types and their inheritance

Categories

(Core :: DOM: Events, defect, P5)

x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: crimsteam, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140314220517

Steps to reproduce:

In D3E we have defined  User Interface Event Types (https://dvcs.w3.org/hg/dom3events/raw-file/tip/html/DOM3-Events.html#h4_events-uievents), but they can inherit from different interfaces:

- load, unload, abort, error, select (UIEvent if generated from a user interface, Event otherwise.) 
- resize, scroll (UIEvent)

When this event inherit from UIEvent we have access to UIEvent.view and this may be potentially useful.

I don't see that eny spec. define exactly what it means "UIEvent if generated from a user interface". Maybe HTML5 should describe this (https://www.w3.org/Bugs/Public/show_bug.cgi?id=25279). Without this all browsers work differently:

- Chrome always use Event
- Firefox use UIEvent only for scroll event.  << according D3E it should also be resize
- IE use UIEvent for select, resize and scroll.

None of these implementations are compatible with the specification, but specification in this case is not precise. I wrote this bug, maybe in the future the situation became more crystallizes or anyone interested in the topic and write to the appropriate people.
Component: General → DOM: Events
Version: 31 Branch → Trunk
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.