bors-servo
347e9b6ef4
Auto merge of #7228 - nox:urlutils-setters, r=jdm
...
Implement setters in URLUtils
This fixes #6145 and takes care of most of #4250 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7228 )
<!-- Reviewable:end -->
2015-08-30 12:40:53 -06:00
Anthony Ramine
9c4766bb0d
Implement setters in URLUtils
2015-08-30 19:47:33 +02:00
erneyja
8d4ed7292d
Implemented onerror event handler for AbstractWorker
2015-08-30 11:37:16 -04:00
Simon Sapin
dcc8f63d52
Add tests for CharacterDataMethods with non-BMP code points
2015-08-28 12:23:27 +02:00
bors-servo
8c301c291a
Auto merge of #7389 - frewsxcv:implement-nihilistic-methods, r=nox
...
Implement 'do nothing' methods on Window and Document
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7389 )
<!-- Reviewable:end -->
2015-08-27 12:30:28 -06:00
Corey Farwell
bf50145fbd
Implement 'do nothing' methods on Window and Document
2015-08-27 13:13:10 -04:00
Ms2ger
4327561350
Disable storage_session_setitem_quotaexceedederr.html.
...
It fails intermittently due to OOM because we don't implement the quota check.
2015-08-27 09:22:26 +02:00
Ms2ger
d75ba49034
Update url.
2015-08-26 13:17:45 +02:00
Ms2ger
be4f0ad8de
Update web-platform-tests to revision acd60f9e55532f03fc905e61591b7fd7db2f08d1
2015-08-26 12:14:08 +02:00
bors-servo
6e06cae44a
Auto merge of #7288 - mdibaiee:computedstyle-element, r=Ms2ger
...
Fix #7268 - getComputedStyle should take `Element`, not `HTMLElement`
This is my first patch, I hope I'm doing it right.
About the test, do you think this is enough and reliable?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7288 )
<!-- Reviewable:end -->
2015-08-22 20:43:45 -06:00
bors-servo
7945c174a6
Auto merge of #7291 - pcwalton:has-layer-flag, r=mbrubeck
...
layout: Centralize the logic that determines whether fragments get layers in the fragment.
…so that it can be activated when we're forcing
the creation of extra layers due to positioned descendants that
themselves have layers.
The newly failing tests were tests that accidentally passed due to
incorrect stacking order.
Closes #7281 .
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7291 )
<!-- Reviewable:end -->
2015-08-22 15:56:05 -06:00
Patrick Walton
ec1c90df41
layout: Centralize the logic that determines whether fragments get
...
layers in the fragment, so that it can be activated when we're forcing
the creation of extra layers due to positioned descendants that
themselves have layers.
The newly failing tests were tests that accidentally passed due to
incorrect stacking order.
Closes #7281 .
2015-08-22 12:41:33 -07:00
Patrick Walton
4e0fb1ed61
resources: Improve the look of form widgets a bit.
...
* Don't display unselected `<option>` elements inside `<select>`
dropdowns.
* Use CSS triangles to give `<select>` dropdowns a down arrow in order
to make them look as intended.
* Use borders instead of `( )` and `[ ]` for radio buttons and check
boxes, respectively.
Improves facebook.com and IMDB.
2015-08-22 12:19:28 -07:00
Mahdi Dibaiee
b7d25159d3
Fix #7268 - getComputedStyle should take Element
, not HTMLElement
2015-08-22 15:16:15 +04:30
Corey Farwell
b11be4d253
Initial implementation of ownPropertyKeys proxy handler
...
Generates `SupportedPropertyNames` on DOM structs that should implement
it. Most of them are unimplemented now (which can be implemented in
later PRs), with the exception of `HTMLCollection`. Also added a couple
relevant WPT tests.
Closes #6390
Closes #2215
2015-08-20 11:58:42 -04:00
bors-servo
ff6a70fad3
Auto merge of #7241 - Wafflespeanut:event_handler, r=Ms2ger
...
Matching over event listeners and handlers; r=Ms2ger
... for #7065
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7241 )
<!-- Reviewable:end -->
2015-08-18 06:49:26 -06:00
Ravi Shankar
f3db59972a
Matching over event listeners and handlers; r=Ms2ger
...
fixup! Matching over event listeners and handlers; r=Ms2ger
2015-08-18 18:11:57 +05:30
bors-servo
a2978f2add
Auto merge of #7236 - nox:dictionary-failure-code, r=Ms2ger
...
Fix dictionary member conversion failure (fixes #7231 )
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7236 )
<!-- Reviewable:end -->
2015-08-16 06:39:56 -06:00
Anthony Ramine
47e76ff4ab
Fix dictionary member conversion failure ( fixes #7231 )
2015-08-16 14:32:54 +02:00
bors-servo
7c63c7d7c1
Auto merge of #7214 - tomjakubowski:websocket-binaryType, r=Ms2ger
...
Implement WebSocket#binaryType
Closes #7098
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7214 )
<!-- Reviewable:end -->
2015-08-15 19:57:58 -06:00
Tom Jakubowski
e92f4629db
WebSocket: Implement WebSocket#binaryType
2015-08-15 12:44:22 -07:00
bors-servo
3b1b3fe0a0
Auto merge of #7163 - Ms2ger:wpt_20150811, r=Ms2ger
...
Update web-platform-tests to revision 58133dd71b16037669a0aa011b2afd448b52d434.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7163 )
<!-- Reviewable:end -->
2015-08-12 00:54:57 -06:00
Ms2ger
88ea7c4291
Update web-platform-tests to revision 58133dd71b16037669a0aa011b2afd448b52d434.
2015-08-12 08:21:50 +02:00
bors-servo
0c5158587d
Auto merge of #6757 - mskrzypkows:document_hasFocus, r=jdm
...
Implementing document.hasFocus method, needs tests. #6475
I'm not sure if I have to implement some test for a new document method. As I remember there were tests for document methods, is it changed now? Where should I add tests?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6757 )
<!-- Reviewable:end -->
2015-08-11 15:35:21 -06:00
Maciej Skrzypkowski
07c0cd8a18
Implementing document.hasFocus method. #6475
2015-08-10 21:23:09 +02:00
David Zbarsky
7315b50973
CanvasGradient#addColorStop should throw for invalid colors and offsets
2015-08-09 23:19:56 -04:00
David Zbarsky
54adae26c6
Implement HTMLTableElement#createTBody
2015-08-09 12:24:15 -04:00
bors-servo
6a8bc85284
Auto merge of #7092 - dzbarsky:putimagedata, r=jdm
...
Clean up and fix PutImageData
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7092 )
<!-- Reviewable:end -->
2015-08-09 07:00:56 -06:00
bors-servo
dbce4c5bd8
Auto merge of #6975 - dzbarsky:get-tiny, r=jdm
...
Fix getImageData with sizes < 1 pixel
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6975 )
<!-- Reviewable:end -->
2015-08-09 06:32:30 -06:00
bors-servo
f41834e321
Auto merge of #7063 - dzbarsky:caption, r=Ms2ger
...
Implement createCaption and deleteCaption on HTMLTableElement
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7063 )
<!-- Reviewable:end -->
2015-08-09 04:45:28 -06:00
David Zbarsky
2f47bdff4b
Fix getImageData with sizes < 1 pixel
2015-08-08 15:43:22 -04:00
David Zbarsky
51938d579f
Switch PutImageData to using CopySurface
2015-08-08 15:35:08 -04:00
David Zbarsky
e24a867ab6
Implement createCaption and deleteCaption on HTMLTableElement
...
Update web-platform-tests expected data
2015-08-08 15:24:05 -04:00
bors-servo
d8b4611a79
Auto merge of #7066 - Ms2ger:ws-event, r=metajack
...
Dispatch message events for WebSocket.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7066 )
<!-- Reviewable:end -->
2015-08-08 03:00:50 -06:00
Ms2ger
352229b6fa
Implement WebSocket#onmessage.
2015-08-08 10:29:03 +02:00
Harrison G
e40b141409
Fix requestAnimationFrame timestamps in queue
...
This resolves #7044 which involved callbacks
in a queue not receiving the same timestamp despite
the specification saying they should. An extra test
was added to verify the correct behavior.
2015-08-07 19:02:52 -04:00
Simon Sapin
90d7d11a23
Upgrade cssparser
...
Pick up the fix for https://github.com/servo/rust-cssparser/issues/76
2015-08-07 18:34:16 +02:00
Ms2ger
2a97ab36f7
Dispatch message events for WebSocket.
2015-08-07 10:58:33 +02:00
bors-servo
78792cced2
Auto merge of #7017 - glennw:stb-update, r=pcwalton
...
Update stb-image to get JPEG progressive support.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7017 )
<!-- Reviewable:end -->
2015-08-06 19:46:19 -06:00
bors-servo
106361443d
Auto merge of #6451 - jgraham:onkey_attributes, r=Ms2ger
...
Add onkey* global event handler attributes
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6451 )
<!-- Reviewable:end -->
2015-08-06 07:44:51 -06:00
David Zbarsky
fee8abe5a2
GetImageData should return un-premultiplied alpha values
2015-08-06 05:14:53 -04:00
Glenn Watson
2e08f42ae4
Update stb-image to get JPEG progressive support.
2015-08-06 12:48:59 +10:00
David Zbarsky
1d02239804
Respect the composition op when drawing images
2015-08-05 20:38:48 -04:00
bors-servo
debd7d87d6
Auto merge of #6974 - dzbarsky:tiny-create, r=jdm
...
Fix createImageData with sizes < 1 pixel
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6974 )
<!-- Reviewable:end -->
2015-08-05 11:40:20 -06:00
bors-servo
95269bba39
Auto merge of #6971 - dzbarsky:negative-radius, r=Ms2ger
...
Make createRadialGradient throw for negative radii
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6971 )
<!-- Reviewable:end -->
2015-08-05 10:42:57 -06:00
David Zbarsky
9fbe33b6f2
Implement strokeRect with zero-width or zero-height rects
2015-08-04 17:44:18 -04:00
David Zbarsky
2fb5fda5d0
Fix createImageData with sizes < 1 pixel
2015-08-04 15:45:38 -04:00
David Zbarsky
75e444c3b2
Make createRadialGradient throw for negative radii
2015-08-04 15:08:37 -04:00
bors-servo
447c991ebb
Auto merge of #6943 - dzbarsky:context, r=jdm
...
Clean up some methods in CanvasRendeingContext2D
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6943 )
<!-- Reviewable:end -->
2015-08-04 00:46:09 -06:00
David Zbarsky
9e5c2e22d8
Clean up some methods in CanvasRendeingContext2D
2015-08-03 23:32:11 -04:00