Commit graph

1868 commits

Author SHA1 Message Date
Ms2ger
8233171a7c Move background_external_stylesheet.html to wpt reftests. 2015-10-09 16:59:52 +02:00
Ms2ger
586846b4ca Move background_clip_a.html to wpt reftests. 2015-10-09 16:59:51 +02:00
Ms2ger
86fd10e016 Move attr_selector_case_sensitivity.html to wpt reftests. 2015-10-09 16:59:50 +02:00
Ms2ger
84e23373d8 Update manifests. 2015-10-09 10:34:57 +02: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
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
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
James Graham
cdf0895665 Update web-platform-tests expected data to revision 7da6acfd668e66adae5ab4e2d389810d3b1460be 2015-10-06 12:16:41 +01:00
Corey Farwell
74e4c4fdc7 Implement size attribute for <font> element 2015-09-30 22:51:30 -04:00
Paul Rouget
132724be2b implement navigator.platform 2015-09-29 08:14:30 +02:00
Matt Brubeck
441cc479a3 Use the correct container size in compute_overflow
Fixes #7768 - positioning of RTL stacking contexts.
2015-09-28 11:57:40 -07:00
Manish Goregaokar
ed30923156 Add test for preserveWrapperCallback 2015-09-24 11:58:05 +05:30
Simon Sapin
feaf6f4c3f Initial support for custom properties in CSSStyleDeclaration 2015-09-17 14:48:56 +02:00
Simon Sapin
b8fd51e940 Add a copy of a test that uses a style attribute instead of a stylesheet.
`tests/wpt/css-tests/css-variables-1_dev/html/test_variable_legal_values.htm`
relies on setting `.data` on a text node inside a `<style>` element
to update a stylesheet, but this doesn’t work on Servo yet.

Add a copy of this file that uses a style attribute instead.
2015-09-17 14:48:18 +02:00
Paul Rouget
f6582e7f21 Test for flexbox crasher 2015-09-07 09:02:53 +02:00
Martin Tomasi
ccddc3c13e Fixed serialize_list to no longer append an additional space at the end of the string 2015-09-02 15:46:04 +02:00
Simon Sapin
80d471d5cf Merge branch 'master' into calc 2015-09-01 18:39:16 +02:00
Glenn Watson
103feca08b Fix requestAnimationFrame in headless mode. Fixes #7296. 2015-08-28 07:55:18 +10:00
David Zbarsky
2591a89a91 Add calc parsing tests for the other properties 2015-08-26 15:36:46 -07:00
David Zbarsky
cdae523cd4 Address review comments 2015-08-26 14:43:10 -07:00
bors-servo
186c1d14d5 Auto merge of #6880 - dzbarsky:rAF, r=jdm
Don't try to unwrap the result of requestAnimationFrame callback



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6880)
<!-- Reviewable:end -->
2015-08-26 08:13:11 -06:00
bors-servo
6e06cae44a Auto merge of #7288 - mdibaiee:computedstyle-element, r=Ms2ger
Fix #7268 - getComputedStyle should take `Element`, not `HTMLElement`

This is my first patch, I hope I'm doing it right.

About the test, do you think this is enough and reliable?

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7288)
<!-- Reviewable:end -->
2015-08-22 20:43:45 -06:00
Mahdi Dibaiee
b7d25159d3 Fix #7268 - getComputedStyle should take Element, not HTMLElement 2015-08-22 15:16:15 +04:30
David Zbarsky
b77698a649 Don't try to unwrap the result of requestAnimationFrame callback 2015-08-20 13:27:11 -04:00
Patrick Walton
a516042edb layout: Don't panic if requestAnimationFrame() is called before first layout.
Closes #7115.
2015-08-20 13:17:07 +02:00
bors-servo
84c4a26e4d Auto merge of #7070 - frewsxcv:merge-clonenode-tests, r=Ms2ger
Merge Servo Node.cloneNode test into WPT Node.cloneNode test

Fixes #5755

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7070)
<!-- Reviewable:end -->
2015-08-11 07:06:23 -06: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
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
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
s142857
29c4643a4a Add a reftest for <body background>. Fixes #6838 2015-08-06 10:57:56 -04:00
Glenn Watson
9e5687e3e7 Implement offsetParent/Top/Left/Width/Height. 2015-08-03 11:55:38 +10:00
Simon Sapin
e2984349ed Add a test for CSSStyleDeclaration.setPropertyPriority 2015-07-31 08:09:24 +02:00
bors-servo
ff0549a923 Auto merge of #6857 - dzbarsky:rm-test, r=metajack
Delete unneeded test now that DOMTokenList.toggle exists



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6857)
<!-- Reviewable:end -->
2015-07-30 21:52:19 -06:00
Jack Moffitt
154b5fd6da Update to latest rust-cssparser.
This also updates wpt tests for new CSS Level 4 color parsing, and
disables the relevant CSS tests until they can be updated (tracked
by #6856).
2015-07-30 16:41:14 -06:00
David Zbarsky
113665618b Delete unneeded test now that DOMTokenList.toggle exists 2015-07-30 16:40:11 -04:00
David Zbarsky
e484d6b5e3 Implement getComputedStyle 2015-07-29 20:17:50 -04:00
bors-servo
e0bd80f807 Auto merge of #6662 - tschneidereit:client-geometry, r=glennw,pcwatson
Implement Element.client{Top,Left,Width,Height}

This isn't done, but contains a working implementation of at least `clientTop`. Feedback would be much appreciated: it's probably far from ideal.

Implementing `clientLeft` is straight-forward, I think, but `clientWidth` and `clientHeight` require accessing the `border_box` - and I don't know how that works, yet.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6662)
<!-- Reviewable:end -->
2015-07-27 20:45:05 -06:00
Corey Farwell
b1b03a32db Upgrade rust-selectors, pass ':empty' tests
https://github.com/servo/rust-selectors/pull/36
2015-07-22 18:27:33 +07:00
Till Schneidereit
162ecd0aac Implement client{Top, Left, Height, Width} element properties 2015-07-19 15:04:50 +02:00