mozilla

Revision 109221 of :-moz-window-inactive

  • Revision slug: CSS/:-moz-window-inactive
  • Revision title: :-moz-window-inactive
  • Revision id: 109221
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment Gecko 1.9.3 -> 2; 1 words added, 5 words removed

Revision Content

{{ CSSRef() }}{{ gecko_minversion_header("2") }}

Summary

The :-moz-window-inactive pseudo-class matches any element while it’s in an inactive window. Prior to its introduction, giving different styles to background windows was achieved by setting an attribute (active="true") on the top level XUL chrome window. This attribute will no longer be set.

:-moz-window-inactive works in content HTML documents, too.

This was implemented in bug 508482.

Revision Source

<p>{{ CSSRef() }}{{ gecko_minversion_header("2") }}</p>
<h3>Summary</h3>
<p>The <code>:-moz-window-inactive</code> pseudo-class matches any element while it’s in an inactive window. Prior to its introduction, giving different styles to background windows was achieved by setting an attribute (active="true") on the top level XUL chrome window. This attribute will no longer be set.</p>
<p><code>:-moz-window-inactive</code> works in content HTML documents, too.</p>
<p>This was implemented in <a class=" link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=508482">bug 508482</a>.</p>
Revert to this revision