bors-servo
fa93d3f467
Auto merge of #9796 - KiChjang:range-stringifier, r=jdm
...
Implement Stringifier for Range
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9796 )
<!-- Reviewable:end -->
2016-03-10 07:35:06 +05:30
Keith Yeung
b32e859c3a
Implement Stringifier for Range
2016-03-09 15:27:37 -05:00
Emilio Cobos Álvarez
73eff81e5d
Add manual tests for mouseover/out handling
2016-03-02 20:14:15 +01:00
bors-servo
f7db68eff7
Auto merge of #9816 - nox:node-replacechild, r=Ms2ger
...
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".
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9816 )
<!-- Reviewable:end -->
2016-03-01 14:01:18 +05:30
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
Dominik Menzi
b29b2d6d73
Implement value for DOMTokenList
2016-02-29 16:07:03 +01:00
bors-servo
d5ce8f308f
Auto merge of #9734 - nox:finish-event-dispatch, r=Ms2ger
...
Fix the "get the parent" loop when dispatching event (fixes #6733 )
The DOM specification says:
> A document's get the parent algorithm, given an event, returns null
> if event's type attribute value is "load" or document does not have
> a browsing context, and the document's associated Window object
> otherwise.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9734 )
<!-- Reviewable:end -->
2016-02-27 23:03:25 +05:30
Anthony Ramine
e70b520c1f
Fix the "get the parent" loop when dispatching event ( fixes #6733 )
...
The DOM specification says:
A document's get the parent algorithm, given an event, returns null
if event's type attribute value is "load" or document does not have
a browsing context, and the document's associated Window object
otherwise.
2016-02-27 17:41:22 +01:00
bors-servo
8bdffa25f9
Auto merge of #9755 - jdm:handlerreturn, r=jdm
...
use return value of invoking event handlers to cancel the event
Rebased from #8707 . Fixes #8490 . We can modify the code and test as necessary whenever we make a decision about https://github.com/whatwg/html/issues/423 in the future.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9755 )
<!-- Reviewable:end -->
2016-02-27 07:10:50 +05:30
Anthony Ramine
b8ae5897f1
Implement Element.getAttributeNames
2016-02-26 19:15:11 +01:00
Anthony Ramine
329a5b0c95
Remove a fat arrow from /dom/nodes/attributes.html
2016-02-26 17:18:16 +01:00
João Oliveira
b60d668908
use return value of invoking event handlers to cancel the event
2016-02-26 10:17:57 -05:00
Ms2ger
de119adcc2
Update web-platform-tests to revision efa05bfb3b338ef988f3ebf4523198512a248a99
2016-02-26 11:10:34 +01:00
Eli Friedman
7b671d13a0
Use presentation hints correctly for the dimensions of <img>
.
...
Mostly straightforward; includes some extra fixes to make `<canvas>`
work the same way as `<img>` for reflow.
2016-02-25 14:04:06 -05:00
Anthony Ramine
1559f5a39f
Lazily define interface objects on globals ( fixes #6419 )
2016-02-25 15:56:47 +01:00
Anthony Ramine
0455b0b301
Test event dispatching in documents without a browsing context
2016-02-24 12:50:58 +01:00
Ms2ger
62a9bebeef
Update web-platform-tests to revision 7ed49cff4d031720f829c01df837ed7a09ad5c60
2016-02-24 11:04:43 +01:00
liviuba
347f3c15b2
Add caching to document_response
2016-02-19 11:30:09 +02:00
Peter
e39e59ef18
#1716 The indicated part of the document.
...
Interactive test for fragid resolution.
Added HTML tests for scrolling to fragid
Applied algorithm from whatwg spec
https://html.spec.whatwg.org/multipage/#the-indicated-part-of-the-document
Changes following code review
2016-02-17 00:51:46 +00:00
Anthony Ramine
ae72d1dfbe
Fix the hasInstance hook of interface objects
...
Step 2 wasn't properly implemented.
2016-02-15 14:12:53 +01:00
Ms2ger
e8ed816728
Update web-platform-tests to revision 95aad3bd9b82b5c65d84d53517b65ba084de9394
2016-02-12 09:41:14 +01:00
Josh Matthews
2796a4dfa8
Compile raw inline event handlers lazily. Resolves #8489 .
2016-02-11 15:44:52 +01:00
Josh Matthews
d6ea4b60a4
Make location_reload.html not trigger resource exhaustion.
2016-02-10 09:20:05 -05:00
Ms2ger
6ce5b7527a
Ensure that base_multiple.html fails rather than times out in the typical failure case.
2016-02-10 09:20:04 -05:00
Ms2ger
0f383a50a1
Rewrite and clarify base_multiple.html.
2016-02-10 09:20:03 -05:00
Manish Goregaokar
396533c479
Use a .worker.js test
2016-02-04 19:27:06 +05:30
Manish Goregaokar
853d4c0e39
Add test for websockets being used from a worker
2016-02-04 00:32:13 +05:30
Manish Goregaokar
4f878b2244
Fix crash when websocket.js is used from a worker
2016-02-04 00:03:22 +05:30
Ms2ger
73bc5cf1b8
Update web-platform-tests to revision 7f2f85a88f434798e9d643427b34b05fab8278c6
2016-02-01 17:25:22 +01:00
Jeff Harrison
d4fe40089b
Add onresize handler to GlobalEventHandlers
...
Refs: https://github.com/servo/servo/issues/7996
Rebased: https://github.com/servo/servo/pull/8006
2016-01-29 18:22:52 -05:00
Mathieu Hordesseaux
322b120f8a
Implement SetNamedItem, SetNamedItemNS, SetAttributeNode and SetAttributeNodeNS
2016-01-28 12:35:44 +01:00
bors-servo
e74021baaa
Auto merge of #9400 - jmr0:websocket, r=nox
...
Fixing websocket subprotocol header validation
This takes care of https://github.com/servo/servo/issues/9034
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9400 )
<!-- Reviewable:end -->
2016-01-25 17:01:39 +05:30
jmr0
3846cf52f2
fix websocket header validation, ensure it meets token requirements, add
...
testing
2016-01-24 18:31:21 -05:00
Joshua Holmer
75d258f866
Update HTMLFormElement.length to be of type unsigned long
...
Fixes #9402
2016-01-22 12:09:12 -05:00
Chandler Abraham
1ee9ccba21
add origin to location and url api
2016-01-21 11:06:41 -08:00
James Graham
7e8624d921
Update web-platform-tests to revision 0d9238c8062f05a55898a0cb60dc0c353794d87a
2016-01-21 10:28:30 +00:00
James Sanders
a640b9aaea
Echo close reason and close code
...
Set code to None if it is STATUS_NO_STATUS_RECEIVED, which should not be
sent across the wire.
2016-01-18 17:37:16 -07:00
Ms2ger
1f5d8fedd4
Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390
2016-01-18 13:24:36 +01:00
Keith Yeung
a64f832e57
Change all DOMStrings to USV strings for XHR
2016-01-16 08:51:34 -05:00
Ms2ger
198ee0f2c6
Support device-pixel-ratio in wpt reftests.
2016-01-12 13:02:50 +01:00
Corey Farwell
1ff1ec69dd
HTMLFormElement::Elements should honor [SameObject] attribute
...
Ideally, this would get tested by web-platform-tests, but that has yet
to be implemented:
https://github.com/w3c/web-platform-tests/issues/2462
2016-01-10 18:27:07 -05:00
Ying-Ruei Liang (KK)
74905f0f3c
Invalid type attribute for HTMLInputElement now fallback as text type ( fixes #8773 )
2016-01-06 10:56:00 +08:00
Ms2ger
1619a908b3
Add support for viewport size adjustments in wptrunner.
2016-01-04 09:58:14 +01:00
Keith Yeung
7001583047
Refactor FormData code to match updated spec
...
Use Atoms instead of Strings as keys
2016-01-01 05:38:10 -08:00
bors-servo
0d52170f35
Auto merge of #9054 - frewsxcv:parse-non-zero-dimension, r=eefriedman
...
Implement non-zero dimension attribute parsing
Fixes #8445
The only attributes I found that we have implemented that uses non-zero
dimenion attributes:
* `width` for `<td>` and `<th>` (table cells)
* `width` for `<table>`
I updated these implementations to use the new non-zero dimension
attribute parsing and added associated regression tests.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9054 )
<!-- Reviewable:end -->
2015-12-30 05:26:56 +05:30
Josh Matthews
7693b03468
Make button elements activatable. Fixes #4837 . Fixes #8101 .
2015-12-29 10:45:04 -05:00
Corey Farwell
ba659cb99c
Implement non-zero dimension attribute parsing
...
Fixes #8445
The only attributes I found that we have implemented that uses non-zero
dimenion attributes:
* `width` for `<td>` and `<th>` (table cells)
* `width` for `<table>`
I updated these implementations to use the new non-zero dimension
attribute parsing and added associated regression tests.
2015-12-24 13:20:43 -08:00
David Zbarsky
84ec9c4266
Handle toDataURL with no context
2015-12-24 11:48:04 -08: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