bors-servo
6f25ecea3f
Auto merge of #6507 - Ms2ger:node-insert, r=Manishearth
...
Fix a bug in Node::pre_insert.
It was accidentally broken in 3ce368fa28
.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6507 )
<!-- Reviewable:end -->
2015-06-28 14:01:47 -06:00
Ms2ger
9b270f6238
Disable the upstream tests.
2015-06-28 20:36:33 +02:00
Ms2ger
322a6977f9
Duplicate some canvas tests in preparation for upstream changes.
2015-06-28 17:40:39 +02:00
Ms2ger
0b680dc9bd
Fix a bug in Node::pre_insert.
...
It was accidentally broken in 3ce368fa28
.
2015-06-28 15:59:01 +02:00
Joel Teichroeb
d33579183a
Implement the Image NamedConstructor for HTMLImageElement
2015-06-24 10:42:54 -07:00
bors-servo
6247a96761
Auto merge of #6223 - nox:merge-generic-functions, r=Ms2ger
...
Merge generic funs to share them across all bindings (fixes #2684 )
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6223 )
<!-- Reviewable:end -->
2015-06-24 03:54:56 -06:00
Anthony Ramine
a90983553b
Merge generic funs to share them across all bindings ( fixes #2684 )
2015-06-24 11:34:30 +02:00
James Graham
7f63309602
Add onkey* global event handler attributes
2015-06-23 21:48:38 -07:00
Hyowon Kim
0e8491fb8c
Create pattern from HTMLCanvasElement or CanvasRenderingContext2D.
2015-06-24 09:56:28 +09:00
bors-servo
8c784ceeea
Auto merge of #6371 - nox:url, r=Ms2ger
...
Implement URL and trivially missing URLUtils members
Fixes #6322 .
Still no mutation whatsoever in URLUtils.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6371 )
<!-- Reviewable:end -->
2015-06-21 10:22:06 -06:00
Anthony Ramine
a8e4558e82
Implement URL and trivially missing URLUtils members
...
Fixes #6322 .
2015-06-20 15:17:55 +02:00
bors-servo
02303941be
Auto merge of #6413 - hyowon:invalid_shadow_attrs, r=Ms2ger
...
Check invalid values for the shadow attributes.
I left out checking invalid values when setting the shadows attributes.
r? @nox @pcwalton
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6413 )
<!-- Reviewable:end -->
2015-06-20 06:44:08 -06:00
Michael Wu
675267b782
Upgrade to SM 39
2015-06-19 18:42:48 -04:00
Hyowon Kim
cc55e2e426
Check invalid values for the shadow attributes.
2015-06-18 16:54:12 +09:00
Hyowon Kim
2e230bdb93
Implement fill and stroke functions for all pattern types and check the zero size gradient.
2015-06-17 09:46:38 +09:00
bors-servo
48e1d45bff
Auto merge of #6355 - hyowon:drawing_shadows, r=nox
...
https://html.spec.whatwg.org/multipage/#when-shadows-are-drawn
r? @nox
cc @mmatyas @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6355 )
<!-- Reviewable:end -->
2015-06-16 05:30:20 -06:00
Jinwoo Song
7781f331d3
WebSocket constructor should not panic
...
Make an early return when the WebSocket connection fails in the constructor.
Also let the WebSocket connection to be closed when the connection could
not be established.
Fixes #6082 .
2015-06-16 09:45:42 +02:00
Hyowon Kim
465cea8db5
Implement drawing shadows in canvas.
2015-06-16 08:57:00 +09:00
bors-servo
f8e3f92813
Auto merge of #6358 - Ms2ger:ws-tests, r=jgraham
...
Second try.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6358 )
<!-- Reviewable:end -->
2015-06-15 11:42:16 -06:00
Ms2ger
477bfa3675
Remove the SCHEME_AND_DOMAIN constant.
...
All its users are connecting to port 80, which is not typically under the
control of the wpt server.
2015-06-15 17:29:29 +02:00
Ms2ger
2001c18ac9
Disable Document-createElement-namespace.html.
...
It crashes, but that's not always detected properly.
2015-06-15 15:17:35 +02:00
Ms2ger
e8d691aa03
Don't try to connect to "ws://"+location.host+"/" in WebSocket tests.
...
This will connect on port 80, which is not typically under the control of the
wpt server.
2015-06-14 20:38:04 +02:00
Ms2ger
5cc130727f
Test that the exception doesn't get lost in acceptNode.
...
And it turns out that it does get lost. I have no idea where, but I suspect it
is in SpiderMonkey somewhere. I hope the SpiderMonkey upgrade will fix it.
2015-06-14 20:08:32 +02:00
Ms2ger
90a7ef1571
Throw a TypeError when get_callable_property encounters a value that isn't callable.
2015-06-14 20:08:26 +02:00
Ms2ger
c670894aed
Update wptrunner.
2015-06-14 18:52:07 +02:00
bors-servo
9474e62d38
Auto merge of #6157 - hyowon:canvas_pattern_fill, r=nox
...
Issue #6056
Depends on servo/rust-azure#160
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6157 )
<!-- Reviewable:end -->
2015-06-13 01:49:50 -06:00
Hyowon Kim
00240e5550
Implementation of pattern fill style for canvas.
2015-06-13 14:35:13 +09:00
Eduard Burtescu
9a87f830fc
Preserve UserAgent header on redirect.
2015-06-12 21:44:22 +03:00
Hyowon Kim
473afdb196
Add attributes for canvas shadows.
2015-06-12 09:40:00 +09:00
Ms2ger
af83641e06
Enable the url tests.
2015-06-09 18:38:37 +02:00
bors-servo
ce30807be5
Auto merge of #6290 - hyowon:fill_or_stroke_style, r=nox
...
The fillStyle and strokeStyle attributes can be either strings(color), CanvasGradients, or CanvasPatterns.
The current implementation only considers strings(color).
r? @nox @jdm @pcwalton
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6290 )
<!-- Reviewable:end -->
2015-06-08 09:49:13 -05:00
Hyowon Kim
5bbfb42e90
Replace fill_color and stroke_color with fill_style and stroke_style in CanvasContextState.
...
The fillStyle and strokeStyle attributes can be either
strings(color), CanvasGradients, or CanvasPatterns.
2015-06-06 16:15:11 +09:00
Wafflespeanut
1612f723a8
Timestamp fix for issue #5690
2015-06-05 21:57:19 +05:30
bors-servo
bb95e07f8e
Auto merge of #6231 - AopicieR:get_elements_by_name, r=Ms2ger
...
Fixes #1745
Should I adjust the expected result of the corresponding wpt test cases?
html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.html
html/dom/documents/dom-tree-accessors/document.getElementsByName/document.getElementsByName-namespace.xhtml
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6231 )
<!-- Reviewable:end -->
2015-06-03 04:14:18 -05:00
Hyowon Kim
5d05ffc417
Serialize colors for fill and stroke styles in canvas.
2015-06-03 09:11:24 +09:00
Philipp Hartwig
56a6ffd7e8
Update test expectations for getElementsByName
2015-06-01 18:51:14 +02:00
Hyowon Kim
a512e9e507
Correct the calculation of rects for drawimage.
2015-06-01 15:58:38 +09:00
Ms2ger
881fe95cd1
Update web-platform-tests to revision 075802c1d3387d07e31cd5887459d539b1297c8d.
2015-05-29 17:53:09 +02:00
bors-servo
c97c0a9f94
Auto merge of #6065 - mmatyas:canvas_antialias, r=jdm
...
This patch turns on antialiasing for the canvas, and updates the painting code to use the updated Azure DrawOptions defined in servo/rust-azure#158 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6065 )
<!-- Reviewable:end -->
2015-05-28 14:59:36 -05:00
Mátyás Mustoha
f4c0bd3b80
Turn off default antialiasing for most DrawOptions.
2015-05-28 18:42:16 +02:00
bors-servo
df74ed136c
Auto merge of #6206 - nox:typeerror-for-unions, r=Manishearth
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6206 )
<!-- Reviewable:end -->
2015-05-28 06:24:00 -05:00
Anthony Ramine
2c6d2d3abe
Make throw_not_in_union() throw a TypeError ( fixes #6194 )
2015-05-28 13:03:28 +02:00
Jinwoo Song
db25be7bf6
Update NodeIterator code to apply review comments.
2015-05-28 18:37:27 +09:00
Jinwoo Song
cb2bdf1977
Implement nextNode(), previousNode() and detach() in NodeIterator
...
First patch to resolve #1235 . We need more implementation for handling node removals,
and I'll implement in next patch.
2015-05-27 16:37:30 +09:00
bors-servo
dd319c1a99
Auto merge of #5727 - jdm:parserinterrupt2, r=mbrubeck
...
...r parsing. Hook up document loading to async networking events.
Relies on https://github.com/servo/html5ever/pull/107 , so we'll likely need to backport it rather than wait for the next rustc upgrade.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5727 )
<!-- Reviewable:end -->
2015-05-21 12:37:06 -05:00
Josh Matthews
512927eb34
fixup! Update test expectations. Mark script loads as complete when the response is complete.
2015-05-21 09:57:24 -04:00
Josh Matthews
ef8a127156
Update test expectations. Mark script loads as complete when the response is complete.
2015-05-21 09:53:19 -04:00
bors-servo
fada39164c
Auto merge of #5858 - pgonda:tabindex-focus-flag, r=jdm
...
Added support for the tabindex field, also added its correct defaults (-2 TODOs for things not supported in Servo yet). Also added tabindex logic into Element::is_focusable_area.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5858 )
<!-- Reviewable:end -->
2015-05-20 14:34:31 -05:00
Josh Matthews
8082df7d0d
Make external script sources load asynchronously, yet still block further parsing. Hook up document loading to async networking events.
2015-05-20 14:22:09 -04:00
Patrick Walton
1a3395e077
script: Implement the width
and height
attributes for iframes per
...
HTML5 § 4.8.6.
Improves Amazon and Ars Technica.
2015-05-20 11:15:25 -07:00