bors-servo
8b8daa24b8
Auto merge of #5559 - glennw:iframe-focus, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5559 )
<!-- Reviewable:end -->
2015-04-19 18:13:59 -05:00
bors-servo
9c7c289aca
Auto merge of #5731 - mmatyas:canvas_saverestore, r=jdm
...
This patch enables the use of `save()` and `restore()` for the canvas context, which is used by *a lot* of sites and scripts.
Depends on servo/rust-azure#153 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5731 )
<!-- Reviewable:end -->
2015-04-19 17:40:33 -05:00
Glenn Watson
18d465bcd2
Support focus management and keyboard events for iframes.
2015-04-20 07:52:22 +10:00
Mátyás Mustoha
5b8416a2b6
Canvas: implement context state save/restore.
2015-04-19 21:12:13 +02:00
Dhananjay Nakrani
7cdfc76ea9
Change parse_progress() take JSRef by value. [Issue#5738]
2015-04-19 11:24:45 -07:00
bors-servo
f164cc253e
Auto merge of #5742 - marcusklaas:issue-5718, r=jdm
...
This closes issue https://github.com/servo/servo/issues/5718 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5742 )
<!-- Reviewable:end -->
2015-04-19 10:10:57 -05:00
bors-servo
e5ec55f0d8
Auto merge of #5741 - Ms2ger:attr-for-layout, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5741 )
<!-- Reviewable:end -->
2015-04-19 09:37:29 -05:00
Marcus Klaas
c1f25bbfe4
Replace usage of ResponseSenders by LoadConsumer
2015-04-19 13:26:56 +02:00
Ms2ger
0042f78aa7
Use get_attr_for_layout in get_classes_for_layout.
...
This fixes a bug with elements with multiple class attributes. In this case,
the class attribute in the null namespace would only be considered if it was
the first class attribute in the list.
2015-04-18 17:51:03 +02:00
Ms2ger
bdb8657cf6
Use get_attr_for_layout in ghas_class_for_layout.
...
This fixes a panic if this code was ever called on an element with a class
attribute in a non-null namespace. In this case, the attribute would not have
been parsed into a list of tokens, so value_tokens_forever() would have
returned None.
However, this function is, as far as I can tell, never called, because of the
way selectors are evaluated in layout. ('Return the selectors that match this
node' rather than 'return the nodes that match this selector'; the latter
uses only each_class.)
2015-04-18 16:56:54 +02:00
Ms2ger
39e3ace817
Use get_attr_for_layout in get_attr_atom_for_layout.
...
The code is equivalent.
2015-04-18 16:53:05 +02:00
Ms2ger
d67d6bfa3a
Give get_attr_for_layout a more useful signature.
2015-04-18 16:51:57 +02:00
Bogdan Cuza
e0724ec9a9
Make mouse_over_targets a RootedVec
2015-04-18 15:54:25 +03:00
bors-servo
40ee41ca92
Auto merge of #5739 - frewsxcv:style-docs, r=SimonSapin
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5739 )
<!-- Reviewable:end -->
2015-04-18 05:44:50 -05:00
Corey Farwell
9f6d94e107
Add links to the spec for components/style
2015-04-17 21:29:08 -04:00
bors-servo
ca8c0f353c
Auto merge of #5728 - Adenilson:optimDL01, r=metajack
...
This DL is created at paint time, per tile. To dump, pass -Z dump-display-list-optimized at startup.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5728 )
<!-- Reviewable:end -->
2015-04-17 15:33:06 -05:00
bors-servo
d90fe2b088
Auto merge of #5729 - frewsxcv:whatwg-multipage-redirects, r=Manishearth
...
"Links to the multipage version of the specification are unfortunately
likely to break over time."
-- https://html.spec.whatwg.org/multipage/asefij.html
This commit removes all references to the specific pages when viewing
WHATWG using multipage mode. I went through all these links and they
redirect fine.
Regex used to generate this commit:
`s_whatwg.org/multipage/.*#_whatwg.org/multipage/#_g`
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5729 )
<!-- Reviewable:end -->
2015-04-17 08:57:33 -05:00
Marcus Klaas
5bcf2e0a6c
Remove unnecessary clone in Document constructor
2015-04-17 14:43:45 +02:00
Corey Farwell
8b08c6f43f
Don't link to specific WHATWG multipage page
...
"Links to the multipage version of the specification are unfortunately
likely to break over time."
-- https://html.spec.whatwg.org/multipage/asefij.html
This commit removes all references to the specific pages when viewing
WHATWG using multipage mode. I went through all these links and they
redirect fine.
Regex used to generate this commit:
`s_whatwg.org/multipage/.*#_whatwg.org/multipage/#_g`
2015-04-16 22:39:25 -04:00
Adenilson Cavalcanti
ad62ff599a
Allow dumping the optimized display list (DL).
...
This DL is created at paint time, per tile. To dump,
pass -Z dump-display-list-optimized at startup.
2015-04-16 17:10:39 -07:00
bors-servo
4fd4370a96
Auto merge of #5721 - nox:nodeorstring, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5721 )
<!-- Reviewable:end -->
2015-04-16 14:47:32 -05:00
bors-servo
e26219828b
Auto merge of #5717 - Ms2ger:usp, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5717 )
<!-- Reviewable:end -->
2015-04-16 14:15:16 -05:00
bors-servo
653b40d3e5
Auto merge of #5704 - jseaton:jseaton/animation-props, r=pcwalton
...
Contributes towards servo/servo#5494 - includes all properties listed at http://dev.w3.org/csswg/css-transitions/#animatable-css .
Unforunately the most obvious way to support text-shadow meant making a few structures NoCopy.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5704 )
<!-- Reviewable:end -->
2015-04-16 13:42:16 -05:00
Anthony Ramine
45e1b9628e
Finish implementation of ChildNode and ParentNode
2015-04-16 20:31:34 +02:00
bors-servo
e3756f9e3f
Auto merge of #5650 - ienzam:issue/1826, r=jdm
...
Tracking issue #1826 - implemented one of the three methods.
This is follow up of #5402 . Rebased and squashed and made the method iterative.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5650 )
<!-- Reviewable:end -->
2015-04-16 13:07:20 -05:00
Ms2ger
9df501afd9
Fix URLSearchParams formatting.
2015-04-16 19:36:31 +02:00
bors-servo
af2f46bdda
Auto merge of #5610 - jgraham:jgraham/webdriver-get, r=jdm
...
This is incomplete in several ways:
* It assumes that there's only one constellation (i.e. top level browsing context), ever.
* The session support is very basic indeed (no capabilities)
* Passing channels over channels may not sit well with IPC
* The error handling is mostly missing
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5610 )
<!-- Reviewable:end -->
2015-04-16 12:35:25 -05:00
Joseph Seaton
d843526cb8
Animate many more CSS properties
2015-04-16 17:42:57 +01:00
Josh Matthews
d0704d1797
Documentation.
2015-04-16 11:46:42 -04:00
Josh Matthews
7b3043a59b
Warning fixes.
2015-04-16 11:46:42 -04:00
Josh Matthews
1b9684634f
Document async networking interfaces.
2015-04-16 11:46:41 -04:00
Josh Matthews
1ca9ff56c8
Create easy common interface for off-thread network listeners, and remove the CORS-specific reimplementation of async networking.
2015-04-16 11:46:41 -04:00
Josh Matthews
f7ac1f1876
Remove old implementation of XHR's fetch.
2015-04-16 11:46:41 -04:00
Josh Matthews
01e66035ff
Implement sync XHR by creating and spinning on-demand event loops.
2015-04-16 11:46:40 -04:00
Josh Matthews
2ee21ddbe7
Make the fetch method only handle sync XHRs.
2015-04-16 11:46:40 -04:00
Josh Matthews
17a88f1f81
Make timeouts for async XHR post a runnable.
2015-04-16 11:46:40 -04:00
Josh Matthews
5c7be5c9c3
Make async XMLHttpRequest requests use async network events.
2015-04-16 11:46:39 -04:00
Josh Matthews
7517aac9e9
Completely abstract sending responses over channels vs. listeners.
2015-04-16 11:46:39 -04:00
Josh Matthews
1644436557
Start switching net/ to use abstractions over channels to allow introducing non-channel communication in the future.
2015-04-16 11:46:39 -04:00
James Graham
009e2baaf0
Add enough Webdriver support to enable Get().
...
This is incomplete in several ways:
* It assumes that there's only one constellation (i.e. top level browsing context), ever.
* The session support is very basic indeed (no capabilities)
* Passing channels over channels may not sit well with IPC
* The error handling is mostly missing
2015-04-16 16:02:43 +01:00
bors-servo
96b20bc2d3
Auto merge of #5708 - Ms2ger:warnings, r=saneyuki
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5708 )
<!-- Reviewable:end -->
2015-04-16 08:39:41 -05:00
Md. Enzam Hossain
4c5bebeb10
Implement node::LookupPrefix and add test.
...
Tracking issue #1826 .
2015-04-16 11:38:07 +01:00
Ms2ger
9be71b941f
Remove the remaining traces of content tests.
2015-04-16 11:29:58 +02:00
Ms2ger
eed11c1391
Remove an unused import.
2015-04-16 10:02:47 +02:00
bors-servo
f7bfea5879
Auto merge of #5706 - pcwalton:absolute-clipping-of-own-contents, r=glennw
...
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5706 )
<!-- Reviewable:end -->
2015-04-15 21:04:59 -05:00
Patrick Walton
4e847c05fb
gfx: Fix debug dumping of child stacking contexts.
2015-04-15 17:19:28 -07:00
Patrick Walton
14a544b64c
layout: Clip the immediate fragments of block flows that establish
...
stacking contexts properly.
The code that existed before correctly translated the clips of child
elements, but not those of immediate display items belonging to the flow
itself.
Makes Leaflet.js maps usable.
2015-04-15 17:19:27 -07:00
bors-servo
1fd6a48cca
Auto merge of #5546 - Adenilson:blurFilter01, r=pcwalton
...
See discussion on #5190 and #5496 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5546 )
<!-- Reviewable:end -->
2015-04-15 18:56:49 -05:00
Adenilson Cavalcanti
05dd176186
Implementing Blur filter.
2015-04-15 16:15:21 -07:00
Mátyás Mustoha
350b060189
Add specification links to canvas line cap and line join
2015-04-15 17:40:23 +02:00