Commit graph

3197 commits

Author SHA1 Message Date
Emilio Cobos Álvarez
35473b0009 Try to re-enable webgl reftests
I can't reproduce locally the failure that produced them, and since the
builds that triggered them are deleted for some reason (like
http://build.servo.org/builders/linux-dev/builds/419), it could be a
good moment to troubleshoot it.

If merged closes #7931
2015-11-01 13:45:02 +01:00
nxnfufunezn
468eaac096 Accept Brotli-compressed HTTP responses #8156 2015-11-01 08:59:18 +05:30
bors-servo
959ae86bd0 Auto merge of #8274 - bholley:state_restyle_hints, r=pcwalton
Implement state-based restyle hints



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8274)
<!-- Reviewable:end -->
2015-11-01 07:23:51 +05:30
Bobby Holley
564170f41b State restyle hint tests.
This handles the state part of #6942.
2015-10-31 14:28:52 -07:00
Eli Friedman
aef06f2f20 Consistently use content-type sniffing with all protocols. 2015-10-31 11:26:17 -07:00
Ms2ger
5450053b02 Update CSS tests to revision d13905941293af83ea8c3c1750dba652e0423fb0 2015-10-31 16:21:47 +01:00
Ms2ger
b492a3e8b1 Update web-platform-tests to revision 7123012427f92f0dc38a120e6e86a75b6c03aab5 2015-10-31 16:21:44 +01:00
Bobby Holley
79ac365a68 Move EventState to rust-selectors. 2015-10-30 21:02:35 -07:00
bors-servo
7512aa69c0 Auto merge of #8114 - nfallen:7695, r=eefriedman
Implement DOMStringMap::SupportedPropertyNames and NamedNodeMap::SupportedPropertyNames #7695

Here is a draft for issue #7695 with web platform tests. 
Thanks for reviewing!
https://dom.spec.whatwg.org/#namednodemap
https://html.spec.whatwg.org/multipage/infrastructure.html#domstringmap

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8114)
<!-- Reviewable:end -->
2015-10-31 08:04:08 +05:30
Nova Fallen
73c4af626a Implement DOMStringMap::SupportedPropertyNames and NamedNodeMap::SupportedPropertyNames 2015-10-30 21:13:29 -04:00
Corey Farwell
d9a1c06fb4 Add missing WPT to reftest_nodes 2015-10-30 12:16:16 -04:00
Corey Farwell
4b5f8e9970 Alphabetize entries in the WPT manifests 2015-10-30 11:46:41 -04:00
Martin Robinson
a7a58e47a0 Expand DisplayList layer bounds to whole pixels
Before passing these layers to the paint task, expand them to pixel
boundaries. This ensures that subpixel edges of the layer will not be
clipped away and helps prevent rounding issues with layer contents.

Fixes #8166.
2015-10-28 18:11:59 -07:00
bors-servo
0d699a2b44 Auto merge of #8241 - Manishearth:euclid_up, r=mbrubeck
Update euclid to 0.3



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8241)
<!-- Reviewable:end -->
2015-10-28 22:01:15 +05:30
Manish Goregaokar
ce5586f74a Update euclid to 0.3 2015-10-28 21:34:23 +05:30
bors-servo
8cc6ce4b86 Auto merge of #8230 - jgraham:wptrunner_update, r=Ms2ger
Update to latest wptrunner.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8230)
<!-- Reviewable:end -->
2015-10-28 16:28:13 +05:30
bors-servo
3951c577bf Auto merge of #7963 - dagnir:issue-7774, r=eefriedman
Implement ask_for_reset for HTMLSelectElement.

Fixes #7774

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7963)
<!-- Reviewable:end -->
2015-10-28 07:45:02 +05:30
bors-servo
7c9f4644f3 Auto merge of #8169 - ax3lst:master, r=eefriedman
Implement document.createEvent(TouchEvent)

This solves #8160

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8169)
<!-- Reviewable:end -->
2015-10-28 05:55:03 +05:30
James Graham
5998742e5d Update to latest wptrunner. 2015-10-28 08:22:13 +09:00
Michael Howell
2b6e897cd1 Show overflow for #8118. 2015-10-27 15:07:59 -07:00
bors-servo
381317f658 Auto merge of #8129 - craftytrickster:pos-fixed-list-item, r=glennw
Made block type pattern match less inclusive

Given the comments above the match statement, it seems that fixed-pos check should match only block elements in this case. Doing this change seems to partially resolve the issue where list items with `position:fixed;` styling are not displaying their bullet points. This change only resolves the issue for list items with `list-style-position: inside`, outside positioning is still not functioning correctly. 

