Граф коммитов

9062 Коммитов

Автор SHA1 Сообщение Дата
Nazım Can Altınova 025efd524f servo: Merge #16780 - Add comments to shorthand alias logic that explains the interesting bahavior (from canaltinova:shorthand-aliases); r=emilio
<!-- 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

<!-- Either: -->
- [X] These changes do not require tests because they are just comments and variable name change.

Source-Repo: https://github.com/servo/servo
Source-Revision: 121662aa570f9e4005deec6d502acba7ab56c076

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0fa98b90dd13137836df683c20a134177ea3aaaa
2017-05-09 07:34:42 -05:00
Fernando Jiménez Moreno 92572b43ec servo: Merge #16768 - Stylo: Bug 1355408 - add support for @-moz-document (from ferjm:bug1355408.mozdocument); r=xidorn
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Link to the gecko bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1355408.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 307c61b490fce69f1b559d25159009e75cc25be1
2017-05-09 05:54:07 -05:00
UK992 a6013107c5 servo: Merge #16722 - Add clobber mechanism (from UK992:clobber); r=SimonSapin
Solution for https://github.com/servo/servo/issues/16602 and https://github.com/servo/servo/issues/16632
Only work when `AUTOCLOBBER` environment variable is defined.

CC @SimonSapin @jdm

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cd841cb12094f76b56791b19b9ab970fda70d377
2017-05-08 23:53:05 -05:00
Nathan Froyd 5248783910 servo: Merge #16303 - bump required rayon version to 0.7 (from froydnj:rayon-version-bump); r=jdm
...and bring jpeg-decoder along for the ride.  Minor tweaks were necessary because of rayon API changes.

