9422 Commits

Author SHA1 Message Date
Cameron McCormack
90a4e723f9 servo: Merge #17350 - style: Adjust display:contents to display:inline for NAC (including ::before/::after) (from heycam:gencon-contents); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1354879.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 49f06023911a61699087b6e04863cb3e6cb12afd
2017-06-15 18:58:01 -07:00
Ellen Marie Dash
aa43c98d84 servo: Merge #17347 - Fix setting img src before window.onload causing panic (from duckinator:fix-issue-17319); r=mbrubeck
<!-- Please describe your changes on the following line: -->

Setting an image source asynchronously (e.g. using `setTimeout` or in the callback of an `XMLHttpRequest`) before `window.onload` fired would cause a panic due to a preexisting load blocker not being terminated before assigning a new one.

This PR fixes that and adds a test for it.

---
<!-- 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 #17319.

<!-- Either: -->
- [x] There are tests for these changes

<!-- 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: 04935de3ea8db953415a87bb4107cd48555503de

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 433c35c6dd15b15df8815bd93d3502d8f0de784a
2017-06-15 16:58:20 -07:00
hinaria
ea177608e2 servo: Merge #17340 - windows: fix line height handling (from hinaria:master); r=jdm
hi there!

on windows, this change properly scales a font's line height by its size.

previously, line height was not scaled to the font's size at all, which meant line heights become worse and worse the further you scaled away from the font's design size (in either direction, larger or smaller).

this change makes the `line_gap` ratio and size scale with the font size. i've hand checked that the new computed `line_gap` matches the effective heights in chrome and firefox when `line-height = normal` for a bunch of system fonts. (servo's rendering quality on windows is a different story, though).

