mirror of
https://github.com/servo/servo.git
synced 2025-08-01 11:40:30 +01:00
Implement ChildNode::before & ChildNode::after 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. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6800) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
html | ||
jquery | ||
power | ||
ref | ||
unit | ||
wpt | ||
reftest.rs |