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
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
bors-servo
ff2151b8bb
Auto merge of #7935 - bholley:eventstate_element, r=nox
...
Move event state from Node to Element
Just getting my feet wet with Rust here. Please feel free to nit the hell out of it stylistically and idiomatically. :-)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7935 )
<!-- Reviewable:end -->
2015-10-19 02:47:21 -06:00
Anthony Ramine
6dc42dd1d6
Do not root XMLHttpRequest::upload
2015-10-19 09:37:09 +02:00
Anthony Ramine
d28de59e4a
Return a reference in ServoHTMLParser::window()
2015-10-19 09:37:08 +02:00
Anthony Ramine
da06341578
Do not root ServoHTMLParser::document
2015-10-19 09:37:07 +02:00
Anthony Ramine
7c47a6b78e
Do not root Sink::document
2015-10-19 09:37:06 +02:00
Anthony Ramine
b0d1ccdf5f
Do not root Performance::timing
2015-10-19 09:37:05 +02:00
Anthony Ramine
17cd4202e7
Do not root ChildrenList::node
2015-10-19 09:37:04 +02:00
Anthony Ramine
b149e0c979
Do not root NodeIterator::root_node
2015-10-19 09:37:03 +02:00
Anthony Ramine
6849510526
Do not root NamedNodeMap::owner
2015-10-19 09:37:02 +02:00
Anthony Ramine
5889a75b10
Do not root Location::window
2015-10-19 09:37:01 +02:00
Anthony Ramine
dee3aecea1
Do not root HTMLScriptElement::parser_document
2015-10-19 09:37:00 +02:00
Anthony Ramine
e8f358d178
Do not root InputActivationState::checked_radio
2015-10-19 09:36:58 +02:00