https://github.com/servo/servo/issues/8001#issuecomment-149781613

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8129)
<!-- Reviewable:end -->
2015-10-28 01:44:48 +05:30
David Raifaizen
091282ee24 Made block type pattern match less inclusive 2015-10-27 09:41:42 -04:00
Ms2ger
c265c52939 Move box_shadow_default_color_a.html to wpt reftests. 2015-10-27 14:07:01 +01:00
Ms2ger
f9930ab1fe Move box_shadow_blur_a.html to wpt reftests. 2015-10-27 14:00:13 +01:00
Ms2ger
5b08ac9ca9 Move borders_a.html to wpt reftests. 2015-10-27 13:32:29 +01:00
Ms2ger
8838133abe Move border_spacing_fixed_layout_a.html to wpt reftests. 2015-10-27 13:23:24 +01:00
Ms2ger
b456b219f6 Move border_spacing_auto_layout_a.html to wpt reftests. 2015-10-27 13:16:45 +01:00
Ms2ger
9fc3b6b6cc Update the manifest. 2015-10-27 13:15:29 +01:00
David Zbarsky
a63c98c24a Implement HTMLCanvasElement#toDataURL 2015-10-26 21:24:21 -07:00
bors-servo
704c5ef25a Auto merge of #7979 - tschneidereit:script-loading-fixes, r=jdm
Improve spec-compliance of script loading and execution during document startup

Including proper support for async and deferred scripts.

r? @jdm

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7979)
<!-- Reviewable:end -->
2015-10-26 15:48:23 -05:00
Till Schneidereit
a0c5d47910 Improve spec-compliance of script loading and execution during document startup
Including proper support for async and deferred scripts.
2015-10-26 21:35:09 +01:00
bors-servo
6c051ce828 Auto merge of #8201 - KiChjang:add-missing-htmlpreelement, r=jdm
Add missing htmlpreelement

Fixes #7995. My tests came out pretty weird, with additional crashes and timeouts.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8201)
<!-- Reviewable:end -->
2015-10-26 14:07:50 -05:00
Keith Yeung
1fc50af8d3 Add HTMLPreElement type to xml and plaintext DOM nodes 2015-10-26 10:22:04 -07:00
bors-servo
af8a1cb8a0 Auto merge of #8178 - frewsxcv:label, r=nox
Implement a couple attributes for <label> elements



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8178)
<!-- Reviewable:end -->
2015-10-26 09:51:56 -05:00
Jan-Erik Rediger
4153291361 Update test manifest 2015-10-25 18:38:44 +01:00
Jan-Erik Rediger
c5ecd65fec Add reftest for css button width 2015-10-25 18:35:42 +01:00
bors-servo
662ff9b8c2 Auto merge of #8185 - Ms2ger:white-space, r=frewsxcv
Correct the match urls for the white-space tests.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8185)
<!-- Reviewable:end -->
2015-10-25 10:12:20 -05:00
Josh Matthews
e843135be0 Remove bad advice from WPT docs.
I misunderstood the purpose of `--no-run`.
2015-10-25 09:48:35 -04:00
Corey Farwell
98a6fc07e2 Implement 'htmlFor' attribute for <label> elements 2015-10-25 08:06:44 -04:00
Corey Farwell
f97d1d148b Implement 'control' attribute for <label> elements 2015-10-25 08:06:31 -04:00
Ms2ger
f59ef17921 Correct the match urls for the white-space tests. 2015-10-25 10:37:30 +01:00
Dongie Agnir
15a8b6b62c Mark failure for remove test as expected.
Currently unable to get former parent after unbind_from_tree, so it's
not possible to call ask_for_reset upon removal.
2015-10-24 19:22:03 -10:00
Dongie Agnir
d561b4ffe9 Remove extra indent. 2015-10-24 19:14:31 -10:00
Gilles Leblanc
595f11dbd2 Modify wpt test following review comment 2015-10-23 20:56:52 -04:00
Gilles Leblanc
725484d619 Compute value of float according to position value
According to CSS2 Section 9.7, if 'position' has a value of 'absolute'
or 'fixed' the computed value of 'float' should be 'none'.

This changes the float to a single_keyword_computed which checks the
positioned value of the element to compute the float value.

Fixes #8002
2015-10-23 20:56:52 -04:00
Dongie Agnir
fcfc3918a4 Update test.
Fix comments and test when size > 1.
2015-10-23 14:01:58 -10:00
Dongie Agnir
c070c7ad30 Update and correct tests. 2015-10-23 13:16:42 -10:00
bors-servo
22a6884a67 Auto merge of #8140 - mrobinson:canvas, r=pcwalton
Integrate Canvas into the DisplayList

Canvas is currently given a layer at the stacking context level.
Instead it's DisplayItem should be given a layer directly. This fixes
painting order issues where canvases are painted on top of other
positioned content that is later in tree order. It always simplifies
the code a bit.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8140)
<!-- Reviewable:end -->
2015-10-23 17:17:12 -05:00
Dongie Agnir
b1d6b0f797 Implement ask_for_reset for HTMLSelectElement.
Fixes #7774
2015-10-23 11:47:20 -10:00
bors-servo
6f59acdd0a Auto merge of #8152 - frewsxcv:reftests, r=jdm
Use wptrunner for some old-style reftests.

Part of #5618

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8152)
<!-- Reviewable:end -->
2015-10-23 08:51:29 -06:00