Open Bug 345918 Opened 19 years ago Updated 3 years ago

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

Categories

(Core :: Layout, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: ddart, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

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>
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
Attached file 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.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Version: 1.8 Branch → Trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: