Anthony Ramine
540fe15f17
Fix step 10 of eventdispatcher::dispatch_event ( fixes #11609 )
...
We consolidate steps 10-12 in a single function to expose less general-purpose
mutating methods on Event.
2016-08-24 13:54:44 +02:00
Jeena Lee
543262b5d3
Enable wpt tests for Request and Response APIs
2016-08-04 10:47:35 -07:00
Steve Melia
04f5369577
Issue 7720: Add target selector and update when scrolling to fragment
2016-08-03 13:23:10 +01:00
Guillaume Gomez
cf9fd7eb46
Add DeleteRow method
2016-07-27 02:06:26 +02:00
Anthony Ramine
345eee92e8
Skip the root node in querySelectorAll
...
This accounts for https://github.com/whatwg/dom/issues/263 .
2016-07-04 14:52:34 +02:00
Ms2ger
79b1e6c40c
Update web-platform-tests to revision 346d5b51a122f7bb1c7747064499ef281a0200f7
2016-06-24 11:36:34 +02:00
Nazım Can Altınova
47984a52c6
Add Sandbox field to HTMLIFrameElement
2016-06-11 01:59:59 +03:00
Anthony Ramine
3529803975
Implement [Unscopable] ( fixes #11583 )
2016-06-07 15:34:44 +02:00
Kosov Eugene
a121437f87
Removed references to DOMSettableTokenList
2016-06-05 06:25:53 +03:00
bors-servo
85e462d5aa
Auto merge of #11615 - nox:interfaces, r=Manishearth
...
Clean the expectations for /dom/interfaces.html
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11615 )
<!-- Reviewable:end -->
2016-06-04 19:37:26 -05:00
Anthony Ramine
b697be8e28
Clean the expectations for /dom/interfaces.html
2016-06-04 19:35:10 +02:00
Guillaume Gomez
66b0568bb3
Make DOMTokenList.contains not throw anymore
2016-06-04 15:22:11 +02:00
Ms2ger
7c4281f3da
Update web-platform-tests to revision bda2059150dca8ab47f088b4cc619fcdc1f262fa
2016-05-30 14:04:50 +02:00
Simon Sapin
c11a3b958d
Make /dom/nodes/CharacterData-surrogates.html not panic.
...
It now fails since DOMString is currently based on std::string::String
on the Rust side, which is strictly well-formed UTF-8 and can not
contain unpaired surrogate code points.
Fixes #10780
2016-05-24 16:08:01 +02:00
Connor Brewster
11dd0d7c46
add popstateevent, hashchangeevent, pagetransitionevent
2016-05-11 22:11:46 -06:00
bors-servo
f60598909a
Auto merge of #11048 - servo:wpt-20160506, r=Ms2ger
...
Update web-platform-tests to revision fab2c513bffb2bd19600d23b495264d123df092f
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11048 )
<!-- Reviewable:end -->
2016-05-10 01:12:33 -07:00
mrmiywj
dfaad2dab2
'closeevent' argument for Document::createEvent
...
fix alphabetical order
delete unused tests
2016-05-08 14:40:12 +08:00
Ms2ger
ebddcc2d7f
Update web-platform-tests to revision fab2c513bffb2bd19600d23b495264d123df092f
2016-05-07 23:23:48 +02:00
cjkenned
d9128fba07
[10743] Add content type to XmlDocument constructor based on namespace
...
[10743] Fix namespace in createDocument test
[10743] Remove test ini file, match returns static strings instead of DOMString.
[10743] Fix arguments to XMLDocument::new
Update failing test
[10743] Add content type to XmlDocument constructor based on namespace
[10743] Fix namespace in createDocument test
[10743] Remove test ini file, match returns static strings instead of DOMString.
[10743] Fix arguments to XMLDocument::new
Update failing test
2016-04-28 20:26:54 -06:00
bors-servo
311dd0f930
Auto merge of #10816 - SunyDays:errorevent_argument, r=frewsxcv
...
Implement the errorevent argument to Document::createEvent
new_uninitialized function on ErrorEvent has already been in components/script/dom/errorevent.rs
close #10738
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10816 )
<!-- Reviewable:end -->
2016-04-27 10:52:41 -07:00
SunyDays
7d24426172
Implement the errorevent argument to Document::createEvent
2016-04-27 20:49:25 +03:00
bors-servo
daa1a2a0a8
Auto merge of #10647 - ConnorGBrewster:parse_xml, r=jdm
...
Finish hooking up XML parser
This is a work in progress PR for #10581 . I just want to make sure I am headed in the right direction.
cc @jdm
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10647 )
<!-- Reviewable:end -->
2016-04-27 07:50:54 -07:00
Connor Brewster
3389c497c0
Finish hooking up XML parser
...
added script integration with xml5ever
Updated test expectations
Removed timeout test expectation
Refactors
application/xhtml+xml is treated as HTML
Updated xml5ever
Updated Text Expectations
2016-04-27 08:44:13 -06:00
Ms2ger
026cf3e8e3
Remove an unused .ini file.
...
The subtest listed here was renamed, so the section no longer applies.
2016-04-27 09:32:10 +02:00
SunyDays
e4f3a31caf
Implement the focusevent argument to Document::createEvent
2016-04-27 01:51:48 +03:00
Ms2ger
950cd1ba87
Update web-platform-tests to revision b94b41945d3c7c9b4f3346cf8654cc5ca7ae567c
2016-04-26 17:09:39 +02:00
Stephen (Ziyun) Li
889579c6de
Implement the "progressevent" argument to Document::createEvent
2016-04-26 00:32:50 -04:00
bors-servo
8bf732e633
Auto merge of #10831 - mskrzypkows:storageevent, r=Ms2ger
...
"storageevent" argument for Document::createEvent
Fixes #10736
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10831 )
<!-- Reviewable:end -->
2016-04-25 03:44:24 -07:00
Maciej Skrzypkowski
6187ee631b
"storageevent" argument for Document::createEvent
...
Fixes #10736
2016-04-25 12:02:05 +02:00
bors-servo
a92a6360cf
Auto merge of #10819 - nox:call-without-new, r=Ms2ger
...
Refactor the `call` hook on non-callback interface objects (fixes #10744 )
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10819 )
<!-- Reviewable:end -->
2016-04-25 02:45:29 -07:00
Anthony Ramine
4c2ca7a8c9
Refactor the call
hook on non-callback interface objects ( fixes #10744 )
...
It's now set through the intermediate InterfaceConstructorBehavior structure,
which lets us improve the abstraction around NonCallbackInterfaceObjectClass
a bit better.
When the interface's constructor is supposed to always throw, the error for
calling `Foo()` without new is "Illegal constructor.". when the interface
actually defines an interface, the error is instead
"This constructor needs to be called with `new`.".
2016-04-25 11:44:59 +02:00
bors-servo
59205323da
Auto merge of #10805 - tylersouthwick:webglcontextevent, r=Ms2ger
...
implement webglcontextevent
fixes #10742
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10805 )
<!-- Reviewable:end -->
2016-04-25 01:50:52 -07:00
bors-servo
4f05ea73fe
Auto merge of #10761 - amarant:Node-isSameNode, r=Ms2ger
...
Implements Node::isSameNode
Fixes #10746
I adapted the tests from dom/nodes/Node-isEqualNode.html
should I also add ones for xhtml too like here : dom/nodes/Node-isEqualNode-xhtml.xhtml ?
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10761 )
<!-- Reviewable:end -->
2016-04-25 01:04:47 -07:00
bors-servo
4b8f1260b9
Auto merge of #10814 - SunyDays:svgevents_argument, r=Ms2ger
...
Implement the svgevents argument to Document::createEvent
close #10741
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10814 )
<!-- Reviewable:end -->
2016-04-24 22:49:26 -07:00
SunyDays
bb19e7d3ac
Implement the svgevents argument to Document::createEvent
2016-04-24 20:51:06 +03:00
Arnaud Marant
ed42cc72a4
Implements Node::isSameNode
...
Fixes #10746
Adapted the tests from dom/nodes/Node-isEqualNode.html
2016-04-23 22:03:25 +02:00
bors-servo
75ae1c033f
Auto merge of #10788 - Ms2ger:note-bugs, r=nox
...
Note some bugs.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10788 )
<!-- Reviewable:end -->
2016-04-23 00:03:03 -07:00
Tyler Southwick
cba0267ed4
implement webglcontextevent
2016-04-22 19:54:13 -07:00
bors-servo
e12fc2a6f7
Auto merge of #10769 - saneyuki:keyevents, r=frewsxcv
...
Drop support for keyevents in Document::createEvent
Fix #10735
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10769 )
<!-- Reviewable:end -->
2016-04-22 15:56:49 -07:00
bors-servo
8163347e34
Auto merge of #10762 - canaltinova:has_attributes, r=nox
...
Implement Element::hasAttributes
Fixes #10748 .
Implement Element::hasAttributes. I'm not sure if tests are enough. I'm open to suggestion :)
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10762 )
<!-- Reviewable:end -->
2016-04-22 15:11:20 -07:00
Nazım Can Altınova
47f43d45a7
Implement Element::hasAttributes
2016-04-22 15:18:08 +03:00
Léo Stefanesco
00b3f7930e
Implement Node::rootNode
2016-04-22 13:18:50 +02:00
Ms2ger
01df99f839
Note some bugs.
2016-04-21 17:17:33 +02:00
Tetsuharu OHZEKI
b4cf3b802e
Drop support for keyevents in Document::createEvent
2016-04-21 11:04:00 +09:00
Ms2ger
9a90a96cc0
Note the bug for Node::rootNode.
2016-04-20 11:28:22 +02:00
Ms2ger
df8998356b
Update web-platform-tests to revision 20fa4a3a71ab7a2f75b4febbe2e98aeeaf022c2b
2016-04-20 11:28:21 +02:00
Yoav Alon
5e3dcae71f
Implement the table section IDL attributes for HTML tables
2016-04-12 18:35:55 +03:00
Ms2ger
299ad0f9d0
Update web-platform-tests to revision d011702f368b88b3bae86e7a8fd2ddd22e18b33c
2016-04-12 10:47:32 +02:00
David Zbarsky
8cbcdfb761
Implement nodeName on Attr
2016-04-03 10:27:41 -07:00
James Graham
78369e95cf
Update web-platform-tests to 5582e4d2bfcfd1fa9f105406b143170ee2af7db1
2016-04-01 13:38:57 +02:00