Mozilla XUL Element and Script Reference

Contents  Quick Reference

Editor

An iframe which is expected to contain an editable Web document.

Attributes:

Attributes inherited from XUL Element


autostretch

In the editor is placed inside a horizontally oriented box, autostretch determines whether the editor stretches vertically to fit the given space. For vertically oriented boxes, determines whether the editor stretches horizontally to fit the given space. Stetching in the opoosite direction is controlled with the flex attribute.

flex

Indicates the flexibility of the editor. Flexible elements grow and shrink to fit their given space. The actual value is not relevant unless there are other flexible elements with-in the same container. Elements with larger flex values will grow more than elements with lower flex values, at the ratio determined by the two elements.

height

The height of the editor in pixels. It is recommended to use the CSS height property instead.

left

For elements placed within a bulletinboard, specifies the position of the left edge of the editor.

top

For elements placed within a bulletinboard, specifies the position of the top edge of the editor.

width

The width of the editor in pixels. It is recommended to use the CSS width property instead.