Commit graph

3197 commits

Author SHA1 Message Date
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
Corey Farwell
9badd19405 Move inline_block_margin_auto_zero_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
4625d2e3d0 Move inline_block_overflow_hidden_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
603dbe377c Move list_style_image_sizing_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
176ed83609 Move inline_absolute_out_of_flow_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
a2a40068ab Move incremental_float_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
b9c502ca3f Move img_size_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
737c7fa14b Move inline_block_margin_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
e53feacee7 Move inline_block_border_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
7a79618d77 Move inline_block_parent_padding_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
b67699e377 Move inline_block_stacking_context_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
e5f4f7a436 Move inline_margin_multiple_fragments_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
dbbbac3da6 Move inline_block_min_width.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
293561a0c4 Move inline_block_img_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00