Open
Bug 307522
Opened 19 years ago
Updated 2 years ago
iframe sizing attributes (height, width...) do not apply dynamically
Categories
(Core :: XUL, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: jym, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
|
8.47 KB,
application/vnd.mozilla.xul+xml
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 When you use Javascript to set the height, width and similar attributes on an iframe XUL object it does not produce any change. Nonetheless, when you delete corresponding CSS properties from the chrome://global/skin/global.css style sheet after having set the element's attributes, it is suddenly refreshed and the expected size appears. This bug seems to be related to bug 66660. This looks like Firefox does not recalculate the dimensions of the iframe element when you touch its sizing attributes. Reproducible: Always Steps to Reproduce: 1. Create a test file with an iframe in it. 2. Load it into DOM Inspector. 3. Modify the height attribute while flex=0. Nothing happens. 4. Then delete the height CSS property of the above-mentioned style sheet. The height is applied.
Component: General → XP Toolkit/Widgets: XUL
Product: Firefox → Core
QA Contact: general → xptoolkit.xul
Version: unspecified → Trunk
Comment 4•19 years ago
|
||
This is because XUL doesn't style map attributes (see bug 216838).
Depends on: 216838
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•