Bug 142195
| Summary: | poster attribute causes unwanted video size | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | greg |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | eric.carlson, jer.noble |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
greg
if the poster attribute on a <video> element contains a missing file it will cause unwanted scaling of the video element. the height of the video will be the same as it's width. this causes a padding on the top and bottom of the element.
The issue is also visible until the image is loaded. This causes flashing.
Reproduce: http://codepen.io/pixelass/pen/vEaEEW
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |