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

Implement ChildNode::before & ChildNode::after #2068

Merged
merged 1 commit into from Aug 11, 2015

Conversation

Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Aug 11, 2015

Continued from #6536

The current implementations of ChildNode::before and
ChildNode::after do not match the WHATWG spec. This commit updates the
implementations to match the spec.

Our current implementation of ChildNode::after passes all the WPT
tests. So I made sure to add a regression test that failed with the
current implementation. There are a few other unit tests I added
to exhaust other corner cases I encountered.

Continued from #6536

The current implementations of `ChildNode::before` and
`ChildNode::after` do not match the WHATWG spec. This commit updates the
implementations to match the spec.

Our current implementation of `ChildNode::after` passes all the WPT
tests. So I made sure to add a regression test that failed with the
current implementation. There are a few other unit tests I added
to exhaust other corner cases I encountered.
@Ms2ger
Copy link
Contributor Author

Ms2ger commented Aug 11, 2015

Code reviewed upstream.

Ms2ger added a commit that referenced this pull request Aug 11, 2015
…374d499f3e

Merge pull request #2068 from sync_8ed7a61e9e22486609683871b7bc31374d499f3e
@Ms2ger Ms2ger merged commit dab53c5 into master Aug 11, 2015
@Ms2ger Ms2ger deleted the sync_8ed7a61e9e22486609683871b7bc31374d499f3e branch August 11, 2015 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants