<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>193020</bug_id>
          
          <creation_ts>2018-12-24 01:02:40 -0800</creation_ts>
          <short_desc>video element&apos;s content don&apos;t fill available width</short_desc>
          <delta_ts>2018-12-25 21:03:08 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>Safari 12</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.14</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="shrpne">corsar89</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1490690</commentid>
    <comment_count>0</comment_count>
    <who name="shrpne">corsar89</who>
    <bug_when>2018-12-24 01:02:40 -0800</bug_when>
    <thetext>Video elements&apos; content doesn&apos;t fill all available space on some resolutions, I assume problem occurs when video element&apos;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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>