Commit graph

6360 commits

Author SHA1 Message Date
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
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
KALPESH KRISHNA
3971b8ce27 Implementing getAttributeNode() and similar methods. 2015-10-19 16:14:43 +05:30
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
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
Till Schneidereit
4c1c05fac6 Improve implementation of DOMRect and implement DOMRectReadOnly
Passes most tests from test-css.
2015-10-17 22:47:01 +02: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
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
Corey Farwell
e649d8834a Move overflow_auto_stacking_order_a.html to wpt reftests. 2015-10-16 20:30:31 -04:00
Corey Farwell
0847a8827e Move overflow_position_abs_inline_block.html to wpt reftests. 2015-10-16 20:30:31 -04:00
Corey Farwell
60f9e64ab6 Move overflow_position_abs_simple_a.html to wpt reftests. 2015-10-16 20:30:31 -04:00
Corey Farwell
4c9979185c Move overflow_position_rel_inline_block.html to wpt reftests. 2015-10-16 20:30:31 -04:00
Corey Farwell
c1228125a7 Move overflow_wrap_a.html to wpt reftests. 2015-10-16 20:30:31 -04:00
Corey Farwell
15fdd4d086 Move overflow_xy_a.html to wpt reftests. 2015-10-16 20:30:31 -04:00
Corey Farwell
850024696a Move per_glyph_font_fallback_a.html to wpt reftests. 2015-10-16 20:30:31 -04:00
Corey Farwell
6a95d4ede7 Move percent_height.html to wpt reftests. 2015-10-16 20:30:31 -04:00
Corey Farwell
be06819f55 Move percentage_width_inline_block_a.html to wpt reftests. 2015-10-16 20:30:31 -04:00
Corey Farwell
7c58549809 Move percentage_height_float_a.html to wpt reftests. 2015-10-16 20:30:31 -04:00
Corey Farwell
a8c3c8c3c0 Move percentage_height_root.html to wpt reftests. 2015-10-16 20:30:31 -04:00
Corey Farwell
0fd27e927f Move png_rgba_colorspace_a.html to wpt reftests. 2015-10-16 20:30:31 -04:00
Corey Farwell
7c094df6cf Move position_abs_cb_with_non_cb_kid_a.html to wpt reftests. 2015-10-16 20:30:31 -04:00