mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:37:35 +00:00
LibWeb/HTML: Port Window.getSelection() to IDL
This commit is contained in:
parent
56550b6ec0
commit
606b9ff6f3
5 changed files with 18 additions and 22 deletions
|
@ -77,6 +77,9 @@ interface Window : EventTarget {
|
|||
[Replaceable] readonly attribute long outerHeight;
|
||||
[Replaceable] readonly attribute double devicePixelRatio;
|
||||
|
||||
// https://w3c.github.io/selection-api/#extensions-to-window-interface
|
||||
Selection? getSelection();
|
||||
|
||||
// FIXME: Everything from here on should be shared through WindowOrWorkerGlobalScope
|
||||
// https://w3c.github.io/hr-time/#the-performance-attribute
|
||||
[Replaceable] readonly attribute Performance performance;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue