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
Ms2ger
cd00f312a3
Update web-platform-tests to revision 0bb3d73f26aa5a21326b6c1c7aaf35029222223f
2015-12-16 16:58:03 +01:00
Ms2ger
9aa1b1e408
Update web-platform-tests to revision 5dbe45af3ad3a933c03187c72f1c12cbe2877703
2015-12-10 09:38:01 -05:00
Sam Gibson
7ba43913c2
Uses assert_throws
instead of explicit try/catch
2015-12-03 14:01:00 +11:00
Sam Gibson
6d1624f9d0
Add additional WPT tests for maxlength parser set
2015-12-03 14:00:57 +11:00
Sam Gibson
32627a475a
Add maxlength manual test for input
2015-12-03 14:00:56 +11:00
Corey Farwell
320263199f
Implement attribute 'fgColor' on 'document'
...
The 'text' attribute was implemented on '<body>' in #7841
2015-11-30 18:19:07 -05:00
Ms2ger
3bbee99cdb
Update web-platform-tests to revision a3b0fadc7f5001bbe52c65e0a354c454981423a3
2015-11-30 13:44:18 +01:00
Ms2ger
3a79c9b53f
Update web-platform-tests to revision ee40b886c701ffa25a673240cabdedd59ee3ace4
2015-11-24 13:35:04 +01:00
bors-servo
0905088e83
Auto merge of #8655 - jdm:domain, r=jdm
...
Implement document.domain getter
Rebased from #6840 + test fixes.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8655 )
<!-- Reviewable:end -->
2015-11-24 06:01:13 +05:30
Tom Schuster
0e0e051f3f
Implement document.domain getter
2015-11-23 15:45:02 -05:00
bors-servo
6ef6d664aa
Auto merge of #8656 - servo:canvas-currentcolor, r=SimonSapin
...
Implement currentColor for Canvas colors
Fixes #7120 .
This is #7120 by @dzbarsky, with one tidy error fixed.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8656 )
<!-- Reviewable:end -->
2015-11-23 23:09:57 +05:30
Eli Friedman
8c93046b1c
Add test for URL-encoded form submission.
...
This turned out to be a little more complicated than I was hoping...
but I can't really think of a better way to do this.
2015-11-21 15:30:11 -08:00
David Zbarsky
8408891ec5
Parse currentColor as Canvas2D color
2015-11-21 11:59:19 -08:00
Ms2ger
32efe41299
Update web-platform-tests to revision 5a754b40cd49c0404863c431b58cc311dc5d167c
2015-11-17 10:54:05 +01:00
bors-servo
3ef0a9a79d
Auto merge of #8526 - frewsxcv:parse-length, r=eefriedman
...
Fix parse_length 0 values, implement <hr> 'width'
Follow-up to https://github.com/servo/servo/issues/8424
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8526 )
<!-- Reviewable:end -->
2015-11-15 03:30:46 +05:30
Corey Farwell
30ea772939
Make util::str::parse_length work with floats
2015-11-14 16:47:10 -05:00
Corey Farwell
02a8e8dd16
Implement <hr> element 'width' attribute
2015-11-14 16:46:59 -05: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
Josh Matthews
c4c0809934
Add test for OnErrorEventHandler special case.
2015-11-12 16:21:24 -05:00
Corey Farwell
ee0800abe9
Implement <hr> 'color' attribute
2015-11-08 18:34:27 -05:00
Benjamin Herr
066867eb86
wpt for javascript urls with queries and fragments
...
Expected to FAIL right now because contentDocument in iframes with
src="javascript:..." wrongly returns null. Passes in Firefox though!
2015-11-06 18:15:28 +01:00
bors-servo
021f441d24
Auto merge of #8218 - nikkisquared:master, r=eefriedman
...
I'm working on resolving https://github.com/servo/servo/issues/8213 as per the spec online and feedback in the servo channel. Note that currently I cannot build (and thus test) my code, so this is a bit of a rough first draft. I'd still like feedback on my progress, and I hope that there is another way for my code to be tested.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8218 )
<!-- Reviewable:end -->
2015-11-05 10:24:27 +05:30
Nikki
1d280289f1
Fixes #8213 : Implement Blob variant of WebSocket.send()
2015-11-04 21:42:10 -07:00
bors-servo
50d51bab7f
Auto merge of #8245 - eefriedman:misc-attribute-fixes, r=nox
...
Use attribute getter/setter macros for misc DOM attributes.
This fixes a few minor bugs.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8245 )
<!-- Reviewable:end -->
2015-11-02 15:14:32 +05:30
Eli Friedman
cf8f2b1874
Use attribute getter/setter macros for misc DOM attributes.
...
This fixes a few minor bugs.
Also adds some better testing for "unsigned long" attributes.
2015-11-01 12:47:28 -08:00
bors-servo
0e70a1f8a8
Auto merge of #7965 - frewsxcv:labelable-elements-label-attribute, r=nox
...
Implement 'labels' attribute on 'labelable elements'
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7965 )
<!-- Reviewable:end -->
2015-11-01 20:51:18 +05:30
Corey Farwell
9df375195e
Implement 'labels' attribute on 'labelable elements'
2015-11-01 09:50:14 -05:00
Ms2ger
b492a3e8b1
Update web-platform-tests to revision 7123012427f92f0dc38a120e6e86a75b6c03aab5
2015-10-31 16:21:44 +01:00
bors-servo
7512aa69c0
Auto merge of #8114 - nfallen:7695, r=eefriedman
...
Implement DOMStringMap::SupportedPropertyNames and NamedNodeMap::SupportedPropertyNames #7695
Here is a draft for issue #7695 with web platform tests.
Thanks for reviewing!
https://dom.spec.whatwg.org/#namednodemap
https://html.spec.whatwg.org/multipage/infrastructure.html#domstringmap
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8114 )
<!-- Reviewable:end -->
2015-10-31 08:04:08 +05:30
Nova Fallen
73c4af626a
Implement DOMStringMap::SupportedPropertyNames and NamedNodeMap::SupportedPropertyNames
2015-10-30 21:13:29 -04:00