Commit graph

2538 commits

Author SHA1 Message Date
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
Corey Farwell
40caa2aee0 Move box_shadow_bg.html to wpt reftests. 2015-10-23 10:27:38 -04:00
Corey Farwell
4c6a9625bf Move border_spacing_empty_table.html to wpt reftests. 2015-10-23 10:27:37 -04:00
Corey Farwell
890e1d93e2 Move border_style_none_a.html to wpt reftests. 2015-10-23 10:27:36 -04:00
Corey Farwell
62ef402f90 Move acid1_a.html to wpt reftests. 2015-10-23 10:27:34 -04:00
Corey Farwell
ecb5a1f7c6 Move case-insensitive-font-family.html to wpt reftests. 2015-10-23 10:27:33 -04:00
Corey Farwell
6034364552 Move float_clearance_intrinsic_width_a.html to wpt reftests. 2015-10-23 10:27:31 -04:00
Corey Farwell
fc958d4d2d Move box_shadow_border_box_a.html to wpt reftests. 2015-10-23 10:27:30 -04:00
Corey Farwell
4116aa5e18 Move box_shadow_inset_bg.html to wpt reftests. 2015-10-23 10:27:29 -04:00
Corey Farwell
8cb1aa0d67 Move empty_cells_a.html to wpt reftests. 2015-10-23 10:27:27 -04:00