Commit Graph

10584 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
84a65079d1 servo: Merge #19194 - stylo: Bring back support for calc() in media-queries (from emilio:media-query-calc); r=Manishearth
Bug: 1396057
Reviewed-by: Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 4970b5d1544fe8f33287b01540e972a639baa689

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1c07a2da1e3037da46501bb6d96e02383ec7b982
2017-11-12 20:06:12 -06:00
tigercosmos
eb910190cb servo: Merge #19178 - enhance android build debug info in build_commands.py (from tigercosmos:python12); r=emilio
<!-- Please describe your changes on the following line: -->
I have some experience with building android.
Sometimes I forget  to set `ANDROID_NDK` or `ANDROID_SDK` when I create a new clean environment, and I would know only when build error message come out.(After very long time)
I think we could enhance the debug engineering at the beginning.

Also fix the previous work  #19109
I forgot to consider if `open()` crash(file not exist).

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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7c2c8803a9e7c9f792e7e2cb5b0a1d95c2010cfa
2017-11-12 18:37:10 -06:00
tigercosmos
f3abc6bb9f servo: Merge #19127 - scroll, SetScrollTop, SetScrollLeft in element.rs (from tigercosmos:overflow10); r=emilio
<!-- Please describe your changes on the following line: -->
Currently dom-element-scroll have not finished yet. (Step 10)
This PR finish the step 10 of `scroll`, `SetScrollTop`, `SetScrollLeft`

