Bug 193020 - video element's content don't fill available width
Summary: video element's content don't fill available width
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 12
Hardware: Mac macOS 10.14
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-24 01:02 PST by shrpne
Modified: 2018-12-25 21:03 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shrpne 2018-12-24 01:02:40 PST
Video elements' content doesn't fill all available space on some resolutions, I assume problem occurs when video element's width becomes fractional. 

As all available space, I mean area painted by background-color
 

https://jsfiddle.net/uzr0wp9h/2/

Here is example of the video with red background, background is visible on the right edge of the video.

Desired behavior: video content should have the same width as video element and no background should be visible


Bug reproduced in Chrome too. Firefox and Edge are okay with it.