mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #22399 - ferjm:poster.frame, r=jdm
Implement HTMLMediaElement poster attribute - [X] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22288 - [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/22399) <!-- Reviewable:end -->
This commit is contained in:
commit
2cf9a00c99
14 changed files with 483 additions and 64 deletions
|
@ -11,6 +11,10 @@ interface HTMLVideoElement : HTMLMediaElement {
|
|||
// attribute unsigned long height;
|
||||
readonly attribute unsigned long videoWidth;
|
||||
readonly attribute unsigned long videoHeight;
|
||||
// [CEReactions]
|
||||
// attribute DOMString poster;
|
||||
[CEReactions] attribute DOMString poster;
|
||||
};
|
||||
|
||||
partial interface HTMLVideoElement {
|
||||
[Pref="media.testing.enabled"]
|
||||
attribute EventHandler onpostershown;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue