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
bors-servo
9eb0effaf6
Auto merge of #7750 - frewsxcv:html-table-section-element-rows, r=nox
...
HTMLTableSectionElement improvements
'thead' and 'tfoot' now create instances of HTMLTableSectionElement
HTMLTableSectionElement.rows has been implemented
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7750 )
<!-- Reviewable:end -->
2015-10-04 11:57:10 -06:00
Mathieu Rheaume
e7a3220bc1
Implement Storage::SupportedPropertyNames
2015-10-04 10:22:13 -04:00
Corey Farwell
adbcb5345c
HTMLTableSectionElement improvements
...
'thead' and 'tfoot' now create instances of HTMLTableSectionElement
HTMLTableSectionElement.rows has been implemented
2015-10-03 12:23:22 -04:00
minimus
d4ebec6496
make mediatype default to text/plain in data URIs
...
change `data:charset=` to `data:;charset=` and set US-ASCII as default encoding
style change
2015-10-03 12:02:04 -04:00
Eli Friedman
69ca066802
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 .
2015-10-02 12:53:20 -07:00
bors-servo
e9842b7db2
Auto merge of #7777 - KiChjang:caseless-group-name-match, r=jdm
...
Add support for caseless group name matching in HTML input elements
Fixes #7749
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7777 )
<!-- Reviewable:end -->
2015-10-02 13:26:05 -06:00
Keith Yeung
5c9a25d46b
Add support for caseless group name matching in HTML input elements
2015-10-02 10:41:02 -07:00
bors-servo
8865410ffc
Auto merge of #7823 - frewsxcv:htmltablerowelement-cells, r=Ms2ger
...
Implement HTMLTableRowElement::Cells
Extracted from #6936
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7823 )
<!-- Reviewable:end -->
2015-10-02 02:54:55 -06:00
bors-servo
69db83476d
Auto merge of #7821 - mbrubeck:class-damage, r=pcwalton
...
Incremental layout: Don't try to repair text fragment styles
Fixes #7814 . r? @pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7821 )
<!-- Reviewable:end -->
2015-10-02 02:27:31 -06:00
David Zbarsky
4e64ff499b
Implement HTMLTableRowElement::Cells
...
Extracted from #6936
2015-10-01 20:09:48 -04:00
Matt Brubeck
6426f714bd
Incremental layout: Don't try to repair text fragment styles
...
Fixes #7814 .
2015-10-01 15:07:39 -07:00
Matt Brubeck
0c6bb6125c
Allow reftest to take 0 or more testname arguments
2015-10-01 08:53:42 -07:00
bors-servo
a7743052ca
Auto merge of #6185 - luniv:viewport-meta, r=mbrubeck
...
Implement <meta name=viewport> handling
Translate <meta name=viewport> as according to [CSS Device Adaption § 9](http://dev.w3.org/csswg/css-device-adapt/#viewport-meta )
Note: as the PR currently stands, handling `<meta name=viewport>` elements always occurs. This is probably not desired for some contexts (e.g. desktop), but I'm unsure of how to conditionally handle elements based on that.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6185 )
<!-- Reviewable:end -->
2015-09-30 22:49:41 -06:00
bors-servo
0860be4c28
Auto merge of #7811 - glennw:use-crates-au, r=larsbergstrom
...
Update servo to use published app units crate
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7811 )
<!-- Reviewable:end -->
2015-09-30 22:21:36 -06:00
James Gilbertson
d0ace58452
Handle <meta name=viewport> elements when added to document
2015-09-30 20:31:35 -07:00
James Gilbertson
61f7a0a1ee
Implement CSS Device Adaption § 9 (Viewport <META> element)
...
Spec: http://dev.w3.org/csswg/css-device-adapt/#viewport-meta
2015-09-30 20:11:39 -07:00
Corey Farwell
74e4c4fdc7
Implement size
attribute for <font> element
2015-09-30 22:51:30 -04:00
Glenn Watson
1999ea5e43
Update servo to use published app units crate
2015-10-01 11:45:35 +10:00
Corey Farwell
ea5e4e3ad0
Make util::str::str_join consistent with SliceConcatExt::join
...
Prior to this commit, `str_join` would skip empty items at the start of
the `Iterator` until it found a non-empty item. This contradicts
`SliceConcatExt::join` which doesn't skip anything.
Brought up in:
https://github.com/servo/servo/pull/7776#issuecomment-144317281
2015-09-30 19:23:18 -04:00
Glenn Watson
339a3f869b
Split Au type into separate crate, with minimal dependencies.
2015-10-01 07:16:11 +10:00
bors-servo
fb6d0946cb
Auto merge of #7794 - mbrubeck:setdata, r=pcwalton
...
Dirty text nodes when their content changes
Fixes #7793 . r? @pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7794 )
<!-- Reviewable:end -->
2015-09-30 11:49:52 -06:00
bors-servo
a0cb657fe8
Auto merge of #7423 - pcwalton:iframe-stacking-context-position, r=glennw
...
layout: Make the compositor rather than layout determine the position of each iframe.
The old code that attempted to do this during layout wasn't able to work
for multiple reasons: it couldn't know where the iframe was going to be
on the page (because of nested iframes), and at the time it was building
the display list for a fragment it couldn't know where that fragment was
going to be in page coordinates.
This patch rewrites that code so that only the size of an iframe is
determined during layout, and the position is determined by the
compositor. Layout layerizes iframes and marks the iframe layers with
the appropriate subpage ID so that the compositor can place them
correctly.
Closes #7377 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7423 )
<!-- Reviewable:end -->
2015-09-29 19:26:49 -06:00
Matt Brubeck
7e199f9bda
Dirty text nodes when their content changes
...
Fixes #7793 .
2015-09-29 16:40:46 -07:00