Commit graph

13483 commits

Author SHA1 Message Date
Corey Farwell
1c59b74e67 Move linear_gradients_reverse_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
65ac57e2e9 Move linebreak_inline_span_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
93d9fe3d8a Move linear_gradients_parsing_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
eb3d4b0dc8 Move last_child_pseudo_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
7f746c3f6d Move inline_block_with_margin_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
82ac32c7ae Move input_button_size_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
cd19d728f5 Move inline_margins_intrinsic_size_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
9ac20e4899 Move inline_text_align_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
589c9f2616 Move last_of_type_pseudo_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
83f8585577 Move line_breaking_whitespace_collapse_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
3abf4eb5d1 Move li_absolute_containing_block_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
8c4269b5f2 Move line_height_float_placement_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
66ce3e9f55 Move linear_gradients_lengths_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
63f60deb24 Move inline_block_percentage_height_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
ca8540e02c Move inline_block_overflow.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
30208daf1f Move negative_margins_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
06c7ecc04b Move min_width_float_simple_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
88a9b4fdd8 Move max_width_float_simple_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
9bd508de7e Move min_width_simple_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
902f010205 Move max_width_simple_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
2259fcb77a Move no_image_background_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
6dccda4ba0 Move no-image.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
bb1769b35a Move minimum_line_height_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
4e59fe4d23 Move nth_last_of_type_pseudo_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
f714725295 Move nth_of_type_pseudo_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
562d89bac6 Move mix_blend_mode_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
a4c3dbf5bb Move multiple_css_class_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
5cb7a2ddbb Move object_element_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
e8283572b3 Move noscript.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
b9c06f3f0b Move negative_margin_uncle_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Corey Farwell
24b0b0c80c Move min_max_height_a.html to wpt reftests. 2015-10-19 18:34:07 -04:00
Glenn Watson
596193f975 Fix iframes flickering on mouse move.
Fixes #7867 (and probably several other iframe bugs).

When collecting layers for children of a pipeline, pass through the current
subpage pipeline recursively. This prevents descendany layers (such as scroll
layers) from being collected and re-created on the subsequent paint.
2015-10-20 08:32:17 +10:00
bors-servo
f73cd40282 Auto merge of #8008 - nox:url, r=jdm
Update URL-related interfaces and their tests up to spec

The URL spec recently changed and the variour "mixins" interfaces are gone,
this commit updates our code and WPT accordingly.

The new expected failures related to HTMLAnchorElement and HTMLAreaElement's
attributes are due to their moving to the HTMLHyperLinkElementUtils interface,
which is not anymore in a separate `<script class=untested>` element.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8008)
<!-- Reviewable:end -->
2015-10-19 14:24:05 -06:00
Anthony Ramine
57c423a931 Update URL-related interfaces and their tests up to spec
The URL spec recently changed and the variour "mixins" interfaces are gone,
this commit updates our code and WPT accordingly.

The new expected failures related to HTMLAnchorElement and HTMLAreaElement's
attributes are due to their moving to the HTMLHyperLinkElementUtils interface,
which is not anymore in a separate <script class=untested> element.
2015-10-19 21:05:07 +02:00
bors-servo
e0c8a88410 Auto merge of #8029 - Ms2ger:cleanup-layout, r=pcwalton
Some cleanup in layout.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8029)
<!-- Reviewable:end -->
2015-10-19 11:36:58 -06:00
bors-servo
6111cf9ffc Auto merge of #7943 - pierrechevalier83:fix_issue_7941, r=Ms2ger
Clarify some code in do_create_interface_objects

rval.get() is believed to be always null upon entering this function.
This assumption is verified by the added assertion.
It makes more sense to move the block of code that was moved inside
the if statement which is the only place where it can be initialized.

Fixes #7941.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7943)
<!-- Reviewable:end -->
2015-10-19 09:37:03 -06:00
bors-servo
2e308e9ecc Auto merge of #8068 - martiansideofthemoon:my-code-fix, r=Manishearth
Implementing getAttributeNode() and similar methods

Attempting to solve #8066 Does it look good so far @Manishearth ?

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8068)
<!-- Reviewable:end -->
2015-10-19 07:58:41 -06:00
bors-servo
eeffa795a7 Auto merge of #8025 - frewsxcv:remove-app-units-from-tree, r=nox
Remove 'app_units' component from tree

Part of #8012

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8025)
<!-- Reviewable:end -->
2015-10-19 07:26:17 -06:00
Ms2ger
2bfca9cace Remove the boolean shareable flag in RecalcStyleForNode::process. 2015-10-19 15:01:31 +02:00
Ms2ger
843629b29f Remove the unused boolean in StyleSharingResult::CannotShare. 2015-10-19 15:01:30 +02:00
Ms2ger
f3faaa6b01 Define share_style_if_possible on LayoutElement. 2015-10-19 15:01:29 +02:00
Ms2ger
e6e514c89a Rewrite ParallelPostorderDomTraversal::run_parallel to avoid some unnecessary conversions between LayoutNode and UnsafeLayoutNode. 2015-10-19 15:01:28 +02:00
Ms2ger
3597c463b5 Don't create a LayoutContext in ParallelPostorderDomTraversal::run_parallel. 2015-10-19 15:01:27 +02:00
Ms2ger
604601f1f4 Return the result from match_element rather than using an outparam. 2015-10-19 15:01:27 +02:00
Ms2ger
5c7dc4c633 Define match_node on LayoutElement as match_element. 2015-10-19 15:01:26 +02:00
Ms2ger
a9f75b7c4f Define share_style_with_candidate_if_possible on LayoutElement. 2015-10-19 14:59:18 +02:00
Ms2ger
e5df6fa753 Improve code flow in share_style_if_possible. 2015-10-19 14:59:17 +02:00
bors-servo
1a376aa75d Auto merge of #8060 - nox:deref-js, r=Ms2ger
Implement Deref<Target=T> for JS<T> where T: Reflectable

We can only borrow `JS<T>` from rooted things, so it's safe to deref it.
The only types that provide mutable `JS<T>` things are `MutHeap<JS<T>>` and
`MutNullableHeap<JS<T>>`, which don't actually expose that they contain
`JS<T>` values.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8060)
<!-- Reviewable:end -->
2015-10-19 06:32:05 -06:00
KALPESH KRISHNA
3971b8ce27 Implementing getAttributeNode() and similar methods. 2015-10-19 16:14:43 +05:30
bors-servo
50ad1b064d Auto merge of #8071 - romankl:gh/8063, r=nox
remove unused methods from ThreadSafeLayoutNode

`get_input_size ` and `get_input_value ` aren't used in the codebase.

Ref.-Issue: #8063

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8071)
<!-- Reviewable:end -->
2015-10-19 04:32:34 -06:00