Commit graph

6360 commits

Author SHA1 Message Date
Corey Farwell
fdfe2084f8 Move font_color_attribute_a.html to wpt reftests. 2015-10-23 10:26:48 -04:00
Corey Farwell
20b38229e7 Move float_intrinsic_width_a.html to wpt reftests. 2015-10-23 10:26:46 -04:00
Corey Farwell
a69b2ebfff Move float_clearance_a.html to wpt reftests. 2015-10-23 10:26:45 -04:00
Corey Farwell
93a6c46fdd Move float_intrinsic_height.html to wpt reftests. 2015-10-23 10:26:44 -04:00
Corey Farwell
b250479448 Move float_table_a.html to wpt reftests. 2015-10-23 10:26:42 -04:00
Corey Farwell
7dbdaea6e3 Move floated_list_item_a.html to wpt reftests. 2015-10-23 10:26:41 -04:00
Corey Farwell
f2d83cd59d Move focus_selector.html to wpt reftests. 2015-10-23 10:26:40 -04:00
Corey Farwell
5953387cb0 Move font_advance.html to wpt reftests. 2015-10-23 10:26:38 -04:00
Corey Farwell
5455821701 Move font_style.html to wpt reftests. 2015-10-23 10:26:37 -04:00
Corey Farwell
5892aa71d5 Move img_block_display_a.html to wpt reftests. 2015-10-23 10:26:36 -04:00
Corey Farwell
d6bd162268 Move img_dynamic_remove.html to wpt reftests. 2015-10-23 10:26:35 -04:00
Corey Farwell
4ac7f9d944 Move inline_block_border_intrinsic_size_a.html to wpt reftests. 2015-10-23 10:26:30 -04:00
Corey Farwell
bd41c67f3e Move img_padding_a.html to wpt reftests. 2015-10-23 09:52:58 -04:00
Corey Farwell
8ca235c1e5 Move img_width_attribute_intrinsic_width_a.html to wpt reftests. 2015-10-23 09:52:57 -04:00
Corey Farwell
ed09b2bc94 Move incremental_text_color_a.html to wpt reftests. 2015-10-23 09:52:55 -04:00
Corey Farwell
79288fd584 Move inline_block_baseline_a.html to wpt reftests. 2015-10-23 09:52:54 -04:00
Axel Solis Trompler
2cb6972d14 Implement document.createEvent(TouchEvent) 2015-10-23 15:30:26 +02:00
bors-servo
44e4f1ee5e Auto merge of #8153 - jdm:wptdoc, r=Ms2ger
Add documentation for writing new tests.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8153)
<!-- Reviewable:end -->
2015-10-23 04:10:56 -06:00
Matt Brubeck
316802e206 Implement Document.createTouch 2015-10-22 10:49:30 -07:00
Matt Brubeck
4ed15a8853 Add bindings for TouchEvent DOM interfaces 2015-10-22 10:35:11 -07:00
Josh Matthews
29cdab217f Add documentation for writing new tests. 2015-10-22 11:40:59 -04:00
bors-servo
128e12f011 Auto merge of #8133 - Ms2ger:update-tests, r=Ms2ger
Update tests.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8133)
<!-- Reviewable:end -->
2015-10-22 09:39:20 -06:00
Ms2ger
92e90e6633 Update web-platform-tests to revision 4b25d322ac6ed466f992669e5408b15d37d56436 2015-10-22 16:41:47 +02:00
Ms2ger
ff59858686 Fix charset declarations in border radius tests. 2015-10-22 11:33:37 +02:00
Ms2ger
6a4ad433a2 Update CSS tests to revision 465c03e3d8d42ce98b9dfa0c8d8e7b4b8d48ebd7 2015-10-22 10:19:14 +02:00
bors-servo
ea000471d3 Auto merge of #8143 - frewsxcv:new-wpt-tests-missing-assets, r=Manishearth
Add a few missing assets lost in reftest migration

These are used in:

* tests/wpt/mozilla/tests/css/background_size_ref.html
* tests/wpt/mozilla/tests/css/background_size_a.html

Relevant to #5618

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8143)
<!-- Reviewable:end -->
2015-10-21 18:42:48 -06:00
bors-servo
9a34decec2 Auto merge of #8086 - froydnj:premultiply-tables, r=jdm
add (un)premultiply tables for canvas {Get,Put}ImageData operations

Pretty straightforward use of lookup tables to replace a bunch of expensive float operations.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8086)
<!-- Reviewable:end -->
2015-10-21 17:48:49 -06:00
Corey Farwell
08bd5bc0c1 Add a few missing assets lost in reftest migration
These are used in:

