Ms2ger
6ce531e78b
Move background_origin_a.html to wpt reftests.
2015-10-09 17:02:50 +02:00
Ms2ger
af1ba43010
Move background_none_a.html to wpt reftests.
2015-10-09 16:59:55 +02:00
Ms2ger
3e64751d2f
Move background_image_position_a.html to wpt reftests.
2015-10-09 16:59:54 +02:00
Ms2ger
f112adf6ae
Move background_image_a.html to wpt reftests.
2015-10-09 16:59:53 +02:00
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
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
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
bors-servo
e1ede2074d
Auto merge of #7429 - GyrosOfWar:serialize_list_space_fix, r=jdm
...
Fixed serialize_list to no longer append an additional space at the e…
…nd of the string.
Fixes #7404
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7429 )
<!-- Reviewable:end -->
2015-09-02 09:15:16 -06:00
bors-servo
eaf90c0b1c
Auto merge of #7452 - nox:cleanup-attributes, r=nox
...
Introduce VirtualMethods::attribute_mutated()
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7452 )
<!-- Reviewable:end -->
2015-09-02 08:14:33 -06: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
Anthony Ramine
58e1bd0e57
Introduce VirtualMethods::attribute_mutated()
...
This replaces before_remove_attr(), after_remove_attr() and after_set_attr().
The virtual method takes the mutated attribute and an AttributeMutation value
to disambiguate between "attribute is changed", "attribute is added" and
"attribute is removed".
In the case of "attribute is changed", the mutation value contains a reference
to the old value of the mutated attribute, which is used to unregister outdated
named elements when the "id" attribute is changed on an element.
This greatly simplifies the handling of attributes, which in many cases don't
have any specific behaviour whether they are removed or changed or added. It
also fixes a few bugs where things were put in before_remove_attr() instead of
after_remove_attr() (e.g. when removing an href attribute from a base element).
A few helper functions in Element were also renamed and made private.
2015-09-02 15:45:38 +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
Patrick Walton
fed904fff5
layout: Make position: relative
with non-auto z-index
create a
...
stacking context.
Improves imgur.com and Fast Company articles.
2015-08-22 12:22:33 -07: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
Simon Sapin
39ce15f20d
Fix Element::set_inline_style_property_priority’s handling of priority
...
Thanks to mwu for pointing out a copy-paste error.
2015-08-13 17:07:17 +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