Commit graph

7042 commits

Author SHA1 Message Date
sreeise
cac4aa56f7 Added AudioTrack, AudioTrackList, VideoTrack, VideoTrackList, and TrackEvent interfaces 2019-03-03 09:04:50 -05:00
bors-servo
4d8d54fc00
Auto merge of #22933 - pngai:implement-returnValue-attribute, r=jdm
Implement historical returnValue attribute for Event interface

<!-- Please describe your changes on the following line: -->
Implementation of `returnValue` attribute for Event interface.

---
<!-- 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 #22881 (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. -->

<!-- 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/22933)
<!-- Reviewable:end -->
2019-03-01 17:33:39 -05:00
Patrick Ngai
fcadff7bad Implement historical returnValue attribute for Event interface 2019-02-28 21:03:03 +08:00
bors-servo
2fb00d1d5a
Auto merge of #22941 - servo-wpt-sync:wpt_update_25-02-2019, r=jdm
Sync WPT with upstream (25-02-2019)

Automated downstream sync of changes from upstream as of 25-02-2019.
[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/22941)
<!-- Reviewable:end -->
2019-02-27 09:29:14 -05:00
bors-servo
42ebf46172
Auto merge of #22917 - ksqsf:master, r=KiChjang
Add optional annotations for initEvent method of Event interface

Added `optional` and default values to parameters `bubbles` and `cancelable` of `initEvent` of `Event`.

I tried to update test results, but there seem to be no differences at all.

I checked similar code where `optional` is used, and there seems to be no special handling in Rust. If that is not the case with this issue, please let me know and I'll commit more follow-ups.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22883

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- 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/22917)
<!-- Reviewable:end -->
2019-02-27 04:05:57 -05:00
_rika
fd2341bc78 Add optional annotations for initEvent method of Event interface 2019-02-26 18:10:43 +08:00
WPT Sync Bot
85fe63f512 Update web-platform-tests to revision 38bd28fe2368c650cf6e57be205cf3118dbd4997 2019-02-25 22:50:55 -05:00
bors-servo
a28e15e4ea
Auto merge of #22347 - stevesweetney:master, r=ferjm
Implement HTMLMediaElement muted and defaultMuted attributes

<!-- Please describe your changes on the following line: -->
PR for issue  #22291

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

<!-- 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/22347)
<!-- Reviewable:end -->
2019-02-25 05:05:09 -05:00
WPT Sync Bot
8c91d13e13 Update web-platform-tests to revision 8805f23ef629338b6d28ae25cc13839e99acea1b 2019-02-23 23:29:05 -05:00
WPT Sync Bot
4334a9c855 Update web-platform-tests to revision 70df598b894bfa4a7122720608a3110cb25ceb42 2019-02-22 22:40:32 -05:00
WPT Sync Bot
0355b8e70d Update web-platform-tests to revision 181f8381fe9373e027f4b5ba5d1439843ad2c2e6 2019-02-21 23:28:36 -05:00
WPT Sync Bot
7680aab725 Update web-platform-tests to revision 91b1effe848fac6e73a203037fc333b0fff3174d 2019-02-20 23:29:47 -05:00
WPT Sync Bot
459fbb1a34 Update web-platform-tests to revision eb6b0210d6f0b1b44bc74385de04a2291ce2575c 2019-02-19 23:01:14 -05:00
WPT Sync Bot
faf92483da Update web-platform-tests to revision 2b66b8b24b727c7490bf6091dd8a6a551642720b 2019-02-18 22:40:08 -05:00
Steve Sweetney
02d3328d3c Implement HTMLMediaElement muted and defaultMuted attributes 2019-02-18 15:20:00 -05:00
WPT Sync Bot
9710896ed5 Update web-platform-tests to revision 3a43f99a56a4c016e3f1cda41330f1a2c0e780ff 2019-02-17 23:20:35 -05:00
WPT Sync Bot
9c112bc2a2 Update web-platform-tests to revision 2bed10ac31899a4812f7e1d32ac69ade0bbe7f4f 2019-02-16 22:48:42 -05:00
WPT Sync Bot
f96f9a1b78 Update web-platform-tests to revision 21461a83c51b72bcff82476c1b79a26a194e7bab 2019-02-15 22:57:54 -05:00
WPT Sync Bot
a7e62acbe8 Update web-platform-tests to revision ad219567030d1f99f7310f52a17546b57b70d29e 2019-02-14 22:39:37 -05:00
Josh Matthews
7ce9afcc02
Update bluetooth expectations. 2019-02-13 20:36:50 -05:00
WPT Sync Bot
4375e3f248 Update web-platform-tests to revision 5852f617c1ad109939bdb6b70f362dcd84a5cb73 2019-02-12 22:36:45 -05:00
bors-servo
c80c3f3167
Auto merge of #22867 - servo-wpt-sync:wpt_update_11-02-2019, r=jdm
Sync WPT with upstream (11-02-2019)

