Closed Bug 349375 Opened 13 years ago Closed 10 years ago

<object> or <iframe> nested in <marquee> causes screen to flick/shake

Categories

(Core :: Layout, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: danielwang, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(2 files)

<marquee><iframe></iframe></marquee> causes the portion of the layout to shake.
Attached file reduced testcase
OS: Windows XP → All
Hardware: PC → All
This problems seems not to be limited to <marquee> elements, but all block level elements.

I have been using a JavaScript library called window.js (http://prototype-window.xilinus.com/), and from its usage, it seems that <div> elements tear and shake when an <iframe> is moving on top of it.

That's why I suspect this applies to all block level elements. (<marquee> is implemented as a block level too, is it? Saw that in html.css.)
(In reply to comment #2)
> That's why I suspect this applies to all block level elements. (<marquee> is
> implemented as a block level too, is it? Saw that in html.css.)

Ugh. I mean, as a block level *element*.
Attached file more simple testcase
I see this with
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070204 Minefield/3.0a2pre
Hmm, Martijn, a simple marquee { overflow: auto } in html.css seems to fix this.

(Adding overflow:auto style to <marquee> is a workaround for this bug, at least for this testcases here)
Summary: <iframe> nested in <marquee> causes screen to flick/shake → <object> or <iframe> nested in <marquee> causes screen to flick/shake
The "compositor phase 1" patches (https://build.mozilla.org/tryserver-builds/rocallahan@mozilla.com-try-f9bf8fa4178/) seem to have addressed this bug.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090722 Minefield/3.6a1pre

Works fine now.
Fixed by bug 352093.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.