Dispatch fullscreen events to element first rather than dispatch to document directly

NEW
Unassigned

Status

()

Core
DOM: Core & HTML
P2
normal
4 months ago
4 months ago

People

(Reporter: xidorn, Unassigned)

Tracking

(Blocks: 2 bugs)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

WebKit/Blink currently dispatches fullscreen events to elements, which makes sense, and matches our initial proposal of Fullscreen API [1].

It was not implemented that way probably because the current Gecko approach is easier to implement.

The spec has been changed to dispatch those events to element, and fallback to document in cases at whatwg/fullscreen#90.


[1] https://wiki.mozilla.org/Gecko:FullScreenAPI#fullscreenchange_event
Priority: -- → P2
This is indeed something we want to do before we unprefix fullscreen.
Blocks: 1269276
You need to log in before you can comment on or make changes to this bug.