Automated downstream sync of changes from upstream as of 11-02-2019.
[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/22867)
<!-- Reviewable:end -->
2019-02-11 23:26:23 -05:00
WPT Sync Bot
8b66216ed2 Update web-platform-tests to revision e2eb25aaa6dd3c512b172588f3400f9c25a410c3 2019-02-11 22:35:08 -05:00
bors-servo
92369cca21
Auto merge of #22864 - emilio:gecko-sync, r=emilio
style: Rename MozLength to Size, and MaxLength to MaxSize.

MozLength is not a very descriptive name. If we're going to use it in both Gecko
and Servo we may as well name it something more accurate.

I would've chosen `ContentSize` per CSS2[1][2] if it wasn't a lie in presence
of box-sizing. I don't have better ideas than `Size`, given that.

[1]: https://drafts.csswg.org/css2/visudet.html#propdef-width
[2]: https://drafts.csswg.org/css2/box.html#content-width

Differential Revision: https://phabricator.services.mozilla.com/D19280

<!-- 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/22864)
<!-- Reviewable:end -->
2019-02-11 20:28:35 -05:00
Emilio Cobos Álvarez
c2819365f0 style: Rename MozLength to Size, and MaxLength to MaxSize.
MozLength is not a very descriptive name. If we're going to use it in both Gecko
and Servo we may as well name it something more accurate.

I would've chosen `ContentSize` per CSS2[1][2] if it wasn't a lie in presence
of box-sizing. I don't have better ideas than `Size`, given that.

[1]: https://drafts.csswg.org/css2/visudet.html#propdef-width
[2]: https://drafts.csswg.org/css2/box.html#content-width

Differential Revision: https://phabricator.services.mozilla.com/D19280
2019-02-12 02:28:00 +01:00
bors-servo
3d4a416c6b
Auto merge of #21310 - jdm:canvas-path, r=pcwalton
Improve rendering of transformed 2d paths

This makes http://webglreport.com/ render correctly by porting the [equivalent code](https://searchfox.org/mozilla-central/rev/196560b95f191b48ff7cba7c2ba9237bba6b5b6a/dom/canvas/CanvasRenderingContext2D.h#847-875) from Gecko's 2d canvas implementation that handles paths with transformations. The first commit fixes the rendering issue, and the second commit fixes some new test failures that were exposed by that change.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21169
- [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/21310)
<!-- Reviewable:end -->
2019-02-11 14:41:19 -05:00
bors-servo
9358b6a2fb
Auto merge of #22841 - jdm:iframe-nav-test, r=nox
Add test for contentDocument behaviour during parsing

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22503
- [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/22841)
<!-- Reviewable:end -->
2019-02-11 12:56:19 -05:00
bors-servo
1d8f7574d8
Auto merge of #22863 - servo-wpt-sync:wpt_update_10-02-2019, r=jdm
Sync WPT with upstream (10-02-2019)

Automated downstream sync of changes from upstream as of 10-02-2019.
[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/22863)
<!-- Reviewable:end -->
2019-02-11 09:42:27 -05:00
bors-servo
7ed6b9d3ce
Auto merge of #22850 - georgeroman:implement_htmlareaelement_target_attribute, r=ferjm
Implement the target attribute for HTMLAreaElement

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

