Commit Graph

1712 Commits

Author SHA1 Message Date
J. Ryan Stinnett
c77af578e0 servo: Merge #17650 - Pass through visited style for after change (from jryans:link-transition-crash); r=hiikezoe
https://bugzilla.mozilla.org/show_bug.cgi?id=1377975

Source-Repo: https://github.com/servo/servo
Source-Revision: 5010df627d481b95f449b90ff7500471b01ec600

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cf741f16a2f4ab8d433efbb86ef7f459e8c96cff
2017-07-10 11:33:04 -07:00
Hiroyuki Ikezoe
170e2a7ad4 servo: Merge #17648 - Do not fill computed values in missing 0%/100% keyframes in CSS Animation (from hiikezoe:missing-keyframes); r=birtles
<!-- Please describe your changes on the following line: -->

https://bugzilla.mozilla.org/show_bug.cgi?id=1360398
---
- [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: 2278a3f9811cdb643f7b06c1c2f8c3772e3794e5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2d03fce2546d4cea37e68d07771ff57aadc3ebad
2017-07-10 02:31:35 -07:00
Xidorn Quan
3fd921b5a3 servo: Merge #17646 - stylo: Use ComputedValues rather than element to get style rule list (from upsuper:bug1372464); r=heycam
This is the Servo side of [bug 1372464](https://bugzilla.mozilla.org/show_bug.cgi?id=1372464).

Source-Repo: https://github.com/servo/servo
Source-Revision: 95a85a301f1d014c45448a4d5d4f5a8497904af6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : be1244951c8d868b79ee09b37d1f26615f6ec89f
2017-07-09 20:07:41 -07:00
Emilio Cobos Álvarez
d27be80d37 servo: Merge #17644 - stylo: Run the stylehseet invalidation pass also for stylesheet removals (from emilio:invalidation-stylesheet-removals); r=heycam
People apparently do all sorts of silly stuff with stylesheets, see Google Inbox
in bug 1379203.

Bug: 1379433
Reviewed-By: heycam
MozReview-Commit-ID: 4x2d3glOFu8
Source-Repo: https://github.com/servo/servo
Source-Revision: 00e366ac82ee3fe3119ecffc68d895974f33c5e0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 460637505da4995e4b93e6eac36c81d097d96a5b
2017-07-09 05:18:36 -07:00
Emilio Cobos Álvarez
168589b832 servo: Merge #17640 - style: Fix starts_with_ignore_ascii_case (from emilio:starts-with-ignore-ascii-case); r=stshine
In particular, fix a panic when the input is not ASCII and we happen to index in
something that is not a char boundary.

This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1379380

Source-Repo: https://github.com/servo/servo
Source-Revision: 104e0b473073340689b4bca5c128c61632d4e58d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 14e052469d419b4fd24721fd275047a20527297f
2017-07-08 12:59:29 -07:00
Emilio Cobos Álvarez
b2a9b400d3 servo: Merge #17639 - style: Avoid overriding the root font size from a getDefaultComputedStyle call (from emilio:gdcs-rem); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 7a17de4fd0688a116b6a53607e040e90dc7c9652

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1a1729cf6fe5539efff242319011a3618f946443
2017-07-08 10:28:10 -07:00
Ralph Giles
199a5eb92c servo: Merge #17638 - Fix build_gecko.rs for cross-macOS builds (from rillian:mac-bindgen); r=emilio,gps
This was [reviewed](https://bugzilla.mozilla.org/show_bug.cgi?id=1368083) over on the gecko side, and is now ready to land. This adds an additional build-time `bindgen.toml` file whose compiler args are merged into the libclang invocation.

---
<!-- 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 I *think* this is gecko-only. We'll find out.

<!-- 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: 41a7e6391b707961568cfcadf8a5741af22e7ffd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 825d231dde087625f0ee2b65313fabf383bce8e8
2017-07-08 09:24:08 -07:00
Nazım Can Altınova
5fdc0b151d servo: Merge #17630 - stylo: Properly serialize grid shorthand (from canaltinova:grid-shorthand); r=wafflespeanut
It was failing to serialize correctly when grid was `<'grid-template'>` or some different edge cases.

---
<!-- 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: 9268540e6773c3bb323066d609ff3c0a1ddf2c02

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 97065aaae1048b3d22d05edacb067cbaa113989b
2017-07-06 22:06:36 -07:00
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
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
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
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
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
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
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
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
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
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
Fernando Jiménez Moreno
7ef05c141f servo: Merge #17551 - stylo: implement indexed and count getters for custom properties (from ferjm:bug1375555.stylevariables); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1375555

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fee6205b019fe709a92d8b19b0ce577554a96dab
2017-06-28 18:04:58 -07:00
Emilio Cobos Álvarez
5887a6eee1 servo: Merge #17550 - Fix dynamic style changes in XBL (from emilio:xbl-is-a-pain-in-the); r=heycam
From bug 1375969

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 538351e8c6119e9ad9db803d70362d80128754de
2017-06-28 17:02:17 -07:00
Boris Chiou
64c31e02d1 servo: Merge #17553 - stylo: Bug 1375812 - Build an identity matrix for InterpolateMatrix (from BorisChiou:stylo/animation/interpolatematrix_none); r=birtles
We have to build an identity matrix while add_weighted() between InterpolateMatrix and none transform in some cases, e.g. trigger a transition from a mid-point of another transition to none.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1375812](https://bugzilla.mozilla.org/show_bug.cgi?id=1375812).
- [X] These changes do not require tests because we have tests in Gecko already.

Source-Repo: https://github.com/servo/servo
Source-Revision: 62f99de19f50ab76d2dbd14b308ef5f7c86b339d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c8d532ebba6eff544d4bdb1c5b0051af34cb271f
2017-06-28 16:02:33 -07:00
KuoE0
3b9e52d365 servo: Merge #17549 - Make '-moz-context-properties' support 'fill-opacity' and 'stroke-opacity' (from KuoE0:make-moz-context-properties-support-fill-opacity-and-stroke-opacity); r=heycam
Enable 'fill-opacity' and 'stroke-opacity' for '-moz-context-properties' to make the context-{fill|stroke}-opacity work in SVG-as-an-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 fix [Bug 1373159](https://bugzilla.mozilla.org/show_bug.cgi?id=1373159)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because the test cases will be added 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: 9d1b26de1f24e4183ecf0c8aa4957aec9674d1f9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3d0b906c394c8671bf05e3d1f92dcedbf5047da2
2017-06-28 13:01:32 -07:00
Cameron McCormack
d25f611706 servo: Merge #17541 - style: Make GeckoElement::traversal_children faster (from heycam:is-needed); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1372061.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 670453b4d28b2c1c12171f4432dc678e31a55979
2017-06-28 11:59:31 -07:00
Matt Brubeck
fd2567e118 servo: Merge #17547 - Bug 1367312 - stylo: Implement :-moz-lwtheme* pseudo-classes (from mbrubeck:lwtheme); r=emilio
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix [bug 1367312]
- [x] There are tests for these changes

[bug 1367312]: https://bugzilla.mozilla.org/show_bug.cgi?id=1367312

Source-Repo: https://github.com/servo/servo
Source-Revision: 71f1f4b508e949e9acdd17a9fe50a8717dfea465

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6be00ef893559beb73b38850e2041f4b75be2bc3
2017-06-28 10:08:37 -07:00