Commit graph

13738 commits

Author SHA1 Message Date
Corey Farwell
bfbf881ca0 Move float_positioned_pseudo_stacking_context.html to wpt reftests. 2015-10-23 10:27:00 -04:00
Corey Farwell
3147a1e13a Move floated_generated_content_a.html to wpt reftests. 2015-10-23 10:26:59 -04:00
Corey Farwell
af6941bfd0 Move float_overflow_area_a.html to wpt reftests. 2015-10-23 10:26:57 -04:00
Corey Farwell
4f8a84109e Move floated_table_with_margin_a.html to wpt reftests. 2015-10-23 10:26:56 -04:00
Corey Farwell
b687c1c7f9 Move float_under_top_margin_a.html to wpt reftests. 2015-10-23 10:26:55 -04:00
Corey Farwell
3615db8964 Move height_compute_reset.html to wpt reftests. 2015-10-23 10:26:53 -04:00
Corey Farwell
1f8f2872de Move first_of_type_pseudo_a.html to wpt reftests. 2015-10-23 10:26:52 -04:00
Corey Farwell
4efa4677e0 Move float_right_intrinsic_width_a.html to wpt reftests. 2015-10-23 10:26:51 -04:00
Corey Farwell
ddf2ef0da0 Move font_face_attribute.html to wpt reftests. 2015-10-23 10:26:49 -04:00
Corey Farwell
fdfe2084f8 Move font_color_attribute_a.html to wpt reftests. 2015-10-23 10:26:48 -04:00
Corey Farwell
20b38229e7 Move float_intrinsic_width_a.html to wpt reftests. 2015-10-23 10:26:46 -04:00
Corey Farwell
a69b2ebfff Move float_clearance_a.html to wpt reftests. 2015-10-23 10:26:45 -04:00
Corey Farwell
93a6c46fdd Move float_intrinsic_height.html to wpt reftests. 2015-10-23 10:26:44 -04:00
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
Axel Solis Trompler
2cb6972d14 Implement document.createEvent(TouchEvent) 2015-10-23 15:30:26 +02:00
bors-servo
94aa8ca80a Auto merge of #8167 - Ms2ger:util, r=nox
Various cleanup in util.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8167)
<!-- Reviewable:end -->
2015-10-23 07:00:09 -06:00
Paul Rouget
4fd3df8c6d hacking quickstart 2015-10-23 14:37:18 +02:00
bors-servo
28f4dd4f48 Auto merge of #8163 - mbrubeck:glutin-multitouch, r=glennw
Enable multitouch in Glutin.

This tells Glutin's Android and iOS back-ends to send events for more than one
pointer at a time.

r? @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8163)
<!-- Reviewable:end -->
2015-10-23 06:13:28 -06:00
bors-servo
51ab0abb7f Auto merge of #8161 - A-deLuna:fix-#8154, r=jdm
Fixes #8154 Convert match to `if let` in handle_window_event 



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8161)
<!-- Reviewable:end -->
2015-10-23 05:35:33 -06:00
bors-servo
4d737b51bb Auto merge of #8155 - Ms2ger:join, r=jdm
Remove Window::layout_join_port.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8155)
<!-- Reviewable:end -->
2015-10-23 04:50:38 -06:00
bors-servo
44e4f1ee5e Auto merge of #8153 - jdm:wptdoc, r=Ms2ger
Add documentation for writing new tests.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8153)
<!-- Reviewable:end -->
2015-10-23 04:10:56 -06:00
Anthony Ramine
a1b15d36c9 Remove Rc<T> usage from Range
I initially used this to correctly handle ranges when their respective containers
are mutated, to get weak references of Range objects. I now realise that the weak
references should be handled at a lower-level, closer to the JS-managed object.
2015-10-23 11:12:02 +02:00
Ms2ger
4297a44435 Remove a pointless closure from spawn_named. 2015-10-23 10:35:58 +02:00
Ms2ger
cfc80582c8 Associate documentation comments for LogicalPoint's fields with the correct field. 2015-10-23 10:35:35 +02:00
Ms2ger
d20ef3b6d8 Use a where clause for rect_contains_point to bring the line under 100 columns. 2015-10-23 10:35:11 +02:00
Matt Brubeck
11d2bf3137 Enable multitouch in Glutin.
This tells Glutin's Android and iOS back-ends to send events for more than one
pointer at a time.
2015-10-22 15:09:15 -07:00
bors-servo
dcd207f9bf Auto merge of #7204 - mbrubeck:touchevent, r=jdm
Very basic touch events and touch scrolling

This implements just enough of [Touch Events](http://w3c.github.io/touch-events/) to enable scrolling on Android without regressing basic single-touch interaction like clicking on links.

Dragging a page will scroll it, unless the page calls `preventDefault` on the "touchstart" event.

Does **not** yet support pinch zooming or other multi-touch gestures or events.

Includes a `-Z convert-mouse-to-touch` command line flag for testing on non-touch platforms.  This is also enabled by default on Android because Glutin currently translates touch input to mouse events on Android.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7204)
<!-- Reviewable:end -->
2015-10-22 15:54:01 -06:00
Antonio de Luna
69273f2642 Fixes #8154 2015-10-22 12:20:56 -07:00
Matt Brubeck
316802e206 Implement Document.createTouch 2015-10-22 10:49:30 -07:00
Matt Brubeck
817eed22d1 Add a "-Z convert-mouse-to-touch" debug argument.
This is enabled by default on Android, because Glutin currently sends mouse
events instead of touch events on Android.  It's also useful for testing on
non-touch platforms.
2015-10-22 10:37:04 -07:00
Matt Brubeck
fe7460f34d Dispatch touch events and perform default touch actions.
This is currently limited to simple single-touch actions. It does not include
momentum scrolling or pinch zooming.
2015-10-22 10:37:03 -07:00
Matt Brubeck
4ed15a8853 Add bindings for TouchEvent DOM interfaces 2015-10-22 10:35:11 -07:00
bors-servo
e05999ea9f Auto merge of #8150 - Ms2ger:select-layout, r=jdm
Use the select!{} macro in LayoutTask::handle_request.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8150)
<!-- Reviewable:end -->
2015-10-22 11:14:52 -06:00
bors-servo
79f300f038 Auto merge of #8144 - nerith:clippy, r=Manishearth
Add `clippy` as a command to mach

This gives mach the ability to run clippy with `./mach clippy`.

Fixes #8134.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8144)
<!-- Reviewable:end -->
2015-10-22 10:27:02 -06:00
Josh Matthews
29cdab217f Add documentation for writing new tests. 2015-10-22 11:40:59 -04:00
bors-servo
128e12f011 Auto merge of #8133 - Ms2ger:update-tests, r=Ms2ger
Update tests.



<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8133)
<!-- Reviewable:end -->
2015-10-22 09:39:20 -06:00
Ms2ger
92e90e6633 Update web-platform-tests to revision 4b25d322ac6ed466f992669e5408b15d37d56436 2015-10-22 16:41:47 +02:00
bors-servo
0d4641b640 Auto merge of #8121 - paulrouget:disableControls, r=jdm
make it possible to disable default keybindings

For browser.html, we want to let the top level webpage handle these keybindings.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8121)
<!-- Reviewable:end -->
2015-10-22 08:38:01 -06:00
Ms2ger
1608450e4e Remove Window::layout_join_port.
It is only used in Window::force_reflow.
2015-10-22 16:12:59 +02:00