Commit Graph

9584 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
a0dcb2d5b7 servo: Merge #17628 - Return no damage if there is no display property changes (from hiikezoe:restyle-damage); r=heycam
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1374175

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: ba2a6c17270f6d4b5bffef6c1a745f0817006289

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c903efaa497818403d321d86afeb32da6a791554
2017-07-06 17:20:38 -07:00
Xidorn Quan
220e6d47b6 servo: Merge #17430 - Store font-weight as integer directly (from upsuper:font-weight-int); r=nox
It doesn't make much sense to store `font-weight` as separate enums, especially given that we would need to support (somehow) arbitrary font weight value when we implement CSS Fonts Level 4.

This PR refactors the `font-weight` a bit to make it store as `u16` directly.

Source-Repo: https://github.com/servo/servo
Source-Revision: f11a922760a08ffb956607d9ab447f8f2a319a25

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2c8f317216c5c66b2ced1f308efe14ff61fb3add
2017-07-06 16:18:36 -07:00
Wes Kocher
3d5f9194a2 Backed out changeset fec394734f83 (bug 17624) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: 2UtyHapbBm8
2017-07-06 14:57:36 -07:00
Josh Matthews
92d672a66c servo: Merge #17624 - Hook up Stylo error reporter to Firefox devtools (from jdm:stylo-error-reporter); r=emilio
Reviewed by @emilio in https://bugzilla.mozilla.org/show_bug.cgi?id=1352669.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 585468da9a2d7a33f41a8bebe858006305c1fce9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ba88b6479a6f84a44ca584a5fbf8265d1bdb91fe
2017-07-06 11:44:47 -07:00
Pyfisch
97c9d22257 servo: Merge #17578 - Implement the InputEvent (from pyfisch:input-event); r=jdm
Add WebIDL, from UI Events working draft.
Implement script type for event.

Note that actually firing InputEvents is not part of this commit.

