David Zbarsky
a3ee46fc9c
Make CSSStyleDeclaration setters rethrow errors instead of unwrapping and crashing.
2015-08-11 00:34:41 -04:00
David Zbarsky
fef2a33043
Enable CSSOM tests
2015-08-10 22:50:13 -04: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
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
Simon Sapin
47cd74fe69
Remove another duplicate copy of Ahem.
2015-08-07 21:38:58 +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
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
Ms2ger
2a97ab36f7
Dispatch message events for WebSocket.
2015-08-07 10:58:33 +02: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
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
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
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
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
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
Matt Brubeck
35ba731123
Fix handling of negative numbers in list counters.
...
Fixes #6818 .
2015-08-04 16:18:09 -07:00
bors-servo
eecd975209
Auto merge of #6954 - dzbarsky:stroke_rect, r=glennw
...
Implement strokeRect with zero-width or zero-height rects
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6954 )
<!-- Reviewable:end -->
2015-08-04 16:38:57 -06:00
David Zbarsky
9fbe33b6f2
Implement strokeRect with zero-width or zero-height rects
2015-08-04 17:44:18 -04:00
David Zbarsky
2fb5fda5d0
Fix createImageData with sizes < 1 pixel
2015-08-04 15:45:38 -04:00
David Zbarsky
75e444c3b2
Make createRadialGradient throw for negative radii
2015-08-04 15:08:37 -04:00