Closed Bug 194469 Opened 22 years ago Closed 22 years ago

Embedded HTML document behaves like image when positioned with CSS position:absolute or position:relative

Categories

(Core :: Layout: Block and Inline, defect)

1.0 Branch
x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 183781

People

(Reporter: jhnphm, Unassigned)

Details

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2b; MultiZilla v1.1.32 final) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2b; MultiZilla v1.1.32 final) Gecko/20021130

Html documents embedded into a page with object instead of iframe to conform
with HTML Strict behave like images, when positioned using CSS. Links do not
work, and the embedded document will not scroll. 

An example of a nonfunctional page would be:

<html>
<head>
<style>#foo {position:relative; top:100px; left:100px; width:100px;
height:100px}</style>
</head>
<body>
<object id=foo data="http://www.mozilla.org/index.html"
</object>

Works in IE6


Reproducible: Always

Steps to Reproduce:
Run the example code above. If relative is replaced with absolute, also will not
work.

Actual Results:  
Embedded page acts like image

Expected Results:  
The embedded page should have acted like an iframe
forgot to add type="text/html". Still doesn't work though.
Version: Trunk → 1.0 Branch
Attached file testcase (obsolete) —
simple testcase based off initial comment (added type, closed tag, etc).
Scrolling of testcase WFM OS X/1.3b... links don't do anything
Attached file fixed testcase
typed wrong "type" out of habit... this one also validates xhtml 1.0 strict
Attachment #115221 - Attachment is obsolete: true
reference case w/ position:static where all links work
this looks to be a dupe

*** This bug has been marked as a duplicate of 183781 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: