Closed Bug 193773 Opened 22 years ago Closed 22 years ago

<object> has zero dimensions when percentages are used on page with DOCTYPE specified

Categories

(Core :: Layout, defect)

Other Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 131065

People

(Reporter: dsirnapalli, Unassigned)

Details

Attachments

(2 files, 1 obsolete file)

-- Test case attached.
-- Its only reproducable in latest commercial branch builds. It works fine in
latest commercial trunk builds and latest mozilla trunk builds.

When you run the test case, the OBJECT element(containing the gif image)should
be scaled by 50% on width and height attributes.

If no DOCTYPE is specified it works fine. It shows up image scaled, but if
DOCTYPE is specified it is not working as intended.
Attached file Testcase to reproduce the bug (obsolete) —
QA Contact: ian → dsirnapalli
>
data="http://geckoqa.mcom.com/browser/standards/html_parser/tests/images/trucks.gif"

That's not going to work.  Please post a working testcase? 

Also, this is a duplicate (and probably won't be fixed on the 1.0 branch). 
Please find the bug that originally fixed this on the trunk and mark duplicate.
Whiteboard: DUPEME
Attachment #114726 - Attachment is obsolete: true
Working testcase posted, Boris: are you refering to bug 85018, which is fixed
and also verified but that bug is for HMTL pages where no DOCTYPE is specified. 
This bug is for HTML pages where DOCTYPE is specified.
No, this was "fixed" by bug 131065.  Given the regressions that checkin caused
(including crashes and correctness bugs), there's no way that's landing on branch.

*** This bug has been marked as a duplicate of 131065 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Summary: elements (such as images) have zero dimensions when percentages are used on page with DOCTYPE specified → <object> has zero dimensions when percentages are used on page with DOCTYPE specified
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: