Closed
Bug 7509
Opened 26 years ago
Closed 26 years ago
Embed tag doesn't recognize percentages in width & height attributes
Categories
(Core Graveyard :: Plug-ins, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M10
People
(Reporter: cohn, Assigned: serhunt)
References
Details
Attachments
(3 files)
If you use <embed src="..." width="100%" height="100%>, the width and height
are converted to 100 pixels. The problem is in
[layout/html/base/src/nsObjectFrame.cpp]nsPluginInstanceOwner::GetWidth which
does the following:
*result = (PRUint32)atol(width);
So, "nnn%" gets converted to "nnn".
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M10
Comment 1•26 years ago
|
||
Reassigning Plugin bugs to Andrei
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•26 years ago
|
QA Contact: beppe → elig
Comment 3•26 years ago
|
||
[Note to self: check OBJECT example from 13929 as part of verifying this bug.]
Comment 4•26 years ago
|
||
Confirmed that this works properly using the embed tag on Win32 and Mac OS
(1999101208). Couldn't check Linux due to 16125.
(test case temporarily located at http://www.prometheus-music.com/meow/
plugtest.html)
Will check next on OBJECT tag.
Comment 6•26 years ago
|
||
Comment 7•26 years ago
|
||
Comment 8•26 years ago
|
||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 9•26 years ago
|
||
Verifying as fixed using same builds cited in 16:08 comment. Attached the test
cases used, should anyone wish to double-check the verification.
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•