mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Remove DOMRectList and use sequences instead.
DOMRectList was removed last back in 2015. See https://www.w3.org/Bugs/Public/show_bug.cgi?id=26200 for details.
This commit is contained in:
parent
56435db820
commit
853c91781e
6 changed files with 7 additions and 77 deletions
|
@ -1,11 +0,0 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// http://dev.w3.org/fxtf/geometry/#DOMRectList
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
//[ArrayClass]
|
||||
interface DOMRectList {
|
||||
readonly attribute unsigned long length;
|
||||
getter DOMRect? item(unsigned long index);
|
||||
};
|
|
@ -81,7 +81,8 @@ interface Element : Node {
|
|||
|
||||
// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-element-interface
|
||||
partial interface Element {
|
||||
DOMRectList getClientRects();
|
||||
sequence<DOMRect> getClientRects();
|
||||
[NewObject]
|
||||
DOMRect getBoundingClientRect();
|
||||
|
||||
void scroll(optional ScrollToOptions options);
|
||||
|
|
|
@ -82,6 +82,7 @@ partial interface Range {
|
|||
|
||||
// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-range-interface
|
||||
partial interface Range {
|
||||
// DOMRectList? getClientRects();
|
||||
// sequence<DOMRect> getClientRects();
|
||||
// [NewObject]
|
||||
// DOMRect getBoundingClientRect();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue