Bug 159998 - REGRESSION: Plugin replaced YouTube Flash videos always have the same width
Summary: REGRESSION: Plugin replaced YouTube Flash videos always have the same width
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Local Build
Hardware: All All
: P2 Normal
Assignee: Daniel Bates
URL:
Keywords: InRadar, Regression
: 159973 (view as bug list)
Depends on:
Blocks: 159761 160002
  Show dependency treegraph
 
Reported: 2016-07-20 16:43 PDT by Daniel Bates
Modified: 2016-07-21 14:07 PDT (History)
10 users (show)

See Also:


Attachments
Example (160 bytes, text/html)
2016-07-20 16:45 PDT, Daniel Bates
no flags Details
Patch and Layout Tests (13.79 KB, patch)
2016-07-20 16:52 PDT, Daniel Bates
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bates 2016-07-20 16:43:55 PDT
Consider a page with the following markup:

<!DOCTYPE html>
<html>
<body>
<embed width="640" height="480" type="application/x-shockwave-flash" src="https://www.youtube.com/v/UF8uR6Z6KLc">
</body>
</html>

If you view this page with plugin replacement enabled (enabled by default on iOS) then the computed width of the video is auto and is clearly less than the specified 640px.
Comment 1 Daniel Bates 2016-07-20 16:45:13 PDT
Created attachment 284170 [details]
Example

For convenience, a page with the markup in comment 0.
Comment 2 Daniel Bates 2016-07-20 16:52:33 PDT
Created attachment 284171 [details]
Patch and Layout Tests
Comment 3 Daniel Bates 2016-07-20 17:24:14 PDT
*** Bug 159973 has been marked as a duplicate of this bug. ***
Comment 4 Radar WebKit Bug Importer 2016-07-20 18:05:35 PDT
<rdar://problem/27462285>
Comment 5 Daniel Bates 2016-07-21 14:07:55 PDT
Committed r203522: <http://trac.webkit.org/changeset/203522>