[Webkit-unassigned] [Bug 34302] New: RenderVideo should prefer provided width/height properties to hard coded defaults when natural size is unavailable
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 28 20:25:32 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=34302
Summary: RenderVideo should prefer provided width/height
properties to hard coded defaults when natural size is
unavailable
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Enhancement
Priority: P2
Component: Media Elements
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: nicholas.young at nokia.com
CC: eric.carlson at apple.com
The constructor of RenderVideo in WebCore/rendering/RenderVideo.cpp attempts to
determine the intrinsic size of the video by calling the naturalSize() method
of the media player.
However, when RenderVideo is constructed the media player may not yet have been
constructed.
In these situations, the renderer currently falls back to a hard coded default
video size as the intrinsic size - (300, 150).
This patch contends that in these situations, the width and height properties
of the video element, if available, should be used as the intrinsic size until
better values are available.
If the width and height properties are unavailable, then the hard coded default
is used once again.
--
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