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

9792 Коммитов

Автор SHA1 Сообщение Дата
Josh Matthews 6feb27360e servo: Merge #17926 - stylo: Report a specific error for invalid CSS color values (from jdm:valueerr); r=heycam
Reviewed by heycam in https://bugzilla.mozilla.org/show_bug.cgi?id=1381143.

---
- [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 (gecko devtools tests)

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 639d68d9e58fb898eb8eed3ce6c6b77cb74b475c
2017-07-31 15:50:14 -05:00
Alan Jeffrey 9f89278c5a servo: Merge #17810 - Script paint worklets speculative evaluation (from asajeffrey:script-paint-worklets-speculative-evaluation); r=emilio
<!-- Please describe your changes on the following line: -->

This PR speculatively calls paint worklets during style, which increases the concurrency, since it increases the chance that the cache will have the right result in it when it comes to layout. The speculation is wasted effort if the size of the element has changed, but this is often not the case.

---
<!-- 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 #17486 and #17369.
- [X] These changes do not require tests because it's a performance improvement

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ab914804642ce2d739a3a441c8691e8041e67958
2017-07-31 13:13:26 -05:00
Emilio Cobos Álvarez 58b1113fb9 servo: Merge #17924 - stylo: Get rid of GetParentAllowServo (from emilio:die-getparentallowservo-die); r=heycam
Bug: 1384542
Source-Repo: https://github.com/servo/servo
Source-Revision: b35791f86fed329046dc54776f1ba73565e0c31f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : eb75d06889a22ce650214080ad4b281fea7eaac4
2017-07-31 05:27:56 -05:00
Xidorn Quan a8c266ed22 servo: Merge #17922 - stylo: Support layout.css.prefixes.device-pixel-ratio-webkit pref (from upsuper:wk-dpr); r=heycam
This is the Servo side change of [bug 1366956](https://bugzilla.mozilla.org/show_bug.cgi?id=1366956).

Source-Repo: https://github.com/servo/servo
Source-Revision: 06e2997d2834bc43b4cea39dcf7bb2f603da93ee

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7e7010edcb898d7bd83a3445ea75e2da770c52ca
2017-07-30 23:39:02 -05:00
Cameron McCormack 2c93c4e21f servo: Merge #17920 - geckolib: Add friendly panic message to Servo_HasAuthorSpecifiedRules (from heycam:hasr-assertion); r=emilio
This just adds a friendlier panic message when `Servo_HasAuthorSpecifiedRules` is called with an unstyled element.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0c9abac373e82b25f2162ddcc3e077c96682a3d7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5f1eae5e1abc90a7bf36b9e7f4af2dfaaa9d3686
2017-07-30 06:53:19 -05:00
Xidorn Quan 364f258c36 servo: Merge #17919 - Update binding files (from upsuper:update-bindings); r=heycam
From tip of autoland.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a7946ddf03cf041722ced50b5437d478a4da311c
2017-07-30 05:16:11 -05:00
Alan Jeffrey 5e86b4f36c servo: Merge #17546 - Script paint worklets arguments (from asajeffrey:script-paint-worklets-arguments); r=emilio
<!-- Please describe your changes on the following line: -->

Implement paint worklet arguments.

This is a dependent PR, only the last commit is in this PR.
---
<!-- 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 #17435
- [X] These changes do not require tests because there are tests in the most recent wpt.

<!-- 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: 097e36beb1fc34f021044a19f029eed8780fa87f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a14b2d7e260344c6303041ee2b7362268b69ca8c
2017-07-29 15:32:49 -05:00
Cameron McCormack df95f36f2d servo: Merge #17918 - style: Don't remain in an invalid state when encountering an at-rule in the wrong place (from heycam:rule-hierarchy); r=emilio
Currently, attempting to parse an at-rule that is out of place, such as
an @import rule after a regular style rule, will cause the parser state
to be set to Invalid.  This will cause any following at-rule to be
rejected until we encounter a regular style rule, at which point we'll
go back to the Body state.  There's nothing in the CSS specs about
needing to reject all following at-rules (or, as the comment above
Invalid says, ignoring the entire rest of the style sheet).

<!-- 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
- [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: d859734702366cec5bc4a48b6c0d2ae93d1179b0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4c5c92187a5b59391fb10d0846815884223daf75
2017-07-29 11:16:33 -05:00
Nikhil Shagrithaya 767eb4e07d servo: Merge #17914 - Run the async HTML Tokenizer on a new thread (from cynicaldevil:new-parser-thread); 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

Follow up for #17565

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 628d2571e88ce2f7d03a000dc48dcf73d809d5e9
2017-07-29 10:08:11 -05:00
DarkDrek a764197b83 servo: Merge #17916 - Use AntialiasMode in CanvasPaintThread::new (from DarkDrek:Use_AntialiasMode_in_CanvasPaintThread_new); r=emilio
Change suggested in #17661

<!-- Please describe your changes on the following line: -->
I only changed `canvas_paint_thread.rs` since `CanvasPaintThread::start` is used outside of the current crate and `azure::azure_hl::AntialiasMode` isn't available there.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because @jdm said so

<!-- 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: 0337ebb5a936a5fefb69a552c9d54b084f21ddc2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d4e8d9634126158a71114ae17f5dd76f44d4ac8c
2017-07-29 09:01:09 -05:00
Dzmitry Malyshau 7792722d19 servo: Merge #17908 - WR multi-document update - try 2 (from kvark:wr); r=emilio
<!-- Please describe your changes on the following line: -->
Combines #17892 with the patch to detach style_traits from webrender_api

---
<!-- 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
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix  #17907

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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f3e194197216c30c7f7df4545233c084973a6986
2017-07-29 07:38:23 -05:00
Emilio Cobos Álvarez 726ba23d05 servo: Merge #17906 - style: Don't unconditionally generate Calc values when converting background-size from Gecko (from emilio:calc-bgsize); r=hiro,birtles
Bug: 1385140
MozReview-Commit-ID: ERwq50WSvLV
Source-Repo: https://github.com/servo/servo
Source-Revision: 6b320eaad3b0bc5e5efe432f504714156d325c4d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fc2d0b740d2a89e9ae201ca341f3ac4dc8d3458c
2017-07-29 06:41:27 -05:00
Xidorn Quan 1bff42cd73 servo: Merge #17915 - Remove Gecko_GetMediaFeatures and access nsMediaFeatures::features directly (from upsuper:media-features); r=emilio
This is the Servo side change of [bug 1385529](https://bugzilla.mozilla.org/show_bug.cgi?id=1385529).

Source-Repo: https://github.com/servo/servo
Source-Revision: 03223be66bd6ff5011479903da6ae706c503c2cc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 38963c23395164b710013cac4382a8d660cf5ca7
2017-07-29 05:22:20 -05:00
Hiroyuki Ikezoe f4540d6e41 servo: Merge #17911 - Fix rotate_to_matrix (from hiikezoe:rotate-to-matrix); r=canaltinova
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1384410

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cb08f61e21b145bc063d2a22a19dad217fbf7651
2017-07-29 01:01:10 -05:00
Boris Chiou fc53b467e0 servo: Merge #17903 - stylo: Implement ToCss for SpecifiedOperation::{InterpolateMatrix|AccumulateMatrix} (from BorisChiou:stylo/animation/interpolatematrix_to_css); r=birtles
DevTools may serialize an InterpolateMatrix or AccumulateMatrix by
KeyframeEffectReadOnly::GetProperties() (from Gecko side), so we have to implement both.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1381386](https://bugzilla.mozilla.org/show_bug.cgi?id=1381386).
- [X] These changes do not require tests because only Chrome-Only API needs this, and the serialization of InterpolateMatrix and AccumulateMatrix are not in the spec.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ed8c9ba23ed8800d35e8ed26bcc3c740c3ecfb0f
2017-07-28 23:55:55 -05:00
Boris Zbarsky 28e3e1065f servo: Merge #17912 - Implement ::first-line support in stylo (from bzbarsky:stylo-first-line); r=emilio
<!-- Please describe your changes on the following line: -->

Fixes Gecko bug 1324619.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because there are Gecko 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: ed75bcae75bda9e4ad04f24ebc07b53f7b51b8b6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b615086c90d7803071b07cd25e5a187fe68fc01d
2017-07-28 22:51:20 -05:00
Xidorn Quan c687dc7b7a servo: Merge #17913 - Have check_allowed_in read gPropertyEabled table directly (from upsuper:prop-enabled); r=Manishearth
This is the Servo side change of [bug 1381690](https://bugzilla.mozilla.org/show_bug.cgi?id=1381690).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e3baefb43dea7eadf397e910ef9a30bcbdd6d9b9
2017-07-28 21:49:38 -05:00
Boris Zbarsky 72e398a73d servo: Merge #17909 - Don't reconstruct the layout object when going from no pseudo to pseudo with no content for ::before and ::after (from bzbarsky:dont-reframe-before-after); r=emilio
Fixes Gecko bug 1376073.  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
- [X] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1376073

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because there are Gecko 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: 8db39f8fdec1c4e86b631230d862d3f370b70bcb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2725f0bf7478421d225730e1641864a802ef1eb2
2017-07-28 20:12:37 -05:00
Wes Kocher 69706d3a85 Backed out changeset c424ad1c5f94 for build failures a=backout CLOSED TREE
MozReview-Commit-ID: 2wv9vOLQSHp
2017-07-28 16:20:27 -07:00
Sebastian Hengst 0707f0d0a3 Backed out changeset a417b9d7712d for vendoring bustage. r=backout on a CLOSED TREE 2017-07-29 00:04:59 +02:00
Dzmitry Malyshau 4659203c12 servo: Merge #17892 - WR multi-document update (from kvark:wr); r=glennw
<!-- Please describe your changes on the following line: -->
The PR updates WR version to support multiple documents (https://github.com/servo/webrender/pull/1509) but doesn't take advantage of this new feature yet.
It also makes Servo to use `DevicePixel` from WR instead of rolling out another one.

---
<!-- 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
- [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 _____ no extra logic

<!-- 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: 12a49dc0be8a8acd12440dd7191b349ca17de7c8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f036e78668713987f000f99714f86e588107baa1
2017-07-28 13:26:52 -05:00
Nikhil Shagrithaya 0ebce7cb02 servo: Merge #17565 - Servo's async Tokenizer: New! Improved! Now with multithreading! (from cynicaldevil:new-parser-thread); r=nox,jdm
<!-- Please describe your changes on the following line: -->

The Tokenizer, defined in the file `async_html.rs` will run on the main thread, while h5e's `Tokenizer`(along with its Sink) lives on the parser thread. Both h5e's `Tokenizer` and `Sink` communicate with the main thread Tokenizer via their own mpsc channels. The Sink keeps sending parser operations to the main thread, to be executed. For some operations, it waits for a message from the main thread before returning.

---
<!-- 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
- [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: e8272dcf1a316549cdbc98a16c181c02743041c4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c4075c5058c4e8688aa787acab038346e46e7b41
2017-07-28 12:23:29 -05:00
Cameron McCormack d9ce239334 servo: Merge #17901 - style: Remove now-unused empty Variables struct (from heycam:rm-empty-variables); r=emilio
<!-- Please describe your changes on the following line: -->

The `Servo_GetEmptyVariables` FFI function no longer has any callers from Gecko, so we can remove it and the code that creates/frees that struct.

---
<!-- 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
- [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: e95da98f5fae9705131dd0731679241b295095dd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 477bbed9e1dea773c06fdff4b38af783ae73201b
2017-07-28 09:08:24 -05:00
Abdelrhman Ahmed d2fae333d9 servo: Merge #17905 - Issue 17882: Remove rendering_threads option in the CEF port (from abahmed:update_CEF_port); r=emilio
Fixes issue 17882 by removing rendering_threads option in the CEF port
r?@highfive

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 59ca85ea3389bb7fa3ab4f01f6292be20de4de09
2017-07-28 08:15:05 -05:00
Boris Chiou a13de494f4 servo: Merge #17898 - stylo: Fix compute_squared_distance for AnimatedFilterList (from BorisChiou:stylo/animation/filter_distance); r=birtles
We implement compute_distance for Angle to avoid returning Err(()) from it, and then rewrite compute_squared_distance of AnimatedFilterLIst to avoid using unwrap() and make it simpler.

---
<!-- 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 1384014](https://bugzilla.mozilla.org/show_bug.cgi?id=1384014).
- [X] These changes do not require tests because there is a DevTools test for this already.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e302ec010c25ab66678f63f480bb0c2fd54884cb
2017-07-28 02:08:31 -05:00
Xidorn Quan edf822eba3 servo: Merge #17902 - Upgrade to bindgen 0.29 (from upsuper:update-bindgen); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 9566f83c2740b11fe9b7c230ae62600deae0ff7d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 88f4ce860840ebe550fbe6b4d42c0c160f8536d2
2017-07-28 00:32:11 -05:00
Manish Goregaokar 14091b934b servo: Merge #17897 - Bump app units version (take 2) (from Manishearth:bump-au); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: b1d97460419cc60159442fbfc2df483c488597ab

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3c4bb899c676267a1c7c98467650c45d24487d4f
2017-07-27 19:32:30 -05:00
Bobby Holley 68cdedacfc servo: Merge #17895 - Clean up traversal modes (from bholley:clean_up_traversal); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1384769

Source-Repo: https://github.com/servo/servo
Source-Revision: 255c9d00da8d6837a5625ad19d9b1cd623286c3b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b4716821f6c722713c2546ed9bf8fb77dbcffddb
2017-07-27 18:29:29 -05:00
Nazım Can Altınova 881ba2aee9 servo: Merge #17894 - Implement parsing/serialization for @font-feature-values rule (from canaltinova:at-font-feature-values); r=SimonSapin,xidorn
<!-- Please describe your changes on the following line: -->
This is reviewed by SimonSapin and xidorn in [Bug 1365900](https://bugzilla.mozilla.org/show_bug.cgi?id=1365900).

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 00e55dd278f46560e61959a1fd5aa9e1846cb557

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 31540bc2de7cc2b7b5bd29a8b59d1963591de14b
2017-07-27 16:15:02 -05:00
Nathan Froyd 8f9d62ed9b servo: Merge #17890 - remove workspace key for components/atoms (from froydnj:atoms-workspace); r=jdm
Cargo will already traverse up the directory hierarchy to find an
appropriate workspace, so we don't need to specify anything here.  This
change brings components/atoms/Cargo.toml in line with other Cargo.toml
files in the tree.

- [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 compilation is sufficient.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 83abcf7abd6ad32f0719687024c4e6a5c724cd9a
2017-07-27 11:07:29 -05:00
Jeremy Chen d0f54c9e2e servo: Merge #17889 - stylo: remove bogus optimization check in replace_rules() for visited styles (from chenpighead:fix-transition-visited); r=hiro
We skipped updating the rule nodes for visited rules during animation-only restyle.
However, this causes isseus that visited style overrides animation styles on visited element.
So, it turns out that we should update the visited rules even during animation-only restyle.

Gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1381235

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 291f128f87d9458fb0f201d99f8b5a256cca6fe1
2017-07-27 08:25:20 -05:00
Emilio Cobos Álvarez dfb597110e servo: Merge #17888 - style: Avoid exponential blowup when processing invalidations of the same kind (from emilio:o-to-the-n); r=heycam
Bug: 1383981
Reviewed-by: heycam
MozReview-Commit-ID: HZ97UwvblkQ
Source-Repo: https://github.com/servo/servo
Source-Revision: a56d3a5381eb850ea1d26d6ce5f49f105172bf84

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 99439e7ca5cd4a2754f5db05e7560a89489ebddb
2017-07-27 06:04:23 -05:00
Simon Sapin c1d621cbd6 servo: Merge #17884 - Upgrade to rustc 1.21.0-nightly (599be0d18 2017-07-26) (from servo:rustup); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 9370a0c4b500a1ad9dc29c0ad8a37d47f00d0817

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 00fd18a810160cde902a0f1c5d72d5dc845c2cf6
2017-07-27 03:13:34 -05:00
Emilio Cobos Álvarez d61a32d0eb servo: Merge #17881 - style: fix alignment in call to get_all_matching_rules (from emilio:fncall); r=canaltinova
Source-Repo: https://github.com/servo/servo
Source-Revision: 9645ecef3e138de65f205e44ce41257e2ae0bcd0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ad7870766fc1ea0d335ee05ede29188025b7d2e6
2017-07-27 02:10:46 -05:00
Manish Goregaokar 8b01b11efc servo: Merge #17880 - stylo: call update_border_foo when inheriting borders too (from Manishearth:stylo-update-border); r=emilio
this fixes the reftest failure in layout/reftests/bugs/731521-1.html

Source-Repo: https://github.com/servo/servo
Source-Revision: 33c950469034c2b4dbd45a5014d0b6c3560c1dd9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5a8980d55e2a913fda13860c15f405b073b511a3
2017-07-27 01:09:24 -05:00
Josh Matthews 62ce04097f servo: Merge #17872 - Warning patrol (from servo:jdm-patch-1); r=KiChjang
This greens up every build except the android one.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cd9ce556d1e4f8b2082c8599febc5c728629580e
2017-07-27 00:10:49 -05:00
Hiroyuki Ikezoe 68a14139dd servo: Merge #17879 - MatrixDecomposed3D.add_weighted() is called with zero value for other… (from hiikezoe:fix-assert); r=hiikezoe
…_portion in case of iteration composite.

In the case where we accumulate transform:none onto decomposed matrix for
iteration composite whose iteration count is over 2, we pass zero
other_portion and self_portion which is over 1.0.  We should care about the
case.

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

<!-- Please describe your changes on the following line: -->
---
- [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: b38d3f2976f0835643836e56a607b94da269a554

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 04cc84c62adaa49b0ddd04ec018e7e37d2f3e66e
2017-07-26 22:52:40 -05:00
Wes Kocher f1fe73a6c4 Backed out changeset 1c8d22359d5d because the gecko half was backed out a=backout CLOSED TREE
MozReview-Commit-ID: 6dEpUMwimww
2017-07-26 18:39:40 -07:00
Manish Goregaokar 8e14049399 servo: Merge #17878 - stylo: Bump app units version (from Manishearth:bump-au); r=emilio
r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1383492

Source-Repo: https://github.com/servo/servo
Source-Revision: 27031b996b905bbe42234729a63352cd7579f0fa

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e3e0a2e0decbf8d2942178b149ebed012a85ab3d
2017-07-26 16:53:58 -05:00
Boris Zbarsky 0b073f9efb servo: Merge #17875 - Add support for having two separate parent styles. Fixes gecko bug 1382806 (from bzbarsky:first-line-dual-inheritance); r=emilio
<!-- Please describe your changes on the following line: -->

This is needed for ::first-line support.  See https://drafts.csswg.org/css-pseudo-4/#first-line-inheritance

This PR doesn't quite implement what the CSS spec draft says right now.  It implements what Gecko does, which is what an earlier draft said.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because servo doesn't support ::first-line yet

<!-- 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: 020188fdd77f0f0f2848e21eb9bcc28362d98506

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fb65e4b9bd1efb55d0a2a11efd05611ac6d734eb
2017-07-26 15:21:37 -05:00
Nazım Can Altınova 55615eae32 servo: Merge #17877 - Cleanup @font-face rule constructor (from canaltinova:font-face-refactoring); r=jdm
Passing SourceLocation into constructor instead of assigning
immediately after construction cleans up the code and helps to
prevent leaving an invalid SourceLocation in the future.

- [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 it's just a cleanup.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : aa56fb4a8ca1dfb75cda8cef889ee78e7cd5a169
2017-07-26 14:13:02 -05:00
Emilio Cobos Álvarez 4036d498b5 servo: Merge #17871 - Revert "Auto merge of #17868 - ferjm:bug1380259.radial.gradients, r=xidorn" (from emilio:revert-gradient-stuff); r=emilio
This reverts commit ef233381cc1d6389205a57c9b2a08617880abc49, reversing
changes made to f61528d2977b11673af30e075b4556a2a30f5aaf.

This broke a bunch of tests in m-c, like:

  https://treeherder.mozilla.org/logviewer.html#?job_id=118007409&repo=autoland

Source-Repo: https://github.com/servo/servo
Source-Revision: 799988578e072763edea6dec3ef066b7c01c1f3d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 60c7b316c16392b069158d86e9bf78881a5fdf6a
2017-07-26 07:51:21 -05:00
Josh Matthews 246781bcbb servo: Merge #17859 - Add message suffixes to stylo error reports (from jdm:geckodecl); r=heycam
This is the Servo-side part of https://bugzilla.mozilla.org/show_bug.cgi?id=1381137. This allows us to add the "Declaration dropped" or "Skipped to next declaration" messages after relevant CSS errors that are reported.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9a4013efe443cc53b11b04bf22f3e9dfb603747b
2017-07-26 06:46:13 -05:00
Fernando Jiménez Moreno 3450a4a42e servo: Merge #17868 - stylo: serialize radial gradients using modern unprefixed style (from ferjm:bug1380259.radial.gradients); r=xidorn
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4d32435069fe5fc22fae710e1db5c5b429c27f79
2017-07-26 03:20:33 -07:00
Emilio Cobos Álvarez 534946a633 servo: Merge #17867 - style: Don't skip computation of pseudo-elements of display: none elements (from emilio:pseudo-display-none); r=heycam
We have optimizations to avoid doing selector-matching when the style attribute
changes, so, given you can toggle the display property and the pseudo-elements
will suddenly become effective, we can't really skip them.

Furthermore, we assume that if an element has an ElementStyles, they're
up-to-date and we can use them for getComputedStyle, so it's pretty easy to
prove that we do the wrong thing when calling getComputedStyle with a
pseudo-element on a display: none root.

Bug: 1384065
Reviewed-by: heycam
MozReview-Commit-ID: BIOqevGZyrm
Source-Repo: https://github.com/servo/servo
Source-Revision: f61528d2977b11673af30e075b4556a2a30f5aaf

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4e48139b6eb463cc3bea3c2f3db1d602e9dcb28b
2017-07-26 02:15:30 -07:00
Daisuke Akatsuka 45a4609eb4 servo: Merge #17865 - make font-variant-alternates animatable (from dadaa:bug1379921); 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 2 and 3 in https://bugzilla.mozilla.org/show_bug.cgi?id=1379921

<!-- 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: 3d5eb727f68590d451abe1b466959527254c3eb2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9c2d4a8cdd4ad731ab7f24b5d4c512d6c0bab494
2017-07-25 21:21:53 -07:00
Hiroyuki Ikezoe 1a81b44c4a servo: Merge #17866 - Preserve restyle damage if the element was not restyled during thrott… (from hiikezoe:restyle-damage); r=emilio
…led animation flush.

<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1381420

---
- [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: 40eeee4e05576dad4c5248e7f3e6eab892c88b52

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 33af364db724ed915dbffd4bc933b38621a59d73
2017-07-25 20:19:16 -07:00
Glenn Watson 5338944e39 servo: Merge #17863 - Update WR (scroll/overflow mostly) (from glennw:update-wr-scroll-stuff); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: f351e6819873d208f2fc2b6b9908f8d91655296f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 77de6d30974297a89cffd9ef4c3a3983c354fba1
2017-07-25 19:16:34 -07:00
Emilio Cobos Álvarez 917b2e56a1 servo: Merge #17858 - selectors: Fix note_next_sequence (from emilio:hover-quirk-broken); r=canaltinova
Selector-matching can backtrack when looking for ancestor combinators, so we
can't just arrive there once and forget.

Also, there was a further problem before this patch, which was that
note_next_sequence was called _before_ checking whether all simple selectors
matched, so the sequence you could get there is just wrong.

Bug: 1384020
Reviewed-by: canaltinova
MozReview-Commit-ID: 6g0ibb8EfBU
Source-Repo: https://github.com/servo/servo
Source-Revision: 316878b4898f5a3f3e23c513d8f95540f497971a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : adede91553da03399a49dfcdadbc7a6cdbb62f23
2017-07-25 15:42:37 -07:00
Manish Goregaokar 9f479750e6 servo: Merge #17856 - Use saturating ops when passing computed clip value to gecko (fix bug 1384150) (from Manishearth:stylo-clip-overflow); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1384150

Source-Repo: https://github.com/servo/servo
Source-Revision: 002ea74a713860be5e537f0113f4cfbb1925cb33

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f79fc124b13a976da5fa5bf6d3cd9f94c7974723
2017-07-25 14:33:19 -07:00