Closed
Bug 69270
Opened 24 years ago
Closed 21 years ago
images incl with object tag don't scale using percentage values
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
RESOLVED
WORKSFORME
mozilla1.2alpha
People
(Reporter: chris, Assigned: attinasi)
Details
(Keywords: testcase)
Attachments
(1 file)
193 bytes,
text/html
|
Details |
If I include an image on a page using the object tag, and set the width to 10%, it will still show up at it's normal size. <object type="image/gif" data="http://www.mozilla.org/images/mozilla-banner.gif" width="10%">Mozilla.org</object>
Reporter | ||
Comment 1•24 years ago
|
||
Take a look at: http://www.w3.org/TR/html4/struct/objects.html#img-wh -------------------------------------------------------------------------------- Note that lengths expressed as percentages are based on the horizontal or vertical space currently available, not on the natural size of the image, object, or applet. --------------------------------------------------------------------------------
So it should be 10% of the available space, not 10% of the image width but that is ignored. Also note that height doesn't work, same problem!
Reporter | ||
Comment 4•24 years ago
|
||
I never said it had to do anything with scaling to 10% of the image width. I know how it should work...and the image does NOT scale to 10% of the /available/ width. The image does not scale at all. You can resize the window horizontally for the test case and the image will not change size at all.
Comment 6•24 years ago
|
||
Confirmed Platform: PC OS: Windows 98 Mozilla Build: 2001022007 Marking NEW.
Comment 7•23 years ago
|
||
Reassigning to attinasi and marking m1.0.
Assignee: karnaze → attinasi
Target Milestone: --- → mozilla1.0
Assignee | ||
Comment 8•23 years ago
|
||
NTS: object frame when it acts like an image problem...
Status: NEW → ASSIGNED
Priority: -- → P3
Should this not include all objects not just images? Would it not be correct to assume that an html object should take up 10% of the space avaible? Should applet take 10% of available space?
Reporter | ||
Comment 10•23 years ago
|
||
Riscky, you are correct, in that any object included with the object tag should obey a percentage size. The current problem is that when encountering an Object tag, Mozilla behaves differently depending on the type of object included. Some things work right, many don't, this bug deals with one specific case. I have also filed several closely related bugs you may be interested in: bug 70972 - Object tag includes do not respect CSS width and height. bug 70976 - Embeded OBJECT's should use natural size unless overriden. bug 70978 - An OBJECT scaled using width /OR/ height should maintain perspective.
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla1.2
Comment 11•21 years ago
|
||
This has been fixed for a good long time now....
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•