Commit graph

2212 commits

Author SHA1 Message Date
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
Matt Brubeck
4ed15a8853 Add bindings for TouchEvent DOM interfaces 2015-10-22 10:35:11 -07:00
Ms2ger
ff59858686 Fix charset declarations in border radius tests. 2015-10-22 11:33:37 +02: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
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
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
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
Corey Farwell
d1b3e098cd Move inline_hypothetical_box_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
21d6bccf62 Move input_button_margins_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
da97da7278 Move margin_padding_inline_block_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00