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
s142857
29c4643a4a
Add a reftest for <body background>. Fixes #6838
2015-08-06 10:57:56 -04:00
bors-servo
d2ba81ead2
Auto merge of #6998 - mbrubeck:upgrade, r=Manishearth
...
Update to unicode-bidi 0.2.1
Also includes some missing changes from #6416 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6998 )
<!-- Reviewable:end -->
2015-08-06 08:57:53 -06:00
Matt Brubeck
73ce2325a2
Update to unicode-bidi 0.2.1
...
Fixes #6978 .
2015-08-06 06:52:17 -07:00
bors-servo
106361443d
Auto merge of #6451 - jgraham:onkey_attributes, r=Ms2ger
...
Add onkey* global event handler attributes
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6451 )
<!-- Reviewable:end -->
2015-08-06 07:44:51 -06:00
Corey Farwell
0d49118b7e
Improve clarity of comment in ref test list
2015-08-06 09:22:59 -04:00
David Zbarsky
fee8abe5a2
GetImageData should return un-premultiplied alpha values
2015-08-06 05:14:53 -04:00
Glenn Watson
2e08f42ae4
Update stb-image to get JPEG progressive support.
2015-08-06 12:48:59 +10:00
David Zbarsky
1d02239804
Respect the composition op when drawing images
2015-08-05 20:38:48 -04:00
Patrick Walton
fba0a8164d
layout: Take inline margins into account when determining the intrinsic
...
sizes of fragments.
Avoids a needless wrapped line in the repository name on GitHub.
2015-08-05 12:29:16 -07:00
bors-servo
315c4f5ed7
Auto merge of #6983 - glennw:tf2, r=pcwalton
...
Support transforms for display list optimization. Prevents clipping in #6643 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6983 )
<!-- Reviewable:end -->
2015-08-05 12:50:36 -06:00
Patrick Walton
95c9d3cefe
layout: Take negative margins of floats into account when placing them.
...
Removes extraneous inline space on GitHub pull requests.
2015-08-05 11:15:32 -07:00
bors-servo
debd7d87d6
Auto merge of #6974 - dzbarsky:tiny-create, r=jdm
...
Fix createImageData 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/6974 )
<!-- Reviewable:end -->
2015-08-05 11:40:20 -06:00
bors-servo
95269bba39
Auto merge of #6971 - dzbarsky:negative-radius, r=Ms2ger
...
Make createRadialGradient throw for negative radii
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6971 )
<!-- Reviewable:end -->
2015-08-05 10:42:57 -06:00
bors-servo
8602d01af2
Auto merge of #6416 - jgraham:hosts_replaced, r=jdm
...
Use hosts-replaced URL only when loading resources
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6416 )
<!-- Reviewable:end -->
2015-08-05 08:01:03 -06:00
bors-servo
11acfbc29f
Auto merge of #6981 - pcwalton:github-font-fallback, r=metajack
...
gfx: Fix Core Text font instantiation for Web fonts on Mac.
r? @metajack
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6981 )
<!-- Reviewable:end -->
2015-08-05 06:11:36 -06:00
bors-servo
cc70e2f91f
Auto merge of #6980 - pcwalton:inline-border-baseline, r=glennw
...
layout: Take borders into account when positioning inline fragments on their baselines.
Improves the Rust GitHub page.
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6980 )
<!-- Reviewable:end -->
2015-08-05 05:03:43 -06:00
James Graham
f52276d2cc
Use hosts-replaced URL only when loading resources
2015-08-05 10:34:20 +01:00
bors-servo
56a9eab2a0
Auto merge of #6976 - pcwalton:vertical-marker-placement, r=mbrubeck
...
layout: Place list item markers correctly in the block direction.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6976 )
<!-- Reviewable:end -->
2015-08-05 00:57:19 -06:00
Glenn Watson
11b1c19b05
Support transforms for display list optimization. Prevents clipping in #6643 .
2015-08-05 11:48:07 +10:00
bors-servo
b9f00190e1
Auto merge of #6979 - mbrubeck:counter, r=pcwalton
...
Fix crash caused by negative numbers in list counters.
Fixes #6818 . The test still fails because of #6978 .
r? @pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6979 )
<!-- Reviewable:end -->
2015-08-04 18:37:10 -06:00
Patrick Walton
d6b9e3bdfd
gfx: Fix Core Text font instantiation for Web fonts on Mac.
...
Fixes GitHub Octicons. A reftest has been added for this.
2015-08-04 17:07:44 -07:00
Patrick Walton
2880aa2b02
layout: Take borders into account when positioning inline fragments on
...
their baselines.
Improves the Rust GitHub page.
2015-08-04 16:20:15 -07:00
Matt Brubeck
35ba731123
Fix handling of negative numbers in list counters.
...
Fixes #6818 .
2015-08-04 16:18:09 -07:00