Skip to content
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

"is valid" algorithm uses a concept of "size of" that is not defined #7

Closed
bzbarsky opened this issue Apr 13, 2017 · 2 comments
Closed

Comments

@bzbarsky
Copy link

Things like:

If sr’s startOffset is greater than the size of the startContainer,

Presumably it means "the number of children of the startContainer". That's the terminology other specs use for this.

@bzbarsky
Copy link
Author

Actually, no, that's not right for textnodes.

What you probably want is https://dom.spec.whatwg.org/#concept-node-length complete with a link to it.

@garykac
Copy link
Owner

garykac commented Apr 26, 2017

This issue was moved to w3c/staticrange#5

@garykac garykac closed this as completed Apr 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants