Commit graph

3197 commits

Author SHA1 Message Date
Edward Cho
d00bb057ba remove passing contentType wpt tests 2015-04-01 17:35:50 -05:00
Edward Cho
5f02b63f59 fixes #5468 2015-04-01 16:18:01 -05:00
Mátyás Mustoha
56303e21cc Canvas: added arcTo() support. 2015-04-01 21:20:05 +02:00
dhneio
069f53a25e Fix is_simple_advance check. Fixes #4614. 2015-04-01 12:11:56 -04:00
bors-servo
6824bc9324 auto merge of #5476 : servo/servo/load-failure-panic, r=jdm
Fixes #5365.
2015-04-01 07:51:46 -06:00
Adenilson Cavalcanti
4e9bb15ba7 Instead of panicking on broken url, break from the loop and return. 2015-04-01 15:30:33 +02:00
bors-servo
f25604c7f1 auto merge of #5474 : servo/servo/script-for-event, r=Ms2ger
...ne of them is present (fixes #5258).
2015-04-01 07:06:46 -06:00
Florian Eula
6288a468b9 Implement the onsubmit event handler (fixes #5396). 2015-04-01 13:15:06 +02:00
Keith Yeung
fdcf9618cb Handle the for and event attributes on a script element correctly when one of them is present (fixes #5258). 2015-04-01 12:43:17 +02:00
bors-servo
4846607e18 auto merge of #5469 : mbrubeck/servo/yodalee-issue4768-textencoder, r=jdm
This is a series of already-reviewed changes by @yodalee from #5025, rebased onto current servo master, with some fixups applied:

* Fixed build errors/warnings from the latest rust upgrade.
* Marked `tests/wpt/web-platform-tests/encoding/single-byte-decoder.html` as expecting CRASH.

I could not verify locally that the new test annotation is correct, since the test appears to hang rather than crash on my Linux box.  (Or maybe I just didn't wait long enough.)  If this crash isn't consistent, or if it takes a long time, maybe we should skip this test instead?

r? @jdm
2015-03-31 20:06:49 -06:00
bors-servo
15edd07ebd auto merge of #5471 : jdm/servo/avoidoom2, r=Ms2ger
...unner when RUST_BACKTRACE is enabled.

r? @Ms2ger
2015-03-31 19:00:52 -06:00
yodalee
9cd976a4e7 Implement TextEncoder
Fixes #4768.
2015-03-31 17:21:27 -07:00
snf
1cc5bd4287 broadcasting storage changes events 2015-03-31 21:51:41 +01:00
Josh Matthews
883ba03bb9 Skip the tests that are triggering some kind of OOM in the python test runner when RUST_BACKTRACE is enabled. 2015-03-31 16:26:07 -04:00
bors-servo
225d7d2ece auto merge of #5457 : deokjinkim/servo/navigator_appversion, r=jdm
In my mistake, I close PR for this commit.
I'm sorry for inconvenience.

@jdm 's comment
The test expectations for /tests/wpt/web-platform-tests/html/dom/interfaces.html and /tests/wpt/web-platform-tests/workers/interfaces.workers.js will need to be updated - http://mxr.mozilla.org/servo/search?string=appversion

According to your guide, I revised commit. Is this your intention?
r? @jdm 

cc @yichoi
2015-03-31 11:51:55 -06:00
Patrick Walton
66dd8c8a6c layout: Implement CSS transitions per CSS-TRANSITIONS § 2.
Transition events are not yet supported, and the only animatable
properties are `top`, `right`, `bottom`, and `left`. However, all other
features of transitions are supported. There are no automated tests at
present because I'm not sure how best to test it, but three manual tests
are included.
2015-03-31 08:46:11 -07:00
Deokjin Kim
c0e691b08d Implement Navigator.appVersion(#5409) 2015-04-01 00:36:40 +09:00
Adenilson Cavalcanti
cdebb3ca54 Load a placeholder when a url to an image is broken.
I decided to use the old Netscape broken image link icon (later we may
replace the image asset for something more trendier). The ref test will
expect that a failed load should display the rippy image.

ImageCacheTask users can define if a placeholder image should be loaded
at start up or not. This enables both the new behavior (e.g. always
return an image even for broken urls) as also the previous one.
2015-03-30 10:02:54 -07:00
Mátyás Mustoha
0a3b4f2f65 Canvas: arc throws IndexSizeError on negative radius. 2015-03-30 11:05:33 +02:00
bors-servo
b8ea10bfe3 auto merge of #5341 : Ms2ger/servo/wpt_20150317, r=jdm 2015-03-29 06:37:00 -06:00
Ms2ger
1ecfc9f582 Update web-platform-tests. 2015-03-29 14:19:05 +02:00
Ms2ger
0ffa02eec8 Fix indentation in contenttest. 2015-03-27 21:22:28 +01:00
Ms2ger
3cd9f4e428 Move away from as_slice() in contenttest. 2015-03-27 21:21:37 +01:00
Ms2ger
6b0bf4cf0a Move contenttest to the new process APIs. 2015-03-27 21:16:28 +01:00
Ms2ger
e2c03510de Stop using old_path in contenttest. 2015-03-26 09:28:37 +01:00
Ms2ger
385e472ca0 Update the feature gates for contenttest. 2015-03-26 09:27:36 +01:00
bors-servo
f29ea4e4ef auto merge of #5302 : mmatyas/servo/canvas_stroke, r=jdm
This is the servo side patch of servo/rust-azure#149.
2015-03-25 07:54:50 -06:00
Mátyás Mustoha
698b88f71d Canvas: added stroke() support. 2015-03-25 12:52:05 +01:00
Tetsuharu OHZEKI
39191daaed Update results of wpt. 2015-03-25 15:13:34 +09:00
bors-servo
2ab1ece765 auto merge of #5231 : dmarcos/servo/issue4784, r=jdm
...ce
2015-03-24 14:01:06 -06:00
Diego Marcos
e3f5a76baa Implementing canvas drawImage API for HTML Canvas elements as image source 2015-03-24 12:23:15 -07:00
snf
89c208d3e4 Update web-platform-tests expected data to revision 56db12eee9711048ea4c927a89b9e9e05fd97c1b 2015-03-24 18:03:06 +00:00
Corey Farwell
5a780cb221 Stop abusing format! macro when construct a String
In these cases for `format!`, we're just constructing a String of the
single argument with no special format.
2015-03-22 18:54:56 -04:00
Ms2ger
8dcded5f4d Remove the core feature from reftests. 2015-03-21 14:31:19 +01:00
Ms2ger
061d0c94ec Move to new path and io APIs in reftest.rs. 2015-03-21 14:31:19 +01:00
Ms2ger
2fde574b39 Pass path strings to {load,store}_png directly.
This has been made possible by using the AsPath trait upstream.
2015-03-21 14:31:19 +01:00
bors-servo
2c85c1d312 auto merge of #5251 : mmatyas/servo/canvas_quadratic, r=jdm
Yet another small canvas patch.
2015-03-20 04:27:47 -06:00
bors-servo
dea36f9816 auto merge of #4891 : mmatyas/servo/canvas_gradient, r=jdm
Based on [ebalint](https://github.com/ebalint)'s original patch, this commit implements the linear and radial gradients for the canvas. The PR also includes test cases.
Depends on #4623 and servo/rust-azure#136.
2015-03-20 03:12:47 -06:00
Maciej Skrzypkowski
7da356cd05 Added document.activeElement attribute. 2015-03-19 23:00:13 +01:00
Mátyás Mustoha
d3199aef74 Implement gradient fill styles for canvas. 2015-03-19 15:59:08 +01:00
bors-servo
646f821479 auto merge of #5268 : mbrubeck/servo/append, r=jdm
The new `Vec::append` method is clearer and potentially faster.
2015-03-18 21:39:49 -06:00
bors-servo
e0ead84781 auto merge of #5254 : glennw/servo/ib-stacking-context, r=pcwalton 2015-03-18 19:45:47 -06:00
Matt Brubeck
94a7563aea Use append instead of extend where possible
The new `Vec::append` method is clearer and potentially faster.
2015-03-18 17:17:33 -07:00
Glenn Watson
d61d3ad4ba Fixes positioning of inline blocks that generate stacking contexts. 2015-03-19 07:38:33 +10:00
Chris Paris
99286e4b4f Implement Element.innerHTML setter 2015-03-18 11:20:47 -10:00
Ms2ger
5f15eb5fbf Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. 2015-03-18 13:18:31 -04:00
bors-servo
65d4b12bf2 auto merge of #4736 : mattnenterprise/servo/dispatch_input_event, r=jdm 2015-03-17 22:27:47 -06:00
Matt McCoy
0bd717e470 #4508 Adding simple test and actually getting the event to dispatch 2015-03-17 19:54:05 -04:00
Ms2ger
a8553c3606 Update web-platform-tests. 2015-03-17 22:02:43 +01:00
bors-servo
203240c1d8 auto merge of #5134 : pcwalton/servo/transforms, r=SimonSapin
r? @SimonSapin
2015-03-17 13:39:51 -06:00