mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #23236 - swarnimarun:loop_patch, r=ferjm
Implement HTMLMediaElement.loop Attribute <!-- Please describe your changes on the following line: --> Work done for Implementing HTMLMediaElement.loop Attribute, - Uncomment `loop` attribute from webidl - Add make_bool macros for Loop and SetLoop functions - Update the required tests --- <!-- 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 #22290 <!-- Either: --> - [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/23236) <!-- Reviewable:end -->
This commit is contained in:
commit
67beaa46e2
4 changed files with 15 additions and 17 deletions
|
@ -48,7 +48,7 @@ interface HTMLMediaElement : HTMLElement {
|
|||
// readonly attribute TimeRanges seekable;
|
||||
readonly attribute boolean ended;
|
||||
[CEReactions] attribute boolean autoplay;
|
||||
// [CEReactions] attribute boolean loop;
|
||||
[CEReactions] attribute boolean loop;
|
||||
Promise<void> play();
|
||||
void pause();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue