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

9741 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack 98c5d258d2 servo: Merge #17849 - style: Ensure we generate a ReconstructFrame hint when -moz-binding changes on a display:none root (from heycam:binding-display-none); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1375383.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3eeb0e5e48fcb045100ed26b396ad85226be9af0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 76fdd8d26b561a0d788b67b3140ce2d4dcdc96e6
2017-07-25 00:51:27 -07:00
Cameron McCormack 12dfe59000 servo: Merge #17839 - style: allow out-of-range opacity values for SMIL animations (from heycam:opacity-smil); r=hiro
From https://bugzilla.mozilla.org/show_bug.cgi?id=1371150.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e28afc3a4417996a48ea844cb382ebff5f4bfb04
2017-07-24 19:13:08 -07:00
Manish Goregaokar c5a2243880 servo: Merge #17846 - Allow nonstandard font-weight values for system fonts (from Manishearth:font-weight); r=upsuper
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1379895

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 536b943224fcf4bc326817ca0586b748a4cd78ba
2017-07-24 17:26:31 -07:00
Brian Birtles 2bbea6dc87 servo: Merge #17832 - Only allow animation-timing-function in @keyframes (from birtles:disallow-playstate-keyframes); r=emilio
CSS animations used to erroneously indicate that 'animation-play-state' is permitted in @keyframes. It is not and it'ss non-sensical to allow it there. This mistake was faithfully transferred into Servo code (although we also make 'animation-timing-function' which is what the spec text meant to say).

The spec has [been updated](adeb3434c5) and so we should update the Servo code accordingly.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1960d4d229969eed1495d49385abf708b6e03d13
2017-07-24 15:50:20 -07:00
Emilio Cobos Álvarez a1cf839e41 servo: Merge #17844 - stylo: Read mName as a raw nsIAtom* from NodeInfoInner (from emilio:is-visited); r=bholley
Changes for bug 1383756.

Source-Repo: https://github.com/servo/servo
Source-Revision: 897f5d8884063d903a54cbb186866069c5be97a9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d09bc898c723fac898b984cfd4e1a069d6bfee9d
2017-07-24 13:22:49 -07:00
Alexis Beingessner 1a3ccf0832 servo: Merge #17406 - use DisplayListBuilder::with_capacity (from Gankro:with_cap); r=jdm
DO NOT MERGE until https://github.com/servo/webrender/pull/1399 has landed in Servo.

Previously webrender was reserving 1MB of space for each display list (empirically pages weighed between 100k and 10MB when I implemented this). This was problematic for gecko because they used webrender differently. This just brings Servo back to where it was.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3629efba7508bf115ad0127d2567af7090a9f8ca

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2f8907f18d78e9a546a487ca0a0035db4a9450f6
2017-07-24 09:02:50 -07:00
Fernando Jiménez Moreno b694d63ae3 servo: Merge #17841 - stylo: make GetRuleColumn report a 1-based value (from ferjm:bug1380890.column); r=jdm
https://bugzilla.mozilla.org/show_bug.cgi?id=1380890

