mirror of
https://github.com/servo/servo
synced 2026-05-15 03:16:47 +02:00
Implement [DocumentOrShadowRoot.FullscreenDocument](https://fullscreen.spec.whatwg.org/#dom-document-fullscreenelement). ## Changes - Update IDL definition by removing `Document.fullscreenElement` and declaring it in `DocumentOrShadowRoot` mixin as per the [spec](https://fullscreen.spec.whatwg.org/#api) - Implement [fullscreenElement getter](https://fullscreen.spec.whatwg.org/#dom-document-fullscreenelement) as a method in `DocumentOrShadowroot.get_fullscreen_element` which is used by `Document` and `ShadowRoot`. - Changedbubble and composed flags for fullscreen enter and exit events to true. - Delete `shadowroot-fullscreen-element.html.ini` since the test now passes. ## Testing Enable `shadowroot-fullscreen-element.html` WPT test. Passing WPT run: https://github.com/onsah/servo/actions/runs/21872882492 ## Fixes https://github.com/servo/servo/issues/42234 Signed-off-by: Onur Sahin <sahinonur2000@hotmail.com>