Commit graph

40899 commits

Author SHA1 Message Date
Josh Matthews
2aa415a3ff
Force alert message to its own line. 2020-03-23 11:08:42 -04:00
bors-servo
191f6c41a0
Auto merge of #26014 - servo-wpt-sync:wpt_update_23-03-2020, r=servo-wpt-sync
Sync WPT with upstream (23-03-2020)

Automated downstream sync of changes from upstream as of 23-03-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-03-23 09:58:27 -04:00
bors-servo
8bd3429069
Auto merge of #26012 - mrobinson:scrolling-overflow-cb, r=nox
layout_2020: Use the containing block more when calculating scrolling overflow

When calculating scrolling overflow calculation we cannot currently use
the actual containing block in all cases. This change increases the
amount that we do use the containing block.

<!-- 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
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they should not change behavior.

<!-- 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-03-23 08:36:56 -04:00
WPT Sync Bot
84075d3b6e Update web-platform-tests to revision 38792095c98039542ed3a3f0d2eb384b576f6cb7 2020-03-23 10:48:48 +00:00
Fernando Jiménez Moreno
eea7eb4e4f Update test expectations with text-decoration support 2020-03-23 11:13:10 +01:00
Fernando Jiménez Moreno
17948f3b39 Propagate text decoration where needed 2020-03-23 11:13:10 +01:00
Fernando Jiménez Moreno
83fc9943d3 Do not use buggy text_decorations_in_effect 2020-03-23 11:10:44 +01:00
Fernando Jiménez Moreno
689b413bde Add support for text-decoration-style 2020-03-23 11:10:44 +01:00
Fernando Jiménez Moreno
928bd0d1d2 Add support for text-decoration-color 2020-03-23 11:10:44 +01:00
Fernando Jiménez Moreno
107af9e769 Render text-decoration: line-through on layout 2020 2020-03-23 11:10:44 +01:00
Fernando Jiménez Moreno
c87a4dd788 Remove unnecessary fragment rect clone 2020-03-23 11:10:44 +01:00
Fernando Jiménez Moreno
4fd5484e1a Render text-decoration: overline on layout 2020 2020-03-23 11:10:44 +01:00
Fernando Jiménez Moreno
48517bd61a Render text-decoration: underline on layout 2020 2020-03-23 11:10:44 +01:00
Fernando Jiménez Moreno
e3b97730fe Enable text-decoration on layout 2020 2020-03-23 11:10:44 +01:00
Fernando Jiménez Moreno
e3c8597ccb Store required font metrics on TextFragment 2020-03-23 11:10:44 +01:00
Fernando Jiménez Moreno
74d9fec9cf Enable text-decoration tests 2020-03-23 11:10:43 +01:00
Martin Robinson
811c08c5a5 layout_2020: Use the containing block more when calculating scrolling overflow
When calculating scrolling overflow calculation we cannot currently use
the actual containing block in all cases. This change increases the
amount that we do use the containing block.
2020-03-23 10:08:04 +01:00
bors-servo
19d6b7b380
Auto merge of #26008 - servo-wpt-sync:wpt_update_21-03-2020, r=jdm
Sync WPT with upstream (21-03-2020)

Automated downstream sync of changes from upstream as of 21-03-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-03-21 12:11:36 -04:00
Josh Matthews
283259f68d
Add failing layout-2020 result. 2020-03-21 12:11:04 -04:00
bors-servo
67b433648c
Auto merge of #25624 - lyuyuan:issue-8576, r=jdm
Add trait DomObjectWrap to provide WRAP function

<!-- 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
- [ ] These changes fix #8576 (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-03-21 11:06:26 -04:00
WPT Sync Bot
76af5dbf1f Update web-platform-tests to revision f2c1dfe9ae186350086dbe505c4baaab63ace1cc 2020-03-21 11:06:46 +00:00
YUAN LYU
3ea6d87bcc
Add trait DomObjectWrap to provide WRAP function 2020-03-20 22:16:56 -04:00
bors-servo
ca29399bab
Auto merge of #26002 - servo:regressions, r=jdm
Add Layout 2020 reftests regression report

This shows WPT reftests that fail in Servo with Layout 2020 but pass with Layout 2013, together with screenshots of the corresponding runs and HTML source code for the test and its reference.

https://community-tc.services.mozilla.com/api/index/v1/task/project.servo.layout-2020-regressions-report/artifacts/public/regressions.html redirects to the latest report for the `master` branch.
2020-03-20 19:56:35 -04:00
bors-servo
5ce2fd0882
Auto merge of #26006 - tipowol:fix-25680, r=Manishearth
Add missing same-origin referrer policy

<!-- Please describe your changes on the following line: -->

These changes add missing same-origin ReferrerPolicy in Request.webidl.

---
<!-- 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 #25680 (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. -->
2020-03-20 17:00:55 -04:00
Tipowol
6b0b90767e Add missing same-origin referrer policy 2020-03-20 21:15:52 +01:00
Simon Sapin
44c72413f9 Add Layout 2020 reftests regression report
This shows WPT reftests that fail in Servo with Layout 2020 but pass with Layout 2013, together with screenshots of the corresponding runs and HTML source code for the test and its reference.

https://community-tc.services.mozilla.com/api/index/v1/task/project.servo.layout-2020-regressions-report/artifacts/public/regressions.html redirects to the latest report for the `master` branch.
2020-03-20 19:45:50 +01:00
Simon Sapin
95cd67bb95 Rename CONFIG.task_id() to tree_hash 2020-03-20 19:23:07 +01:00
bors-servo
7ef4c65ac3
Auto merge of #25980 - servo:jdm-patch-44, r=paulrouget
Enable windows unit tests

