Closed
Bug 7509
Opened 25 years ago
Closed 25 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•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M10
Comment 1•25 years ago
|
||
Reassigning Plugin bugs to Andrei
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•25 years ago
|
QA Contact: beppe → elig
Comment 3•25 years ago
|
||
[Note to self: check OBJECT example from 13929 as part of verifying this bug.]
Comment 4•25 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•25 years ago
|
||
Comment 7•25 years ago
|
||
Comment 8•25 years ago
|
||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 9•25 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•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•