Commit graph

42975 commits

Author SHA1 Message Date
mustafapc19
332c9cc12f Merge branch 'master' of https://github.com/servo/servo 2020-07-29 22:18:22 +05:30
bors-servo
6a3c3a4e18
Auto merge of #26447 - jdm:white-space-2020, r=nox
Layout 2020: Implement basic white-space: pre support

With these changes `<pre>` and `<br>` preserve spaces and force line breaks appropriately.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26440
- [x] There are tests for these changes
2020-07-29 10:29:30 -04:00
bors-servo
08366323ef
Auto merge of #27436 - servo-wpt-sync:wpt_update_29-07-2020, r=servo-wpt-sync
Sync WPT with upstream (29-07-2020)

Automated downstream sync of changes from upstream as of 29-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-29 08:54:58 -04:00
WPT Sync Bot
720d8a12b8 Update web-platform-tests to revision 43ef1ad9afcc9d9d922a5a96bc12b4eaf950960b 2020-07-29 10:41:25 +00:00
mustafapc19
1dd57d625c Merge branch 'master' of https://github.com/servo/servo 2020-07-29 09:02:05 +05:30
bors-servo
c6a3dcb90d
Auto merge of #27428 - avr1254:master, r=jdm
Fixed usage of wrong delete

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they edit existing code.

<!-- 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. -->
2020-07-28 18:10:55 -04:00
Arjun Ramachandrula
4282f3b0a9 Fixed usage of wrong delete 2020-07-28 16:22:03 -04:00
bors-servo
119e6f2dc8
Auto merge of #27426 - Manishearth:webxrup, r=jdm
Update webxr

Pulls in the hand joint fixes from https://github.com/servo/webxr/pull/189
2020-07-28 15:47:27 -04:00
Manish Goregaokar
aaae06d65f Update webxr 2020-07-28 11:20:37 -07:00
bors-servo
b41f5f97f2
Auto merge of #27388 - Manishearth:clip-2020, r=SimonSapin
Layout 2020: Implement `clip: rect`

This implements `clip: rect`

Unfortunately, none of the tests pass yet, they are all broken due to https://github.com/servo/servo/issues/27387

Additionally, currently `clip` does not seem to clip the element itself, only its children. I'm not quite sure what to do about that, I patterned this off of the code in the layout 2013 which handled clip immediately after scroll overflow.
2020-07-28 11:44:38 -04:00
mustafapc19
73d0a42bff Synced with master 2020-07-28 20:09:14 +05:30
mustafapc19
55e482d02d Synced with master 2020-07-28 20:08:45 +05:30
Manish Goregaokar
354c6647ac Update wpt results in CSS2 2020-07-28 07:36:02 -07:00
bors-servo
582a7a7afa
Auto merge of #27420 - avr1254:master, r=jdm
Removed unnecessary conversion from UTF-8 to UTF-16

<!-- Please describe your changes on the following line: -->
Changed Spidermonkey API calls to remove need for UTF-16 conversion.

---
<!-- 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 #27331 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they simply optimize existing code for speed.

<!-- 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. -->
2020-07-28 09:20:26 -04:00
bors-servo
189a4d07a2
Auto merge of #27422 - servo-wpt-sync:wpt_update_28-07-2020, r=servo-wpt-sync
Sync WPT with upstream (28-07-2020)

Automated downstream sync of changes from upstream as of 28-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-28 06:28:09 -04:00
WPT Sync Bot
1ad22043ab Update web-platform-tests to revision 9a28e2c8d072c358bd94b97bc8bff6db8388b6b1 2020-07-28 10:27:55 +00:00
bors-servo
0ce3ad5a4b
Auto merge of #27417 - jdm:clear-reload, r=Manishearth
Make reload button clear the network cache.

The developer workflow in FxR is frustrating right now because of bugs like https://github.com/servo/servo/issues/24385. To allow us to put out a new release soon that addresses this papercut, these changes make the reload button clear the network cache in FxR.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix (kind of) #26411.
- [x] These changes do not require tests because can't test FxR.
2020-07-28 03:02:44 -04:00
Manish Goregaokar
b026dae8ac Only apply clip() to positioned elements 2020-07-27 23:26:30 -07:00
bors-servo
870812d895
Auto merge of #27418 - Manishearth:secondary-view-pref, r=asajeffrey
Move secondary view support into a pref