Fixes #25961.
2020-03-20 10:33:45 -04:00
bors-servo
98e13c3d21
Auto merge of #25999 - servo-wpt-sync:wpt_update_20-03-2020, r=servo-wpt-sync
Sync WPT with upstream (20-03-2020)

Automated downstream sync of changes from upstream as of 20-03-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-03-20 07:05:58 -04:00
WPT Sync Bot
96fc7662dc Update web-platform-tests to revision a587550f729c270ae55b56a92c94605461cc919a 2020-03-20 11:05:42 +00:00
bors-servo
c76a995ba2
Auto merge of #25992 - servo:tree-sha, r=jdm
Index tasks by git tree hash instead of parent commits hashes

This makes it (sligthly) easier to query the index and find those tasks from other scripts.
2020-03-20 04:08:00 -04:00
Simon Sapin
fa625a7388 Index tasks by git tree hash instead of parent commits hashes 2020-03-20 09:06:43 +01:00
Josh Matthews
3a3397fbce webgl: Ignore webgl communication errors when dropping vertex array objects. 2020-03-19 23:34:26 -04:00
bors-servo
07f6d783a3
Auto merge of #25994 - GabrielMajeri:replace-irc-with-matrix, r=Manishearth
Replace IRC channel with Matrix link

This PR updates the `HACKING_QUICKSTART.md` file to mention the Matrix Servo channel instead of the now-defunct `#servo` IRC channel.
2020-03-19 20:42:24 -04:00
bors-servo
d2e60ae2c3
Auto merge of #25996 - humancalico:mach_pop, r=jdm
added pop!_os support for ./mach bootstrap

<!-- Please describe your changes on the following line: -->
Added ./mach bootstrap support for Pop!_OS

---
r? @jdm

<!-- 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 #25965 (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-03-19 19:18:07 -04:00
bors-servo
c57e246f3d
Auto merge of #25989 - servo:jdm-patch-45, r=SimonSapin
Reuse layout-2013 WPT results with layout-2020 when syncing.

This should fix #25666, or at least the most common failure case. If new test results actually have different behaviour between the layout-2013 and layout-2020 engines there's not much we can do without a proper build with 2020 enabled.
2020-03-19 18:07:21 -04:00
Akshat Agarwal
1c8d2cb505 Merge branch 'master' of https://github.com/servo/servo into mach_pop 2020-03-20 03:28:01 +05:30
Akshat Agarwal
d26ff91c3c added pop!_os support for ./mach bootstrap 2020-03-20 03:11:13 +05:30
bors-servo
1634f4e6ed
Auto merge of #25987 - servo-wpt-sync:wpt_update_19-03-2020, r=jdm
Sync WPT with upstream (19-03-2020)

Automated downstream sync of changes from upstream as of 19-03-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-03-19 16:57:59 -04:00
Gabriel Majeri
126a0981f7 Replace IRC channel with Matrix link 2020-03-19 21:54:29 +02:00
bors-servo
ddee627ae5
Auto merge of #25839 - servo:jdm-patch-36, r=SimonSapin
Remove requirement to install pkg-config on Windows.

I recently set up a new Windows laptop to build Servo and never bothered to install pkg-config. The build was successful, so we should remove it from the requirements.
2020-03-19 15:47:59 -04:00
bors-servo
d9c84b74cd
Auto merge of #25988 - mrobinson:fix-doc, r=SimonSapin
layout_2020: Fix a documentation comment

I inadvertently failed to complete this doc comment.

<!-- 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
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they don't change behavior.

<!-- 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-03-19 14:40:03 -04:00
bors-servo
ffdb83b644
Auto merge of #25782 - kaiakz:master, r=jdm
Add a simple implementation of CanvasRenderingContext2d.fillText

<!-- Please describe your changes on the following line: -->
I added a simple implementation of CanvasRenderingContext2d.fillText.
Some code are merged from @mikrut, and I fixed a bug about text scaling.
Also, the bug of text rotation should be fixed after `raqote` merged my other 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 (part of) #11681 (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. -->
2020-03-19 13:24:08 -04:00
Simon Sapin
8fff3e206f Remove indexing of daily decision tasks by date
Treeherder does this job better
2020-03-19 17:39:08 +01:00
Simon Sapin
0c10e3ab8e Remove dead code for disabled CI tasks 2020-03-19 17:34:10 +01:00
Simon Sapin
0cd734fd7a Remove unused task indexing by task definition hash 2020-03-19 17:30:29 +01:00
Simon Sapin
cdb80c1966
Renumber steps after the removed one 2020-03-19 16:18:23 +01:00
Josh Matthews
2b46d557ab
Reuse layout-2013 WPT results with layout-2020 when syncing. 2020-03-19 10:47:26 -04:00
WPT Sync Bot
ee944e769d Update web-platform-tests to revision 6a665f63ae39b552f60b971f11c34b215861fcb3 2020-03-19 10:44:50 -04:00
bors-servo
3d03b3bca0
Auto merge of #25960 - servo:jdm-patch-40, r=SimonSapin
Don't run 2dcontext tests in layout-2020.

The vast majority of these tests only test the DOM APIs, not the actual layout via reftests. That means we just duplicate the results and have to update them every time we change the canvas behaviour.
2020-03-19 09:43:57 -04:00