bors-servo
00628704ca
Auto merge of #9763 - Tangresh:i9725, r=nox
...
Implement value for DOMTokenList
Fixes #9725
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9763 )
<!-- Reviewable:end -->
2016-03-01 08:34:21 +05:30
bors-servo
4bcdbe6d56
Auto merge of #8932 - rilut:add-elementfrompoint, r=nox
...
Implement Document#elementFromPoint
Related to #8666 . I haven't implemented elementsFromPoint, because from my past discussion with jdm, [it's not good yet](dbfa25214b (commitcomment-14668959)
) to implement elementsFromPoint because it may cause GC hazards.
By the way, I also have to include the test for this, right? I've found this [1]. So, is all I have to do is just to put this into `tests/wpt/web-platform-tests/cssom-view/elementFromPoint.html`?
[1] http://test.csswg.org/suites/cssom-view-1_dev/nightly-unstable/html/elementFromPosition.htm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8932 )
<!-- Reviewable:end -->
2016-03-01 03:01:50 +05:30
Rizky Luthfianto
76678bbdae
Implement Document#elementFromPoint
2016-03-01 02:23:07 +07:00
Dominik Menzi
b29b2d6d73
Implement value for DOMTokenList
2016-02-29 16:07:03 +01:00
bors-servo
6c65e154f4
Auto merge of #9774 - nox:remove-attribute-node, r=nox
...
Implement removeAttributeNode
Supersedes #8727
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9774 )
<!-- Reviewable:end -->
2016-02-27 15:23:06 +05:30
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
bors-servo
0d7a2eee2d
Auto merge of #9514 - g-k:html-input-value, r=KiChjang
...
HTML input value
Ready for review.
Fixes #9455 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9514 )
<!-- Reviewable:end -->
2016-02-27 04:36:46 +05:30
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
João Oliveira
b60d668908
use return value of invoking event handlers to cancel the event
2016-02-26 10:17:57 -05:00
Greg Guthe
e6c31e305d
Get input value IDL attribute matching spec
...
Refs: https://github.com/servo/servo/issues/9455
2016-02-25 18:59:34 -05:00
Anthony Ramine
7f36247d03
Support [LegacyUnenumerableNamedProperties]
2016-02-23 17:23:51 +01:00
Saurav Sachidanand
939560bd6e
Update some canvas properties as enums instead of DOMString
2016-02-19 22:19:09 +05:30
zakorgyula
6d6f23a69d
Fixing issue with uniontypes not created with primitive types
...
refer to #9531
2016-02-18 11:08:47 +01:00
bors-servo
d8ffa3d0b8
Auto merge of #9529 - paulrouget:focusEvents, r=asajeffrey
...
Implement focus, blur, focusin and focusout events
Based on https://github.com/servo/servo/pull/7985
Fixes https://github.com/servo/servo/issues/7981
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9529 )
<!-- Reviewable:end -->
2016-02-18 09:03:42 +05:30
Paul Rouget
c7195cb456
Implement focus and blur events
2016-02-18 03:49:31 +01:00
Anthony Ramine
c21a164396
Support [ExceptionClass]
...
Use it on DOMException.
2016-02-17 13:58:58 +01:00
Paul Rouget
63519c3574
mozbrowsersercuritychange event
2016-02-09 08:05:17 +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
bors-servo
dc223eb4c3
Auto merge of #9420 - shssoichiro:console-time, r=KiChjang
...
Implement console#time and console#timeEnd methods
Fixes #9325
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9420 )
<!-- Reviewable:end -->
2016-01-29 23:47:52 +05:30
bors-servo
0c5591a8ec
Auto merge of #9407 - KiChjang:radio-node-list, r=nox
...
Implement RadioNodeList
I also had to implement the NamedGetter for HTMLFormControlsCollection as well, since that's the only consumer of RadioNodeList and I wanted to see which wpt test passes.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9407 )
<!-- Reviewable:end -->
2016-01-29 14:04:16 +05:30
Keith Yeung
4229b68062
Implement NamedItem and NamedGetter on HTMLFormControlsCollection
2016-01-28 18:33:51 -05:00
Mathieu Hordesseaux
322b120f8a
Implement SetNamedItem, SetNamedItemNS, SetAttributeNode and SetAttributeNodeNS
2016-01-28 12:35:44 +01:00
Joshua Holmer
f0765890fe
Implement console#time and console#timeEnd methods
...
Fixes #9325
2016-01-25 14:21:32 -05:00
Keith Yeung
9e3af70941
Implement RadioNodeList
2016-01-24 13:05:47 -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
Lanza
cfc3500dbf
Implement HTMLDetailsElement. Fixes #9216
2016-01-20 16:15:37 +01:00
James Sanders
0bffffd8f5
Make WebSocket constructor take (DOMString or sequence<DOMString>)
2016-01-17 21:33:04 -07:00
St.Spyder
763b99258f
Update XHR BodyInit, update extract method impl
2016-01-18 02:26:13 +05:30
bors-servo
7ae16c7ea3
Auto merge of #9294 - KiChjang:xhr-usvstring, r=nox
...
Change all DOMStrings to USV strings for XHR
This is in compliance with the new spec [here](https://xhr.spec.whatwg.org/#xmlhttprequest ).
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9294 )
<!-- Reviewable:end -->
2016-01-17 19:40:46 +05:30
bors-servo
557d79bb87
Auto merge of #9194 - nerith:info, r=nox
...
Remove the w3c link for the Event interface
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9194 )
<!-- Reviewable:end -->
2016-01-17 18:58:42 +05:30
bors-servo
a4e805d909
Auto merge of #9337 - fmmartins:urlsearchparams-getall, r=nox
...
Implement URLSearchParams::getAll
Fixes #5439 .
Please tell me if anything is wrong or needs some change!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9337 )
<!-- Reviewable:end -->
2016-01-17 18:13:17 +05:30
Keith Yeung
a64f832e57
Change all DOMStrings to USV strings for XHR
2016-01-16 08:51:34 -05:00
Fernando Martins
29b14d4b3d
Implement URLSearchParams::getAll
2016-01-15 22:40:55 +00:00
Emilio Cobos Álvarez
8859c617a8
webidl: Add test for interface and sequence in the same union
2016-01-15 14:20:23 +01:00
Emilio Cobos Álvarez
a76efa5eca
webidl: Add test for interface sequences
...
Sequence interfaces return values worked before, but had no test.
Sequence interface arguments didn't work until the previous commit.
2016-01-15 14:20:22 +01:00
Emilio Cobos Álvarez
4ad1a8ddcc
webidl: Implement sequences in unions
...
Unblocks #9053
2016-01-15 13:42:08 +01:00
Emilio Cobos Álvarez
5c23c3851a
webgl: Remove old WebGLContextEvent idl
...
It's already defined in its own idl file.
2016-01-13 13:41:32 +01:00
Emilio Cobos Álvarez
532b53ddc9
webgl: Implement Uniform1f, Uniform1fv, and Uniform4f
...
I was going to implement Uniform4fv with sequences, (since it
practically implemented), but we can't until we support Float32Array
args because codegen doesn't know how tu differenciate between both.
2016-01-13 13:41:30 +01:00
Emilio Cobos Álvarez
1509d87545
codegen: Test WebIDL sequence arguments
2016-01-12 18:25:47 +01:00
Brandon Fairchild
5bc0acc556
Event.webidl: Remove w3c link and copyright notice
2016-01-11 23:05:14 -05:00
Corey Farwell
f72d153c8d
Implement HTMLFormElement::Length
2016-01-10 14:44:13 -05:00
Corey Farwell
bff8947e43
Implement HTMLFormElement::Elements
...
Fixes #8566
2016-01-10 12:08:24 -05:00
Corey Farwell
8f35652f25
Update HTMLFormElement WebIDL to match spec
...
https://html.spec.whatwg.org/multipage/#htmlformelement
2016-01-08 20:38:56 -05:00
Corey Farwell
a1795a54d0
Update HTMLFieldSetElement WebIDL to match spec
...
https://github.com/whatwg/html/pull/413
https://html.spec.whatwg.org/multipage/#htmlfieldsetelement
2016-01-08 20:37:30 -05:00
Brandon Fairchild
fb0304cfdb
Rename fire_simple_event_params to fire_event
...
Fixes #9180 .
2016-01-07 13:49:49 -05:00
Keith Yeung
1d62db405e
Implement EventSource and update test expectations
2016-01-05 21:47:43 -05:00
bors-servo
1b0053f8b1
Auto merge of #9136 - frewsxcv:htmlbodyelement-background, r=nox
...
HTMLBodyElement 'background' attribute improvements
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9136 )
<!-- Reviewable:end -->
2016-01-03 11:00:49 +05:30
bors-servo
6844adbe2d
Auto merge of #9082 - nikkisquared:websocket_bufferedamount, r=eefriedman
...
Updated WebSocket buffered_amount to match change to html specification
The size of WebSocket's buffered_amount was changed[1] after an issue I opened, which I found while working on WebSocket previously[2]. @jdm suggested I make a PR updating Servo reflecting this, and so I have! As always, I'd like to hear any feedback on anything I can do to improve this.
[1] https://github.com/whatwg/html/issues/296
[2] https://github.com/servo/servo/pull/8218#issuecomment-152021737 point 5)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9082 )
<!-- Reviewable:end -->
2016-01-03 08:43:55 +05:30