Closed Bug 313857 Opened 19 years ago Closed 18 years ago

wrong box model for dynamicaly created xforms controls

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: surkov, Assigned: aaronr)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1

When I create dynamicaly xforms control then it's widht is equal 0 (I tested only label and output controls). It's valid for xhtml controls. When I use xul controls (patch from bug 307627) then them works fine.

Reproducible: Always
Attached file testcase
I dunno if it's the box model, but there's something wrong. The output's do not show up in the testcase.

DOM Inspector reports undefined width, height, position, etc. for any XForms element. Not just the dynamically created ones?
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #2)
> I dunno if it's the box model, but there's something wrong. The output's do not
> show up in the testcase.

> DOM Inspector reports undefined width, height, position, etc. for any XForms
> element. Not just the dynamically created ones?
> 

Box model properties are undefined for any custom namespace element (read as not xhtml and xul namespace). When I told about wrong box model then I had in view anonymous span of xforms output had zero width.
Blocks: 323593
Works for me on trunk
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: