Commit Graph

62 Commits

Author SHA1 Message Date
Rahul Sharma
f8cddf5a22 removed XMLDocument constructor according to spec 2016-03-03 17:01:33 +05:30
Dominik Menzi
b29b2d6d73 Implement value for DOMTokenList 2016-02-29 16:07:03 +01:00
Nick Fitzgerald
d28c9a1588 Implement removeAttributeNode
This commit implement removeAttributeNode, as described here:
https://dom.spec.whatwg.org/#dom-element-removeattributenode

See also #8724 and #8068.
2016-02-26 21:18:24 +01:00
Anthony Ramine
b8ae5897f1 Implement Element.getAttributeNames 2016-02-26 19:15:11 +01:00
Ms2ger
e8ed816728 Update web-platform-tests to revision 95aad3bd9b82b5c65d84d53517b65ba084de9394 2016-02-12 09:41:14 +01:00
Mathieu Hordesseaux
322b120f8a Implement SetNamedItem, SetNamedItemNS, SetAttributeNode and SetAttributeNodeNS 2016-01-28 12:35:44 +01:00
Anthony Ramine
d13da7d9b3 Fix prototypes of interface objects (fixes #2665) 2016-01-12 17:15:44 +01:00
Anthony Ramine
7693aecf15 Use the object prototype for callback interface objects
window.NodeFilter's prototype should be the object prototype.
2016-01-12 12:34:18 +01:00
vectorijk
c559270b83 implement document charset
- pre-compute the adjusted encoding name

Fix build errors and update test expectations
2015-12-21 03:17:52 -08:00
Ms2ger
cd00f312a3 Update web-platform-tests to revision 0bb3d73f26aa5a21326b6c1c7aaf35029222223f 2015-12-16 16:58:03 +01:00
John DeSilva
f244a7075c Make Event's isTrusted attribute unforgeable 2015-12-13 12:27:05 -05:00
Ms2ger
9aa1b1e408 Update web-platform-tests to revision 5dbe45af3ad3a933c03187c72f1c12cbe2877703 2015-12-10 09:38:01 -05:00
Guillaume Gomez
adf8b359bb Add XMLDocument object 2015-11-27 14:55:41 +01:00
David Zbarsky
25b7c9523c Implement Range#deleteContents 2015-11-25 00:02:25 -08:00
KALPESH KRISHNA
3971b8ce27 Implementing getAttributeNode() and similar methods. 2015-10-19 16:14:43 +05:30
Ms2ger
43a50e298a Update web-platform-tests to revision 0159b3ec9ba5355a3340621226e02ae026effd7f 2015-09-22 19:58:47 +02:00
bors-servo
4c64c870c6 Auto merge of #7592 - nox:nonelementparentnode, r=jdm
Introduce NonElementParentNode

This is the interface where Document.getElementById() belong.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7592)
<!-- Reviewable:end -->
2015-09-10 07:29:47 -06:00
Anthony Ramine
dc125f9eb1 Implement NonElementParentNode for DocumentFragment 2015-09-10 01:33:13 +02:00
David Zbarsky
3bec4d37dd Implement Range#surroundContents 2015-09-08 22:01:49 -07:00
David Zbarsky
f44691c91d Implement Range#extractContents 2015-07-28 12:52:29 -04:00
David Zbarsky
207648f14d Implement Range#cloneContents 2015-07-17 02:48:39 -04:00
David Zbarsky
c2664e52dd Implement Range#insertNode 2015-07-16 17:43:46 -04:00
Michael Wu
675267b782 Upgrade to SM 39 2015-06-19 18:42:48 -04:00
Jinwoo Song
db25be7bf6 Update NodeIterator code to apply review comments. 2015-05-28 18:37:27 +09:00
Jinwoo Song
cb2bdf1977 Implement nextNode(), previousNode() and detach() in NodeIterator
First patch to resolve #1235. We need more implementation for handling node removals,
and I'll implement in next patch.
2015-05-27 16:37:30 +09:00
Anthony Ramine
d9619853e2 Fix length value of interface methods 2015-05-14 19:11:10 +02:00
James Graham
a884237f9f Update web-platform-tests expected data to revision 41a7d8732d8e5c65728c153d29a34fe9d5192b29 2015-05-14 13:45:29 +01:00
bors-servo
15c4372a8b Auto merge of #5839 - nox:range, r=Manishearth
The actual boundary points are behind a Rc<_> value to let nodes be able to store weak references to them in the future.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5839)
<!-- Reviewable:end -->
2015-04-30 05:59:55 -05:00
Anthony Ramine
184fb7bd86 Implement base machinery of Range
The actual boundary points are behind a Rc<_> value to let nodes be able to store
weak references to them in the future.
2015-04-30 12:53:40 +02:00
Anthony Ramine
5386cb31d0 Enable range tests 2015-04-30 12:53:38 +02:00
Anthony Ramine
3b82cba011 Implement trivial stringifiers 2015-04-29 19:07:09 +02:00
Anthony Ramine
6e75889e41 Fix DOMImplementation.hasFeature() 2015-04-27 23:11:53 +02:00
James Graham
291ac06c01 Update web-platform-tests expected data to revision 2a9fd810bb18610b422dbc3998ab74aa1bffae95 2015-04-24 18:31:05 +01:00
Anthony Ramine
163d97d270 Implement Text.splitText() 2015-04-23 16:36:50 +02:00
Anthony Ramine
45e1b9628e Finish implementation of ChildNode and ParentNode 2015-04-16 20:31:34 +02:00
Chris Paris
98e2dc5df7 Uncomment NodeFilter constants 2015-04-13 10:13:06 -10:00
Anthony Ramine
890d902d6a Implement Text::wholeText 2015-04-10 11:46:30 +02:00
Anthony Ramine
3d68a46fee Implement NonDocumentTypeChildNode::*ElementSibling() 2015-04-09 15:43:05 +02:00
bors-servo
9b7bf415d7 Auto merge of #5590 - nox:document-createattributens, r=Ms2ger 2015-04-08 18:55:19 -05:00
bors-servo
0f0dd02daa Auto merge of #5575 - nox:namednodemap-remove, r=Ms2ger 2015-04-08 13:22:29 -05:00
Anthony Ramine
2353bc4798 Implement Document::CreateAttributeNS() 2015-04-08 10:22:32 +02:00
Anthony Ramine
eea80034e6 Implement NamedNodeMap::removeNamedItem*() 2015-04-07 22:34:56 +02:00
Anthony Ramine
33f2cd29fd Implement ParentNode attributes 2015-04-07 22:27:52 +02:00
Anthony Ramine
5d58dc8f54 Implement NamedNodeMap::getNamedItem*() (fixes #5454) 2015-04-07 13:42:56 +02:00
Ms2ger
7c146861aa Update web-platform-tests. 2015-02-24 21:19:35 +01:00
Ms2ger
92a7fee296 Update web-platform-tests. 2015-02-16 19:57:47 +01:00
Ms2ger
727f5c5797 Update web-platform-tests. 2015-01-28 23:29:16 +01:00
Jim Hoskins
7759358e09 Implement Element#closest
fixes #4603

- Add definition to the Element.webidl and implementation to element.rs.
- Create inclusive_ancestors helper in NodeHelpers
- Update test expectations
2015-01-17 07:29:33 -08:00
Ms2ger
29e250d4ac Update web-platform-tests and wptrunner. 2015-01-14 15:20:41 +01:00
Ms2ger
139e91e398 Update web-platform-tests. 2014-12-28 10:39:11 +01:00