Closed Bug 1575980 Opened 1 year ago Closed 5 months ago

Implement StaticRange constructor

Categories

(Core :: DOM: Core & HTML, enhancement)

68 Branch
enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: sajos, Assigned: jdai, Mentored)

Details

(Keywords: dev-doc-complete, good-first-bug)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3882.0 Safari/537.36 Edg/78.0.253.0

Steps to reproduce:

new StaticRange()

Actual results:

Currently, StaticRange is not constructible in any browser. This bug is being filed in response to this spec PR: https://github.com/whatwg/dom/pull/778, which introduces a StaticRange constructor.

Expected results:

StaticRange should be constructed per the algorithm in the above mentioned PR.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Mentor: bzbarsky
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: good-first-bug

Although it's a good first bug, can I allow to implement it?

Assignee: nobody → jdai
Status: NEW → ASSIGNED

Yes!

Pushed by jdai@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/05c7e3186020
Implement StaticRange constructor; r=smaug
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.