![demonstration](https://user-images.githubusercontent.com/975570/27185401-8e27023a-5228-11e7-8475-9e4223730d25.png)

i believe this also solves #16476.

---
- [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: 8fd7dc80c40440b88f42b8f1036ef67483dd93f0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 391981353adad7566e4a59ca8d296e4062355ea0
2017-06-15 15:42:38 -07:00
Anthony Ramine
74279dfc9b servo: Merge #17338 - Derive ToCss for computed LengthOrPercentage types (from servo:derive-all-the-things); r=emilio,waffles
Source-Repo: https://github.com/servo/servo
Source-Revision: 0142d193a3fde057718612028d9c1676e046b816

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dbf86c0ae37ccd730b2a38035b192e8b36b5a36c
2017-06-15 13:37:04 -07:00
budaim
3d6af99f59 servo: Merge #17323 - Avoid panic when reloading a page with mouse event handlers (from ibmandura:issue16057); r=jdm
This PR fixes issue #16057, by nullifying `topmost_mouse_over_target` inside of the `handle_exit_pipeline_msg` method, in case owner document is the same as the pipeline document that is being destroyed.

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

Testing was done manually, by running `./mach run (-r|-d) "http://localhost:8000/minimal.html" `, where `minimal.html` contains `<div onmouseover="location.reload()" onmouseout="this.clientLeft">hi there</div>`.

r?@jdm

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 192f635ae711f875b1f4b711efac1436d5f91918
2017-06-15 12:36:19 -07:00
Emilio Cobos Álvarez
bc95f926c6 servo: Merge #17341 - style: Bindgen bump (from emilio:bup); r=bholley
To grab https://github.com/servo/rust-bindgen/pull/752.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2dd2e8eff9d2f5ccff4fae4441ef6b32cc97b94b
2017-06-15 11:34:12 -07:00
Bobby Holley
ced56a8161 servo: Merge #17334 - Make the traversal work better with the style sharing cache (from bholley:breadth_first_traversal); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1365692

Source-Repo: https://github.com/servo/servo
Source-Revision: 6ec95ecb9f5159eafa8d3051c259d566d518f29d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b8b74ce57dbeb6d85958a4c903095fefc4569443
2017-06-15 10:34:49 -07:00
Anthony Ramine
98940e5acb servo: Merge #17337 - Use CustomIdent in more properties (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 4b633c8637ec8bf5da7538a04506941325807701

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 68d19e6b1133667d4599fdc0299014c0d86d3454
2017-06-15 05:24:17 -07:00
Fernando Jiménez Moreno
2c72d1419f servo: Merge #17324 - stylo: set location for NestedRuleParser during prelude parsing (from ferjm:bug1371393.column); r=SimonSapin
From https://bugzilla.mozilla.org/show_bug.cgi?id=1371393

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2d9901d5de8634c9656453b7755a0d42f5b75e28
2017-06-15 01:36:22 -07:00
Brian Birtles
066d307211 servo: Merge #17331 - Support animation of the display property (from birtles:animate-display); r=hiro
These are the Servo-side changes of [Mozilla bug 1371518](https://bugzilla.mozilla.org/show_bug.cgi?id=1371518).

These changes have been reviewed by @hiikezoe.

Source-Repo: https://github.com/servo/servo
Source-Revision: 09b8f124f59f98d83e4fe72a3fe4d506e912cdb6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c1d1941bcbf78d38a7ec6c1201d1df4061dbc18a
2017-06-14 20:17:47 -07:00
Bobby Holley
c98302df9c servo: Merge #17332 - Bump rayon to 0.8 (from bholley:bump_rayon_0_8); r=glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: e0820c8654489a226e3f1348c1e134e890cb84c3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 25e4f805202f3d0389a3d3f8e36046ffc9c97d34
2017-06-14 19:12:30 -07:00
Emilio Cobos Álvarez
a346686966 servo: Merge #17330 - style: Avoid some branches in common RuleIterator::next cases (from emilio:rules-iter-perf); r=heycam
I saw this function appear in the profiles at #17329.

It was under set_device, which isn't a Stylo path, but probably worth there
anyway.

This reduces the reported overhead of RulesIterator::next in perf from ~8% to
0.46%

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bd915f2f6e1d022d00118f9daa2e5693129729d2
2017-06-14 18:19:21 -07:00
Emilio Cobos Álvarez
f54f3691ea servo: Merge #17328 - style: update bindgen (from emilio:bindgenup); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: 2209566195bf7f8751e720ce227ca38cd7be2220

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9f83031e5b32722d6645923d12d8b1620da9d669
2017-06-14 16:03:35 -07:00
Emilio Cobos Álvarez
57ded08737 servo: Merge #17315 - style: Avoid quadratic time serialization of a declaration block (from emilio:quadratic-serialization); r=SimonSapin
At least when the longhands aren't custom properties.

We should also look into not serializing the style attribute eagerly when it's
not needed... But a lot of code currently rely on attribute values being
dereferenciables to &str, so that's harder to fix.

We should really look into all those vectors around too, but that's probably
less urgent.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 34bcac27a36a6373fb963e064945f77f0252751f
2017-06-14 08:32:27 -07:00
Nicolas Silva
01a59cb89e servo: Merge #17184 - Bump euclid to 0.14.x (from nical:euclid-bump); r=SimonSapin
- [x] `./mach build -d` does not report any errors (kinda, need webrender published and Cargo.toml fixed up)
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it is a refactoring in which the difference is mostly a compile-time/strong-typing thing with no change to the logic.

Source-Repo: https://github.com/servo/servo
Source-Revision: 18653f69581693a5bae1ce4e350e78bc16159b08

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ed1f193620a8c5ebbb70eea337bd519dfc5c18a1
2017-06-14 07:25:05 -07:00
Ting-Yu Lin
4133c4eec0 servo: Merge #17318 - stylo: Fix pseudo element matching for XBL stylesheets (Bug 1371577) (from aethanyc:fix-pseudo-xbl-stylesheet); r=emilio
This change is reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1371577#c9

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c36859edd46fdd90296b4a89ba5dd9f8f9d9eb0c
2017-06-14 05:11:31 -07:00
Emilio Cobos Álvarez
33e4402929 servo: Merge #17317 - Kill StoredRestyleHint, and shrink RestyleData (from emilio:die-storedrestylehint-die); r=bholley
These are the already-reviewed parts of bug 1368236.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8837c80540327db28a6569f0661816b998b65b9f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ee031d0dcf1b49cf1554ff144be5591d58bd1b94
2017-06-14 04:16:24 -07:00
Xidorn Quan
7475262089 servo: Merge #17316 - Resolve counter style during parallel traversal when possible (from upsuper:bug1371976); r=heycam
This is the Servo side change of [bug 1371976](https://bugzilla.mozilla.org/show_bug.cgi?id=1371976).

Source-Repo: https://github.com/servo/servo
Source-Revision: 63a5ab154eabf72595477f8136e371127bcd8486

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b98ce494b01773768afba6fb6a3a5364a0537cca
2017-06-14 03:07:27 -07:00
Cameron McCormack
b28103ba05 servo: Merge #17313 - geckolib: Stop borrowing PerDocumentStyleData twice when resolving lazy pseudo styles (from heycam:double-borrow); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1371708.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b52c625a8cd252b0025d481686424aa5cc74858b
2017-06-14 02:00:07 -07:00
Jeremy Chen
9ebd4efff6 servo: Merge #17310 - stylo: support font-variant shorthand (from chenpighead:stylo-font-variant); r=xidorn
From gecko bug: [Bug 1356134](https://bugzilla.mozilla.org/show_bug.cgi?id=1356134)

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fc3408f14cfc6a1a11c9466c40cf5c387496e7f4
2017-06-13 22:23:21 -07:00
Mantaroh Yoshinaga
1704e664cb servo: Merge #17306 - Return zero when computing distance of Option with both value is none (from mantaroh:paced); r=birtles
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1371480

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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 52da44ed91817f7f863608795a81232726d676bc
2017-06-13 21:28:48 -07:00
Hiroyuki Ikezoe
3e6bb34824 servo: Merge #17305 - Don't process RestyleKind::MatchAndCascade during animation-only rest… (from hiikezoe:restyle-kind-fix); r=emilio
…yle.

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

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because it's for stylo

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7fd1ffec9a39b45d9e89ca5079b0eee7ab04ee1d
2017-06-13 20:28:18 -07:00
Hiroyuki Ikezoe
de98fccc8b servo: Merge #17304 - Allow negative length for SMIL (from hiikezoe:allow-negative-length-for-SMIL); r=emilio
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1369588
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because it's for stylo

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 02716905005db45e47fc8bdcbc4003110588a0c6
2017-06-13 19:25:09 -07:00
Josh Matthews
c50b9f364b servo: Merge #17302 - Remove default cargo config (from servo:jdm-patch-6); r=SimonSapin
This was a temporary change to work around a cert revocation that broke our CI. It is no longer necessary.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dde6f96feb2e291e0b9a430db29d6b8681ce7df1
2017-06-13 18:25:45 -07:00
Emilio Cobos Álvarez
119222a345 servo: Merge #17294 - style: Less refcount churn while inserting in the rule tree (from emilio:less-refcount-churn); r=bholley
There's no need for it since we know no GC is happening while we're doing it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 849bdc958c1aff230d308ecb5551aba4866dbf7a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d9eea0d8018c715c93d66646ac4d0e0a841533cb
2017-06-13 13:01:16 -07:00
Alan Jeffrey
7cd8687201 servo: Merge #17298 - Added Debug implementations (from asajeffrey:script-more-debug-impls); r=mbrubeck
<!-- Please describe your changes on the following line: -->

Added enough `Debug` implementations to be able to debug script thread message processing.

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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2f9adf6bdd18ebdfec39b381fd36cf0c866f5abb
2017-06-13 10:31:25 -07:00
Anthony Ramine
0ad8306956 servo: Merge #17299 - Revert "Derive ToCss for MozImageRect" (from servo:derive-all-the-things); r=emilio
This reverts commit fe19c3810cd20a2a48dd054386f95462a3513e4c.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 71480c14b84fd5432a82cc1bcedb773418199dc4
2017-06-13 09:31:19 -07:00
Nazım Can Altınova
277e899549 servo: Merge #17296 - Handle PseudoElement cases in :active and :hover quirk (from canaltinova:pseudo-quirk); r=bholley
Reviewed by bholley in bugzilla bug.

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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8584e41f8aa249889ce7f9a74671e4d4a8bbd04d
2017-06-13 08:34:04 -07:00
Alan Jeffrey
d120c10d49 servo: Merge #17278 - Clear webrender image id when resizing a canvas (from asajeffrey:canvas-clear-webrender-image-key-when-resizing); r=emilio
<!-- Please describe your changes on the following line: -->

Webrender isn't very happy if images change size, so clear the webrender image key when resizing a canvas.

---
<!-- 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 #17277
- [X] There are tests for these changes

<!-- 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: 8c2a7d6787ba6cc1be699643e7a99021f08fe56b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5e42dde44ba721287fd88b3f3d0f6984d4904b0a
2017-06-13 07:38:12 -07:00
Anthony Ramine
8cdb7a2290 servo: Merge #17293 - Derive two more ToCss impls (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 682af8bb19e3c4750f5e40868a3c2a43c100a160

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e5fbdc98fdeb6fcc1124e115841076851132499d
2017-06-13 06:36:12 -07:00
Emilio Cobos Álvarez
25b326679c servo: Merge #17292 - style: Implement a more fine-grained invalidation method (from emilio:better-style-invalidation); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 07f6e114850896eae2fd206351808fb31cceaaf0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 404a65bc41b59d8019a0dbdc83f7d2df165594d2
2017-06-13 04:56:09 -07:00
Cameron McCormack
529add8ac2 servo: Merge #17295 - style: Don't skip style attributes on NAC (from heycam:nac-style); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1372089.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dc14869fb9a8ca9d36a8dc0cd5092449a9316279
2017-06-13 03:52:11 -07:00
Anthony Ramine
f2775d002e servo: Merge #17291 - Function support for #[derive(ToCss)] and an Animatable fix (from servo:derive-all-the-things); r=<try>
Source-Repo: https://github.com/servo/servo
Source-Revision: 44eb8c8e4fbafa3dac18ae0464923c63e5fc929d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c59b9d3982f06e18bca2c783fab6401d86e2ccbf
2017-06-13 01:24:53 -07:00
Cameron McCormack
9ebc1a575e servo: Merge #17285 - geckolib: Don't panic when attempting to restyle an element with newly applied XBL bindings (from heycam:newly-bound); r=bholley
From https://bugzilla.mozilla.org/show_bug.cgi?id=1370793.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8449eb4a6230d07faafc28a0d277b323e2da5e12

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0a492da9c92ce20694f87777f42e31c622f4d596
2017-06-12 18:46:41 -07:00
Xidorn Quan
58f078c672 servo: Merge #17286 - Set stylesheet url_data correctly for import rule (from upsuper:import-url-data); r=heycam
This is the servo side change of [bug 1331291](https://bugzilla.mozilla.org/show_bug.cgi?id=1331291).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 62ba79253c352753eef52bb7397125f18a732f33
2017-06-12 17:08:49 -07:00
Simon Sapin
e11d387372 servo: Merge #17213 - ID and class selectors are ASCII case-insensitive in quirks mode (from servo:quirk-case); r=bholley
https://bugzilla.mozilla.org/show_bug.cgi?id=1363778

Source-Repo: https://github.com/servo/servo
Source-Revision: 1b077303237d5ecb8307f866e9172d0d8e6b132d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b310b4744e5d41ffeb8d516ed7f3b48c495f0328
2017-06-12 15:52:29 -07:00
Josh Matthews
def2ca72cb servo: Merge #17276 - Use new ARM target for nightly upload (from servo:jdm-patch-3); r=mbrubeck
This should fix #17275 after the changes in #17008.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6be34191da606083cdea100064c19dd22e4b7dab
2017-06-12 13:58:59 -07:00
Bobby Holley
b3cb44a9da servo: Merge #17281 - Pack bloom filter hashes better and save a word on Rule (from bholley:shrink_rule_again); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1371949

Source-Repo: https://github.com/servo/servo
Source-Revision: 75d6796cbd1274c3711472d1a8b728c3cf6ac70c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0676bb1f079485e8e8c734a9d83f3ed120a1f26d
2017-06-12 12:41:39 -07:00
Emilio Cobos Álvarez
1efd7eafe9 servo: Merge #17279 - style: Don't try to compute @viewport unnecessarily (from emilio:no-viewport); r=bholley
If the viewport rule is not enabled, there's just no point in computing it.

Bug: 1372058
Source-Repo: https://github.com/servo/servo
Source-Revision: dfffc726919c9f8f553ed02f825d20635dadbadb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 34019d9d31d8c9b83aa1047cf331b99ef62df072
2017-06-12 11:37:47 -07:00
Nazım Can Altınova
3275a0d69a servo: Merge #17272 - Add an index.html page for geckolib docs (from canaltinova:geckolib-doc); r=jdm
We have successfully added docs for geckolib to `doc.servo.org` in #17243 but we still can't use http://doc.servo.org/geckolib to navigate to geckolib docs because of the lack of an index.html file.

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

<!-- Either: -->
- [X] These changes do not require tests because they are CI changes.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8085a3717822e70185a7deb50e3250a3a86ab857

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 12a3f83d9be02206b7b7ccf71ce6d02b10df16af
2017-06-12 08:38:16 -07:00
Anthony Ramine
0279918943 servo: Merge #17254 - Update the WebIDL parser (from servo:webidl); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 0c929ad3fd902f4314844787868fe891033d3b01

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 39a79ac6b1aefd9222663d328bb2b133f2455b98
2017-06-12 07:37:49 -07:00
Jeremy Lempereur
afa130d070 servo: Merge #17240 - #17079 : Changed the openssl url and bumped the version (from o0Ignition0o:openssl_from_mirror); r=jdm
<!-- Please describe your changes on the following line: -->
Changed the openssl url and bumped the version.
It's a wip because I haven't figured out a relevant way to write a test about it yet.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because The mach command will fail if anything goes wrong.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 055342649187141e17718b9b012d5efb13adc231
2017-06-12 06:43:56 -07:00
Fernando Jiménez Moreno
7dd3a735e2 servo: Merge #17274 - stylo: Implement GetSpecificity for ServoStyleRule (from ferjm:bug1370501.specificity.stylo); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1370501

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f82a67aeb8c2b9b3f84182f0cb3e9ec20ed11b2c
2017-06-12 05:46:11 -07:00
Sadman Kazi
eaa8d6489e servo: Merge #16477 - Pass URL to Browser::new(), delegate url checking logic to 3rd party (from sadmansk:url_param_browser); r=paulrouget
<!-- Please describe your changes on the following line: -->
1. Move the logic of computing the initial url from `opts.rs` to `/ports/servo/main.rs`
2. Add a `ServoUrl` argument to `Browser::new`

Based on the requested changes by @paulrouget:
>We can read the pref in main() instead. shell.homepage would be used if the url is not passed as an argument. I'm trying to decouple the "app" logic and the "web engine" logic. I think it's up to the app to set the initial URL, and I'm not sure the initial url should be part of opts.

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

<!-- Either: -->
- [ ] There are tests for these changes

<!-- 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: 87140641a4f8636b431db41777d01302f8f6ad3d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c2593a42892c939c91fff4f40f62e212dd8d0783
2017-06-11 21:16:06 -07:00
Emilio Cobos Álvarez
99357f53e9 servo: Merge #17270 - stylo: Use bitfield accessors in string-cache (from emilio:bindgen-does-bitfields-sort-of); r=wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 03074f4b0e9908d80558efe519301f39aadc436e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7d3d3be92df34988f095e78bd9233154e49da6c5
2017-06-11 10:31:00 -07:00
Emilio Cobos Álvarez
8e8d2ffd5f servo: Merge #17265 - style: Reduce some code duplication and ugliness when parsing identifiers (from emilio:macros-on-top-of-macros); r=wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 197afeee2d7ac54f330408708673805095a1399a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 05c1e7959909e7be6533fc9b131d8bd6e74d52c0
2017-06-11 09:31:48 -07:00
Josh Matthews
bb12ac5c69 servo: Merge #17244 - Copy all geckolib dependency docs for upload (from servo:jdm-patch-3); r=emilio
Attempt to fix the doc uploading process which is permafailing in #17243.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 31d9c48bbcdcddc8c22bc76acae6b40af0fd023e
2017-06-10 18:03:30 -07:00
Nazım Can Altınova
3022b94456 servo: Merge #17266 - stylo: Support :active and :hover quirk (from canaltinova:active_hover_quirk); r=bholley,emilio
Reviewed by bholley and emilo on the bugzilla bug.

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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 120ad57e94c69c90f85f22176094d979a75c3f4c
2017-06-10 12:25:59 -07:00
Manish Goregaokar
3a92c762ed servo: Merge #17262 - Update bindings for StyleImageLayerRepeat (from Manishearth:bindings); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1371354

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fefc3baf6c787da1a5807c0de6170bb44d60c049
2017-06-09 15:56:10 -07:00
Josh Matthews
1f87774d78 servo: Merge #16752 - Report more informative CSS errors (from jdm:css-parse-error); r=SimonSapin
This requires https://github.com/servo/rust-cssparser/pull/143 for the final commit. There's no better way to split that work up, unfortunately, and it's extremely easy to bitrot. I would appreciate if we could expedite reviewing this work.

This is the work necessary to enable https://bugzilla.mozilla.org/show_bug.cgi?id=1352669. It makes sense to merge it separately because it's so much effort to keep it up to date with the ongoing Stylo work.

---
- [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: 061cb5f48e5c93a5decf39e530aea4a566e97341

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 683cf352b472110df4b28c191e8850763334134d
2017-06-09 14:31:48 -07:00