Manish Goregaokar
4b2fa5ef08
Invoke XR RAFs appropriately
2018-12-21 16:58:30 -08:00
Manish Goregaokar
1b11a3063c
Support attaching RAF callbacks
2018-12-21 16:02:24 -08:00
Manish Goregaokar
28dff81dbf
Fill in XR frame/pose/view implementations
2018-12-21 15:47:28 -08:00
Manish Goregaokar
7e043a33f1
Support fetching viewport info
2018-12-21 14:43:41 -08:00
Manish Goregaokar
e259ff727e
Simple presentation
2018-12-20 17:42:22 -08:00
Manish Goregaokar
70e8a19200
Fill in some of XRWebGLLayer
2018-12-20 17:28:03 -08:00
Manish Goregaokar
682c89a18c
allow setting base layer
2018-12-20 15:44:26 -08:00
Manish Goregaokar
d5911816e1
Fill in XR.requestSession
2018-12-19 19:56:52 -08:00
Manish Goregaokar
520bb23048
Basic XRRigidTransform interface
2018-12-19 16:50:27 -08:00
Manish Goregaokar
73c530344c
Basic XRView interface
2018-12-19 16:48:44 -08:00
Manish Goregaokar
31feb1eca2
Basic XRViewerPose interface
2018-12-19 16:46:27 -08:00
Manish Goregaokar
581470016f
Basic XRReferenceSpace interface
2018-12-19 16:24:38 -08:00
Manish Goregaokar
90e0ceb7ce
Basic XRSpace interface
2018-12-19 15:42:46 -08:00
Manish Goregaokar
29e9672d4d
Basic XRFrame interface
2018-12-19 15:42:27 -08:00
Manish Goregaokar
ebf9ccc9de
Basic XRSession interface
2018-12-19 15:40:38 -08:00
Manish Goregaokar
376426a936
Move VR interface to XR
...
The WebVR spec no longer has a navigator.vr, but there is a navigator.XR in the XR spec. Instead of duplicating work I've combined the two.
2018-12-19 14:33:54 -08:00
bors-servo
c553c43ba1
Auto merge of #22395 - jdm:initial-iframe-size, r=Manishearth
...
Initialize iframe viewport immediately
This is probably a significant cause of unstable test results, and it finally bothered me enough to fix it. The solution isn't great for performance (a sync layout query every time a iframe is added to a document), but performance needs to follow correctness.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #14364 and fix #15689 and fix #15688 .
- [x] There are tests for these changes
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22395 )
<!-- Reviewable:end -->
2018-12-18 08:51:26 -05:00
bors-servo
bb1eb44062
Auto merge of #22489 - servo-wpt-sync:wpt_update_17-12-2018, r=jdm
...
Sync WPT with upstream (17-12-2018)
Automated downstream sync of changes from upstream as of 17-12-2018.
[no-wpt-sync]
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22489 )
<!-- Reviewable:end -->
2018-12-18 06:52:51 -05:00
bors-servo
2aff31dd26
Auto merge of #22464 - servo:tc-nigthly, r=jdm
...
Taskcluster: build Servo Nightly for Linux, upload to S3
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22464 )
<!-- Reviewable:end -->
2018-12-18 04:37:00 -05:00
WPT Sync Bot
d61756ac9d
Update web-platform-tests to revision 4984b190341b535c645729b8f99247aace0022fe
2018-12-17 22:27:33 -05:00
bors-servo
a067620789
Auto merge of #22474 - csmoe:unregister, r=gterzian
...
Unregister components while exiting
r=@gterzian
<!-- 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 #22468 (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. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22474 )
<!-- Reviewable:end -->
2018-12-17 21:22:41 -05:00
csmoe
5600a1dca1
unregister components while exiting
2018-12-17 16:37:03 +08:00
bors-servo
9ca6768a56
Auto merge of #22479 - servo-wpt-sync:wpt_update_16-12-2018, r=jdm
...
Sync WPT with upstream (16-12-2018)
Automated downstream sync of changes from upstream as of 16-12-2018.
[no-wpt-sync]
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22479 )
<!-- Reviewable:end -->
2018-12-17 02:03:38 -05:00
WPT Sync Bot
883ad9792d
Update web-platform-tests to revision 11971ac2161859001b861630338c0e47fee1b59a
2018-12-16 22:27:13 -05:00
bors-servo
ee48b679d7
Auto merge of #22466 - emilio:gecko-sync, r=emilio
...
style: Sync changes from mozilla-central.
See each individual commit for details.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22466 )
<!-- Reviewable:end -->
2018-12-16 07:35:48 -05:00
Emilio Cobos Álvarez
0d9f4659b8
Update test expectations.
2018-12-16 13:35:23 +01:00
Emilio Cobos Álvarez
273705d7fb
style: Fix tidy issues.
2018-12-16 13:35:09 +01:00
Olli Pettay
28719f2455
Move FragmentOrElement::mAttrs to Element.
...
Bug: 1512256
Reviewed-by: ehsan
2018-12-16 13:35:09 +01:00
Emilio Cobos Álvarez
27322abeda
style: Minor build fixup after the Servo crossbeam_channel update.
2018-12-16 13:35:08 +01:00
Daniel Holbert
ee6bf98675
style: Include the 'unsafe' keyword in serializations of css-align properties.
...
Previously we'd omit it since it was merely an explicit way of requesting the
default behavior. But the spec has changed such that it's not necessarily
equivalent to the default anymore:
https://drafts.csswg.org/css-align/#overflow-values
(Technically the behaviors are probably still equivalent in our implementation,
pending bug 1451380, but we don't have to publicize that via our
serialization.)
Differential Revision: https://phabricator.services.mozilla.com/D14599
2018-12-16 13:35:07 +01:00
Boris Zbarsky
3d78025e10
style: Fix serialization of explicitly case-sensitive attr selectors with a namespace.
...
Differential Revision: https://phabricator.services.mozilla.com/D14493
2018-12-16 13:35:07 +01:00
Emilio Cobos Álvarez
7f5a9e0f45
style: Handle nested slots correctly in slotted matching and invalidation.
...
The patch and test should be pretty much self-descriptive.
Differential Revision: https://phabricator.services.mozilla.com/D14063
2018-12-16 13:35:06 +01:00
Boris Zbarsky
a519d9ecc3
style: Add support for 's' flag on attribute selectors.
...
We could keep using ParsedCaseSensitivity::CaseSensitive as a temporary stand-in
for "case-sensitive or maybe not depending on what HTML says" until we check the
attribute list, but it seems better to make that explicit.
Differential Revision: https://phabricator.services.mozilla.com/D14093
2018-12-16 13:35:05 +01:00
Emilio Cobos Álvarez
901c055519
style: Move overflow to use cbindgen.
...
It's one of the most annoying / hacky mako bits we have.
Differential Revision: https://phabricator.services.mozilla.com/D14084
2018-12-16 13:35:05 +01:00
Emilio Cobos Álvarez
3f58e0b069
style: Deduplicate a bit the malloc_size_of code for hashmaps / hashsets.
...
This allows to experiment with other hash maps easily rather than
depending on what hashglobe::fake::HashMap dereferences to.
In particular I wrote it while trying to get a build working with hashbrown.
Differential Revision: https://phabricator.services.mozilla.com/D14098
2018-12-16 13:35:04 +01:00
Emilio Cobos Álvarez
626172d64c
style: Use cbindgen for a couple more CSS properties.
...
Differential Revision: https://phabricator.services.mozilla.com/D13886
2018-12-16 13:35:04 +01:00
bors-servo
499bfcb1dd
Auto merge of #22467 - servo-wpt-sync:wpt_update_14-12-2018, r=jdm
...
Sync WPT with upstream (14-12-2018)
Automated downstream sync of changes from upstream as of 14-12-2018.
[no-wpt-sync]
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22467 )
<!-- Reviewable:end -->
2018-12-16 00:50:03 -05:00
bors-servo
6731ddd29f
Auto merge of #22447 - servo:jdm-patch-10, r=ferjm
...
Add another layer of rAF to avoid intermittent failures.
Hopefully fixes #22445 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22447 )
<!-- Reviewable:end -->
2018-12-15 13:41:49 -05:00
bors-servo
8da0947a6b
Auto merge of #22439 - Eijebong:clippy, r=emilio
...
Fix all clippy warnings in style_derive
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22439 )
<!-- Reviewable:end -->
2018-12-15 01:01:48 -05:00
WPT Sync Bot
b0862d9cc1
Update web-platform-tests to revision ac4274136e9a034628a3a469890c8e37babbc902
2018-12-14 21:54:18 -05:00
Josh Matthews
496e2f621d
mac: Treat CT returning 0 glyph indexes as failing to find indexes.
2018-12-14 15:50:29 -05:00
Simon Sapin
2a343f8d27
Disable Linux Nigthly upload from Buildbot
2018-12-14 21:28:44 +01:00
Simon Sapin
872c2d2732
Taskcluster: build Servo Nigthly for Linux, upload to S3
2018-12-14 21:03:53 +01:00
Josh Matthews
e11878129d
Add another layer of rAF to avoid intermittent failures.
2018-12-14 13:23:20 -05:00
Josh Matthews
fc2d810bce
Delay iframe and script element processing until the DOM is stable.
2018-12-14 13:12:49 -05:00
Josh Matthews
14b0de30db
Prevent JS execution and layout operations while DOM in inconsistent state.
2018-12-14 13:12:47 -05:00
Josh Matthews
231a37be24
Initial window sizes are mandatory.
2018-12-14 13:12:46 -05:00
Simon Sapin
3680fb7ffa
Send decision task data for try-* branches to Treeherder’s servo-try
2018-12-14 19:03:49 +01:00
Josh Matthews
34e77f62af
Ensure that all new iframes have a correct initial window size.
2018-12-14 13:00:47 -05:00
bors-servo
c9229f3f99
Auto merge of #22437 - lucasfantacuci:changing_link_to_code_of_conduct, r=jdm
...
Rust's code of conduct link was changed
The older code of conduct link from Rust now is a 404 page.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22437 )
<!-- Reviewable:end -->
2018-12-14 12:35:02 -05:00