Needs https://github.com/servo/webxr/pull/188

Adds a `dom.webxr.first_person_observer_view` pref that toggles FPO views.
2020-07-28 01:11:59 -04:00
Manish Goregaokar
9fe70e6b71 Move secondary view support into a pref 2020-07-27 20:45:42 -07:00
bors-servo
7eabd5c8bd
Auto merge of #27403 - servo:jdm-patch-46, r=Manishearth
Add more gstreamer plugins to nightly builds.
2020-07-27 23:24:08 -04:00
Josh Matthews
4e3621e91e Add more gstreamer plugins to nightly builds. 2020-07-27 23:22:41 -04:00
Manish Goregaokar
0bc10b8073 Update wpt results 2020-07-27 20:08:55 -07:00
Manish Goregaokar
346a0e02d5 Handle clip before we push the stacking context 2020-07-27 19:59:59 -07:00
Manish Goregaokar
07c87b4715 Handle clip property in 2020 2020-07-27 19:59:59 -07:00
Manish Goregaokar
139f240baf Enable clip property in layout 2020 2020-07-27 19:59:59 -07:00
Manish Goregaokar
433b653f70 Move clip resolution code into style 2020-07-27 19:59:59 -07:00
Manish Goregaokar
d0670d4845 Enable clip WPT tests for 2020 2020-07-27 19:59:08 -07:00
Josh Matthews
f030162ec3 Make reload button clear the network cache. 2020-07-27 22:34:07 -04:00
Arjun Ramachandrula
6014710538 Removed unnecessary conversion from UTF-8 to UTF-16 2020-07-27 21:45:20 -04:00
Josh Matthews
260347e5dc Simplify control flow of whitespace handling. 2020-07-27 20:06:55 -04:00
Josh Matthews
d8b4dab4e3 Implement basic white-space: pre support for layout 2020. 2020-07-27 20:06:53 -04:00
bors-servo
8f61ce6bf5
Auto merge of #27408 - servo:dependabot/cargo/loom-0.3.5, r=jdm
build(deps): bump loom from 0.3.4 to 0.3.5

Bumps [loom](https://github.com/tokio-rs/loom) from 0.3.4 to 0.3.5.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tokio-rs/loom/blob/master/CHANGELOG.md">loom's changelog</a>.</em></p>
<blockquote>
<h1>0.3.5 (July 26, 2020)</h1>
<h3>Fixed</h3>
<ul>
<li>An example in the README failing to compile (<a href="https://github-redirect.dependabot.com/tokio-rs/loom/issues/132">#132</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Updated <code>scoped-tls</code> to 1.0.0 (<a href="https://github-redirect.dependabot.com/tokio-rs/loom/issues/153">#153</a>)</li>
</ul>
<h3>Added</h3>
<ul>
<li><code>Send</code> and <code>Sync</code> impls for <code>JoinHandle</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/loom/issues/145">#145</a>)</li>
<li><code>Default</code> impls for <code>Mutex</code>, <code>RwLock</code>, and <code>Condvar</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/loom/issues/138">#138</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="af4386b028"><code>af4386b</code></a> prepare to release 0.3.5 (<a href="https://github-redirect.dependabot.com/tokio-rs/loom/issues/160">#160</a>)</li>
<li><a href="2632f929d2"><code>2632f92</code></a> update scoped-tls to 1.0.0 (<a href="https://github-redirect.dependabot.com/tokio-rs/loom/issues/153">#153</a>)</li>
<li><a href="dc9e91c0a9"><code>dc9e91c</code></a> Fix compilation error on README.md (<a href="https://github-redirect.dependabot.com/tokio-rs/loom/issues/132">#132</a>)</li>
<li><a href="871ff01288"><code>871ff01</code></a> Implement Default for Mutex, RwLock and Condvar (<a href="https://github-redirect.dependabot.com/tokio-rs/loom/issues/138">#138</a>)</li>
<li><a href="0b092a2e52"><code>0b092a2</code></a> Make JoinHandle Send + Sync (<a href="https://github-redirect.dependabot.com/tokio-rs/loom/issues/145">#145</a>)</li>
<li>See full diff in <a href="https://github.com/tokio-rs/loom/compare/v0.3.4...v0.3.5">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=loom&package-manager=cargo&previous-version=0.3.4&new-version=0.3.5)](https://dependabot.com/compatibility-score/?dependency-name=loom&package-manager=cargo&previous-version=0.3.4&new-version=0.3.5)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
2020-07-27 19:18:17 -04:00
bors-servo
c7bdb1bcc0
Auto merge of #27399 - Manishearth:auto-abspos-hoist-shared, r=SimonSapin
Handle `inset: auto` values for absolutely positioned elements

Fixes #27387

This is the same as https://github.com/servo/servo/pull/27397 , but written to share the box offset data instead of bubbling the hoisted box up based on comments from @SimonSapin.
2020-07-27 18:45:42 -04:00
bors-servo
fe24fc3068
Auto merge of #27405 - atouchet:ua, r=nox
Update user agent strings

<!-- 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. -->
2020-07-27 16:03:40 -04:00
bors-servo
d25b57c434
Auto merge of #27335 - jdm:rustup, r=asajeffrey
Update to 7/20 nightly rustc.
2020-07-27 14:06:55 -04:00
Josh Matthews
b7f0612807 Update to 7/27 nightly rustc. 2020-07-27 12:56:57 -04:00
Manish Goregaokar
965dded825 Update tests 2020-07-27 09:48:37 -07:00
Manish Goregaokar
5a53fb1271 Adjust absolute positioned box offsets in flow layout 2020-07-27 09:48:37 -07:00
Manish Goregaokar
bc704d8a3d Move AbsoluteBoxOffsets into HoistedSharedFragment 2020-07-27 09:48:37 -07:00
Manish Goregaokar
d476a10773 Create HoistedSharedFragment 2020-07-27 09:48:37 -07:00
Manish Goregaokar
96c0c50874 Allow adjusting box offsets 2020-07-27 09:48:37 -07:00
bors-servo
5a8023dae7
Auto merge of #27393 - servo:jdm-patch-47, r=nox
Remove unit test that triggers frequent intermittent failure.

This works around #26895 by removing the test that triggers it. The underlying cause of the failure isn't clear, but it's something to do with the hyper server and doesn't appear to impact the way that Servo's HTTP stack functions. The unit test itself is testing one particular property of the way CORS requests are made with HEAD requests, and that's not a property that is critical functionality if we stop testing it.
2020-07-27 12:16:56 -04:00
Josh Matthews
dd5a4ec868
Remove scoped-tidy duplicate exemption. 2020-07-27 11:08:23 -04:00
bors-servo
fc71345114
Auto merge of #27412 - servo-wpt-sync:wpt_update_27-07-2020, r=jdm
Sync WPT with upstream (27-07-2020)

Automated downstream sync of changes from upstream as of 27-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-27 11:04:56 -04:00
Josh Matthews
4015aa4467
Remove 2020 failure. 2020-07-27 11:04:42 -04:00
Josh Matthews
7775833b11 Remove unit test that triggers frequent intermittent failure. 2020-07-27 11:02:29 -04:00
WPT Sync Bot
967591d635 Update web-platform-tests to revision fc8c0bf79b24b7fac1c1b54fd78c293005d0d4a8 2020-07-27 10:50:22 +00:00
dependabot-preview[bot]
788f0fee77
build(deps): bump loom from 0.3.4 to 0.3.5
Bumps [loom](https://github.com/tokio-rs/loom) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/tokio-rs/loom/releases)
- [Changelog](https://github.com/tokio-rs/loom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/loom/compare/v0.3.4...v0.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 08:20:20 +00:00
Alex Touchet
f231025b42
Update user agent strings 2020-07-26 18:45:49 -07:00