Commit graph

3197 commits

Author SHA1 Message Date
Antonio de Luna
6c4a849e4e removed &mut and clone 2015-10-09 01:35:03 -07:00
Ms2ger
84e23373d8 Update manifests. 2015-10-09 10:34:57 +02:00
Louis Chan
fb45b0e691 Implement a quota of 5MB per origin for localstorage and sessionstorage 2015-10-09 03:55:27 +08:00
bors-servo
ab42ca4296 Auto merge of #7825 - eefriedman:div-align, r=mbrubeck
Fully implement the "align descendants" rule for div.

This adds -servo-left and -servo-right to complement -servo-center.

~~This intentionally doesn't try to address issue #7301.~~  Commit added to address #7301.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7825)
<!-- Reviewable:end -->
2015-10-08 12:20:55 -06:00
Jim Berlage
0ffd2f636f Require the argument to WebSocket#send() (fixes #7858). 2015-10-08 12:08:26 -05:00
bors-servo
d15ea83938 Auto merge of #7917 - mrobinson:test-stderr, r=larsbergstrom
Record reference test stdout and stderr

When reference tests crash it is difficult to debug the issue, because
the stacktrace and any other output is discarded by the test harness.
Instead of discarding it, write the output to text files in the test
results directory which will make it easier to debug crashing tests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7917)
<!-- Reviewable:end -->
2015-10-08 10:36:09 -06:00
Ms2ger
1f37ac0d71 Move attr_exists_selector.html to wpt reftests. 2015-10-08 17:20:18 +02:00
Ms2ger
2ca5f85d4e Move anon_block_inherit_a.html to wpt reftests. 2015-10-08 17:14:35 +02:00
Ms2ger
a938fe635f Move alpha_png_a.html to wpt reftests. 2015-10-08 17:10:29 +02:00
Ms2ger
652be7cdfe Move alpha_gif_a.html to wpt reftests. 2015-10-08 17:10:28 +02:00
Ms2ger
92e3266b1f Move after_block_iteration.html to wpt reftests. 2015-10-08 17:10:27 +02:00
Ms2ger
c9d4dc4e88 Move absolute_z_index_auto_paint_order_a.html to wpt reftests. 2015-10-08 17:10:25 +02:00
Corey Farwell
64f4835a4f Implement <body>'s "text" attribute 2015-10-08 10:55:12 -04:00
Ms2ger
374e3b3e26 Move absolute_table.html to wpt reftests. 2015-10-08 16:50:03 +02:00
Ms2ger
455cd8aaff Move absolute_inline_containing_block_a.html to wpt reftests. 2015-10-08 16:43:51 +02:00
Ms2ger
7e474bbf90 Move absolute_hypothetical_with_intervening_inline_block_a.html to wpt reftests. 2015-10-08 16:35:49 +02:00
Ms2ger
4b9ffeca03 Move abs_rel_explicit_height.html to wpt reftests. 2015-10-08 16:35:48 +02:00
Ms2ger
bd27740ebf Add missing changes to MANIFEST.json. 2015-10-08 16:35:45 +02:00
Paul Rouget
99cccb2193 Snap to screen pixels instead of px 2015-10-08 06:44:05 +02:00
bors-servo
81806385ea Auto merge of #7920 - glennw:flaky-snap, r=mbrubeck
Workaround for #7730.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7920)
<!-- Reviewable:end -->
2015-10-07 20:43:49 -06:00
bors-servo
b34e8b86b8 Auto merge of #7916 - glennw:flaky-mac, r=jdm
Don't check for equal image size and all white pixels for flaky tests.

Workaround for #7730.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7916)
<!-- Reviewable:end -->
2015-10-07 19:59:04 -06:00
Glenn Watson
a909f98db0 Workaround for #7730. 2015-10-08 10:47:13 +10:00
Emilio Cobos Álvarez
7030f09823 webgl: Implement WebGLContextEvent and use it on context creation error
spec: https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.15
2015-10-08 00:29:31 +02:00
Martin Robinson
3cf4acd44b Record reference test stdout and stderr
When reference tests crash it is difficult to debug the issue, because
the stacktrace and any other output is discarded by the test harness.
Instead of discarding it, write the output to text files in the test
results directory which will make it easier to debug crashing tests.
2015-10-07 15:26:58 -07:00
Glenn Watson
987f00efbd Don't check for equal image size and all white pixels for flaky tests.
Workaround for #7730.
2015-10-08 08:02:28 +10:00
bors-servo
04f42271f8 Auto merge of #7773 - psdh:assertReq7647, r=jdm
renaming AssertRequstMustHaveHeaders to AssertRequestMustIncludeHeaders

Fixes #7647

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7773)
<!-- Reviewable:end -->
2015-10-07 11:35:51 -06:00
Prabhjyot Singh Sodhi
d27c126013 renaming AssertRequstMustHaveHeaders to AssertRequestMustIncludeHeaders 2015-10-07 22:59:47 +05:30
bors-servo
60a77defe5 Auto merge of #7898 - frewsxcv:htmlfontelement-size-attribute-setter, r=nox
Use the correct IDL setter for <font>.size

