Commit graph

10691 commits

Author SHA1 Message Date
Martin Robinson
acca20d544 Update test expectations 2020-05-19 10:02:03 +02:00
Martin Robinson
a238597a18 layout_2020: Add support for transitions and animations 2020-05-19 10:02:03 +02:00
bors-servo
c183f95297
Auto merge of #26551 - Manishearth:per-view, r=asajeffrey
Update to handle per-view eye transforms

Depends on https://github.com/servo/webxr/pull/175
2020-05-18 11:21:33 -04:00
Manish Goregaokar
708824700f Make views a per-frame deal 2020-05-18 08:19:42 -07:00
Utsav Oza
4c637e0601 Update wpt-tests metadata 2020-05-18 19:07:57 +05:30
Utsav Oza
ab672577e8 Add creator URL, creator base URL and creator origin in browsing context 2020-05-18 19:07:57 +05:30
WPT Sync Bot
4f13fd6595 Update web-platform-tests to revision afb5f984d7beecafa3d68ea7719ae2f4d203f1e1 2020-05-18 11:17:09 +00:00
bors-servo
50bd5c3e0f
Auto merge of #26519 - mrobinson:animation-animation-fill-mode, r=jdm
Implement `animation-fill-mode`

Fixes #26460.

<!-- 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] 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-05-17 15:09:49 -04:00
Martin Robinson
183f15d5aa Implement animation-fill-mode
Fixes #26460.
2020-05-17 20:42:57 +02:00
bors-servo
619e0bceaf
Auto merge of #26544 - CYBAI:module-metadata-hook, r=jdm
Introduce import.meta hook for module script

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

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26542
- [x] There are tests for these changes under `module/import-meta` folder.
2020-05-17 10:29:29 -04:00
WPT Sync Bot
f67126ace0 Update web-platform-tests to revision e6695b77fc9bb1e5c71ce474c4e7f8784713c754 2020-05-17 11:07:53 +00:00
CYBAI
6bc624001b Introduce import.meta hook for module script 2020-05-17 11:34:35 +09:00
bors-servo
0a00ea3db3
Auto merge of #26545 - servo-wpt-sync:wpt_update_16-05-2020, r=servo-wpt-sync
Sync WPT with upstream (16-05-2020)

Automated downstream sync of changes from upstream as of 16-05-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-05-16 09:47:12 -04:00
WPT Sync Bot
6f4d1ac19b Update web-platform-tests to revision 823cca0c2c6b421912973e7f699a357411738c64 2020-05-16 10:41:56 +00:00
bors-servo
afc4e7ec25
Auto merge of #26537 - mrobinson:backface, r=SimonSapin
layout_2020: Implement support for backface-visibility

<!-- 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] 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-05-16 03:43:48 -04:00
Martin Robinson
c2875482d6 layout_2020: Implement support for backface-visibility 2020-05-16 09:42:45 +02:00
bors-servo
6cc582992e
Auto merge of #26538 - servo-wpt-sync:wpt_update_15-05-2020, r=jdm
Sync WPT with upstream (15-05-2020)

Automated downstream sync of changes from upstream as of 15-05-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-05-16 01:06:22 -04:00
Josh Matthews
c71d9a6638
Add new outline-offset 2020 failure. 2020-05-15 09:26:00 -04:00
Martin Robinson
a024ecccba Update WPT expectations 2020-05-15 13:37:09 +02:00
WPT Sync Bot
db12fbb0be Update web-platform-tests to revision 73bd4355b891665829c66e1b83d64bcc29197a16 2020-05-15 10:39:22 +00:00
WPT Sync Bot
96553cb7e2 Update web-platform-tests to revision ae1e2d51f38e208f3d07a97b5d82f9ca0dda2c94 2020-05-14 11:21:00 +00:00
bors-servo
52d9fb57fb
Auto merge of #26434 - jdm:playground, r=Manishearth
Allow BabylonJS playground to load

These changes fix the JS errors that currently appear when loading the page. You can't use the editor, but the webgl canvas works just fine.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26428 and fix #25478
- [x] There are tests for these changes
2020-05-13 15:40:23 -04:00
bors-servo
b2a6928224
Auto merge of #26491 - huangjiahua:fix, r=Manishearth
Handle cancelAnimationFrame() when called within a requestAnimationFr…

…ame() callback

<!-- Please describe your changes on the following line: -->
In order to handle `cancelAnimationFrame()` in the callback, the `raf_callback_list` is moved to
`current_raf_callback_list`, and each callback is cloned in the iteration of `current_raf_callback_list` to avoid "borrowed twice".

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

<!-- 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. -->
2020-05-13 14:38:04 -04:00
Josh Matthews
097a84671a dom: Implement current window event. 2020-05-13 14:36:32 -04:00
Josh Matthews
19f4be38d2 dom: Implement stub queryCommandSupported. 2020-05-13 14:36:32 -04:00
bors-servo
c01f22d311
Auto merge of #26507 - servo-wpt-sync:wpt_update_13-05-2020, r=servo-wpt-sync
Sync WPT with upstream (13-05-2020)

