Commit graph

1358 commits

Author SHA1 Message Date
James Graham
1a81b18b9f Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255 2015-04-03 23:28:54 +01:00
James Graham
b2a5225831 Add support for running W3C CSS tests.
These are run through the same harness as the web-platform-tests.
2015-04-03 23:28:51 +01:00
James Graham
2bde318d24 Make the test-wpt mach command support all the command line arguments of wptrunner.
Also remove the shell script and ensure that default options are set in a single location
2015-04-03 23:28:51 +01:00
James Graham
0a7429f147 Put a copy of the wpt upstreaming scripts in-tree.
This is copied from gecko, which is slightly unfortunate. However it allows
committing changes to wpt directly in-tree and having them upstreamed in the
next update.
2015-04-03 23:28:51 +01:00
James Graham
168b81773e Put a copy of the wptrunner harness in-tree.
This is the same configuration as gecko and is convenient for making changes compared
to using releases from pypi
2015-04-03 23:28:51 +01:00
bors-servo
40fab8e362 auto merge of #5470 : bjwbell/servo/tab-in-pre, r=mbrubeck
Display tab characters as 4 spaces for pre and other elements that don't
compress whitespace.

Fixes https://github.com/servo/servo/issues/4651

@pcwalton r?
2015-04-03 04:18:42 -06:00
Bryan Bell
29852bb111 Show tabs in pre elements
Display tab characters as 8 spaces for pre and other elements that don't
compress whitespace.
2015-04-02 22:15:39 -07:00
bors-servo
dbd16932e6 auto merge of #5299 : mattnenterprise/servo/http_compression, r=jdm 2015-04-01 22:15:37 -06:00
bors-servo
54a6e08146 auto merge of #5483 : zerokarmaleft/servo/wpt_iframe_tests, r=jdm
Checking to see if I'm doing this as expected, so I have not yet removed a couple of files that now have passing tests.
2015-04-01 21:31:04 -06:00
Matt McCoy
818f1c5748 Closes #2587 Adding HTTP compression capability 2015-04-01 21:18:47 -04:00
bors-servo
e65e881e1b auto merge of #5472 : jdm/servo/advance, r=jdm
Rebased from #5035.
2015-04-01 16:45:40 -06:00
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