The bits shared between StaticRange and Range objects are put on a shared superclass named AbstractRange.

Motivation

According to the StaticRange.idl, there are some duplicate methods with Range. Create an AbstractRange superclass and move some of the methods on Range that we want on StaticRange to the superclass as well. StaticRange and Range both inherit from AbstractRange. To reclassify Range objects as "live ranges" rather than "ranges". this can be communicated more clearly to the user.

Specification

Editor's draft

Status in Chromium

Blink>DOM


Enabled by default (tracking bug) in:

  • Chrome for desktop release 90
  • Chrome for Android release 90
  • Android WebView release 90

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Last updated on 2021-01-20