Automated downstream sync of changes from upstream as of 13-05-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-05-13 07:07:06 -04:00
WPT Sync Bot
ab5c81c0bb Update web-platform-tests to revision 85ffed21f7a96f6d67a5a0110459d67f50cff624 2020-05-13 11:06:53 +00:00
Martin Robinson
0f1831e2fa Remove AnimatedProperty
This removes an extra layer of abstraction and allows Servo to share
more code with Gecko. In addition, we will need to handle raw
`AnimationValue` structs soon in order to fully implement "faster
reversing of interrupted transitions."
2020-05-13 11:02:52 +02:00
huangjiahua
c253ad8399 Handle cancelAnimationFrame() when called within a requestAnimationFrame() callback 2020-05-13 15:41:09 +08:00
bors-servo
d96accc27f
Auto merge of #26495 - servo:jdm-patch-41, r=SimonSapin
Fix reftest report regression.

Fixes #26467.
2020-05-12 18:30:27 -04:00
bors-servo
ea4ae04655
Auto merge of #26335 - jdm:wrup, r=SimonSapin
Update webrender.
2020-05-12 14:56:19 -04:00
bors-servo
e26e864c61
Auto merge of #26487 - pylbrecht:update.raqote, r=jdm
Fix radial gradients for html canvas element

<!-- Please describe your changes on the following line: -->
The latest version of raqote provides a fix for properly handling boundary conditions for TwoCircleRadialGradients.

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

<!-- 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-05-12 13:57:10 -04:00
Josh Matthews
ea6523ef62
Fix reference report regression. 2020-05-12 11:40:51 -04:00
Josh Matthews
bba2e43f97 Update 2020 results for outline-width animation. 2020-05-12 10:51:45 -04:00
Josh Matthews
9ecf7c0f51
Add outline-width parsing failure. 2020-05-12 10:44:49 -04:00
Josh Matthews
a9ac01a5de
Remove intermittent crash. 2020-05-12 10:42:01 -04:00
Josh Matthews
5261140293
Remove intermittent crash. 2020-05-12 10:41:46 -04:00
WPT Sync Bot
fb0507d174 Update web-platform-tests to revision a49081e46a18e439defbd77d18cc5e261d68b215 2020-05-12 11:19:00 +00:00
Josh Matthews
eb2f7f7f0a Convert all uses of UpdateResources api to use webrender transactions. 2020-05-11 17:41:56 -04:00
Josh Matthews
8842250033 Update webrender. 2020-05-11 17:41:56 -04:00
bors-servo
aa9f16ce45
Auto merge of #26477 - mrobinson:layout-2020-get-computed-value, r=jdm
Add support for getComputedStyle() to layout_2020

These changes add support for `getComputedStyle()` to layout_2020.

---
<!-- 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] 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-05-11 15:57:25 -04:00
Martin Robinson
9c7b1ae715 layout_2020: Add initial support for getComputedStyle
This implementation is more-or-less on par with the one from layout_2013
and in some cases better. There are still some cases where we don't
return the correct "resolved value," but this is enough to test
animations and transitions.
2020-05-11 20:14:01 +02:00
pylbrecht
e64c49036e Update test expectations 2020-05-11 18:23:54 +02:00
Martin Robinson
a637810df3 layout_2020: Add support for transform-style
This requires creating a matching stacking context for every reference
frame and also properly placing those stacking contexts inside them.
2020-05-11 15:03:29 +02:00
WPT Sync Bot
354984b2bf Update web-platform-tests to revision 46b884903ba0153b2cd9d932504f6b88f57614cf 2020-05-10 11:17:26 +00:00
CYBAI
b4d1f5b309 Prefix on for function name of inline events 2020-05-10 19:53:36 +09:00
WPT Sync Bot
f05c813634 Update web-platform-tests to revision 3a7b40eb73bf5359adf0d378b71d36488885057f 2020-05-09 11:10:45 +00:00
bors-servo
536c60afe1
Auto merge of #26475 - CYBAI:fix-none-location-redirect, r=jdm
Initiate redirect fetching iff the request has a location

Without this checking, we will run into a TIMEOUT request because
http_redirect_fetch will return immediately when location doesn't 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 partially fix #25606
- [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-05-08 23:42:07 -04:00
CYBAI
b4089bcd07 Initiate redirect fetching iff the request has a location
Without this checking, we will run into a TIMEOUT request because
http_redirect_fetch will return immediately when location doesn't exist.
2020-05-09 11:33:52 +09:00
bors-servo
4eefaa4a2c
Auto merge of #26473 - Eijebong:cross-origin-resource-policy, r=jdm
Implement cross origin resource policy check

Also fixes an img load event bug that was making some test very racey.
2020-05-08 13:19:20 -04:00