[Webkit-unassigned] [Bug 118614] New: The CSS background-* property is ignored on <video> with JPEG poster
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 12 14:21:07 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=118614
Summary: The CSS background-* property is ignored on <video>
with JPEG poster
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.8
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: marc.hoyois at gmail.com
Created an attachment (id=206570)
--> (https://bugs.webkit.org/attachment.cgi?id=206570&action=review)
minimal test case
Overview:
If a <video> has a JPEG poster image that does not exactly fit the dimensions of the element, the remaining space is always painted white, no matter the value of the CSS background property.
This leads to undesirable visual quirks, for instance:
1. The CSS background is shown before the poster metadata is downloaded,
2. It turns white while the poster is shown,
3. As soon as the video starts playing, the CSS background is shown again,
and this happens in quick succession if the video is on autoplay.
On the other hand, if the poster is a PNG image, the CSS background is shown, so this issue might be an intended behavior for images that have no transparency. But I think the above scenario shows that the current behavior is undesirable.
Steps to reproduce:
Check the attached minimal test case.
Actual Results:
The background is red at first, then turns white when the poster is loaded, and then back to red when the video starts playing
Expected Results:
The background should be red all along.
Build Date & Platform: r152590 on OS X 10.8.4.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list