- [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: 723b21b6695662441fe4c854f2f66c90db0fde09

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a6f196783b47746668f4ce1754f3f9d717677f42
2017-07-24 07:55:06 -07:00
Simon Sapin a307aa9230 servo: Merge #17820 - Update cssparser to 0.18 (from servo:token-cache); r=emilio
Do not merge yet, depends on https://github.com/servo/rust-cssparser/pull/171.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e4825d4514cfe2286e2f874b4bd643befe603521
2017-07-24 06:27:00 -07:00
Emilio Cobos Álvarez 3fa27b8306 servo: Merge #17837 - style: Avoid looking at descendant hints to check whether the element needs a restyle (from emilio:assert-fix); r=hiikezoe
This makes us hit some assertions in Gecko.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ae0e07a5ec6e096ffed718463f616fcbf03ef913
2017-07-24 04:49:08 -07:00
Keith Yeung ae2fb90fe1 servo: Merge #17835 - Make network error messages more specific (from KiChjang:clearer-network-error); r=emilio
Instead of having a bogus "Network error" string, we extract the NetworkError struct from the Response and send it back to FetchResponseListener.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b0a3c424ac279bfe1ba948672b4e4cd5f2a189d9
2017-07-24 03:07:26 -07:00
Emilio Cobos Álvarez 030c94cbf2 servo: Merge #17834 - stylo: Fix the interaction of frame construction restyles with animation restyles (from emilio:animation-fc-crash); r=heycam
Fixes bug 1383001.

Source-Repo: https://github.com/servo/servo
Source-Revision: 30d6d6024bd0a082424395621f620dc9580970e5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3e0c8e604a67a2b35341c8537ed10c974d90e30c
2017-07-24 01:09:24 -07:00
Brian Birtles b7cdac9039 servo: Merge #17831 - Iterate through properties in priority order when computing keyframes (from birtles:property-priorities); r=heycam
This is largely just a translation of Gecko's PropertyPriorityIterator[1] into rust with the exception that IDL sort order is only defined for shorthands since that's all we currently require.

[1] http://searchfox.org/mozilla-central/rev/3a3af33f513071ea829debdfbc628caebcdf6996/dom/animation/KeyframeUtils.cpp#151

---
<!-- 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 --stylo` does not report any errors
- [x] These changes fix (Gecko bug 1371493)[https://bugzilla.mozilla.org/show_bug.cgi?id=1371493].
- [x] There are tests for these changes OR

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6efde1ea0b3969b0d48c0e0f7285dec284a9a8b1
2017-07-23 21:54:12 -07:00
Glenn Watson be8cd7ddc3 servo: Merge #17814 - Update WR (switch to new text-decorations API in WR) (from glennw:update-wr-text-decorations); r=emilio
This only makes use of the "Solid" text decoration type, which
matches the existing support. WR now supports dotted, dashed
and wavy text decorations, but supporting those will need some
extra work in Servo to pass through the correct values.

Source-Repo: https://github.com/servo/servo
Source-Revision: 46ffcbaf7bc97df7c8ba3b82add0e03a01805ab4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 97baccf41b67fd0c743bd96d4917e8b7ef6b0a7f
2017-07-23 20:04:38 -07:00
Emilio Cobos Álvarez 6f941c7ecd servo: Merge #17829 - style: Mention when visited styles may be disabled (from emilio:visited-nit); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 104c79dbf2fc83d3b4b36dfa8868b2071edf2d81

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2a88851624a5d365809abc59c2b30e421147b02d
2017-07-23 15:06:44 -07:00
Emilio Cobos Álvarez 1e214a80ab servo: Merge #17828 - stylo: Visited link fixes (from emilio:visited-now); r=Manishearth
Straight from https://bugzilla.mozilla.org/show_bug.cgi?id=1383307

Source-Repo: https://github.com/servo/servo
Source-Revision: 2241d5879e5d66c52d2b4f17ad730c5de1eff364

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 349558e58d57d1d3ae2dcb1e9a518885384f19a7
2017-07-23 13:46:43 -07:00
Nikhil Shagrithaya a3aeedbe39 servo: Merge #17827 - Update step annotations in script's prepare method (from cynicaldevil:fix-step-annotations); r=jdm
<!-- Please describe your changes on the following line: -->
The step annotations in the code were outdated, and did not match the spec: https://html.spec.whatwg.org/multipage/scripting.html#prepare-a-script

Source-Repo: https://github.com/servo/servo
Source-Revision: 548d65dc7a08805bb941d83304c30a12c834ca90

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ef2eca3ae500760f769ee50c3daa00abb71d9c43
2017-07-23 12:45:22 -07:00
Emilio Cobos Álvarez a7be68f59a servo: Merge #17826 - stylo: Remove the visited bit for now since it doesn't account for the pref (from emilio:visited-not-yet); r=emilio
I'll fix before landing the Gecko changes for bug 1383307, so this doesn't break
anything yet.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c74896f27b7a70c934585ea34c37a9868f5718c2
2017-07-23 05:53:47 -07:00
Emilio Cobos Álvarez f180e8db6d servo: Merge #17825 - style: Move the RELEVANT_LINK_VISITED flag to servo (from emilio:is-visited); r=manishearth
Bug: 1383307
Reviewed-by: Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 14b12eeb3b7ff110dbdb1f9672c2cbfad4133ae0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 80bfa2bc5e29c28f86cd5885476bb4826a18a0bf
2017-07-23 04:15:39 -07:00
Emilio Cobos Álvarez 0025a7dbd3 servo: Merge #17824 - layout: Make -Z show-parallel-layout show something useful again (from emilio:debug-par-layout); r=stshine
I broke this when we switched to rayon, but now rayon added support for getting the worker index there's no reason for not bringing it back to life.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 221962b9d23496cedc8c08388d927d8e95914459
2017-07-22 17:50:21 -07:00
Simon Sapin d5d9f72094 servo: Merge #17823 - Upgrade to rustc 1.20.0-nightly (504328a31 2017-07-21) (from servo:rustup); r=Manishearth
and cargo 0.21.0-nightly (ffab51954 2017-07-18).

The latter adds support for the `[patch]` section of `Cargo.toml`:

http://doc.crates.io/manifest.html#the-patch-section
http://doc.crates.io/specifying-dependencies.html#overriding-dependencies

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 164995919e7102424e5c7030f845d147fb60df87
2017-07-21 21:47:51 -07:00
Emilio Cobos Álvarez aab6e95efc servo: Merge #17819 - stylo: Set the NS_STYLE_IS_TEXT_COMBINED flag (from emilio:text-combined); r=xidorn
This should fix at least
layout/reftests/writing-mode/1135361-ruby-justify-1.html

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f17c60072db3c413e4f9522bddf98fd97878547d
2017-07-21 17:30:05 -07:00
Manish Goregaokar a84e2fe88c servo: Merge #17822 - Remove last vestiges of stylearc (from Manishearth:die-stylearc-die); r=bzbarsky
Source-Repo: https://github.com/servo/servo
Source-Revision: 9b276565f82e5924a87e713a728daf63a357f3ba

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c3cc426a7bdfa9b57f5a59d7c2d9deeb913c6e80
2017-07-21 15:47:54 -07:00
Alan Jeffrey 75d58c8855 servo: Merge #17634 - Implement drawing an image from a CSS style value into a canvas (from asajeffrey:canvas-image-css-style-value); r=jdm
<!-- Please describe your changes on the following line: -->

Implemented drawing a CSS style value into a canvas, which is needed for the Houdini CSS Paint API.

This PR is dependent on #17364.

---
<!-- 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 #17432.
- [X] These changes do not require tests because the existing CSS paint API wpt test cases test this behaviour.

<!-- 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: 76ad913870cec3f01731d324967ed191fd5c6be3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9cbcb16f1b30c5fb25c0dc7d291c6c78638fcc5f
2017-07-21 14:39:47 -07:00
Emilio Cobos Álvarez 40dc54ac10 servo: Merge #17817 - style: Move a conditional import to where it's used (from emilio:always-be-removing-the-ugly); r=stshine
To avoid yet another cfg().

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 917475ad99cea9e7fe177723addc010da94cf07c
2017-07-21 13:31:13 -07:00
Boris Zbarsky ddcc6b7391 servo: Merge #17821 - Implement restrictions on which properties apply to which pseudo-elements (from bzbarsky:pseudo-prop-restrictions); r=emilio
::first-line, ::first-letter, and ::placeholder don't allow all properties to apply to them.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they're Gecko-only for the moment, and Gecko has tests.

<!-- 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: 4bf8e4413ee5f62dfb81f07f0cff8ebded2ef230

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d33c92f065ecb8573e5db709ae27529336165dcd
2017-07-21 12:15:50 -07:00
Manish Goregaokar 0df9c965e0 servo: Merge #17818 - stylo: Various ComputedValues fixes (from Manishearth:stylo-fixup); r=heycam
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1382017

Source-Repo: https://github.com/servo/servo
Source-Revision: 992c647f76552ae3abaeffc69331375a69d34dab

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 24544e835c5139f4cf5a8e85c6aaa23fc50beefd
2017-07-21 11:05:13 -07:00
Xidorn Quan d665d7da5a servo: Merge #17813 - Store raw string for prop decl in @supports (from upsuper:supports-decl); r=SimonSapin
This fixes the serialization issue of `@supports` rule that whitespaces are not preserved like in other browsers.

It makes the work a bit redundant (the property name and colon is parsed twice), but I suppose this isn't a big deal.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 179edd501bde0c978fe54ec2a76907fa7288deb5
2017-07-21 09:01:57 -07:00
Fernando Jiménez Moreno 03e04853ce servo: Merge #17816 - PWM tests (from ferjm:pwm-tests); r=jdm
- [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: 291c9576cf386179bddace6cd39815de03beb8f1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dbe819ac6450f17f0af217ddc684ca3a75bf9c7a
2017-07-21 06:22:58 -07:00
Simon Sapin 07e38b4281 servo: Merge #17815 - Fix bootstrapping during `mach rustup` without system cargo (from servo:bootstrap); r=nox
https://travis-ci.org/servo/servo-with-rust-nightly/builds/255611949#L989

Source-Repo: https://github.com/servo/servo
Source-Revision: 3854e8f174a834c72bf93c7a76bb33c80021a970

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b88e3b9eb099af9b498282afaff79b754460bc78
2017-07-21 05:00:56 -07:00
Fausto Núñez Alberro 4ac593817a servo: Merge #17811 - Remove unused immeta dependency in net_traits (from brainlessdeveloper:remove-immeta-dep); 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
- [x] These changes fix #17807 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it is an unused dependency removal

<!-- 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: 06b409ad603688658815fd1a71a02fd03cd5094a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 21ed7bf22d1efab667870ba2271a16a39acaa950
2017-07-20 23:52:56 -07:00
Emilio Cobos Álvarez 122e9426db servo: Merge #17806 - selectors: Don't track class and id ancestor hashes in quirks mode (from emilio:quirks-mode-bloom); r=bholley
It's incorrect to track classes and id selectors in a quirks-mode document,
since they should match case-insensitively.

Bug: 1382812
Reviewed-by: bholley
MozReview-Commit-ID: 4uvrfYsWb1v
Source-Repo: https://github.com/servo/servo
Source-Revision: 1e6999b02b3568d29e8397c84852a4a916644cf7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e112550e20351fb6d2635640d269ad42c12b662a
2017-07-20 22:40:15 -07:00
Emilio Cobos Álvarez efd2383211 servo: Merge #17804 - Add a comment about visited style inheritance (from emilio:visited-comment); r=jryans
Source-Repo: https://github.com/servo/servo
Source-Revision: 3c89486de233d7fe8c81050399b5fc15cf6941aa

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8ba6e0209d48c16a147bffb4176c129c86f00748
2017-07-20 21:38:58 -07:00
Emilio Cobos Álvarez 7a673885bb servo: Merge #17802 - Revert "Backed out changeset b10e6ba9cbdb because gecko part had to b… (from emilio:reland-stuff); r=heycam
…e backed out."

This reverts commit b96d96d448c8ff93f212f225013461999540a5d0.

The fix on the Gecko side is trivial, and I can land it after this lands.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 529387084a48def5605d5285fef062e8dd021453
2017-07-20 20:28:25 -07:00
Xidorn Quan 869c9e8efc servo: Merge #17799 - Don't panic when body element don't have style data (from upsuper:body-color-panic); r=heycam
This is the Servo side change of [bug 1381233](https://bugzilla.mozilla.org/show_bug.cgi?id=1381233).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f06ed5e740351aa4abf010734fc9a6ed65e38194
2017-07-20 19:23:19 -07:00
Daisuke Akatsuka 6e2a8a3429 servo: Merge #17797 - make border-XX-style, cursor, -moz-user-select animatable (from dadaa:bug1378076); r=hiro
<!-- 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] There are tests for these changes. The test codes are patch 4 and 5 of https://bugzilla.mozilla.org/show_bug.cgi?id=1378076

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 196ba9f1767faab7e0cdaf4c7353cc725de8dd94
2017-07-20 18:20:36 -07:00
Alan Jeffrey 05183c9656 servo: Merge #17499 - Fixed scaling artefacts in paint worklets caused by zoom and hidpi (from asajeffrey:script-paint-worklets-zoom); r=glennw
<!-- Please describe your changes on the following line: -->

This PR renders paint worklet canvases at the device pixel resolution, rather than the CSS pixel resolution.

It's a dependent PR, building on #17239, #17326 and #17364.

---
<!-- 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 #17454
- [X] These changes do not require tests because we don't run reftests with zoom enabled

<!-- 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: 9fcbeb3ca2ea0d11d4787c649e82918f7672694d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3ee9ba9b149697292aef4b26de022b90ab6f781e
2017-07-20 17:09:06 -07:00
Manish Goregaokar eed2b90152 servo: Merge #17809 - Stop asserting when cached system font changes (from Manishearth:stylo-system-anim); r=hiikezoe
It may change during animation

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 4616f4ae772b15ed576ba4079638fcfdec4ac3de

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7ee5fd50fc33d600ab3f3713b01efb2acf6baffd
2017-07-20 16:07:51 -07:00
Hiroyuki Ikezoe b83e245b8d servo: Merge #17793 - Call may_have_animations() for parent element in the case where the t… (from hiikezoe:may-have-animations-check); r=birtles
…arget is pseudo element.

In case of pseudo elements ElementHasAnimations is set on the parent element.

updating-animation-on-pseudo-element.html fails without this patch, succeeds
with this patch.

<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1367278
---
- [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: a303696ae3273dfd32c8663c6147692696bdbc08

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 37101ba76a297f34c1cb86f68d81b7e5f69144e2
2017-07-20 14:21:34 -07:00
Xidorn Quan 78793f2a1e servo: Merge #17792 - Fix supports rule parsing issues with <any-value> (from upsuper:supports-any-value); r=SimonSapin
This eventually fixes #15482, as well as several reftests in mozilla-central which were added for [bug 883987](https://bugzilla.mozilla.org/show_bug.cgi?id=883987).

The new function should probably be moved into cssparser crate at some point.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8a2ae3ea22150665ff141aa141aedf8074fe672a
2017-07-20 13:08:58 -07:00
Fernando Jiménez Moreno 408e40547b servo: Merge #17256 - Implement basic Time To First Paint and First Contentful Paint PWMs (from ferjm:ttfp); r=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: eba573d774dd2ac07ec8d62f1ad8deffca4667a4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3ec7d47692901d4f9fd7e9de576fc7ea03600760
2017-07-20 11:34:35 -07:00
Manish Goregaokar 989d68bb1d servo: Merge #17803 - servo: Move FontComputationData to the end of ServoComputedValues to make size check easier, make it NonZero (from Manishearth:servo-fontcomputation); r=emilio
We fail bindgen layout tests on 32 bit because FontComputationData does not accurately reflect the size/alignment of the rust-side replacement.

We move it to the end so that alignment is more straightforward, and
use a NonZero enum so that the representation can be more accurately
handled on the C++ side.

r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1382190

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2581c78c4b627ff65def07226ea1976819d63a83
2017-07-20 10:33:43 -07:00
Emilio Cobos Álvarez 599d471a55 servo: Merge #17801 - style: Don't inherit from the parent visited style if we're a link (from emilio:visited-inherited); r=jryans
Bug: 1377469
Reviewed-by: jryans
MozReview-Commit-ID: CoMj9KSb5w9
Source-Repo: https://github.com/servo/servo
Source-Revision: 3d66cdeed40468cb97f9f007ed282d7f3021a890

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8ecc5e6039ac1d653b48d3d0725352caa2efeaf3
2017-07-20 08:25:09 -07:00
Sebastian Hengst cf13b3c72d Backed out changeset b10e6ba9cbdb because gecko part had to be backed out. r=backout on a CLOSED TREE 2017-07-20 15:42:03 +02:00
Anthony Ramine 4a617c7c10 servo: Merge #17798 - Derive some SVGPaint impls (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: fa34af609fd916f4e4df86ba73e9a5843177a29f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6573f45032529c3de1fe4678e2bb0580cac51346
2017-07-20 04:46:23 -07:00
Cameron McCormack 701a0b27ba servo: Merge #17796 - style: pass old ComputedValues from Element data into Gecko_CalcStyleDifference (from heycam:calc-difference); r=emilio
This is the Servo-side part of https://bugzilla.mozilla.org/show_bug.cgi?id=1380133.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3fa72f7564d3a5d5df662b033fb33c5ceda4b0f3
2017-07-20 03:39:15 -07:00
Emilio Cobos Álvarez b1d9987ccd servo: Merge #17788 - style: Cleanup the cascade a good bit (from emilio:clean-cascade); r=heycam
Was about the time.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0c6942502e978107dabbbda199194c1501d9992f
2017-07-20 02:36:15 -07:00
Glenn Watson 11ab403f4f servo: Merge #17790 - Update WR (text-shadow optimizations) (from glennw:update-wr-shadows-agan); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 069243a474eedb2c914db71c45d121fc4d954f5e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 39cef33d029eb452db08b2251f9f8c86fc4cb5a3
2017-07-20 00:55:45 -07:00
Nazım Can Altınova 864962970b servo: Merge #17776 - More grid serialization and parsing fixes (from canaltinova:disabled-mochitests); r=emilio
These are the bugs I discovered while I was re-enabling the disabled grid mochitests. Now all grid mochitests are passing! Additionally I converted `Vec<CustomIdent>`'s into `Box<[CustomIdent]>`. We are storing so many line names in vectors. These should help a bit.

---
<!-- 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: 20a3b0236d20e621591e751646758e833526084b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f13ef9b3cff0cff4ff2c71f1ca7ece1ccc8483b2
2017-07-19 23:54:33 -07:00
Brian Birtles 25469a7ddc servo: Merge #17794 - Assign properties safely (from birtles:assign-properties-safely); r=hiro
These are the Servo-side changes for [Bugzilla bug 1381389](https://bugzilla.mozilla.org/show_bug.cgi?id=1381389).

Source-Repo: https://github.com/servo/servo
Source-Revision: 513e6b297925387aa21d8382907d4b9283bf6c1e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f04cda9778e7ef619bfdff85b09bcb3fb6eefb2c
2017-07-19 22:48:47 -07:00
Bobby Holley 2a5b9c20fb servo: Merge #17791 - Bring back concise logging for ElementData (from bholley:less_verbose_cv); r=heycam
This was removed recently in the ComputedValues patch, and makes traversal
logging rather unusable.

Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1382357

Source-Repo: https://github.com/servo/servo
Source-Revision: 37d96f5ca9cf6df08dcb9a98455cbf297ec22cff

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ed1e3f1a7d8600447fc6a7c446812399752aef60
2017-07-19 21:02:28 -07:00