Bug 125822 - Video element's width and height content attributes should not influence intrinsic width and height
Summary: Video element's width and height content attributes should not influence intr...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: BlinkMergeCandidate
Depends on:
Blocks: 125838
  Show dependency treegraph
 
Reported: 2013-12-16 18:35 PST by Ryosuke Niwa
Modified: 2013-12-17 16:13 PST (History)
6 users (show)

See Also:


Attachments
Fixes the bug (5.67 KB, patch)
2013-12-16 18:40 PST, Ryosuke Niwa
darin: review+
rniwa: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-12-16 18:35:57 PST
Video element's width and height content attributes should not influence intrinsic width and height
Comment 1 Ryosuke Niwa 2013-12-16 18:40:51 PST
Created attachment 219380 [details]
Fixes the bug
Comment 2 Eric Carlson 2013-12-17 09:23:36 PST
Note that the following comment in the test is incorrect:

    These tests assume that the default intrinsic width is 300x150, so that the default
    intrinsic ratio is 2:1. This is no longer per spec, but is what is implemented.

The intrinsic width and height of a <video> element is 300x150 if poster and media file dimensions are unavailable: http://www.w3.org/TR/2013/WD-html51-20130528/embedded-content-0.html#concept-video-intrinsic-width
Comment 3 Ryosuke Niwa 2013-12-17 11:43:49 PST
Comment on attachment 219380 [details]
Fixes the bug

Oops, let me correct that comment.
Comment 4 Ryosuke Niwa 2013-12-17 16:13:12 PST
Committed r160734: <http://trac.webkit.org/changeset/160734>