-
Notifications
You must be signed in to change notification settings - Fork 31
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
Throw InvalidNodeTypeError for doctype more eagerly #342
Conversation
This matches how major engines behave and is covered by multiple tests in WPT already. Closes w3c#118.
This matches the behavior of all major engines, and is covered by hundreds of subtests in WPT. Spec PR: w3c/selection-api#342
This matches the behavior of all major engines, and is covered by hundreds of subtests in WPT. Spec PR: w3c/selection-api#342
@siusin : what should we do to have @awesomekling allowed to contribute this PR? |
This matches the behavior of all major engines, and is covered by hundreds of subtests in WPT. Spec PR: w3c/selection-api#342 (cherry picked from commit 13bd52249d3fe674b8c11049eb66a305e058ee6f)
This matches the behavior of all major engines, and is covered by hundreds of subtests in WPT. Spec PR: w3c/selection-api#342 (cherry picked from commit 13bd52249d3fe674b8c11049eb66a305e058ee6f)
Working on it. It’ll take another 7 days, til the 25th |
Ended up being able to fast-track it. Andreas is now a member of the Web Editing working group — so after the patch in this PR gets reviewed and approved, it can be merged into the Selection API spec. |
Great. Thank you! |
This matches the behavior of all major engines, and is covered by hundreds of subtests in WPT. Spec PR: w3c/selection-api#342
This matches the behavior of all major engines, and is covered by hundreds of subtests in WPT. Spec PR: w3c/selection-api#342
This matches how major engines behave and is covered by multiple tests in WPT already.
Closes #118.
Supersedes #86.
Note: I didn't touch
setBaseAndExtent
here, since Gecko doesn’t throw on doctype but WebKit and Blink do.Preview | Diff