Commit graph

14672 commits

Author SHA1 Message Date
Anthony Ramine
e8f358d178 Do not root InputActivationState::checked_radio 2015-10-19 09:36:58 +02:00
Anthony Ramine
71dcabfad8 Do not root DOMTokenList::element 2015-10-19 09:36:57 +02:00
Anthony Ramine
822e6f0d48 Do not root DOMStringMap::element 2015-10-19 09:36:56 +02:00
Anthony Ramine
ff0da2f642 Do not root DOMParser::window 2015-10-19 09:36:55 +02:00
Anthony Ramine
ce6aab6cb1 Do not root DOMImplementation::document 2015-10-19 09:36:54 +02:00
Anthony Ramine
6ab7f64620 Return a reference in BrowserContext::active_window() 2015-10-19 09:36:53 +02:00
Anthony Ramine
409b5e3695 Return a reference in Document::window() 2015-10-19 09:36:52 +02:00
Anthony Ramine
e889b0914b Do not root Document::window 2015-10-19 09:36:51 +02:00
Roman Klauke
b5439a7c61 remove unused methods from ThreadSafeLayoutNode
`get_input_size ` and `get_input_value ` aren't used in the codebase.

Ref.-Issue: #8063
2015-10-18 22:17:34 +02:00
bors-servo
b847e4dd77 Auto merge of #8059 - frewsxcv:fix-codegen-docs, r=jdm
Fix formatting for variable in doc-comment within codegen



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8059)
<!-- Reviewable:end -->
2015-10-18 07:55:48 -06:00
bors-servo
23fa9de714 Auto merge of #8038 - martiansideofthemoon:my-code-fix, r=jdm
Adding window.onstorage WindowEventHandler

Well it built successfully this time around 😄 @jdm . Working to solve #7994

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8038)
<!-- Reviewable:end -->
2015-10-17 22:36:13 -06:00
bors-servo
810d28a257 Auto merge of #7415 - tschneidereit:dom-rect, r=nox
Improve implementation of DOMRect and implement DOMRectReadOnly

Passes most tests from test-css. The remaining ones should pass once we have https://github.com/w3c/csswg-test/pull/834.