<!-- Please describe your changes on the following line: -->
As part of my effort to improve [keyboard handling](https://groups.google.com/forum/#!topic/mozilla.dev.servo/e6R7eBDjo4M) it is necessary to introduce the InputEvent. While I have a working prototype using the input event this still needs a lot of work  before it can be merged into servo.

cc @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: f18782fb0e10e150f44719d9899a62b84ecb7adc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4da4bcf2ccaeeaf32c4912c2c5e4418def105068
2017-07-06 10:55:41 -07:00
Fernando Jiménez Moreno
e78edcc736 servo: Merge #17536 - Add cli options to write profiler output to InfluxDB (from ferjm:influxdb.profiler); r=jdm
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

This patch adds the command line options and associated code to write the output of running the profiler to an InfluxDB instance, so we can create graphs like [1] with Grafana.

This is part of the work required to record and watch PWM results during CI to catch performance regressions.

[1] https://screenshots.firefox.com/j6sSZrN7pTuPK2kX/localhost

Source-Repo: https://github.com/servo/servo
Source-Revision: 901525c9116ee0945781811c97fd3395db7c5cf9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 85f6a2600bc0911bfc0167fab230c7c45ddfbe59
2017-07-06 08:27:55 -07:00
Imanol Fernandez
c4a8ed197a servo: Merge #17608 - WebVR 1.1 spec compatibility (from MortimerGoro:webvr_11); r=jdm
<!-- Please describe your changes on the following line: -->

Servo WebVR implementation started when WebVR spec 1.2 was about to be released. 1.2 API included some minor breaking changes from spec 1.1 in order to improve the support of the API in WebWorkers.

But eventually the WebVR  committee decided not to release 1.2 and make it a major version number with a lot more changes. WebVR API 2.0 is still under heavy churn.

This PR removes the WebVR changes that non-released 1.2 version introduced to support full WebVR 1.1 spec.

I pushed some GC fixes in a separate commit. See https://github.com/servo/servo/issues/17076 and https://github.com/servo/rust-mozjs/issues/351

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: ddd3a15b50213931ad7c90312112275ae958d4a0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 14a624d4b94d52fbea42e8eec2cc239cc7b3d271
2017-07-06 07:25:57 -07:00
Omar Akkila
b9f8728410 servo: Merge #17620 - Clean up Area::parse (#15834) (from omakk:master); r=nox
Replace mutable reference to array with direct use

Remove unnecessary clone

Replace call to unwrap()

<!-- Please describe your changes on the following line: -->
This PR refactors `Area::parse` in `component/script/dom/htmlareaelement.rs`

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #15834  (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's good enough that it compiles

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 4a66001d2fe61bcbbf095ca6b8a275add3d01175

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cd9f9ca4149cd2278079a5475ead3d3ede91bcb0
2017-07-06 04:37:00 -07:00
Mantaroh Yoshinaga
41d6729a76 servo: Merge #17617 - Handling of invalid values in svg paint server (from mantaroh:svg-paint-server); r=hiro,manishearth
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1374161

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Either: -->
There are tests for these changes, a test case will be landed in reftests in https://bugzilla.mozilla.org/show_bug.cgi?id=1374161.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 7323c7745c1cc43f73c8ff2760e9e6adf23c138e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d0a0806db2e466951903abfd81e523be6ff87ffc
2017-07-05 21:49:27 -07:00
Nazım Can Altınova
28e3e60ad6 servo: Merge #17616 - stylo: Add auto-filled line names to mRepeatAutoLineNameListBefore array (from canaltinova:subgrid-autofill); r=wafflespeanut
Line names with `repeat(auto-fill, ...)` were not being added to mRepeatAutoLineNameListBefore. They were being added into mLineNameLists instead.
Basically, `subgrid repeat(auto-fill, [abc]) [y z]` was becoming  `subgrid repeat(auto-fill, []) [abc] [y z]` in computed value.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 9bb3728eb97271062d0259a91f7faf729df677cd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2c74cc68c017611d92dd5f6a64330d36d98d4960
2017-07-05 20:34:57 -07:00
Bobby Holley
df77fb2e20 servo: Merge #17615 - Rip out the generic abstractions around ThreadLocalStyleContext (from bholley:simplify_local_context); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1378540

Source-Repo: https://github.com/servo/servo
Source-Revision: 8923a9e5f0cc292062f852babe878326aff656ef

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fd5436ab04b074ecab59f7341e77590975f62656
2017-07-05 19:29:01 -07:00
Bobby Holley
eae1f22183 servo: Merge #17612 - Make the style statistics dump threshold configurable (from bholley:custom_threshold); r=emilio
I've wanted to change the threshold a couple of times, and adding in a
10-minute opt rebuild cycle is always a bit de-motivating.

I'm making this option gecko-only because it's pretty niche, and adding
support in servo would require threading it through all the options
stuff. We can add support for it there if we ever need it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 340d350894584a413815fb2c62c88a9bde4e1dc5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4b784661d58cd4585916c0fe64ee05edaef25fe5
2017-07-05 18:37:04 -07:00
Jonathan Chan
0b9d67e054 servo: Merge #17556 - layout: Clean up inline_metrics_of_block a little (from jyc:inline-metrics-of-block); r=emilio
Previously the variable names were a little confusing (ascent was used
for the space_above_baseline in one branch and the and ascent field in
another branch, and was not really the ascent in one). Also add a
small diagram.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they just refactor existing code

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 03450ee8e17a8e5c206f60c93cf035c7522f70b0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b8089f61bb8082b6c3080b87f94034836c7757fe
2017-07-05 17:35:49 -07:00
Brian Birtles
fde008d081 servo: Merge #17613 - Handle zero length lists when interpolating (from birtles:zero-length-lists); r=hiro
These are the Servo side changes for [Gecko bug 1377053](https://bugzilla.mozilla.org/show_bug.cgi?id=1377053).

These patches have been reviewed by @hiikezoe.

Source-Repo: https://github.com/servo/servo
Source-Revision: dd11ee1257f9260e7d44fa29098e25ba5eac25a0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 162c23f00e3e0dfa267e7af37a47b36afd42e938
2017-07-05 16:47:36 -07:00
Nazım Can Altınova
267f0271f1 servo: Merge #17587 - Fix color stop sorting in -webkit-gradient (from canaltinova:webkit-gradient); r=nox
This was causing a reftest failure in gecko side(layout/reftests/webkit-gradient/webkit-gradient-linear-2.html). Basically, it was sorting exactly opposite if two color stops have the same percentage.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 4f0f2fb13eb1e3ce8bf0c5be9749f830545f0bb5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e5f08ee9fd0840413707ac1468f5b63b929630b0
2017-07-05 15:46:01 -07:00
Anthony Ramine
6267b55c93 servo: Merge #17603 - Clean up vector_longhand a bit (from servo:derive-all-the-things); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 296a215e5404eb0fd0c0a34cc1283cd0b84aaea9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5f376680d41ffea16e7961553e867c9bda766a15
2017-07-05 07:33:13 -07:00
Simon Sapin
b72787cee2 servo: Merge #17605 - Replace remaining usage of deprecated Range::step_by (from servo:maybereverse); r=nox
… which is being removed in rust-lang/rust#43012

Source-Repo: https://github.com/servo/servo
Source-Revision: 5baea7b73223283b551cf378bb714491a2383c28

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bf5a743b537b8b238e83e8c84c69ce98e15ec410
2017-07-05 06:08:29 -07:00
Daisuke Akatsuka
813e863567 servo: Merge #17544 - Support discrete animations for more Gecko things (from dadaa:bug1371115); r=<try>
<!-- Please describe your changes on the following line: -->
This PR fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1371115

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [X] There are tests for these changes. Add some tests into dom/animation/test/ of m-c in patch 14. Also, remove test fail annotation from meta in wpt as patch 15.

Source-Repo: https://github.com/servo/servo
Source-Revision: 42e551f60614da58f47fd29cb095cd72733e38b8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8acead695cf4f6294e4f84be90cca616a555a0e0
2017-07-04 22:16:46 -07:00
Bobby Holley
cdffee1b35 servo: Merge #17602 - Use GC machinery rather than recursion for post-rule-tree-teardown node dropping (from bholley:rule_tree_custom_gc); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1378005

Source-Repo: https://github.com/servo/servo
Source-Revision: 006037f79839b94ae6a2db01919976c47d1589b5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0c1dee776d1e6fea458bc381653af9aac8fc392d
2017-07-04 13:44:52 -07:00
Fernando Jiménez Moreno
cc0418b831 servo: Merge #17601 - stylo: Implement ServoStyleRule::SelectorMatchesElement (from ferjm:bug1370502.selector.matches.element); r=emilio
from https://bugzilla.mozilla.org/show_bug.cgi?id=1370502

Source-Repo: https://github.com/servo/servo
Source-Revision: c44b5993ebc9a24241ac443d52a1900c7f79acef

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c11b9bb7c6672e773152498aa4a6f6115ee57f77
2017-07-04 05:08:03 -07:00
Manish Goregaokar
fde241dffe servo: Merge #17600 - Revert "style: Cleanup duplicated code in the definition of ComputedValues." (from Manishearth:revert-cv); r=heycam
This reverts commit 1c2fcb16ca5ab522f23d73800185be8011d5a91c.

We're completely redoing the ComputedValues stuff on the gecko side, this makes it easier to deal with

cc @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: f380d1cfc1cd747d68747f30da3bdd2b1673751f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 71129695b23039fac8bd18f518f47f8af49e891d
2017-07-03 22:50:42 -07:00
Xidorn Quan
d691c3135d servo: Merge #17568 - Handle prefixed value of -moz-user-select properly (from upsuper:user-select); r=Manishearth
This is supposed to fix [bug 1374996](https://bugzilla.mozilla.org/show_bug.cgi?id=1374996).

Source-Repo: https://github.com/servo/servo
Source-Revision: d52a08a5c5175b01561b93f0cd94545fdd2b989c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 67aaf9295071d1017d01d7bbd2b5f9e8d49419c5
2017-07-03 21:56:19 -07:00
Sadman Kazi
b8d453544f servo: Merge #17548 - Fix cef to follow new Browser::new() interface (from sadmansk:cef-update); r=paulrouget
Changes the call to `Browser::new()` in cef to contain the target_url.

cc @paulrouget
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #17273.

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: b55b9dc78ef1405ef23af589cd79587f2749743c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 28c8118127db194a5d5d46d2409b6277747a2930
2017-07-03 19:25:35 -07:00
Nazım Can Altınova
3ae7b07d40 servo: Merge #17268 - Add support for subgrids and fix some other grid properties (from servo:grid); r=wafflespeanut,canaltinova
This covers the `subgrid <line-name-lists>?` for `grid-template` (for gecko, and hence, stylo).

Source-Repo: https://github.com/servo/servo
Source-Revision: 7a71035793f6d87c8f0f8e63ae045c1aaa40b617

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8f90613ca0475d91d0fdf6eac00cd67ad5a096ae
2017-07-03 17:10:25 -07:00
Emilio Cobos Álvarez
1d21b08ae8 servo: Merge #17593 - stylo: properly handle ::before/::after rules applying to replaced elements (from emilio:pseudo-replaced); r=heycam
Bug: 1376352
Reviewed-By: heycam
MozReview-Commit-ID: FO0TyWsPPG7
Source-Repo: https://github.com/servo/servo
Source-Revision: c17134ce485453ff124cc337fa68b9a981106a45

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ed0ab5676dd2b6c60b83e5b9ddb338500975a9f0
2017-07-03 04:04:44 -07:00
Hiroyuki Ikezoe
4c45c167a9 servo: Merge #17592 - Don't use AnimatedProperty functions for gecko (from hiikezoe:remove-animated-property); r=birtles
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1377680

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 990c4091fe22b1f48b10753e7870832c9742eb59

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 647780bceee42482ee0333ba82a6bf7ac6598d7b
2017-07-02 23:24:38 -07:00
Keith Yeung
865bf7b978 servo: Merge #17591 - Update rust-url to 1.5.1 (from KiChjang:update-url); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 2c369815c42a9db2dad2da28db0247d4a8ec42b9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 12770538ff24ea247f11b58543eff24f292bb4de
2017-07-02 17:40:50 -07:00
Jonathan Chan
197cec7550 servo: Merge #17483 - mach: Fail properly if we can't find the path for OSMesa or GLAPI (from jyc:fail-properly); r=wafflespeanut
Currently we check `if not (osmesa_path and glapi_path)` after using
`path.join`. It seems we actually want to check whether
`find_dep_path_newest` returns something, because if calls to that
function fail, we'll instead get an error from `path.join` about
`NoneType` not having attribute `endswith` (it expects a string), which
preempts this check.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is a change to `./mach` (are there tests for that?)

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: edd82b3c20766877f4530e90a2ec1c9ce3fed848

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 76a0c145e112b85a22404a7229e370edece3b92e
2017-07-02 14:17:50 -07:00
Emilio Cobos Álvarez
4a61df03b0 servo: Merge #17590 - stylo: Fix StyleSheetInner/Stylesheet mapping (from emilio:gecko-inner); r=heycam
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1372041 and all the dependent/related issues.

Source-Repo: https://github.com/servo/servo
Source-Revision: 545a53ccadd3ca37330e1ee8ad0ca926af5c9c5a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ecdb2146ce21336de525d3873f7a6956a08ff6dc
2017-07-02 07:00:39 -07:00
Anthony Ramine
9aeb64dc96 servo: Merge #17576 - Merge BoxShadowList and TextShadowList into ShadowList<T> (from servo:derive-all-the-things); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: edb0dafefcdf0285c9bde443c77a17ea2ce7679b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7c25294fb06f976cc91ec9d83e5b0c85269a6d3a
2017-07-02 05:59:34 -07:00
odeits
8691dea001 servo: Merge #17588 - Fix warn stable_features (from odeits:patch-1); r=SimonSapin
struct_field_attributes has been stable since 1.20.0. Attribute no longer needed.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because this fixes a compiler warning only by removing a feature flag

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: fd65ac8924dd75b1f80e2cf048f64e11d3387976

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 282a6adb57bfc4fedf8a991b29cb480fb5464464
2017-07-02 03:11:02 -07:00
Emilio Cobos Álvarez
6ac6a509fe servo: Merge #17562 - style: Don't treat some document-state-related pseudo-classes as revalidation selectors (from emilio:less-revalidation-stuff); r=bzbarsky
Source-Repo: https://github.com/servo/servo
Source-Revision: be58b99b066757d91d1b7290a55617303c4ac19d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e8d3c762f26eac721b44c7350f2370e63ca13c1f
2017-07-01 08:13:58 -07:00
Bobby Holley
7f1609d841 servo: Merge #17585 - Allow dropping rule nodes after rule tree teardown (from bholley:rule_tree_teardown); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1377010

Source-Repo: https://github.com/servo/servo
Source-Revision: 78f05bf593d98acfd8e20eb79b6aeb9a4c386b2a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2129b073f779372ddf7610ae7f9390d0ca27f32f
2017-06-30 23:36:50 -07:00
Matt Brubeck
1fb5baeb50 servo: Merge #17581 - Fix incremental layout bugs for absolute and cleared elements (from mbrubeck:incremental); r=pcwalton
Fixes #17307.  <del>There were two underlying bugs:</del>

* <del>Nodes were not marked dirty when their style attribute changed.</del>

* BaseFlow flags set during flow construction could get out of sync with the element's style if repair_style was called.

---

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #17307
- [x] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: ece35f9caa7c6882adf2927ca7d7ce2bc7d8cef8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 099f14c641744ca088d8bf1d19eb81e60c653769
2017-06-30 22:15:26 -07:00
Nazım Can Altınova
9ab64ed79c servo: Merge #17434 - stylo: Implement -moz-prefixed gradients (from canaltinova:moz-linear-gradient); r=Manishearth,nox
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1366544](https://bugzilla.mozilla.org/show_bug.cgi?id=1366544)

Source-Repo: https://github.com/servo/servo
Source-Revision: 90cf19151a02f8ee72354e1d15640047478474cd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7b5190f5828c1a11825e1ada01184ca02ae4ca5d
2017-06-30 18:00:50 -07:00
Alan Jeffrey
4bf7ad4672 servo: Merge #17326 - Implement paint worklets rendering context (from asajeffrey:script-paint-worklets-rendering-context); r=jdm
<!-- Please describe your changes on the following line: -->

Implement the rendering context for paint worklets. They really paint things now!

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because the existing reftest now passes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: a9fea0653a25d5f26f1115203015c5cf699f5227

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 36948d5f5ea3b4a930ccfd326a18f8765d3aefa9
2017-06-30 15:40:26 -07:00
Simon Sapin
5cc7763ae2 servo: Merge #17561 - Upgrade to rustc 1.20.0-nightly (69c65d296 2017-06-28) (from servo:rustup); r=nox
Fixes #17575.

Source-Repo: https://github.com/servo/servo
Source-Revision: d16ef3cd332039e2b4def59f55c87f706e2aa6ae

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c9d40fd63f32f1bbcf675a4988281c44838976f5
2017-06-30 14:34:56 -07:00
Matt Brubeck
d7925bd74e servo: Merge #17577 - Bug 1348489 - stylo: Implement :-moz-window-inactive (from mbrubeck:inactive); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1348489

Source-Repo: https://github.com/servo/servo
Source-Revision: a24600d626384c6b3cd214a52ff251d706d59064

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 795ce88c61055db8e37c0eb4bd5371f360724d4a
2017-06-30 10:13:01 -07:00
Boris Zbarsky
4fdbba3a10 servo: Merge #17570 - Implement :visited support for lazy pseudo-elements (from bzbarsky:visited-pseudos); r=jryans
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1364242

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: ff19e69d2388725cc15784b12c897c755ab06b6b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3f8a4c1f743b5373d812bc451f4abdab9820c9cb
2017-06-30 09:11:41 -07:00
Xidorn Quan
5d6f0689e8 servo: Merge #17569 - Support :-moz-full-screen pseudo-class (from upsuper:fullscreen); r=emilio
This fixes [bug 1374901](https://bugzilla.mozilla.org/show_bug.cgi?id=1374901).

Source-Repo: https://github.com/servo/servo
Source-Revision: a04725fa1c744236968df038be7e6093889f6cf7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 264c9a0f670a98f1d445cb3eddaaed0af6af14ee
2017-06-30 08:08:00 -07:00
Cameron McCormack
43c155b936 servo: Merge #17574 - style: Make "internal" and "experimental" interact in the same way as Gecko (from heycam:experimental); r=Manishearth
From https://bugzilla.mozilla.org/show_bug.cgi?id=1375374.

Source-Repo: https://github.com/servo/servo
Source-Revision: d47de6ccfc0f8e2d796769dd66becfe5bfa55a9d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a6250b34a8d38b0008ca708f34ed4277c0d83ade
2017-06-30 06:09:29 -07:00
Alex Touchet
af984342cd servo: Merge #17573 - Update Visual Studio instructions in Readme (from atouchet:vs-readme); r=jdm
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 7b82d3b97b43cc219a6314986c182b806a85d0f8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1f97315057c81792ace31ba4ace2bfee8060bd3c
2017-06-30 05:14:44 -07:00
Nazım Can Altınova
0f2c866de5 servo: Merge #17566 - stylo: Fix font-variant-alternates property (from canaltinova:font-var-alt); r=emilio
`font-variant-alternates` was just parsing values as keywords. But many of the alternates are actually functions instead of keywords. This fixes that.

r=emilio on bugzilla side.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1356124](https://bugzilla.mozilla.org/show_bug.cgi?id=1356124)

Source-Repo: https://github.com/servo/servo
Source-Revision: 008f90517cef3b37b9c2d6b0d942778721ebcf78

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f821499f6cad0d59dce740a35370beee08320e79
2017-06-30 04:13:15 -07:00
Julian Seward
7a6431b33b servo: Merge #17563 - Bug 1368302 - stylo: possible stack overflow when processing very dee… (from julian-seward1:master); r=bholley
…p DOM.  r=bholley.

Whilst working with variants of the bloom-basic test for Stylo perf
profiling, I noticed that it is easy to cause Firefox to segfault on DOMs
with a depth of more than about 1500 elements.  This fix limits the use of
tail recursion to 150 elements.  This isn't externally observable to content
-- we're still completely correct, just not using tail recursion any more.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 683a53b080fa119562f6d4ee3a4deb0cc863c128

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 01ea54b32f447d0890b1effbe439a5b56f627232
2017-06-30 03:01:08 -07:00
Alan Jeffrey
409fbc0e08 servo: Merge #17239 - Implemented paint worklets invoking worklet scripts (from asajeffrey:script-paint-worklets-invoke-worklet-scripts); r=jdm
<!-- Please describe your changes on the following line: -->

Implemented the "invoke a paint callback" functionality of paint worklets (https://drafts.css-houdini.org/css-paint-api/#invoke-a-paint-callback).

This PR does not implement the 2D rendering context, and just generates a placeholder image.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because we can't write reftests until we have 2D rendering contexts implemented.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 39da6d46742d67c94f9614212af6dabd6124e5b3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7bd3104530133cf38e1e8869935fa5145d74a7d0
2017-06-30 01:16:09 -07:00
Emilio Cobos Álvarez
48c6f0bf38 servo: Merge #17571 - style: Update Stylo bindings for new LookAndFeel_ColorID variants (from emilio:jwatt); r=emilio
Rebase of https://github.com/servo/servo/pull/17449

Source-Repo: https://github.com/servo/servo
Source-Revision: 8029f1a1bbe9721f5bd1a3772c9573e2b700dcc6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0c0c15a7fb7b2da87e8e21b489017d3d5c505f7b
2017-06-29 17:39:23 -07:00
Sebastian Hengst
ac92a71016 Backed out changeset 90036d4d378e (bug 17564) because gecko-side patch caused bustage on Windows. r=backout on a CLOSED TREE 2017-06-29 22:27:32 +02:00
Matt Brubeck
0f720203de servo: Merge #17564 - Bug 1348489 - stylo: Implement :-moz-window-inactive (from mbrubeck:inactive); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1348489

Source-Repo: https://github.com/servo/servo
Source-Revision: 8f37de05b2bf3e45c686f5dc25b9d3a4a8c06471

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f3f428a8867ae844898ed996df6ad4f8e5dd9267
2017-06-29 11:25:40 -07:00
Anthony Ramine
fd99f68571 servo: Merge #17560 - Introduce ToAnimatedValue 🎥 (from servo:derive-all-the-things); r=<try>
Source-Repo: https://github.com/servo/servo
Source-Revision: 9a13cf6bdaa823369f29d7d0f4469087cf17ce6a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8e2354a1c6da7a5c78ed94e34be220fe8b8986c7
2017-06-29 06:49:39 -07:00
Fernando Jiménez Moreno
09e8a220ce servo: Merge #17558 - Derive Eq and PartialEq for CustomPropertiesMap (from ferjm:custompropmap.eq); r=emilio
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 2ff781d0680e81cb66daac01ee2b851a2f4ab319

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 376afdac364dff0063b8e4fdbc3fd94111b6d474
2017-06-28 22:01:17 -07:00