Previously, the IDL attribute would incorrectly set the `size` attribute
for `<font>` elements as `AttrValue::String`. Now it correctly sets it
as `AttrValue::Length`. Also included is a regression test.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7898)
<!-- Reviewable:end -->
2015-10-07 07:04:28 -06:00
Corey Farwell
eabaf2c6a5 Use the correct IDL setter for <font>.size
Previously, the IDL attribute would incorrectly set the `size` attribute
for `<font>` elements as `AttrValue::String`. Now it correctly sets it
as `AttrValue::Length`. Also included is a regression test.
2015-10-07 08:28:43 -04:00
Ms2ger
6e745b5a00 Avoid panicking in the implementation of HTMLOptionElement#text for non-element, non-text children. 2015-10-07 10:52:44 +02:00
bors-servo
409fbafe9c Auto merge of #7883 - notriddle:master, r=pcwalton
Draw shadows after the background.

Fixes #7872

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7883)
<!-- Reviewable:end -->
2015-10-06 22:03:48 -06:00
bors-servo
e4b02cc981 Auto merge of #7889 - vectorijk:port-blocking-7855, r=jdm
Fix #7855 Implement port blocking For WebSocket connection algorithm



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7889)
<!-- Reviewable:end -->
2015-10-06 14:07:08 -06:00
bors-servo
42d45ad120 Auto merge of #7886 - jimberlage:7877/move-test, r=Ms2ger
Renames webstorage test

This should fix #7877.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7886)
<!-- Reviewable:end -->
2015-10-06 11:13:28 -06:00
bors-servo
5730a8bdd1 Auto merge of #7884 - Manishearth:fx-openssl, r=Ms2ger
Update openssl and re-enable the resource task tests

https://github.com/sfackler/rust-openssl/issues/281 landed

r? @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7884)
<!-- Reviewable:end -->
2015-10-06 10:43:41 -06:00
Ms2ger
145aea3eeb Update CSS tests to revision 7a87ef71fc579e52d3438e009107aa442bc4021b 2015-10-06 17:04:25 +02:00
Corey Farwell
899f1cab58 Implement HTMLTableCellElement::CellIndex
Extracted from #6936
2015-10-06 10:46:02 -04:00
vectorijk
4e21b9fa83 Fix #7855 Implement port blocking
For WebSocket connection algorithm
2015-10-06 07:31:33 -07:00
James Graham
cdf0895665 Update web-platform-tests expected data to revision 7da6acfd668e66adae5ab4e2d389810d3b1460be 2015-10-06 12:16:41 +01:00
James Graham
da3bc54d05 Update to latest wptrunner. 2015-10-06 12:16:37 +01:00
James Graham
bae87d193d Update web-platform-tests to revision 7da6acfd668e66adae5ab4e2d389810d3b1460be 2015-10-06 12:16:35 +01:00
Jim Berlage
2fb66db401 Renames webstorage test 2015-10-05 21:53:46 -05:00
Manish Goregaokar
5212171156 Re-enable ResourceTask tests 2015-10-06 03:21:16 +05:30
Michael Howell
75a08cc6ca Draw shadows after the background.
Fixes #7872
2015-10-05 14:43:32 -07:00
bors-servo
297184c6e0 Auto merge of #7834 - notriddle:float-stacking, r=pcwalton
Create a pseudo-stacking context for positioned floats.

Fixes #7828 

That was surprisingly easy...

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7834)
<!-- Reviewable:end -->
2015-10-05 12:30:10 -06:00
Michael Howell
bb5234767d Create a pseudo-stacking context for positioned floats.
Fixes #7828
2015-10-05 11:27:32 -07:00
bors-servo
375382a2e8 Auto merge of #7837 - larsbergstrom:rustup_20151002, r=Manishearth
Rust upgrade to nightly 20151002

r? @Manishearth

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7837)
<!-- Reviewable:end -->
2015-10-05 10:23:44 -06:00
Lars Bergstrom
86a8c99106 Disable tests that hit a race condition in rust-openssl 2015-10-05 10:01:05 -05:00
bors-servo
7debfd1f4c Auto merge of #7683 - frewsxcv:html-font-element-size-attr, r=nox
Implement `size` attribute for <font> element



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7683)
<!-- Reviewable:end -->
2015-10-05 02:33:02 -06:00
bors-servo
460f067b9d Auto merge of #7847 - jdm:selectstyling, r=Manishearth
Style <select multiple> appropriately.

<img width="216" alt="screen shot 2015-10-04 at 2 33 36 pm" src="https://cloud.githubusercontent.com/assets/27658/10269411/ec1b5bce-6aa4-11e5-8ce8-0f22425ea3d4.png">

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7847)
<!-- Reviewable:end -->
2015-10-04 12:49:26 -06:00
Josh Matthews
9ed0ae4a7a Style <select multiple> appropriately. 2015-10-04 14:35:17 -04:00