mozilla

Revision 554695 of where

  • Revision slug: Mozilla/Tech/XUL/where
  • Revision title: where
  • Revision id: 554695
  • Created:
  • Creator: Sheppy
  • Is current revision? Yes
  • Comment XUL/where Mozilla/Tech/XUL/where

Revision Content

{{ Fx_minversion_header(3) }}
{{ XULRefElem() }}

Indicate a condition that must match for a template result to be used. If the condition is true, the corresponding {{ XULElem("action") }} body is generated; otherwise the result is ignored and no content is generated.

For more information, see Where Elements.

Attributes
{{ PrefAnch("a-", "ignorecase") }}, {{ PrefAnch("a-", "multiple") }}, {{ PrefAnch("a-", "negate") }}, {{ PrefAnch("a-", "rel") }}, subject, value

Examples

(example needed)

Attributes

{{ XULAttrInc("ignorecase") }} {{ XULAttrInc("multiple") }} {{ XULAttrInc("negate") }} {{ XULAttrInc("rel") }} {{ XULAttrInc("where.subject") }} {{ XULAttrInc("where.value") }} {{ XULAttrInheritedWide() }}

Properties

{{ XULPropInheritedWide() }}

Methods

{{ XULMethInheritedWide() }}

{{ languages( { "ja": "ja/XUL/where" } ) }}

Revision Source

{{ Fx_minversion_header(3) }}<div class="noinclude">{{ XULRefElem() }}</div> <p>Indicate a condition that must match for a template result to be used. If the condition is true, the corresponding {{ XULElem("action") }} body is generated; otherwise the result is ignored and no content is generated.
</p><p>For more information, see <a href="en/XUL/Template_Guide/Multiple_Rules#Where_Elements">Where Elements</a>.
</p>
<dl><dt> Attributes
</dt><dd> {{ PrefAnch("a-", "ignorecase") }}, {{ PrefAnch("a-", "multiple") }}, {{ PrefAnch("a-", "negate") }}, {{ PrefAnch("a-", "rel") }}, <a href="#a-where.subject">subject</a>, <a href="#a-where.value">value</a>
</dd></dl>
<h3 id="Examples" name="Examples"> Examples </h3>
<p>(example needed)
</p>
<h3 id="Attributes" name="Attributes"> Attributes </h3>
<p>{{ XULAttrInc("ignorecase") }}
{{ XULAttrInc("multiple") }}
{{ XULAttrInc("negate") }}
{{ XULAttrInc("rel") }}
{{ XULAttrInc("where.subject") }}
{{ XULAttrInc("where.value") }}
{{ XULAttrInheritedWide() }}
</p>
<h3 id="Properties" name="Properties"> Properties </h3>
<p>{{ XULPropInheritedWide() }}
</p>
<h3 id="Methods" name="Methods"> Methods </h3>
<p>{{ XULMethInheritedWide() }}
</p>{{ languages( { "ja": "ja/XUL/where" } ) }}
Revert to this revision