* tests/wpt/mozilla/tests/css/background_size_ref.html
* tests/wpt/mozilla/tests/css/background_size_a.html

Relevant to #5618
2015-10-21 19:03:55 -04:00
Nathan Froyd
9e348e2e8e add premultiply table for PutImageData 2015-10-21 18:30:35 -04:00
Martin Robinson
30ba65b360 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.
2015-10-21 14:00:20 -07:00
Florian Merz
80e8a674e2 display input caret for textarea. fixes #7758 2015-10-21 22:38:23 +02:00
bors-servo
11d23a41b3 Auto merge of #7950 - mrobinson:layerize-iframes, r=pcwalton
Integrate iframes into the display list

Instead of always promoting iframes to StackingContexts, integrate them
into the display list. This prevents stacking bugs when
non-stacking-context elements should be drawn on top of iframes.

To accomplish this, we add another step to ordering layer creation,
where LayeredItems in the DisplayList are added to layers described by
the LayerInfo structures collected at the end of the DisplayList.
Unlayered items that follow these layered items are added to
synthesized layers.

Another result of this change is that iframe layers can be positioned
directly at the location of the iframe fragment, eliminating the need
for the SubpageLayerInfo struct entirely.

Iframes are the first type of content treated this way, but this change
opens up the possibility to properly order canvas and all other layered
content that does not create a stacking context.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7950)
<!-- Reviewable:end -->
2015-10-20 16:01:38 -06:00
Eli Friedman
3a451ff845 Add support for pre-wrap and pre-line values for white-space.
This is mostly straightforward.  I had to modify a couple of places
which were accidentally discarding whitespace.

Fixes #1513.
2015-10-20 10:44:51 -07:00
Martin Robinson
ac5525aeeb Integrate iframes into the display list
Instead of always promoting iframes to StackingContexts, integrate them
into the display list. This prevents stacking bugs when
non-stacking-context elements should be drawn on top of iframes.

To accomplish this, we add another step to ordering layer creation,
where LayeredItems in the DisplayList are added to layers described by
the LayerInfo structures collected at the end of the DisplayList.
Unlayered items that follow these layered items are added to
synthesized layers.

Another result of this change is that iframe layers can be positioned
directly at the location of the iframe fragment, eliminating the need
for the SubpageLayerInfo struct entirely.

Iframes are the first type of content treated this way, but this change
opens up the possibility to properly order canvas and all other layered
content that does not create a stacking context.

Fixes #7566.
Fixes #7796.
2015-10-20 07:29:06 -07:00
Ms2ger
cb379861cc Move border_spacing_a.html to wpt reftests. 2015-10-20 15:55:59 +02:00
Ms2ger
50a6f9986c Move border_rounding_1px_invisible_issue_7184_a.html to wpt reftests. 2015-10-20 15:55:58 +02:00
Ms2ger
467bf11595 Move border_radius_zero_sizes_a.html to wpt reftests. 2015-10-20 15:55:57 +02:00
Ms2ger
95566ec622 Move border_radius_shorthand_a.html to wpt reftests. 2015-10-20 15:55:56 +02:00
Ms2ger
caf9d0e3cd Move border_radius_overlapping_a.html to wpt reftests. 2015-10-20 15:55:55 +02:00
Ms2ger
6b5b10924b Move border_radius_elliptical_a.html to wpt reftests. 2015-10-20 15:55:54 +02:00
Ms2ger
9cc4923c41 Move border_radius_dashed_a.html to wpt reftests. 2015-10-20 15:55:53 +02:00
Ms2ger
027609a2bf Move border_radius_clip_a.html to wpt reftests. 2015-10-20 15:55:52 +02:00
Ms2ger
ecc90eb6dd Move border_radius_asymmetric_sizes_a.html to wpt reftests. 2015-10-20 15:55:47 +02:00
Ms2ger
30e8148b93 Move border_collapse_simple_a.html to wpt reftests. 2015-10-20 15:41:50 +02:00
bors-servo
ecee44da0e Auto merge of #8088 - 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/8088)
<!-- Reviewable:end -->
2015-10-20 06:55:10 -06:00
Corey Farwell
fffc977bc3 Move img_width_style_intrinsic_width_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
9dbcaf9f72 Move inline_block_block_direction_margins_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
5cf6255622 Move incremental_inline_layout_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
42b2a9733e Move incremental_letter_spacing_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
463ed5f0da Move inline_absolute_hypothetical_clip_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00