Commit graph

94 commits

Author SHA1 Message Date
Anthony Ramine
186218b265 Fix the Node.replaceChild tests
That method first does "if node is a host-including inclusive ancestor of parent,
throw a HierarchyRequestError" and only then "if child’s parent is not parent,
throw a NotFoundError exception".
2016-03-01 03:14:15 +01:00
Anthony Ramine
329a5b0c95 Remove a fat arrow from /dom/nodes/attributes.html 2016-02-26 17:18:16 +01:00
Ms2ger
de119adcc2 Update web-platform-tests to revision efa05bfb3b338ef988f3ebf4523198512a248a99 2016-02-26 11:10:34 +01:00
Ms2ger
e8ed816728 Update web-platform-tests to revision 95aad3bd9b82b5c65d84d53517b65ba084de9394 2016-02-12 09:41:14 +01:00
Ms2ger
73bc5cf1b8 Update web-platform-tests to revision 7f2f85a88f434798e9d643427b34b05fab8278c6 2016-02-01 17:25:22 +01:00
Mathieu Hordesseaux
322b120f8a Implement SetNamedItem, SetNamedItemNS, SetAttributeNode and SetAttributeNodeNS 2016-01-28 12:35:44 +01:00
James Graham
7e8624d921 Update web-platform-tests to revision 0d9238c8062f05a55898a0cb60dc0c353794d87a 2016-01-21 10:28:30 +00:00
Ms2ger
1f5d8fedd4 Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390 2016-01-18 13:24:36 +01:00
Ms2ger
8ea56eabaa Update web-platform-tests to 887399d3d0a85d0e27a6688ae384459376adf7ca 2015-12-21 14:30:03 +01:00
Anthony Ramine
e7a9f44df9 Fix DOMStringMap's stringifier behaviour according to the spec
It should just return its associated attribute's value, if any.

https://github.com/whatwg/dom/issues/105
2015-12-18 17:03:49 +01:00
Ms2ger
9aa1b1e408 Update web-platform-tests to revision 5dbe45af3ad3a933c03187c72f1c12cbe2877703 2015-12-10 09:38:01 -05:00
Ms2ger
32efe41299 Update web-platform-tests to revision 5a754b40cd49c0404863c431b58cc311dc5d167c 2015-11-17 10:54:05 +01:00
Manish Goregaokar
c11b756973 Add tests for get/set/removeAttributeNode()
Fixes https://github.com/w3c/web-platform-tests/issues/2262
2015-11-13 20:21:33 +05:30
Ms2ger
92e90e6633 Update web-platform-tests to revision 4b25d322ac6ed466f992669e5408b15d37d56436 2015-10-22 16:41:47 +02:00
Ms2ger
c8c377df9f Update web-platform-tests to revision 4bba821de44da9ed47c2562f995a0da6eecc177b 2015-10-12 17:53:50 +02:00
James Graham
bae87d193d Update web-platform-tests to revision 7da6acfd668e66adae5ab4e2d389810d3b1460be 2015-10-06 12:16:35 +01:00
Ms2ger
43a50e298a Update web-platform-tests to revision 0159b3ec9ba5355a3340621226e02ae026effd7f 2015-09-22 19:58:47 +02:00
Simon Sapin
dcc8f63d52 Add tests for CharacterDataMethods with non-BMP code points 2015-08-28 12:23:27 +02:00
Ms2ger
c007b66d97 Correct the default value for Node#cloneNode's deep argument. 2015-08-13 12:12:45 +02:00
Ms2ger
88ea7c4291 Update web-platform-tests to revision 58133dd71b16037669a0aa011b2afd448b52d434. 2015-08-12 08:21:50 +02:00
Corey Farwell
a6797ac813 Merge Servo Node.cloneNode test into WPT Node.cloneNode test
Fixes #5755
2015-08-10 09:48:18 -04:00
Corey Farwell
8cfccda542 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.
2015-07-29 22:44:19 +07:00
Ms2ger
5b2ca4d132 Update web-platform-tests to revision 12d3e15e5ecae695e1216c358d613705fbff6b68 2015-07-27 16:31:27 +02:00
bors-servo
2947d78e4e Auto merge of #6584 - Ms2ger:wpt_20150709, r=jdm
Update web-platform-tests to revision 5e3ea8f49fee68c327388bfd1dd1375a8ce12a0e.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6584)
<!-- Reviewable:end -->
2015-07-14 05:33:35 -06:00
Ms2ger
bfb96b9448 Update web-platform-tests to revision 5e3ea8f49fee68c327388bfd1dd1375a8ce12a0e. 2015-07-14 10:38:54 +02:00
David Zbarsky
0fa8e51432 Test element prefix for element equality 2015-07-11 02:50:39 -04:00
David Zbarsky
326b2a7161 Test element prefix for element equality 2015-07-10 14:41:37 -04:00
Kevin Ball
9ac5eb3e3c Fix code review concerns on tests 2015-07-06 08:31:39 -07:00
Kevin Ball
dbbab3b113 Implement Node.baseURI 2015-07-05 15:29:04 -07:00
Ms2ger
b333501a46 Add a test for insertBefore(x, x), and move the test for replaceChild(x, x) to a better place. 2015-06-28 17:23:31 +02:00
bors-servo
99b79fc248 Auto merge of #6222 - Ms2ger:characterdata, r=nox
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6222)
<!-- Reviewable:end -->
2015-05-30 06:20:57 -05:00
Ms2ger
18ebdf059c Add a test for non-ASCII strings in CharacterData#substringData. 2015-05-29 19:36:23 +02:00
bors-servo
bf4fc6f388 Auto merge of #5972 - pgonda:remove-children-from-doc, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5972)
<!-- Reviewable:end -->
2015-05-29 12:03:28 -05:00
Ms2ger
881fe95cd1 Update web-platform-tests to revision 075802c1d3387d07e31cd5887459d539b1297c8d. 2015-05-29 17:53:09 +02:00
Peter
7239d67353 fixes #5963 2015-05-26 10:01:03 -04:00
James Graham
5e8b92f3de Update web-platform-tests to revision 41a7d8732d8e5c65728c153d29a34fe9d5192b29 2015-05-14 13:03:25 +01:00
Ms2ger
107e57809d Add a non-ASCII test to CharacterData-deleteData.html. 2015-04-28 23:40:04 +02:00
Ms2ger
de12dc814a Rewrite CharacterData-deleteData.html to be more extensible. 2015-04-28 23:40:01 +02:00
Ms2ger
6efab116e7 Add a non-ASCII test to CharacterData-insertData.html. 2015-04-28 23:39:59 +02:00
Ms2ger
61e8351f28 Rewrite CharacterData-insertData.html to be more extensible. 2015-04-28 23:39:56 +02:00
Ms2ger
51b06bcbaf Test a non-ASCII argument to CharacterData#appendData. 2015-04-28 23:39:54 +02:00
Ms2ger
2d49203b9c Update web-platform-tests to revision 000905d008db2538360020335bc2dbba16d322b5. 2015-04-16 18:58:53 +02:00
Ms2ger
71008d816d Update web-platform-tests. 2015-04-09 14:38:04 +02:00
James Graham
1a81b18b9f Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255 2015-04-03 23:28:54 +01:00