bors-servo
0ec96ac02a
Auto merge of #10277 - perlun:rename-tcomputedvalues-to-computedvalues, r=SimonSapin
...
Renamed TComputedValues to ComputedValues
This is a followup to #10210 , and a continuation of #10185 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10277 )
<!-- Reviewable:end -->
2016-03-30 11:04:57 +05:30
bors-servo
f6d60a716c
Auto merge of #10269 - jdm:cefwarn, r=Ms2ger
...
Fix some warnings
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10269 )
<!-- Reviewable:end -->
2016-03-30 08:44:37 +05:30
bors-servo
44b2ba2547
Auto merge of #10255 - mbrubeck:box-unscanned, r=pcwalton
...
Reduce size of layout::fragment::Fragment struct
This reduces the size of the SpecificFragmentInfo enum from 48 to 24.
r? @pcwalton
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10255 )
<!-- Reviewable:end -->
2016-03-30 07:49:25 +05:30
bors-servo
80d903a897
Auto merge of #10019 - rebstar6:htmllabelclick, r=jdm
...
Fix htmllabelelement click to activate correct element
Address https://github.com/servo/servo/issues/9928
Pass on label click to the label element's labeled control
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10019 )
<!-- Reviewable:end -->
2016-03-30 05:41:00 +05:30
Rebecca
e813f4a85a
Add test for HtmlLabelElement clicks
2016-03-29 18:49:56 -04:00
Rebecca
3c7e6a4be8
Fix HtmlLabelElement activation to run on correct element
...
Also removes old code that caused radio button clicks on disabled elements
2016-03-29 18:48:07 -04:00
Michael Howell
61c7ee917e
Compute content box for children with box-sizing: border-box correctly.
...
Fixes #10258
2016-03-29 14:37:54 -07:00
Michael Howell
38f683fcbc
Add test case for #10258
2016-03-29 14:37:53 -07:00
bors-servo
210a243137
Auto merge of #8496 - notriddle:master, r=jdm
...
Fix #8443
When there are viewport constraints, use the new window size to compute the viewport instead of the old one.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8496 )
<!-- Reviewable:end -->
2016-03-30 03:03:05 +05:30
Per Lundberg
4cb4cc93e4
Renamed TComputedValues to ComputedValues
...
This is a followup to #10210 , and a continuation of #10185 .
2016-03-29 23:30:13 +03:00
Emilio Cobos Álvarez
5756463fa1
Update struct bindings to take layout into account
...
This takes alignment into account on non-translatable types, so the only
failing tests now are:
```
bindgen_test_layout_StyleAnimation
bindgen_test_layout_nsStyleSVG
```
This includes:
36f18c9603
2016-03-29 21:27:39 +02:00
Michael Howell
ef571ef507
Add @SimonSapin's test case for #8443
2016-03-29 10:20:56 -07:00
bors-servo
e19d9c4596
Auto merge of #10265 - Ms2ger:reftest, r=jdm
...
Remove dead code that used to support the legacy reftest framework.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10265 )
<!-- Reviewable:end -->
2016-03-29 21:52:48 +05:30
Michael Howell
0a82d68f3e
Use the new device viewport size for constaints.
...
Fixes #8443
2016-03-29 09:11:12 -07:00
Matt Brubeck
33b9aa49db
Update path in script_tests::size_of error messages
2016-03-29 08:41:12 -07:00
Matt Brubeck
f0f0265139
Unbox IframeFragmentInfo.
2016-03-29 08:40:13 -07:00
Matt Brubeck
31261f045e
Put UnscannedTextFragmentInfo in a Box
...
This reduces the size of the SpecificFragmentInfo enum from 48 to 24.
2016-03-29 08:40:05 -07:00
Matt Brubeck
14e945f09a
Add a unit test for Fragment size
2016-03-29 08:37:58 -07:00
Alan Jeffrey
620ba84fdc
Replace any uses of .send(...).unwrap() by .send(...).unwrap_or_else(...).
2016-03-29 10:31:35 -05:00
bors-servo
df808bed20
Auto merge of #10267 - Ms2ger:canvas-channels, r=jdm
...
Simplify channel usage in canvas paint threads.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10267 )
<!-- Reviewable:end -->
2016-03-29 20:07:54 +05:30
Josh Matthews
aa8373b113
Update rust-mozjs to silence warnings.
2016-03-29 10:04:30 -04:00
Josh Matthews
03e3cb24b9
Remove CEF warnings about unused features and snake case names.
2016-03-29 10:03:10 -04:00
Ms2ger
aeab05cd6e
Stop reference-counting Runtime for workers.
2016-03-29 15:52:49 +02:00
Ms2ger
d21cf30c2c
Simplify channel usage in canvas paint threads.
2016-03-29 15:35:46 +02:00
bors-servo
639fdd6b12
Auto merge of #10210 - perlun:rename-computedvalues-to-servocomputedvalues, r=SimonSapin
...
ComputedValues is now ServoComputedValues
This is the first part of #10185 . More to follow. I have built this locally with both servo and geckolib without errors; let's see if it succeeds on all platforms as well.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10210 )
<!-- Reviewable:end -->
2016-03-29 18:25:40 +05:30
bors-servo
c4e112a3be
Auto merge of #10247 - eddyb:document-base-url, r=Ms2ger
...
Use <base> in resolving url attributes (like "href").
Second take of #6303 , now that the `base_url` infrastructure is in place.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10247 )
<!-- Reviewable:end -->
2016-03-29 17:11:12 +05:30
Eduard Burtescu
1060c42225
Use <base> in resolving url attributes (like "href").
2016-03-29 13:44:38 +03:00
bors-servo
3f73321710
Auto merge of #10248 - pcwalton:float-speculation-with-negative-margins, r=mbrubeck
...
layout: Only take nonnegative margins into account when estimating inline placement of floats.
Otherwise, the heuristics can pass even when there are no floats,
causing block formatting contexts to be speculated to be flowing around
floats that don't exist!
Closes #10237 .
r? @mbrubeck
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10248 )
<!-- Reviewable:end -->
2016-03-29 16:04:01 +05:30
Ms2ger
a5ccebff5a
Remove dead code that used to support the legacy reftest framework.
2016-03-29 11:28:45 +02:00
bors-servo
159be44193
Auto merge of #10246 - mbrubeck:strip-leading, r=pcwalton
...
Restore stripped whitespace before reflowing text fragments
Fixes #10200 . r? @pcwalton
Note: The reftest uses a transition of non-zero duration, because I couldn't find any other way to reproduce the bug. Unfortunately this makes it unreliable in debug builds. I tried to fix this using reftest-wait with setTimeout and requestAnimationFrame, but it still wouldn't complete the animation consistently. To make the test work in debug builds we may need `transitionend` events (#10245 ) or a different way to reproduce the bug.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10246 )
<!-- Reviewable:end -->
2016-03-29 14:30:40 +05:30
bors-servo
df73a18a61
Auto merge of #10208 - jrasanen:jr/issue10196, r=SimonSapin
...
Generate html and json of supported css properties.
Fixes #10196 . Outputs html and json of supported css properties to `target/doc/` directory when deploying github-pages.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10208 )
<!-- Reviewable:end -->
2016-03-29 13:34:08 +05:30
bors-servo
aac2da75f4
Auto merge of #8641 - notriddle:no_headless, r=glennw
...
No more headless compositor. Just the normal one.
Fixes #8573
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641 )
<!-- Reviewable:end -->
2016-03-29 12:42:01 +05:30
bors-servo
ddc57fe641
Auto merge of #10253 - eddyb:ipc-update, r=pcwalton
...
Update ipc-channel to fix leaks and spurious ENOBUFS.
Supersedes #10241 (fixes #10029 ).
Also fixes #9555 (hopefully for good).
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10253 )
<!-- Reviewable:end -->
2016-03-29 11:38:13 +05:30
bors-servo
074c7e8aa0
Auto merge of #10240 - servo:websocket, r=jdm
...
Bump websocket to 0.16.1
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10240 )
<!-- Reviewable:end -->
2016-03-29 09:55:17 +05:30
Josh Matthews
97f25456ef
Fix HTTP unit test warnings.
2016-03-28 23:16:12 -04:00
Josh Matthews
55bc3fdccb
Always use backtraces on appveyor.
2016-03-28 23:16:11 -04:00
Josh Matthews
04df5decee
Avoid testing impossible file paths on Windows.
2016-03-28 23:16:10 -04:00
Josh Matthews
e4cda55249
Run unit tests on Windows CI.
2016-03-28 23:16:07 -04:00
Josh Matthews
50a7a34294
Make cookie comparator test pass on Windows.
2016-03-28 23:16:05 -04:00
Eduard Burtescu
a2eecaae82
Update ipc-channel to fix leaks and spurious ENOBUFS.
2016-03-29 03:59:05 +03:00
Patrick Walton
6eb58e2c54
layout: Only take nonnegative margins into account when estimating
...
inline placement of floats.
Otherwise, the heuristics can pass even when there are no floats,
causing block formatting contexts to be speculated to be flowing around
floats that don't exist!
Closes #10237 .
2016-03-28 17:37:57 -07:00
Matt Brubeck
99885b1950
Restore stripped whitespace before reflowing text fragments
...
Fixes #10200 .
2016-03-28 14:04:35 -07:00
bors-servo
cf4fa0a9f4
Auto merge of #10231 - paulrouget:selectionColor, r=mbrubeck
...
Make selection blue instead of orange
PR https://github.com/servo/servo/pull/10176 add a background color for selected text. It uses a builtin color until `::selection` is supported. ~~Orange makes sense for Linux. Let's make it blue for windows and mac.~~ See https://github.com/servo/servo/pull/10231#issuecomment-202335065
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10231 )
<!-- Reviewable:end -->
2016-03-28 23:23:25 +05:30
Anthony Ramine
e29beb10a8
Bump websocket to 0.16.1
2016-03-28 19:45:20 +02:00
bors-servo
db95de6e58
Auto merge of #10182 - mbrubeck:delete_char, r=jdm
...
Fix delete_char when selection range is empty
An empty selection range should be treated the same as no selection. Fixes browserhtml/browserhtml#930 .
r? @jdm
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10182 )
<!-- Reviewable:end -->
2016-03-28 20:43:11 +05:30
Jussi Räsänen
6de7228945
Fixed a typo
2016-03-28 17:42:31 +03:00
Jussi Räsänen
5098ad7d93
Changed mach test to use generated json file of properties
2016-03-28 17:19:04 +03:00
bors-servo
37799a4025
Auto merge of #10068 - paulrouget:disableXOriginCheck, r=jdm
...
Disable cross origin check for mozbrowser-enabled top level pipelines
Closes https://github.com/servo/servo/issues/9582
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10068 )
<!-- Reviewable:end -->
2016-03-28 19:48:53 +05:30
Jussi Räsänen
8e2af4cf05
Fixed script to output the JSON and create doc directory.
2016-03-28 16:32:14 +03:00
Jussi Räsänen
dbb5d11dd3
HTML generation with Mako instead of JS
2016-03-28 16:32:14 +03:00