r? @Ms2ger

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7415)
<!-- Reviewable:end -->
2015-10-17 15:17:27 -06:00
Till Schneidereit
4c1c05fac6 Improve implementation of DOMRect and implement DOMRectReadOnly
Passes most tests from test-css.
2015-10-17 22:47:01 +02:00
Till Schneidereit
499a847141 Whitelist drafts.fxtf.org in tidy.py's webidl spec link check 2015-10-17 22:25:21 +02:00
Corey Farwell
26abff9663 Fix formatting for variable in doc-comment within codegen 2015-10-17 15:20:12 -04:00
bors-servo
ef8119511c Auto merge of #7977 - frewsxcv:htmltablerowelement-insertcell-deletecell, r=eefriedman
Implement HTMLTableRowElement insertCell and deleteCell



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7977)
<!-- Reviewable:end -->
2015-10-16 23:54:52 -06:00
bors-servo
45ed1e7bc1 Auto merge of #8057 - 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/8057)
<!-- Reviewable:end -->
2015-10-16 23:16:20 -06:00
Corey Farwell
1f58169263 Implement HTMLTableRowElement insertCell and deleteCell 2015-10-17 00:07:22 -04:00
Corey Farwell
c10eecf671 Move inset.html to wpt reftests. 2015-10-16 21:50:50 -04:00
Corey Farwell
e35846eb36 Move inline_padding_a.html to wpt reftests. 2015-10-16 21:50:49 -04:00
Corey Farwell
4f72f82e70 Move inline_border_baseline_a.html to wpt reftests. 2015-10-16 21:50:48 -04:00
Corey Farwell
ca6c655497 Move inline_element_border_a.html to wpt reftests. 2015-10-16 21:50:46 -04:00
Corey Farwell
9673d81618 Move inline_margins_a.html to wpt reftests. 2015-10-16 21:50:45 -04:00
Corey Farwell
990eba8583 Move issue-1324.html to wpt reftests. 2015-10-16 21:50:44 -04:00
Corey Farwell
3b72bb6fce Move letter_spacing_a.html to wpt reftests. 2015-10-16 21:50:43 -04:00
Corey Farwell
8bb3445565 Move jumpiness_a.html to wpt reftests. 2015-10-16 21:50:41 -04:00
Corey Farwell
39efcf7bae Move legacy_td_bgcolor_attribute_a.html to wpt reftests. 2015-10-16 21:50:40 -04:00
Corey Farwell
6ebe6fdebe Move legacy_table_border_attribute_a.html to wpt reftests. 2015-10-16 21:50:39 -04:00
Corey Farwell
b503ffaa8d Move legacy_input_size_attribute_override_a.html to wpt reftests. 2015-10-16 21:50:38 -04:00
Corey Farwell
5b879ae8c0 Move layerization_z_order_a.html to wpt reftests. 2015-10-16 21:50:37 -04:00
Corey Farwell
6580f8f4c7 Move nth_child_pseudo_a.html to wpt reftests. 2015-10-16 21:50:36 -04:00
Corey Farwell
0755f21517 Move word_break_a.html to wpt reftests. 2015-10-16 21:50:34 -04:00
Corey Farwell
f407142656 Move width_nonreplaced_block_simple_a.html to wpt reftests. 2015-10-16 21:50:33 -04:00
Corey Farwell
58fd304169 Move whitespace_pre.html to wpt reftests. 2015-10-16 21:50:32 -04:00
Corey Farwell
7446c95c35 Move whitespace_nowrap_line_breaking_a.html to wpt reftests. 2015-10-16 21:50:31 -04:00
Corey Farwell
8dd2d09a34 Move whitespace_nowrap_a.html to wpt reftests. 2015-10-16 21:50:30 -04:00
Corey Farwell
e6b95571de Move outline_offset_a.html to wpt reftests. 2015-10-16 21:50:29 -04:00
Corey Farwell
9c26694601 Move nth_last_child_pseudo_a.html to wpt reftests. 2015-10-16 21:50:27 -04:00
Corey Farwell
a79407d561 Move only_child_pseudo_a.html to wpt reftests. 2015-10-16 21:50:26 -04:00
Corey Farwell
ed69bc5566 Move ol_simple_a.html to wpt reftests. 2015-10-16 21:50:25 -04:00
Corey Farwell
1f0b6daaa9 Move opacity_stacking_context_a.html to wpt reftests. 2015-10-16 21:50:24 -04:00
Corey Farwell
bdedeb3aa5 Move opacity_simple_a.html to wpt reftests. 2015-10-16 21:50:23 -04:00
Corey Farwell
08c1577d83 Move only_of_type_pseudo_a.html to wpt reftests. 2015-10-16 21:50:22 -04:00
Corey Farwell
248d5a6c52 Move outlines_simple_a.html to wpt reftests. 2015-10-16 21:50:20 -04:00
Corey Farwell
db930f683b Move outlines_wrap_a.html to wpt reftests. 2015-10-16 21:50:19 -04:00
Corey Farwell
bdcb7ec40e Move outset.html to wpt reftests. 2015-10-16 21:50:16 -04:00
Bobby Holley
69255ed169 Bump the expected sizes for Element.
After rebasing, this suddenly became a problem again, even though there's no actual size increase here
(we're shrinking NodeFlags by 1 byte, and adding 1 byte of EventState). Moving the NodeFlags to the end
of Node and the EventState bits to the beginning of Element doesn't seem to helper either.

This is probably a padding issue that's worth investigating at some point, but given the level
of churn in this code it doesn't seem worth it to fuss to much over this right now.
2015-10-16 17:56:33 -07:00
Bobby Holley
ac8d57cda7 Move what is now an |impl Element| block to element.rs.
This is a simple cut/paste.
2015-10-16 17:56:32 -07:00
Bobby Holley
75ec093334 Move Event States to |Element|.
Conceptually they belong there, rather than on |Node|.

Fixes #7934.
2015-10-16 17:56:31 -07:00
Corey Farwell
e649d8834a Move overflow_auto_stacking_order_a.html to wpt reftests. 2015-10-16 20:30:31 -04:00