If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Div in iframe does not honor scrollbar width set in Display Properties

NEW
Unassigned

Status

()

Core
Layout
11 years ago
11 years ago

People

(Reporter: ddart, Unassigned)

Tracking

({testcase})

Trunk
x86
Windows XP
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060725 Minefield/3.0a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060725 Minefield/3.0a1

I have a div without overflow set in a div with overflow:auto set in iframe with scrolling=no.  The innermost div contains enough data to cause a scrollbar.  This scrollbar appears to be the default width rather than the width set in Windows Display Properties.

Reproducible: Always

Steps to Reproduce:
1. Change width of scrollbar using right-click on desktop, Properties, Appearance, Advanced, Item. 
2. Restart firefox and call up test file in browser.
3. Note scrollbar width.

Actual Results:  
Width of scrollbar for div within iframe appears to be default width instead of new width.


Sample file 1:

<div style="background-color:#cccccc;width:630;height:308" >
  <iframe scrolling="no" frameborder="0" name="HiFrame" src="innerds.html" style="width:630;height:308" id="HiFrame">
  </iframe>
</div>


Sample file 2 (innerds.html)
<div style="left:2;width:626;height:206;overflow:auto;position:absolute">
  <div style="background-color:#ccffcc;width:626;height:206;position:absolute" >
.........enough text to cause an overflow...........
  </div>
</div>

Comment 1

11 years ago
A minimized testcase that displays the bug would be great.
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.8 Branch
Created attachment 230713 [details]
testcase

Confirmed with:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060725 Minefield/3.0a1
The scrollbars in the testcase are 3 times smaller than what I've normally set them.

Updated

11 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Version: 1.8 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.