diff options
author | cathiechen <cathiechen@igalia.com> | 2024-03-22 16:02:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 15:02:01 +0000 |
commit | cb275e086c215b6da741c7918cd9683a134eb24f (patch) | |
tree | 173f32008068d06f27b3d1a8af1a855dfa6174da /components/script/dom/webidls/Range.webidl | |
parent | bae77671f85481503ab563c20ed488cf883436fa (diff) | |
download | servo-cb275e086c215b6da741c7918cd9683a134eb24f.tar.gz servo-cb275e086c215b6da741c7918cd9683a134eb24f.zip |
Implement StaticRange (#31809)
* 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>
Diffstat (limited to 'components/script/dom/webidls/Range.webidl')
-rw-r--r-- | components/script/dom/webidls/Range.webidl | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/components/script/dom/webidls/Range.webidl b/components/script/dom/webidls/Range.webidl index 037093a0762..7ba168ddb05 100644 --- a/components/script/dom/webidls/Range.webidl +++ b/components/script/dom/webidls/Range.webidl @@ -9,19 +9,9 @@ */ [Exposed=Window] -interface Range { +interface Range : AbstractRange { [Throws] constructor(); [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; - [Pure] readonly attribute Node commonAncestorContainer; [Throws] |