[Step 10 description](https://drafts.csswg.org/cssom-view/#dom-element-scrolltop):
> If the element does not have any associated CSS layout box, the element has no associated scrolling box, or the element has no overflow, terminate these steps.
---
<!-- 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 #19114 (github issue number if applicable).

<!-- 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: 37760054e2cf742c9043b96b832d2fbdf796d367

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0ef07d51bdd1317c10e1e17dda15740f2df610ad
2017-11-12 17:24:33 -06:00
Xidorn Quan
e4080bb4b4 servo: Merge #19141 - Implement -moz-window-transform{,-origin} internal properties (from upsuper:window-transform); r=emilio
This fixes [bug 1374178](https://bugzilla.mozilla.org/show_bug.cgi?id=1374178).

Note that the impl of `-moz-window-transform-origin` doesn't exactly match how it is implemented in Gecko. Specifically, that property doesn't accept depth value in Gecko, but it does in this impl. The depth value is simply dropped during conversion. This is because I don't think it's worth adding code for handling this internal property to make it as restrictive.

This is a modified version of #19106. The only difference since then is how `impl_transform_origin` distinguish between `transform-origin` and `-moz-window-transform-origin`. The previous PR has a bug which checks against `transform` rather than `transform-origin`, while this PR changes it to checking the length of the array. It introduces an unsuppressible warning due to rust-lang/rust#45850. This doesn't cause build failure, so maybe it's fine?

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 28feb95c087a21b85d88d8c530d4754e45f18425
2017-11-12 13:04:22 -06:00
Emilio Cobos Álvarez
a3e33c465d servo: Merge #19186 - style: Derive more stuff (from emilio:derive-more-stuff); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: fad4d7ae49140b8919f9b823542b440aeb0ecc9e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d3487bd26d29b440d247d272ca553a0164bc15d8
2017-11-12 09:41:04 -06:00
Fernando Jiménez Moreno
e57da99004 servo: Merge #19180 - Fix binding generation for overloaded functions with optionals and de… (from ferjm:optional.overloaded.webidl); r=jdm
…fault values

The generated bindings for an interface like this:

```webidl
void someFunction(Foo foo, optional long a = 0, optional long b = 1);
void someFunction(Bar bar, optional long a = 0);
```
are failing to build with an error like:

```bash
    error[E0425]: cannot find function `Throw` in this scope
         --> /Users/ferjm/dev/mozilla/servo/target/debug/build/script-7b1a12ddd08207e3/out/Bindings/TestBindingBinding.rs:15395:24
          |
    15395 |                 return Throw(cx, NS_ERROR_XPC_BAD_CONVERT_JS);
          |                        ^^^^^ not found in this scope

    error[E0425]: cannot find value `NS_ERROR_XPC_BAD_CONVERT_JS` in this scope
         --> /Users/ferjm/dev/mozilla/servo/target/debug/build/script-7b1a12ddd08207e3/out/Bindings/TestBindingBinding.rs:15395:34
          |
    15395 |                 return Throw(cx, NS_ERROR_XPC_BAD_CONVERT_JS);
          |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

    error[E0425]: cannot find function `Throw` in this scope
         --> /Users/ferjm/dev/mozilla/servo/target/debug/build/script-7b1a12ddd08207e3/out/Bindings/TestBindingBinding.rs:15468:24
          |
    15468 |                 return Throw(cx, NS_ERROR_XPC_BAD_CONVERT_JS);
          |                        ^^^^^ not found in this scope

    error[E0425]: cannot find value `NS_ERROR_XPC_BAD_CONVERT_JS` in this scope
         --> /Users/ferjm/dev/mozilla/servo/target/debug/build/script-7b1a12ddd08207e3/out/Bindings/TestBindingBinding.rs:15468:34
          |
    15468 |                 return Throw(cx, NS_ERROR_XPC_BAD_CONVERT_JS);
          |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

    error: aborting due to 4 previous errors

    error: Could not compile `script`.
```
- [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

** Note that this depends** on https://github.com/servo/rust-mozjs/pull/379

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f39f5160149998e40ae2a740706c4385b46f8415
2017-11-11 08:59:20 -06:00
CYBAI
c8b1df818d servo: Merge #19167 - style: Move font-variant-alternates outside of mako (from CYBAI:font-variant-alternates-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19166  (github issue number if applicable).
- [x] These changes do not require tests

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c664918267746e08923e593f7abad4c8ecb05273
2017-11-10 17:49:15 -06:00
Matt Brubeck
7940ffb614 servo: Merge #19181 - Remove unused -t command-line flag (from mbrubeck:opts); r=emilio
A little bit was left over from #16716.

- [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 they only remove unused code

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b1bb3b2099ccf7a2254e68b984012fdfcf876837
2017-11-10 13:50:14 -06:00
Emilio Cobos Álvarez
dc2d8cf9dc servo: Merge #19175 - script: Call content_and_heritage_changed from children_changed instead of add_child / remove_child (from emilio:children-changed); r=nox
add_child / remove_child aren't called when a node character data changed. This
is important for finer grained invalidation.

The only test that tests this is now wallpapered, but won't be after #19164.

Source-Repo: https://github.com/servo/servo
Source-Revision: 333c6ef7fa55bfc08e1d53025c9db452e928a8bf

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e77860fd1a5a9a3f3050027ef48d9c8311742943
2017-11-10 08:47:50 -06:00
Emilio Cobos Álvarez
d2bfb199ac servo: Merge #19176 - layout: Fixup indentation of ThreadSafeLayoutNodeHelpers::flags (from emilio:indentation-fixup); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 26ff6111ffb820993bc0e0468565ff66c6ca16e2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3d58b8bcdc4002b2d5aaab9194a29985c24669dd
2017-11-10 07:28:29 -06:00
CYBAI
4309ec3e64 servo: Merge #19165 - style: Move font-synthesis outside of mako (from CYBAI:font-synthesis-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19160  (github issue number if applicable).
- [x] These changes do not require tests

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6f53dea7d174eae1196a7c6c12484fd823502c99
2017-11-09 22:13:51 -06:00
Keith Yeung
d4a131953a servo: Merge #18262 - Implement value sanitization on HTMLInputElement (from KiChjang:value-sanitization); r=nox
https://html.spec.whatwg.org/multipage/input.html#value-sanitization-algorithm

Source-Repo: https://github.com/servo/servo
Source-Revision: 338e2ae5206d5270a6feaf7adbb8279fe25040e2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a9799df5f9d5f362c6645355435777ab4fb6ce1d
2017-11-09 18:35:07 -06:00
Glenn Watson
3c9c93667c servo: Merge #19169 - Update WR (dotted border fix, better AA for split primitives) (from glennw:update-ww-aa-dots); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: a1331169f6113440de37cade877ae799f72e4053

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0a776aa4586a20c302707725f337b629525af1ad
2017-11-09 17:28:07 -06:00
Simon Sapin
3fedeb4793 servo: Merge #18821 - Update metadeps to remove duplicate error-chain crate (from servo:dupdep); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ff1b58385cc904db8c06c79e66b8027db83d27dc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4454bf5984bb0dcf772f9845f09a9f18b81d91fe
2017-11-09 13:20:27 -06:00
Simon Sapin
a6f7082122 servo: Merge #19128 - Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) (from servo:asciiext); r=nox
This fixes some new warnings, some of which (in `style`) are treated as errors. See https://users.rust-lang.org/t/psa-dealing-with-warning-unused-import-std-ascii-asciiext-in-today-s-nightly/13726

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 49e4a180cd0d8ecdd48cd6896dc16b580f564e10
2017-11-09 10:00:38 -06:00
Emilio Cobos Álvarez
39758fd86f servo: Merge #19163 - style: Remove the skip_applying_damage "optimization" (from emilio:useless-opt); r=nox
We already remove all change hints down the tree when finding a reframe hint
using ClearServoRestyleFromSubtree in ServoRestyleManager, so this is useless.

MozReview-Commit-ID: 1twx7iPt79x
Source-Repo: https://github.com/servo/servo
Source-Revision: 20ccde9a75e52f3dc7adccf0136f5753deb41158

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4e8d88923fef766a3d9eeca267356ef6962809c6
2017-11-09 08:25:25 -06:00
Simon Sapin
cf341df19a servo: Merge #19162 - Allow unused imports for AsciiExt in style code (from emilio:ascii-ext); r=emilio
See #19128, this part is cherry-picked so Gecko can build with rust nightly.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0ee67ddf598b1ea99e92f6a285a960f86b1cb971
2017-11-09 06:49:29 -06:00
tigercosmos
184c5db553 servo: Merge #19161 - remove unused script in build_commands.py (from tigercosmos:python2); r=emilio
<!-- Please describe your changes on the following line: -->
code in `build_commands.py` duplicates with `openssl.makefile`, so it is unused.
(It only use in openssl)
ae5dca985e/python/servo/build_commands.py (L268)
ae5dca985e/support/android/openssl.makefile (L9-L10)
ae5dca985e/support/android/openssl.sh (L83-L84)

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

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

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f44f1e7be5d3d42df9c55e04a0104274f08f739b
2017-11-09 05:57:43 -06:00
Glenn Watson
2e318a6c3d servo: Merge #19155 - Update WR (inset box shadow blur fix, subpx text optimizations) (from glennw:update-wr-more-opts-2); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ae5dca985ee58fbcd18d7e470184beb2b7e3d547

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b62f6ee73aa8dd21deb004258f8cddc1a405bf74
2017-11-08 16:10:52 -06:00
Alan Jeffrey
c2ac47fb97 servo: Merge #19138 - Rename js crate to mozjs (from asajeffrey:script-rename-js-dependency-to-mozjs); r=jdm
<!-- Please describe your changes on the following line: -->

This PR renames the `js` dependency to `mozjs', ready for when https://github.com/servo/rust-mozjs/pull/377 lands.

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

<!-- 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: 5b36b74c06232a6436409b5fb474abf271a9e6f7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fa88c2923e669fa635b13d321af4c3393f3084b2
2017-11-08 11:45:05 -06:00
CYBAI
ea4c319bb3 servo: Merge #19153 - style: Move font-size-adjust outside of mako (from CYBAI:font-size-adjust-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19151  (github issue number if applicable).
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 294a24af4850bc06971fe7e78bb680cc8eb02150

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bf5c5151144517c0f3e6972f2c9722b33474065c
2017-11-08 09:52:37 -06:00
Emilio Cobos Álvarez
bc39f4aca9 servo: Merge #19149 - style: minor cleanups (from emilio:random-cleanup); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: cbf2ac35f7ba4188f20ba20284d5c218280537d7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1c15073d124dd5d4f1f76758e34103f6489fdcf7
2017-11-08 07:28:47 -06:00
Keith Yeung
a31a042f17 servo: Merge #19148 - Import sequence inner types if it appears in dictionary members (from KiChjang:import-sequence-inner-types); r=jdm
Relands #19133, as it was backed out wrongly in #19143.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8c6e6663e4abf0fb7561c29ec8671c0cb09732be
2017-11-08 06:22:16 -06:00
CYBAI
3031fa200c servo: Merge #19119 - style: Move font-size outside of mako (from CYBAI:font-size-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19111  (github issue number if applicable).
- [x] These changes do not require tests

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 03d7d5a6315607ef019c6bbd5058711e7863d664
2017-11-08 04:05:47 -06:00
Glenn Watson
a92608367b servo: Merge #19140 - Update WR (Windows subpx rendering fix) (from glennw:update-wr-windows); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: b8fdb90b955d158ed72b2e0459bf22bc2fe8629f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 572a41185c5da55ce1dda7f40bc0bf861bbdfcf6
2017-11-08 00:55:00 -06:00
Emilio Cobos Álvarez
ecc1a99b7d servo: Merge #19139 - style: Get rid of parse_specified (from emilio:bye-parse-specified); r=jdm
It has a single use, and I don't think we should use it in the future.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1eeb00ce680cf49ce752a0d8c8ed5fc8fad2d0df
2017-11-07 23:44:17 -06:00
Gregory Szorc
a1bd150819 Backed out changeset dd834d38eaab for Windows debug build bustage
--HG--
extra : rebase_source : b8d31cced33d97f6486d5a2af45937d2e5615d86
2017-11-07 17:19:22 -08:00
Keith Yeung
dfbda4212b servo: Merge #19133 - Import sequence inner types if it appears in dictionary members (from KiChjang:import-sequence-inner-types); r=jdm
Fixes #19107.

r? nox

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3df32aba9f6b0b5fa035c1f4c8bd2d15625a14c8
2017-11-07 17:07:03 -06:00
Josh Matthews
677c61674e servo: Merge #16946 - Add intermittent failure reporting to filter-intermittents (from jdm:report); r=Manishearth
We need to address https://github.com/servo/saltfs/issues/671 before this can be enabled by default on the builders, but I got the pieces working locally. This collects relevant information about each recorded intermittent failure encountered during a test run and posts them to a webapp which stores them in a database for later investigation. This will allow us to track over time which intermittent test failures are the most frequent, as well as whether they only happen on a particular builder or operating system.

Source-Repo: https://github.com/servo/servo
Source-Revision: 693c3dcfb29ecc2aa4610aabc68ce7381bfd5d87

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2fab214dd1a6956fccbbfe9312aed2b3ff442abc
2017-11-07 13:05:12 -06:00
Paul Rouget
81e0d54d28 servo: Merge #19135 - do not pass new size to Resize event (from paulrouget:resize); r=mbrubeck
It's not necessary to pass the new size to the resize event as it can be retrieved via `WindowMethods::framebuffer_size()`.

From the perspective of the embedder, that makes things a bit easier.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6a0e281b0944539fc024b6df6ec93ac4f7570d9e
2017-11-07 10:44:51 -06:00
Aaron Meese
a7e8e2c2ad servo: Merge #19137 - Update README.md (from ajmeese7:patch-1); r=jdm
<!-- Please describe your changes on the following line: -->

Corrected 64bit

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X ] These changes do not require tests because it is a README update

<!-- 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: 70bbb9bf940835f01d0fe87fc617c44a5556541c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 757a86c8b871fe3d5f5bfb37eb96c57c0cdfd364
2017-11-07 08:55:44 -06:00
Emilio Cobos Álvarez
28d43d19cc servo: Merge #19136 - style: respect allow_quirks for boxed properties (from emilio:allow-quirks-box); r=SimonSapin
This will unblock #19119

Source-Repo: https://github.com/servo/servo
Source-Revision: 254c659250e4dacdee5897399a651649cec80c4a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f30629783bab25802b6ae5939dfc6f357b360c28
2017-11-07 07:29:15 -06:00
Andreea Pavel
bd04060d39 Backed out changeset d77275db6419 (bug 1374178) for failure reftests/transform-3d/translatez-1a.html r=backout a=backout on a CLOSED TREE 2017-11-07 08:47:36 +02:00
Glenn Watson
2c8b1ecf94 servo: Merge #19130 - Update WR (blur and subpixel text optimizations, recording fix) (from glennw:update-wr-blur-subpx); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 8b892ee0ee1ee55ed189347e0ef528edfaa74f61

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 43ae3f21e83f8e4850752984dfc9508a89b28d8c
2017-11-06 23:04:20 -06:00
Xidorn Quan
a02700faf7 servo: Merge #19106 - Implement -moz-window-transform{,-origin} internal properties (from upsuper:window-transform); r=emilio
This fixes [bug 1374178](https://bugzilla.mozilla.org/show_bug.cgi?id=1374178).

Note that the impl of `-moz-window-transform-origin` doesn't exactly match how it is implemented in Gecko. Specifically, that property doesn't accept depth value in Gecko, but it does in this impl. The depth value is simply dropped during conversion. This is because I don't think it's worth adding code for handling this internal property to make it as restrictive.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5655ab7551b2b151417086b9370df0a55897206f
2017-11-06 17:46:51 -06:00
Vijay Hebbar
ae622d03ea servo: Merge #19038 - Added implementation for itemprop and itemtype along with test files (from CJ8664:master); r=jdm
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [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: 5227df260c601b86358e08ab88adcc9eca93be45

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0cf672106d56747fa1f164d37aa17e8ba8ec21d8
2017-11-06 14:17:11 -06:00
Emilio Cobos Álvarez
a4faa8b65a servo: Merge #18657 - script: Remove HTMLAppletElement (from emilio:bye-applet); r=KiChjang
It was removed from the spec, there's no reason to keep it in tree.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 06e4fac5600155e9337e1cca39318ae77c77f8f6
2017-11-06 10:46:44 -06:00
Emilio Cobos Álvarez
06febe3367 servo: Merge #19126 - style: Introduce SourceSizeList (from emilio:source-size-list); r=nox
This is part of the work for https://bugzilla.mozilla.org/show_bug.cgi?id=1408308.

But this can just land now IMO, before I do the integration bits.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0047c77f0374ec773fab1cb0c0b7fcfdbb6472d2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e7d3dafa02b17abc019ae54354c25ae4d28c4980
2017-11-06 09:37:14 -06:00
tigercosmos
ed3d1ffc69 servo: Merge #19115 - fix overflow_y_is_visible() in element.rs (from tigercosmos:overflow); r=jdm
<!-- Please describe your changes on the following line: -->
I think the original logic of `overflow_y_is_visible()` might be wrong.
So fix it to the correct logic, and also pass more tests.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5e0139fc97ab2b48c6c5ad466e992fb6200fde4c
2017-11-06 06:50:13 -06:00
Glenn Watson
ed01d57144 servo: Merge #19124 - Update WR (removal of clip-scroll groups and packed layers) (from glennw:update-wr-csg); r=jdm
This shouldn't have any visual effect on Servo - it's an
important internal optimization and simplification though.

Source-Repo: https://github.com/servo/servo
Source-Revision: 88505dc2ffc31efa614e1a5070a9bc23feded30a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e8d7c9567f1e20998ab1da3808860b8d81dc9131
2017-11-05 21:32:59 -06:00
Glenn Watson
820d10afde servo: Merge #19123 - Update WR (border artifact fix, native font support on Linux) (from glennw:update-wr-border); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 644e574e1b95a46f8fde77af5a24fe41d97d829f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 705bf0a0b30343aae5ade58a5bd42c424b478f9b
2017-11-05 17:11:40 -06:00
Markus Stange
ce9b6991d7 servo: Merge #19105 - Bug 1414147 - Move fontSmoothingBackgroundColor from nsStyleUserInterface to nsFont, stylo changes (from mstange:move-fsbgcolor); r=emilio`
<!-- Please describe your changes on the following line: -->

This will need to land in concert with [bug 1414147](https://bugzilla.mozilla.org/show_bug.cgi?id=1414147). Please don't r+ until the patch in that bug has been r+ed.

---
<!-- 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 OR
- [X] These changes do not require tests because they are required to make the Gecko build pass

<!-- 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: 42c8fd292a37d61efb56d96bdf5866dd30e77df6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5162e75972632af8f940d0c5c4fc2e29fc1d369b
2017-11-05 08:22:24 -06:00
Alex Touchet
26daef6ec1 servo: Merge #19116 - Fix dead link in COMMAND_LINE_ARGS.md (from servo:cla-doc-link); r=KiChjang
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

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

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 8035679858eaf50ba68ac134efa02a969ec93de5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f8287d528b394fc6be083e91e81a034f9c5fe161
2017-11-04 15:58:27 -05:00
Emilio Cobos Álvarez
8df4224bb5 servo: Merge #19113 - Reland #19108, because it was backed out before its Gecko-side patches could land (from emilio:qsa); r=xidorn,bz
Source-Repo: https://github.com/servo/servo
Source-Revision: 0f5325d0a7e9b3039c7d5b5f9de5cd2511207d9a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8500b96a1e505ebf173bc034275d77e4c9100b17
2017-11-04 05:36:17 -05:00
Sebastian Hengst
855fb4576a Backed out changeset dbd300f4d75b for build bustage. r=backout on a CLOSED TREE 2017-11-04 00:55:25 +01:00
Emilio Cobos Álvarez
ab3406e598 servo: Merge #19108 - stylo: querySelector{,All} optimizations (from emilio:qsa); r=xidorn,bz
Bug: 1410624
Source-Repo: https://github.com/servo/servo
Source-Revision: a0cd781bdcdfa9db8b33632f0117e4d835ea1892

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 78c5ebda8da554c83af4c750bd5642fa17be8745
2017-11-03 14:27:34 -05:00
CYBAI
aaebe2318c servo: Merge #19101 - style: Move font -moz-script-level outside of mako (from CYBAI:moz-script-level-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19068 (github issue number if applicable).
- [x] These changes do not require tests because _____

Source-Repo: https://github.com/servo/servo
Source-Revision: 107ead64d073f9e13ce2c4477624a20bcd0dd30e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2915fb39cc3e87625c957746a7772ca63257e46e
2017-11-03 11:09:39 -05:00
tigercosmos
5da0cad73a servo: Merge #19017 - Print the full path for errors occurring in the servo crate (from tigercosmos:test); r=jdm
<!-- Please describe your changes on the following line: -->
`Cargo` will print the path where it runs.
Origin python script `cd` into the crate folder, so the root path is set in  the crate.
Now I use `--manifest-path PATH` to `cargo build`, so the root path is at `servo`.

Origin path in error message:
```
error: expected one of `!` or `::`, found `#`
  --> lib.rs:24:1
```

Now it would be:
```
error: expected one of `!` or `::`, found `use`
  --> ports/geckolib/glue.rs:11:1
```

---
<!-- 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 #9895 (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: 4df647ed758730dd82a3eae5e78c296e495239d5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c56cbdaf45e2d8c9bc4a27d13801cd5011f7be1d
2017-11-03 09:05:17 -05:00
tigercosmos
494fce09d7 servo: Merge #19109 - Check if the NDK version is 12 (from tigercosmos:ndk); r=jdm
<!-- Please describe your changes on the following line: -->
Since we only support NDK 12(b), we should add some script to check for that.
User might download 15 or 16, and would get some errors.

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

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 72e2c2ecca92ae9fe935df2286cd3b8d17395c6a
2017-11-03 08:14:27 -05:00
Manish Goregaokar
b12480e8c5 servo: Merge #18750 - Make transforms generic (from Manishearth:transform-generic); r=emilio,xidorn
This makes the specified and computed value of transform share a generic
backing enum.

This will eventually be a complete fix for
https://bugzilla.mozilla.org/show_bug.cgi?id=1391145 , and also
incidentally fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1405881

Currently WIP -- the generic transform exists and is used, but this
currently misses some animation and glue cases.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 83a87a9b3d9271cfcf20745f66ef43ab4b8d4d12
2017-11-02 17:02:07 -05:00