- [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: fc3a7d03f2b0c5292e7414e7555fb75ae0b1d663

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5141549e2d1236f5d11df90f69de7463813e6a70
2017-05-08 21:36:48 -05:00
UK992 ddb826cc6b servo: Merge #16767 - Try to re-enable unit tests on travis-ci (from UK992:travis); r=jdm
After https://github.com/servo/servo/pull/16573 and https://github.com/servo/servo/pull/16593, issue https://github.com/servo/servo/issues/15076 _could_ be fixed.

Edit:
Closes #14723
Closes #15076

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b2ee28ecf18792f3a1ebf50bcb548ede41fb2e70
2017-05-08 20:05:16 -05:00
Emilio Cobos Álvarez 0b1cf902d6 servo: Merge #16774 - Unbust stylo (from emilio:unbust-stylo); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: fca15d378257c6ec558ee06527245c637a3eea8d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7c55e518e5b9fb06e42b1ba238bfab39588fd25d
2017-05-08 18:59:33 -05:00
Nazım Can Altınova 4f401b87b4 servo: Merge #16607 - Fix variable serialization bug on shorthand alias properties (from canaltinova:moz-transform-var); r=SimonSapin
<!-- Please describe your changes on the following line: -->
-moz-transform were having a problem with variable serialization. It wasn't printing transform's value and transform wasn't printing -moz-transform's if their value was a variable. This PR fixes that.
Reduces stylo -moz-transform failures to 2: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3fd3a57873e5e98dfcb173eef4b13822a66fdf6a

---
<!-- 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

<!-- 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: 0d9b26f4e4f05b704ffa15b187190388804167a2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 241bedf9f046564768f5c8786259d67dc33647ed
2017-05-08 17:34:54 -05:00
Simon Sapin e6f8270155 servo: Merge #16756 - Upgrade to rustc 1.19.0-nightly (ced823e26 2017-05-07) (from servo:rustup); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 19706085a7206144423a878f1617b32d56d406de

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3398392ca8151d6ea6feb6ec1abc4be66620f4bd
2017-05-08 16:06:56 -05:00
Ksbugbee 49c524ca20 servo: Merge #16761 - Use hash2 instead of deprecated hash (from Ksbugbee:master); 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: -->
- [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
- [ ] 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: 4e3544f05c161039b97fe4c20daca4a0baf372fe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c7f59de471905adb648376cc3eb2e1183bc97d80
2017-05-08 13:42:32 -05:00
Nick Fitzgerald 7783990c45 servo: Merge #16392 - Update the style crate's bindgen dependency to 0.24.0 (from fitzgen:update-bindgen-dependency); r=emilio
<!-- Please describe your changes on the following line: -->

Update style's dependency on bindgen from 0.22 to 0.23

This introduces a huge mess of transitive dependency versioning issues with `bitflags`, which I'm going to just ignore for now. Will file a follow up issue to address them properly.

r? @emilio

---
<!-- 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 bindgen has its own tests, including building stylo's bindings now.

<!-- 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: 81f273b66f3af5cd814ef34c2754121d59547de6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 046a4c45f3e47212625bbdb70fe340c64f846ec0
2017-05-08 12:19:59 -05:00
Xidorn Quan c88b2a9b34 servo: Merge #16762 - Generate atom files at build-time (from upsuper:buildtime-pseudo); r=emilio
The commits here basically do the following things:
1. move all generated files for gecko into "gecko/generated" so that we can copy all of them around
2. make regen_atoms.py generate file to the out dir rather than in-tree
3. make the build script invoke regen_atoms.py when bindgen feature is enabled

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

--HG--
rename : servo/components/style/gecko_string_cache/atom_macro.rs => servo/components/style/gecko/generated/atom_macro.rs
rename : servo/components/style/gecko_bindings/bindings.rs => servo/components/style/gecko/generated/bindings.rs
rename : servo/components/style/gecko/generated/gecko_pseudo_element_helper.rs => servo/components/style/gecko/generated/pseudo_element_helper.rs
rename : servo/components/style/gecko_bindings/structs_debug.rs => servo/components/style/gecko/generated/structs_debug.rs
rename : servo/components/style/gecko_bindings/structs_release.rs => servo/components/style/gecko/generated/structs_release.rs
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8635b39ccdefe6d7e8ad306857d3441512755248
2017-05-08 07:35:19 -05:00
Emilio Cobos Álvarez 1f6edba4b7 servo: Merge #16766 - layout: Fix radius percentage resolution (from emilio:border-radius); r=glennw
Fixes #16764

Source-Repo: https://github.com/servo/servo
Source-Revision: 34d33574dbd8696ff788ae8b9af65f8e88f404a9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 979c8ae0d11656329d6949014536e817bd56dcab
2017-05-08 06:24:42 -05:00
UK992 5583a3477b servo: Merge #16593 - Mach: Add `mach clean-cargo-cache` command (from UK992:clean-cargo-cache); r=wafflespeanut
<!-- 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
- [ ] 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: f6bd158fd4287226a881e58020f7dc154fa32532

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ca806671abe6fe30d24e0d1965aa6aef12825a3a
2017-05-08 04:37:21 -05:00
cku 48ea643f20 servo: Merge #16765 - stylo: Export mozilla::css::ImageValue to stylo (from CJKu:bug-1310885-part-1); r=heycam
<!-- Please describe your changes on the following line: -->
This is "Bug 1310885 - Part 0. (gecko) Export mozilla::css::ImageValue to stylo."
We need to land it separately to prevent build break.

Link to the gecko bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1310885.

---
<!-- 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
- [ ] 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: 2119c16b6672aa06492f84ee12aee698c38eb013

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c98bec8f70b8c73022102ed66c3b8174e18179a8
2017-05-08 03:28:48 -05:00
Glenn Watson ab2641cb40 servo: Merge #16759 - Enable subpixel anti-aliasing on text by default (from glennw:subpixel); r=cbrewster
No doubt there are still some bugs and missing features related to subpixel text anti-aliasing.

But enabling by default should allow us to detect these and fix them.

If we run into any major issues, this is a standalone commit that can be reverted while we fix the problem.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 17d2967f06946042885de47bfc7541b6de5e91b5
2017-05-07 20:27:46 -05:00
Glenn Watson dd4b6dad07 servo: Merge #16758 - Update WR (transform shader select optimization, subpixel + disable AA fix) (from glennw:update-wr-xf-subpixel); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: f0cf9f47b55c90a27ff40294775882fa80aabe86

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c0a66dc172d6799c136ca29e5541d1bf740abaf2
2017-05-07 19:18:32 -05:00
zombiefungus 4b1d363d8d servo: Merge #16757 - Remove obsolete paint threads option #16716 (from zombiefungus:issue16716); r=KiChjang
<!-- Please describe your changes on the following line: -->
Remove paint_threads from `ports/cef/core.rs` and `components/config/opts.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 #16716

<!-- 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: c171ded902f60132e2e99e72a075afd63d0df4b5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bb0d17dedcfa653a0033bb9eb47b35220b5c79a5
2017-05-07 17:09:47 -05:00
Pyfisch 8844d0506c servo: Merge #16666 - Improvements to gradients (from pyfisch:gradients); r=emilio
This is a collection of commits improving the rendering of linear and radial gradients by making them conform more closely to the spec.

All commits are are independent and should work without the others.

These commits address the following issues:
* a956e3fd529715cc0ac39b23910f19e092c7c5a9 resolves #3908 but contains also some other necessary changes to `convert_gradient_stops`. The updated function has a few more copys but should be more correct. Maybe @pcwalton wants to comment since he has originally written the code.
* b230be8aaf318fb754cf58e5cd243087df2f7e0f partially solves #16638. (Partially because `border-image-outset` is not implemented. This is an older issue for border gradients: #15894.

To quickly catch regressions and see changes to gradients I have created [a set of twelve manual testcases](https://pyfisch.org/stuff/testcases-gradients.html) and placed them in a single file. Attached are two files. One shows how the gradients were rendered before the PR the other one with the changes applied.

![testcases-old](https://cloud.githubusercontent.com/assets/2781017/25580052/b433278e-2e7d-11e7-9396-500fef12eee0.png)
![testcases-new](https://cloud.githubusercontent.com/assets/2781017/25580051/b43222c6-2e7d-11e7-99ab-c0a2709baf41.png)

r? @emilio
and maybe also @jdm?

---
- [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: 3f1ae6425588bbac37da2e0f8aa2a708f51fa988

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b6e9d1479c65a59ebe6df841e7b648782449c5dc
2017-05-07 07:56:51 -05:00
Nazım Can Altınova 7a652ca8ee servo: Merge #16754 - Fix parsing behavior of text-shadow property (from canaltinova:text-shadow); r=emilio
Blur radius should reject negative values. There was already `Shadow` struct for properties like this. `filter: drop-shadow` also has the same syntax with that property. I thought sharing the same code would be better and used Shadow struct for parsing. Converted to SpecifiedTextShadow to get rid of unneccessary fields and to be able to convert its computed value. Maybe it would be better to avoid using `Shadow` or just using `Shadow` but sharing code and avoiding unneccessary fields seems better.

---
<!-- 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: bd2cd40c5029f3124f2ed492b4fab7dc8f9101c8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : eef3852365762813fc15d7d3d1e70984889254c0
2017-05-06 16:10:22 -05:00
Xidorn Quan 35fbfcdb54 servo: Merge #16750 - Use nsIAtom for counter style name (from upsuper:bug1362302); r=Manishearth
This is the Servo side change of [bug 1362302](https://bugzilla.mozilla.org/show_bug.cgi?id=1362302) which has been reviewed on Bugzilla.

Source-Repo: https://github.com/servo/servo
Source-Revision: 806f369a79409304024ba15259ec5ef68afebe51

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5bd0958a8d9ef82a8b8165208d4018e5d8e7987c
2017-05-05 23:15:08 -05:00
Xidorn Quan d101c82a5c servo: Merge #16751 - Update binding files to autoland tip (from upsuper:update-bindings); r=jdm
Sync in-tree binding files with that generated from Gecko CI.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5761649bc74fdd4786795f6ff29a046ad2def65e
2017-05-05 22:22:33 -05:00
Anthony Ramine 71d7d7e8dc servo: Merge #16744 - Properly parse 'pointer-events: all' (from nox:pointer-events); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: f50b8fd54556ddb1baf6707dcec4cb271d0cc2e6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a5ec06b16f132d2147ff84c52a239521263b9559
2017-05-05 17:25:59 -05:00
Bobby Holley 0698f88159 servo: Merge #16745 - Use selector maps for revalidation and dependency selectors (from bholley:more_selector_maps); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1360088

Source-Repo: https://github.com/servo/servo
Source-Revision: 741958b2fbe0cdf0a89e4dc88c3b1a51e18693d3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 547c741c779e30d048ab03fbf3926435f54a9f78
2017-05-05 16:29:00 -05:00
Anthony Ramine 850168f8f9 servo: Merge #16742 - Properly use big endianness to parse font feature tags (from nox:font-feature-settings); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: ce874d72ecaa531f1da7f619b2bced72100612d3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 22efb7ca634646ee100f8f2c244599c34c3609f1
2017-05-05 15:45:53 -05:00
Manish Goregaokar 72eb995527 servo: Merge #16741 - Handle fallback to default variable font in case of nonexistant generic (from Manishearth:stylo-fixup-generic); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 943e7595d52d42a34f73e8fef98cd2dc4247714b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 16f4bf0705908c37b9b4d5e82f6a5b4bd565e88d
2017-05-05 13:39:19 -05:00
Paul Rouget e5ec578150 servo: Merge #16738 - derive(Debug) for LoadData (from paulrouget:LoadDataDebug); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 4e73fceaf7eb62542b72d211cb84ab555cef7ba9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 078f37c4088d7841594862e1ed180064f40e03c2
2017-05-05 12:05:22 -05:00
Anthony Ramine 408d198f9d servo: Merge #16739 - Fix serialisation of 'image-orientation: <angle> flip' (from nox:image-orientation); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 09c8978c5bdd77bdbb16469e502fa53659f56046

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9543c7922b5e8f5a6290dd82a839395fe5b388cb
2017-05-05 10:14:29 -05:00
Emilio Cobos Álvarez 58fad7acb6 servo: Merge #16728 - style: Rewrite calc to be cleaner and support arbitrary expressions (from emilio:recalc); r=waffles
This improves Servo's calc support compliant with[1], and makes it cleaner and
more straight-forward. (also fixes #15192)

[1]: https://github.com/w3c/csswg-drafts/issues/1241

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b89b3a24eaa1f1c213f22e74068912c941896e02
2017-05-05 05:09:14 -05:00
Martin Robinson 387c611ae8 servo: Merge #16735 - Rename PushScrollRoot and remove PopScrollRoot (from mrobinson:push-pop-scroll-root); r=glennw
PopScrollRoot was unused and PushScrollRoot no longer pushes a scroll
root, but defines a new one.

<!-- 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 should not change behavior.

<!-- 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: f832052d9500e1102ebf43450087a7f51bfcb60e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8f5eaa0100709586c0321ee817f98ae6dde7909c
2017-05-05 02:21:12 -05:00
Manish Goregaokar da4403ef57 servo: Merge #16730 - Make font-size: larger/smaller work with the base size stuff (from Manishearth:stylo-font-size); r=dbaron
Source-Repo: https://github.com/servo/servo
Source-Revision: 441d3cf3e5b4dd909fef4ef4a8c9a5422d5330d3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 059b55b818893b633f8d8dfc74b9608499296d2b
2017-05-05 01:38:38 -05:00
KuoE0 01e6deb40d servo: Merge #16733 - Make stylo support moz-prefixed cursor values (from KuoE0:bug-1356072); r=xidorn
<!-- Please describe your changes on the following line: -->

This issue is reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1356072.

We need to support the following moz-prefix properties in stylo:
- -moz-grab
- -moz-grabbing
- -moz-zoom-in
- -moz-zoom-out

---
<!-- 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 1356072](https://bugzilla.mozilla.org/show_bug.cgi?id=1356072).

<!-- Either: -->
- [X] These changes do not require tests because the tests already exist in Gecko.

<!-- 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: 8187969c39d6cfcd415571dc02c0b62e932a59da

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ce348d8f8daed18ea8c582d5b308fc7a7dbce421
2017-05-04 22:27:44 -05:00
Glenn Watson 1327c3b0a9 servo: Merge #16731 - Update WR (remove old border path, composite fixes) (from glennw:update-wr-borders-nearly-done); r=pcwalton
* Support border corner transitions with new path.
* Remove old border rendering code and shaders.
* Bug fix for mix-blend-mode / composite tasks.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 35658addcb2db615e9f96dd00f8823bdec33dc62
2017-05-04 21:20:01 -05:00
Anthony Ramine cf55c1fbeb servo: Merge #16727 - Implement grid-template-areas (fixes #16079) (from nox:grid-template-areas); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 18c8c290daea3419b02799e206c2cb50845cd0af

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c666b12b559154a25d5b6f54201112bd554ee610
2017-05-04 19:58:22 -05:00
Connor Brewster e2a45c503e servo: Merge #16697 - Make History attributes and methods throw (from cbrewster:history_throw); r=KiChjang
<!-- Please describe your changes on the following line: -->
All History methods and attributes should throw a `SecurityError` if the document associated with the `History` object is not fully active.
https://html.spec.whatwg.org/multipage/browsers.html#history-3

---
<!-- 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
- [ ] 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: ca2a5025e50819f3fc54f66f681f9d73479386e4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7ec6837fa7f0d87660233cf14a1c6ecf27cc299f
2017-05-04 18:50:17 -05:00
Maxwell Borden a826223c85 servo: Merge #16729 - Updating rust-openssl version to 0.9.11 (from Tacklebox:issue16708); r=cbrewster
<!-- Please describe your changes on the following line: -->
Updated dependency rust-openssl to version 0.9.11 as suggested in issue 16708 to resolve compatibility issues with redhat openssl-devel

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors - it reports duplicate bitflags dependancies
- [X] These changes fix #16708 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because no code was changed.

<!-- 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: 896f0c49b299197eff6101ee434b4feceeb77c4d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0cfdf4d8524ebfb10c2682d9a3f8803e56c97425
2017-05-04 15:53:48 -05:00
Manish Goregaokar e3f9211a25 servo: Merge #16721 - Set vector properties via iterator in stylo (from Manishearth:vector-iter); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1360882

Avoids transient allocations

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fcb18bb9881d5004656877d228e5aad663425fd0
2017-05-04 11:23:05 -05:00
Anthony Ramine 522c502e60 servo: Merge #16725 - Implement -moz-osx-font-smoothing (from nox:moz-osx-font-smoothing); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 36f26148e6f3decfac7858455c3170d7bf7d8b3f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d9773f0a389585ff51fd30f42885b9835b4248cc
2017-05-04 07:42:43 -05:00
Alice Maz c0292d3464 servo: Merge #16706 - Bump base64 to 0.4.2 (from alicemaz:master); r=nox
<!-- Please describe your changes on the following line: -->
we have just released a security patch for base64 (preventing integer overflow when sizing a buffer for encoded output). this bumps the version in the three Cargo.toml files that pull it in. there should be no observable difference in behavior, no non-malicious input should be able to trigger this state

---
<!-- 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 it is a small fix to a dependency with no practical difference in operation from previous.

<!-- 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: 6aa552d59f21644ed93b17b1cec4197cd354b882

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d5d59c0fff40d88c12de844ab50cc0f9249f46ab
2017-05-04 06:08:37 -05:00
Cameron McCormack ebee71a43e servo: Merge #16724 - style: Re-enable font metrics querying for ch and ex units in Stylo traversal (from heycam:reenable-metrics); r=bholley
From https://bugzilla.mozilla.org/show_bug.cgi?id=1356103.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cc604030e331627f80bb98e37a9cf30964317e37
2017-05-04 03:46:28 -05:00
Emilio Cobos Álvarez c225afa02e servo: Merge #16714 - style: Fix stylo's atom script (from emilio:atoms); r=heycam
It's been broken since bug 1358968.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3201effe12dae9657f55e46ed6d091ebb91edc19
2017-05-04 03:03:56 -05:00
Jeremy Chen 01d2568806 servo: Merge #16711 - stylo: Bug 1360144 - make stroke-{*} animatable for stylo (from chenpighead:stylo-make-stroke-properties-animatable); r=BorisChiou
This part includes making stroke-linecap, stroke-linejoin, stroke-miterlimit,
stroke-opacity, and stroke-dasharray animatable.

For properties that already implemented Interpolate trait and clone() for
glue code, we can just make them animatable by replacing the animation_value_type
with proper type name. So, set animation_value_type to 'discrete' for
stroke-linecap and stroke-linejoin. Set animation_value_type to 'ComputedValue'
for stroke-miterlimit and stroke-opacity.

As to stroke-dasharray, we need to implement Interpolate trait and glue codes
for it.

<!-- 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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 86edd2153abf69ae0b1399b5828b01cf4ca6d731
2017-05-04 01:32:46 -05:00
cku 00a44a2499 servo: Merge #16707 - Stylo: Implement {specified|computed}::LayerImage (from CJKu:bug-1359787); r=manish
<!-- Please describe your changes on the following line: -->
Bug 1359787 - Stylo: Unite the implementation of background-image/ mask-image and border-image-source in {background|svg|border}.mako.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
- [ ] 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: 896a920ff53f683cdaac8bc6b2f796633a436a7f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9b64f6b658b04f16cdb1a4ee88075f3f0f41971d
2017-05-03 21:49:33 -05:00
Imanol Fernandez 30b37e77e5 servo: Merge #16500 - Fix unsafe Heap constructor usage in DOM objects (from MortimerGoro:unsafe_heap); r=asajeffrey
<!-- Please describe your changes on the following line: -->

See https://github.com/servo/rust-mozjs/issues/343#issuecomment-294513870

Heap::new() constructor is unsafe. Heap should be set after reflect_dom_object call in order to prevent potential GC crashes.

<!-- 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: e8aa3759bd8f74f7a962e421bd0cbf2a0a3e35da

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1f7e2346a5f25efa3e055ff02cd6b9090de23837
2017-05-03 21:07:32 -05:00
Glenn Watson 9d0a7da8bc servo: Merge #16723 - Update WR (dotted borders with elliptical radii / border widths) (from glennw:update-wr-dots); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: d0057534938f7c035fc4268fa798048e4b66f94b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 66c5ad8c3be11f7e65ba9d51b48c983a655250ed
2017-05-03 20:24:57 -05:00
Juan C. Gonzalez-Zurita 6cd7127c27 servo: Merge #16568 - font-feature-settings gecko glue code (from WholeGrainGoats:master); r=Manishearth
<!-- Please describe your changes on the following line: -->
FeatureTagValue value property changed to use u32. ToCss for
FeatureTagValue changed to allow conversion from u32 to string. Parse
for the same struct updated to convert from string to u32. Added two
functions to transfer settings to gecko and copy settings.

---
<!-- 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 #15975  (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: 01f169d8c1f52ae4c3eb53274b0613211415feb9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ca5f0e6f9c4804b5aa9eca0937b317bf99e9f035
2017-05-03 19:41:59 -05:00
Emilio Cobos Álvarez 01d358ada0 servo: Merge #16713 - style: Allow parsing nested calc() expressions (from emilio:calc-in-calc); r=manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 53b391daf84b3a611e5b356ed97fc22f6cbe92b7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0c9b88e0d1c9000590e438ad60c1327e607149d6
2017-05-03 18:33:03 -05:00
Hiroyuki Ikezoe 3c7b5090d3 servo: Merge #16715 - Support all properties for -moz-appearance (from hiikezoe:moz-appearance); r=bholley
Now all properties in nsCSSProps::kMozAppearanceKTable are in
keyword list of -moz-appearance.

This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1361632

- [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 it's for stylo

Source-Repo: https://github.com/servo/servo
Source-Revision: 83020ffe291846ac425925da1dd4a3da9eb7cbad

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 41a11da87f4c3be15e6d297a40d5b9f024d38a48
2017-05-03 16:42:29 -05:00
Christian Poveda c7819127ee servo: Merge #16712 - Changed all prefixes from DOMString to the atomic Prefix from html5ever (from z1mvader:atomize_ns_prefix); r=SimonSapin
<!-- Please describe your changes on the following line: -->
I just changed the `prefix` parameters on the constructors of several HTML elements. The type now is `Option<Prefix>`. I also changed the sizes of the `sizeof.rs` unit test to match the new values.

---
<!-- 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 #16700  (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it should not affect anything else

<!-- 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: ed7686b42c02c5c1d769be952ef58b285f35a7f6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ade76a808b80fcbb1e011c0b6f7a29c37361559e
2017-05-03 13:33:56 -05:00
Alexis Beingessner 6f404897d1 servo: Merge #16652 - Update to webrender's new bincode IPC (from Gankro:bincode-ipc-5); r=jdm
**DO NO MERGE YET**

This is the required update to Servo for my changes to webrender in https://github.com/servo/webrender/pull/1181

Source-Repo: https://github.com/servo/servo
Source-Revision: 74c36cb35ddac3bf7db9215d85b9d4d7a660197b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3f1a55f6dab59aa865e929b9fb36fb1572708bc1
2017-05-03 12:44:37 -05:00
Josh Matthews 9b3fb791ae servo: Merge #16655 - Fix broken unit tests (from servo:jdm-patch-1); r=emilio
These are tests that only get run on TravisCI, apparently, so they were broken by be0139ff3c and 32c624e585 without anybody noticing.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3905b5af1804ad912c6e1854a0bcdfe9bda79065

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5ce8a16190b7183a08a169a97b5e9f9dd35cae6a
2017-05-03 09:47:44 -05:00