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:
bors-servo 2019-01-14 17:35:23 -05:00 committed by GitHub
commit 2cf9a00c99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 483 additions and 64 deletions

View file

@ -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;
};