mirror of
https://github.com/servo/servo.git
synced 2025-06-08 16:43:28 +00:00
* Add DOM interface for AbstractRange * Add DOM interface for StaticRange * Update WPT tests for StaticRange-constructor.html * Fix formatting * Add AbstractRange & StaticRange in interfaces.html * rebased the code and fixed the failures Signed-off-by: Cathie Chen <cathiechen@igalia.com> * update the expected result in idlharness.window.js.ini file * Addressed the code review comments * updae the test result of legacy layout --------- Signed-off-by: Cathie Chen <cathiechen@igalia.com> Co-authored-by: Nipun Garg <nipung271@gmail.com>
21 lines
611 B
Text
21 lines
611 B
Text
/* 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 https://mozilla.org/MPL/2.0/. */
|
|
/*
|
|
* The origin of this IDL file is
|
|
* https://dom.spec.whatwg.org/#interface-abstractrange
|
|
*/
|
|
|
|
[Exposed=Window]
|
|
interface AbstractRange {
|
|
[Pure]
|
|
readonly attribute Node startContainer;
|
|
[Pure]
|
|
readonly attribute unsigned long startOffset;
|
|
[Pure]
|
|
readonly attribute Node endContainer;
|
|
[Pure]
|
|
readonly attribute unsigned long endOffset;
|
|
[Pure]
|
|
readonly attribute boolean collapsed;
|
|
};
|