bors-servo
a8c62f0f28
Auto merge of #7310 - OneKorg:bug-7309, r=SimonSapin
...
Mention max length in tidy check_length. Fixes #7309
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7310 )
<!-- Reviewable:end -->
2015-08-21 13:01:05 -06:00
OneKorg
07cde59535
Mention max length in tidy check_length. Fixes #7309
2015-08-21 11:26:13 -07:00
bors-servo
9277c33b63
Auto merge of #7307 - servo:update-css, r=Ms2ger
...
Update CSS tests to revision d674587d6ae7d2e231d632785559f2613d554eb0
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7307 )
<!-- Reviewable:end -->
2015-08-21 10:51:48 -06:00
Ms2ger
f235d49372
Update CSS tests to revision d674587d6ae7d2e231d632785559f2613d554eb0
2015-08-21 18:40:37 +02:00
bors-servo
3a48e04caf
Auto merge of #7305 - frewsxcv:python-context-managers, r=Ms2ger
...
Utilize Python context managers for opening/closing files
In some of these cases, files were not being closed
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7305 )
<!-- Reviewable:end -->
2015-08-21 09:30:06 -06:00
Corey Farwell
2ab43bea5d
Utilize Python context managers for opening/closing files
...
In some of these cases, files were not being closed
2015-08-21 11:15:17 -04:00
bors-servo
7c45ff8e05
Auto merge of #7299 - frewsxcv:cleanup-htmlcollection-iteration, r=Ms2ger
...
Cleanup Element iteration in dom/htmlcollection.rs
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7299 )
<!-- Reviewable:end -->
2015-08-21 04:43:57 -06:00
Corey Farwell
03f257697d
Cleanup Element iteration in dom/htmlcollection.rs
2015-08-20 16:43:45 -04:00
David Zbarsky
b77698a649
Don't try to unwrap the result of requestAnimationFrame callback
2015-08-20 13:27:11 -04:00
bors-servo
c84b25cc99
Auto merge of #7297 - frewsxcv:avoid-disable-root-lint, r=Manishearth
...
Work around uses of #[allow(unrooted_must_root)]
Using this directive could cause rooting errors to be silently ignored,
so we should avoid it as much as possible
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7297 )
<!-- Reviewable:end -->
2015-08-20 11:19:21 -06:00
Corey Farwell
e2c700e6ad
Work around uses of #[allow(unrooted_must_root)]
...
Using this directive could cause rooting errors to be silently ignored,
so we should avoid it as much as possible
2015-08-20 13:18:05 -04:00
bors-servo
d2a8c278ea
Auto merge of #7254 - frewsxcv:own-property-keys, r=Ms2ger
...
Initial implementation of ownPropertyKeys proxy handler
Generates `SupportedPropertyNames` on DOM structs that should implement
it. Most of them are unimplemented now (which can be implemented in
later PRs), with the exception of `HTMLCollection`. Also added a couple
relevant WPT tests.
Closes #6390
Closes #2215
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7254 )
<!-- Reviewable:end -->
2015-08-20 10:00:44 -06:00
Corey Farwell
b11be4d253
Initial implementation of ownPropertyKeys proxy handler
...
Generates `SupportedPropertyNames` on DOM structs that should implement
it. Most of them are unimplemented now (which can be implemented in
later PRs), with the exception of `HTMLCollection`. Also added a couple
relevant WPT tests.
Closes #6390
Closes #2215
2015-08-20 11:58:42 -04:00
Simon Sapin
649250130b
Replace FlowRef with Arc<Flow>, now that Arc supports DST.
...
… and WeakFlowRef with Weak<Flow>.
2015-08-20 16:49:48 +02:00
bors-servo
5bab439ab6
Auto merge of #7049 - servo:cargoup, r=SimonSapin
...
Upgrade cargo to 0.5.0-nightly (657e363 2015-08-19)
Pick up https://github.com/rust-lang/cargo/pull/1830
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7049 )
<!-- Reviewable:end -->
2015-08-20 08:46:04 -06:00
Simon Sapin
2d22aa8e7e
Replace the unsound impl DerefMut for FlowRef
with an unsafe function.
...
See #6503 .
2015-08-20 16:24:26 +02:00
bors-servo
0466766b2c
Auto merge of #7238 - Wafflespeanut:workerglobal, r=Ms2ger
...
Improved field names for devtools-related channels...
(for #6924 ) - I took this because the confusion was actually caused by me while working on #6829
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7238 )
<!-- Reviewable:end -->
2015-08-20 08:17:30 -06:00
Simon Sapin
3870b81b07
Upgrade to cargo 0.5.0-nightly (657e363 2015-08-19)
...
Pick up https://github.com/rust-lang/cargo/pull/1908
2015-08-20 16:08:42 +02:00
Ravi Shankar
46195f29df
Improved field names for devtools-related channels; r=Ms2ger
2015-08-20 19:38:23 +05:30
bors-servo
a5fbb2f2a6
Auto merge of #7265 - tafia:tidy-use, r=Ms2ger
...
Add alphabetical order check for use statements
close #7112
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7265 )
<!-- Reviewable:end -->
2015-08-20 07:43:56 -06:00
bors-servo
c98c1651a3
Auto merge of #7289 - tgkokk:perspective-transform-origin-combine, r=dzbarsky
...
Combine transform-origin, perspective-origin code
First PR, please tell me if anything is wrong/could use improvement.
Fixes #7194 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7289 )
<!-- Reviewable:end -->
2015-08-20 07:10:14 -06:00
Johann Tuffe
009f6f63ad
check for uses to be sorted
2015-08-20 20:47:25 +08:00
Johann Tuffe
ec07178b6f
sort all uses
2015-08-20 20:47:12 +08:00
bors-servo
39b7508aa2
Auto merge of #7251 - nox:text-transform-length-change, r=SimonSapin
...
Correctly handle length-changing mappings in text-transform
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7251 )
<!-- Reviewable:end -->
2015-08-20 06:40:33 -06:00
bors-servo
d3c7e31722
Auto merge of #7271 - Ms2ger:xhret, r=nox
...
Remove the unused XMLHttpRequestEventTarget::eventtarget method.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7271 )
<!-- Reviewable:end -->
2015-08-20 06:01:39 -06:00
bors-servo
8f05447a7b
Auto merge of #7294 - servo:tick-animations-with-no-layout-root, r=glennw+Ms2ger
...
layout: Don't panic if `requestAnimationFrame()` is called before first layout.
Closes #7115 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7294 )
<!-- Reviewable:end -->
2015-08-20 05:17:47 -06:00
Patrick Walton
a516042edb
layout: Don't panic if requestAnimationFrame()
is called before first layout.
...
Closes #7115 .
2015-08-20 13:17:07 +02:00
bors-servo
14b921ee29
Auto merge of #7285 - frewsxcv:bump-mozjs, r=Ms2ger
...
Bump js (rust-mozjs) to the latest commit
I need the constants added in
https://github.com/servo/rust-mozjs/pull/191 for
https://github.com/servo/servo/pull/7254
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7285 )
<!-- Reviewable:end -->
2015-08-20 02:52:40 -06:00
Theodore Kokkoris
f4178cd115
Combine transform-origin, perspective-origin code
...
Fix #7194 .
2015-08-20 09:24:29 +03:00
bors-servo
c328b76459
Auto merge of #7292 - pcwalton:layer-sorting, r=glennw
...
gfx: Sort layers according to their Z-index value before handing them off to the compositor.
Closes #7166 .
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7292 )
<!-- Reviewable:end -->
2015-08-19 18:34:58 -06:00
Patrick Walton
277cbf407e
gfx: Sort layers according to their Z-index value before handing them
...
off to the compositor.
Closes #7166 .
2015-08-19 16:30:44 -07:00
bors-servo
ac4ca05337
Auto merge of #7287 - pcwalton:iframe-stacking-context, r=glennw
...
layout: Put iframes that form stacking contexts in the right place.
Improves eBay.
Closes #7282 .
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7287 )
<!-- Reviewable:end -->
2015-08-19 13:33:08 -06:00
Patrick Walton
4df4d1a1a9
layout: Put iframes that form stacking contexts in the right place.
...
Improves eBay.
Closes #7282 .
2015-08-19 12:08:36 -07:00
Greg Guthe
8b4b9ed99b
Add tidy check for unused reftest html files
...
Refs: https://github.com/servo/servo/issues/7078
2015-08-19 14:16:35 -04:00
bors-servo
5c284a546a
Auto merge of #7280 - pcwalton:style-specified-img-intrinsic-width, r=mbrubeck
...
layout: Take the style-specified width into account when computing the intrinsic inline sizes of images.
Improves Facebook Timeline.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7280 )
<!-- Reviewable:end -->
2015-08-19 11:39:33 -06:00
Corey Farwell
911794715d
Bump js (rust-mozjs) to the latest commit
...
I need the constants added in
https://github.com/servo/rust-mozjs/pull/191 for
https://github.com/servo/servo/pull/7254
2015-08-19 12:52:40 -04:00
bors-servo
1fd5418f43
Auto merge of #7283 - Ms2ger:create_shareable, r=larsbergstrom
...
Cleanup ActorRegistry::create_shareable.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7283 )
<!-- Reviewable:end -->
2015-08-19 07:30:57 -06:00
Ms2ger
f62fbbaed8
Cleanup ActorRegistry::create_shareable.
2015-08-19 14:26:19 +02:00
bors-servo
0234bbe444
Auto merge of #7279 - pcwalton:tile-image-divide-by-zero, r=mbrubeck
...
layout: Avoid a division by zero in `tile_image()`.
Fixes a crash on Facebook Timeline.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7279 )
<!-- Reviewable:end -->
2015-08-19 04:41:54 -06:00
Anthony Ramine
bb3d3db333
Correctly handle length-changing mappings in text-transform
2015-08-19 12:05:31 +02:00
bors-servo
195d267e23
Auto merge of #7276 - pcwalton:inline-absolute-hypothetical-clip, r=mbrubeck
...
layout: Make inline absolute hypothetical boxes not clip their contents.
Improves the logo on ebay.com.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7276 )
<!-- Reviewable:end -->
2015-08-19 03:54:10 -06:00
bors-servo
30a1339ed1
Auto merge of #7274 - pcwalton:table-minimum-width, r=mbrubeck
...
layout: Make table cells' minimum inline sizes override explicitly specified widths if the latter are too small.
Improves ebay.com.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7274 )
<!-- Reviewable:end -->
2015-08-19 03:20:37 -06:00
bors-servo
15b09fc0af
Auto merge of #7272 - wilmoz:EventType, r=Ms2ger
...
Make EventTypeId reflect DOM inheritance hierarchy
https://github.com/servo/servo/issues/7205#issuecomment-132285499
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7272 )
<!-- Reviewable:end -->
2015-08-19 02:47:22 -06:00
bors-servo
118838aa01
Auto merge of #7264 - servo:ref, r=nox
...
Add missing tests to basic.list (fixes #7077 ).
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7264 )
<!-- Reviewable:end -->
2015-08-19 02:14:06 -06:00
bors-servo
70b9922eb0
Auto merge of #7260 - notriddle:issue_7169, r=Ms2ger
...
Navigate to a new page even when there's a fragment.
Closes #7169
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7260 )
<!-- Reviewable:end -->
2015-08-19 01:40:28 -06:00
Patrick Walton
66473625db
layout: Take the style-specified width into account when computing the
...
intrinsic inline sizes of images.
Improves Facebook Timeline.
2015-08-18 18:46:07 -07:00
Patrick Walton
02b15e016d
layout: Avoid a division by zero in tile_image()
.
...
Fixes a crash on Facebook Timeline.
2015-08-18 18:44:50 -07:00
Michael Howell
af31e8ed0f
Navigate to a new page even when there's a fragment.
...
Closes #7169
2015-08-18 17:35:09 -07:00
Patrick Walton
c328c38804
layout: Make inline absolute hypothetical boxes not clip their contents.
...
Improves the logo on ebay.com.
2015-08-18 16:58:18 -07:00
Patrick Walton
9d41841964
layout: Make table cells' minimum inline sizes override explicitly
...
specified widths if the latter are too small.
Improves ebay.com.
2015-08-18 14:38:49 -07:00