-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding the Range as a feature #1380
Conversation
@@ -0,0 +1,33 @@ | |||
name: Range | |||
description: The Range interface represents a fragment of a document that can contain nodes and parts of text nodes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Range
is defined in https://dom.spec.whatwg.org/#interface-range, but on its own it doesn't really do much, it's mostly in support of https://w3c.github.io/selection-api/.
I we may need a DOM feature for most old parts of https://dom.spec.whatwg.org/ that other specs depend on. @ddbeck WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Until we're backed into a corner, I think we ought to put such interfaces with their most longstanding dependent features (e.g., unless someone has an older use-case, Range
can go with the selection API—not sure what use Range
would be alone).
That said, if there's no such feature or it has use alone—supposing I'm wrong about Range
here—then I'd be OK with a foundational DOM feature. It might be quite boring, but make a lot of sense to stand in contrast with the Shadow DOM feature, with "Also known as light DOM" description text.
@tropicadri I think we can land the |
Co-authored-by: Philip Jägenstedt <[email protected]>
Co-authored-by: Philip Jägenstedt <[email protected]>
@@ -0,0 +1,33 @@ | |||
name: Range |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we haven't got an answer to whether this should standalone yet, but I also don't want to let this sit idle for forever, here's my idea for how to proceed with this:
Let's move this in to the draft
folder, add the draft date, and add a comment that links to this PR's discussion. That way, when we do get an answer to whether or not we need some "foundational DOM" feature (or features), then we have at least this part of the work documented somewhere.
Closes web-platform-dx#1380 Co-authored-by: Adriana Jara <[email protected]>
No description provided.