bors-servo
166bb41baa
Auto merge of #7122 - dzbarsky:cssom, r=jdm
...
Enable CSSOM wpt tests
We don't support a lot of these features but this did expose a crash(es?)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7122 )
<!-- Reviewable:end -->
2015-08-10 21:32:55 -06:00
bors-servo
c079c1cf6d
Auto merge of #7147 - glennw:abs-explicit-height, r=pcwalton
...
Fix explicit height edge case with absolute / relative nested divs.
Needed for #6643 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7147 )
<!-- Reviewable:end -->
2015-08-10 20:58:12 -06:00
David Zbarsky
fef2a33043
Enable CSSOM tests
2015-08-10 22:50:13 -04:00
Glenn Watson
e83091d918
Fix explicit height edge case with absolute / relative nested divs.
...
Needed for #6643 .
2015-08-11 11:25:26 +10:00
Maciej Skrzypkowski
07c0cd8a18
Implementing document.hasFocus method. #6475
2015-08-10 21:23:09 +02:00
Ms2ger
727d89bb44
Run word-spacing tests under wpt.
2015-08-10 17:51:16 +02:00
Corey Farwell
a6797ac813
Merge Servo Node.cloneNode test into WPT Node.cloneNode test
...
Fixes #5755
2015-08-10 09:48:18 -04:00
David Zbarsky
92d8058947
Enable CSS Color wpt tests
2015-08-09 23:35:20 -04:00
David Zbarsky
7315b50973
CanvasGradient#addColorStop should throw for invalid colors and offsets
2015-08-09 23:19:56 -04:00
bors-servo
44d93bc37a
Auto merge of #7089 - dzbarsky:createtbody, r=Ms2ger
...
Implement HTMLTableElement#createTBody
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7089 )
<!-- Reviewable:end -->
2015-08-09 13:56:47 -06:00
Ms2ger
97c79bbb99
Avoid a panic when clicking a link whose href is unparsable.
2015-08-09 20:05:35 +02:00
Ms2ger
ecb6551efa
Add a test for following malformed hyperlinks.
2015-08-09 19:59:20 +02:00
David Zbarsky
54adae26c6
Implement HTMLTableElement#createTBody
2015-08-09 12:24:15 -04:00
bors-servo
6a8bc85284
Auto merge of #7092 - dzbarsky:putimagedata, r=jdm
...
Clean up and fix PutImageData
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7092 )
<!-- Reviewable:end -->
2015-08-09 07:00:56 -06:00
bors-servo
dbce4c5bd8
Auto merge of #6975 - dzbarsky:get-tiny, r=jdm
...
Fix getImageData with sizes < 1 pixel
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6975 )
<!-- Reviewable:end -->
2015-08-09 06:32:30 -06:00
bors-servo
f41834e321
Auto merge of #7063 - dzbarsky:caption, r=Ms2ger
...
Implement createCaption and deleteCaption on HTMLTableElement
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7063 )
<!-- Reviewable:end -->
2015-08-09 04:45:28 -06:00
Ms2ger
47d6d958f5
Revert "Auto merge of #7103 - frewsxcv:python-venv, r=metajack" for breaking web-platform-tests.
...
This reverts commit c315404db8
, reversing
changes made to b00583bd4e
.
2015-08-09 11:20:40 +02:00
bors-servo
c315404db8
Auto merge of #7103 - frewsxcv:python-venv, r=metajack
...
Use one Python virtual environment for all mach commands
*See individual commits for more information*
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7103 )
<!-- Reviewable:end -->
2015-08-08 19:42:14 -06:00
Corey Farwell
2d841e1d91
Remove unused imports
2015-08-08 18:47:28 -04:00
Patrick Walton
7ca1137d25
layout: Allow list items to be absolute containing blocks.
...
Fixes overflowing highlight in the side menu on GitHub.
2015-08-08 13:32:24 -07:00
David Zbarsky
2f47bdff4b
Fix getImageData with sizes < 1 pixel
2015-08-08 15:43:22 -04:00
David Zbarsky
51938d579f
Switch PutImageData to using CopySurface
2015-08-08 15:35:08 -04:00
David Zbarsky
e24a867ab6
Implement createCaption and deleteCaption on HTMLTableElement
...
Update web-platform-tests expected data
2015-08-08 15:24:05 -04:00
bors-servo
530d4547c9
Auto merge of #7046 - Ms2ger:base-url, r=dzbarsky
...
Implement a base_url getter and use it for style attributes.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7046 )
<!-- Reviewable:end -->
2015-08-08 06:53:32 -06:00
bors-servo
a0af7a1581
Auto merge of #7075 - Ms2ger:load_url, r=dzbarsky
...
Improve code around Window::load_url.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7075 )
<!-- Reviewable:end -->
2015-08-08 06:09:13 -06:00
Ms2ger
bd31b51a87
Use the base URL to parse style attributes.
2015-08-08 11:26:34 +02:00
bors-servo
d8b4611a79
Auto merge of #7066 - Ms2ger:ws-event, r=metajack
...
Dispatch message events for WebSocket.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7066 )
<!-- Reviewable:end -->
2015-08-08 03:00:50 -06:00
Ms2ger
352229b6fa
Implement WebSocket#onmessage.
2015-08-08 10:29:03 +02:00
Patrick Walton
11fdb503df
layout: Introduce infrastructure for tracking, backing up, and splitting
...
at the last known good split point, and use it for `white-space:
nowrap`.
Fixes overflowing tables on Wikipedia.
This infrastructure should form the basis of our fix for inline layout
of fragments that don't themselves constitute valid split points. That
will require some more work, however.
2015-08-08 00:01:31 -07:00
bors-servo
af4e0a246a
Auto merge of #7082 - servo:linux-fail, r=metajack
...
Mark some tests as failing on Linux, not just Ubuntu 14.04.
They also fail for me on Archlinux.
(`absolute-replaced-height-007.htm` is disabled anyway, but let’s change it as well for consistency.)
r? @larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7082 )
<!-- Reviewable:end -->
2015-08-07 17:51:44 -06:00
Harrison G
e40b141409
Fix requestAnimationFrame timestamps in queue
...
This resolves #7044 which involved callbacks
in a queue not receiving the same timestamp despite
the specification saying they should. An extra test
was added to verify the correct behavior.
2015-08-07 19:02:52 -04:00
bors-servo
0a0fd30eb3
Auto merge of #7033 - frewsxcv:fix-english, r=jdm
...
Improve clarity of comment in ref test list
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7033 )
<!-- Reviewable:end -->
2015-08-07 15:35:03 -06:00
Simon Sapin
47cd74fe69
Remove another duplicate copy of Ahem.
2015-08-07 21:38:58 +02:00
Simon Sapin
d903354687
Use the user stylesheet for Ahem in old-style reftests.
2015-08-07 21:38:57 +02:00
Simon Sapin
649301fd35
Make the Ahem font available to test-css and test-wpt tests.
...
Provide a user stylesheet with an `@font-face` rule for it.
Fix #6195 .
Many previously-failing tests now pass, and a few previously-passing now fail.
Among the latter, `font-family-013.htm` and `fonts-013.htm` are testing
that the Ahem font is not used for characters it doesn’t have a glyph for.
They were passing because Ahem was not available at all,
and now fail because we don’t implement font fallback correctly.
The others also use Ahem, but I don’t understand yet what’s going on exactly.
2015-08-07 21:38:55 +02:00
Simon Sapin
d58ea4f15f
Mark some tests as failing on Linux, not just Ubuntu 14.04.
...
They also fail for me on Archlinux.
2015-08-07 20:02:29 +02:00
bors-servo
9bd5291aea
Auto merge of #6957 - servo:cssparserup, r=larsbergstrom+dzbarsky
...
Upgrade cssparser
Pick up the fix for https://github.com/servo/rust-cssparser/issues/76
`*.ini` files removal based on running `./mach test-css tests/wpt/css-tests/css21_dev/html4/*color*`, I didn’t run the whole test suite.
r? @larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6957 )
<!-- Reviewable:end -->
2015-08-07 10:48:47 -06:00
Simon Sapin
90d7d11a23
Upgrade cssparser
...
Pick up the fix for https://github.com/servo/rust-cssparser/issues/76
2015-08-07 18:34:16 +02:00
Ms2ger
7e179d9245
Handle url parse errors in Location#assign more gracefully.
2015-08-07 15:47:55 +02:00
bors-servo
b4e30da3db
Auto merge of #7003 - notriddle:master, r=Ms2ger
...
GC pause reporting
Closes #6968 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7003 )
<!-- Reviewable:end -->
2015-08-07 06:14:12 -06:00
Ms2ger
2a97ab36f7
Dispatch message events for WebSocket.
2015-08-07 10:58:33 +02:00
bors-servo
17263a525b
Auto merge of #7043 - pcwalton:th-width, r=Ms2ger
...
script: Make the legacy presentational attributes on `<td>` apply to `<th>` too.
Makes the Google SERPs not so narrow.
r? @Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7043 )
<!-- Reviewable:end -->
2015-08-07 00:40:54 -06:00
bors-servo
1ddef2997a
Auto merge of #6977 - pcwalton:containing-block-link-crash, r=mbrubeck
...
layout: Make sure anonymous table flows are statically positioned.
The failing `float-applies-to-*` CSS 2.1 tests never really should have
been passing in the first place; they depend on floats inside
fixed-layout tables working properly, which they don't.
Closes #6078 .
Closes #6709 .
Closes #6858 .
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6977 )
<!-- Reviewable:end -->
2015-08-06 22:11:04 -06:00
Patrick Walton
ed4172b2c6
layout: Make sure anonymous table flows are statically positioned.
...
The failing `float-applies-to-*` CSS 2.1 tests never really should have
been passing in the first place; they depend on floats inside
fixed-layout tables working properly, which they don't.
Closes #6078 .
Closes #6709 .
Closes #6858 .
2015-08-06 18:49:07 -07:00
bors-servo
78792cced2
Auto merge of #7017 - glennw:stb-update, r=pcwalton
...
Update stb-image to get JPEG progressive support.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7017 )
<!-- Reviewable:end -->
2015-08-06 19:46:19 -06:00
bors-servo
da06c2dda0
Auto merge of #7011 - pcwalton:inline-margin-intrinsic-size, r=mbrubeck
...
layout: Take inline margins into account when determining the intrinsic sizes of fragments.
Avoids a needless wrapped line in the repository name on GitHub.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7011 )
<!-- Reviewable:end -->
2015-08-06 18:28:13 -06:00
Manish Goregaokar
2114ffd0b9
Rollup merge of #7039 - jdm:squashed-6992, r=jdm
...
Add a reftest for <body background>. Fixes #6838
Rebased from #6992 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7039 )
<!-- Reviewable:end -->
2015-08-07 03:45:30 +05:30
bors-servo
cf4b411832
Auto merge of #7008 - pcwalton:floated-negative-margins, r=mbrubeck
...
layout: Take negative margins of floats into account when placing them.
Removes extraneous inline space on GitHub pull requests.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7008 )
<!-- Reviewable:end -->
2015-08-06 11:55:58 -06:00
Patrick Walton
df29b1e878
script: Make the legacy presentational attributes on <td>
apply to
...
`<th>` too.
Makes the Google SERPs not so narrow.
2015-08-06 10:26:45 -07:00
Michael Howell
7cb4d77c74
GC profiling.
...
* Closes #6968 .
* Test case for GC profiling thanks to @jdm!
2015-08-06 09:45:11 -07:00