mozilla

Revision 83708 of panel.level

  • Revision slug: XUL/Attribute/panel.level
  • Revision title: panel.level
  • Revision id: 83708
  • Created:
  • Creator: Enn
  • Is current revision? No
  • Comment 50 words added, 35 words removed

Revision Content

{{ XULRefAttr() }}
{{ XULAttr("panel.level", "level") }} {{ Fx_minversion_inline("3") }}
Type: one of the values below
Specifies whether the panel appears on top of all windows, or just on top of the window the panel is in. If this attribute is not set, the popup window level depends on the platform. On Linux, the default value is top, otherwise, the default value is parent. If a panel has one or more text fields, this attribute should not be set, otherwise IME or on-screen keyboard popups will appear incorrectly. For these reasons, you should avoid setting the level if not needed.
  • top: The panel is shown in front of all other normal windows, including those of other applications.
  • parent: The panel is shown just above the window the panel is in, but behind other windows above it. If anchored, the child window maintains its relative position to its parent window.
  • floating: {{ Fx_minversion_inline("4") }} The panel floats above the window the panel is in. On Mac, the panel is only visible when the application is active.

{{ languages( { "ja": "ja/XUL/Attribute/panel.level" } ) }}

Revision Source

<div class="noinclude">{{ XULRefAttr() }}</div>
<dl> <dt>{{ XULAttr("panel.level", "level") }} {{ Fx_minversion_inline("3") }}</dt> <dd>Type: <span class="lang lang-en"><span id="a-popup.level"><em>one of the values below</em></span></span></dd> <dd>Specifies whether the panel appears on top of all windows, or just on top of the window the panel is in. If this attribute is not set, the popup window level depends on the platform. On Linux, the default value is <code>top</code>, otherwise, the default value is <code>parent</code>. If a panel has one or more text fields, this attribute should not be set, otherwise IME or on-screen keyboard popups will appear incorrectly. For these reasons, you should avoid setting the level if not needed.</dd>
</dl>
<ul> <li><code>top</code>: The panel is shown in front of all other normal windows, including those of other applications.</li> <li><code>parent</code>: The panel is shown just above the window the panel is in, but behind other windows above it. If anchored, the child window maintains its relative position to its parent window.</li> <li><code>floating</code>: {{ Fx_minversion_inline("4") }} The panel floats above the window the panel is in. On Mac, the panel is only visible when the application is active.</li>
</ul>
<div class="noinclude">
<p>{{ languages( { "ja": "ja/XUL/Attribute/panel.level" } ) }}</p>
</div>
Revert to this revision