<!-- 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/22850)
<!-- Reviewable:end -->
2019-02-11 04:13:42 -05:00
George Roman
90b5d0d338 Implement the target attribute for HTMLAreaElement 2019-02-11 10:42:58 +02:00
WPT Sync Bot
bd408bae04 Update web-platform-tests to revision 48b9be82df0e5099393401a3f43ed9c8570832be 2019-02-10 23:17:02 -05:00
bors-servo
aeeaf9dda1
Auto merge of #22861 - 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/22861)
<!-- Reviewable:end -->
2019-02-10 17:00:26 -05:00
Emilio Cobos Álvarez
6daebcc5df Fix servo build. 2019-02-10 07:23:51 +01:00
WPT Sync Bot
67ab92907c Update web-platform-tests to revision 01e5f08719565e56a6c0d2abfc2485481ceb924a 2019-02-09 22:31:15 -05:00
WPT Sync Bot
05db47be0f Update web-platform-tests to revision 345300fad3945a5f1441fb2b2001109ca48f36e8 2019-02-08 22:35:01 -05:00
WPT Sync Bot
2178678b0f Update web-platform-tests to revision ead8f8b00d0b68237109f3c93d0ccae076a34f98 2019-02-07 22:37:04 -05:00
Josh Matthews
e7edc367f9 Transform paths between user and device space when there is a 2D canvas transformation present. 2019-02-06 18:39:02 -05:00
bors-servo
d81ff5704e
Auto merge of #22839 - jdm:overflow-hit-test-fix, r=pcwalton
Ensure transparent hit test region is sized and positioned correctly.

This addresses some edge cases that were missed by #22156. Specifically, in some cases the transparent region was being placed in the display list in front of the scrollable content, rather than behind it, and the size of the region did not account for parent stacking context.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22073 and fix #22216.
- [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/22839)
<!-- Reviewable:end -->
2019-02-06 18:14:20 -05:00
Josh Matthews
3315d94057 Verify that contentDocument is updated during nested browsing context document parsing. 2019-02-06 16:36:18 -05:00
Josh Matthews
f59e95ee3d Ensure transparent hit test region is sized and positioned correctly. 2019-02-06 15:19:03 -05:00
Alan Jeffrey
386c0f80ed Implemented fullscreen top layer 2019-02-06 13:23:52 -06:00
WPT Sync Bot
6dda93c6e2 Update web-platform-tests to revision 9fc797e6e5fb7d244dfb5b5125886c01f8cedf2b 2019-02-05 23:23:41 -05:00
bors-servo
9c8bce2a6b
Auto merge of #22821 - servo-wpt-sync:wpt_update_04-02-2019, r=jdm
Sync WPT with upstream (04-02-2019)

Automated downstream sync of changes from upstream as of 04-02-2019.
[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/22821)
<!-- Reviewable:end -->
2019-02-05 15:09:35 -05:00
Alan Jeffrey
d2862094ec Add reftests for fullscreen mode 2019-02-05 10:04:38 -06:00
WPT Sync Bot
f9b7afc45e Update web-platform-tests to revision fe78f2a1ad48c1e0132634e957369d8d674e4258 2019-02-04 23:30:37 -05:00
bors-servo
871fe9306f
Auto merge of #22786 - georgeroman:update_forked_referrer_policy_tests, r=jdm
Remove forked referrer policy tests

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

<!-- 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/22786)
<!-- Reviewable:end -->
2019-02-04 13:16:16 -05:00
WPT Sync Bot
02a351684c Update web-platform-tests to revision db527a4944833201557faf740d4717c3ebe4c75f 2019-02-03 22:30:35 -05:00
WPT Sync Bot
314da91646 Update web-platform-tests to revision 78c15447152438264b49f4488683f60ee47d068f 2019-02-02 23:01:11 -05:00
WPT Sync Bot
71dcf37d55 Update web-platform-tests to revision 0f0b7a7e353421b600ee555bf354d3a98bb603ae 2019-02-01 22:58:23 -05:00
George Roman
e6b363df5b Remove forked referrer policy tests 2019-02-01 18:08:45 +02:00