Ugly lines scrolling iframes in Firefox

Description

If you scroll a page that contains a web content iframe in Firefox (e.g. Worksite Info with a URL specified), you sometimes get ugly horizontal lines appearing at the bottom (see screenshot).

In a combination of googling and experimentation, I found that (a) this behaviour is somehow a side-effect of the navintratool being present, and (b) adding some padding to the iframe style seemed to resolve the issue.

Here is an example from an iframe with navIntraTool from Linktool that works correctly on scrolling:

<div class="portletBody">
<div class="navIntraTool"><a href='/portal/tool/66d76b5b-2763-4e68-96de-9189960187c9?Setup'>Setup</a></div>
<iframe
src="https://...(rest left out for brevity)" height="800" width="100%" frameborder="0" marginwidth="0" marginheight="0" scrolling="auto"
style="padding: 0.15em 0em 0em 0em;" />
</div>

In experimenting with changes to chef_iframe.vm in our local skin, I found 0.15em didn't work but 0.2em did, i.e.

padding: 0.2em 0em 0em 0em;

However, setting it to a larger value (e.g. 1em) causes the unwanted lines to come back again. The padding doesn't seem to make any visible difference to the positioning of the iframe.

There may be also be interactions with various styles used in chef_iframe - for experimenting I removed the divs other than portletBody and navIntraTool.

As rendering the iframes correctly in various browsers has been a fickle process in the past with odd effects surfacing in IE (esp. related to scrollbars), any change here probably needs some testing across multiple browsers.

Attachments

5

Activity

Show:

Megan May October 3, 2008 at 10:20 AM

Changing all issues assigned to Sakai QA that are closed to unassigned.

Nancy Wilkison May 9, 2008 at 11:20 AM

in checking the most recent vendor drop on our 2.4x system, 45460, we still get lines in a number of tools in both vista and mac/leopard with firefox. see 3 attached files sak-1814*

Jean-François Lévêque (old account) March 27, 2008 at 2:14 AM

Pls merge into 2-4-x.

David Horwitz March 27, 2008 at 1:59 AM

merged into 2-5-x with r43710

Stephen Marquard March 5, 2008 at 1:21 AM

Pls merge latest revision into 2-5-x.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created September 23, 2007 at 10:23 AM
Updated April 8, 2024 at 10:54 AM
Resolved March 4, 2008 at 8:54 AM