title | slug | page-type | status | browser-compat | |
---|---|---|---|---|---|
:-moz-broken |
Web/CSS/:-moz-broken |
css-pseudo-class |
|
css.selectors.-moz-broken |
{{CSSRef}}{{Non-standard_header}}
The :-moz-broken
CSS pseudo-class is a Mozilla extension that matches elements representing broken image links.
Note: This selector is mainly intended to be used by theme developers.
:-moz-broken {
/* ... */
}
<img src="broken.jpg" alt="This image is broken. :-(" />
:-moz-broken {
background: bisque;
padding: 8px;
}
{{EmbedLiveSample("Examples")}}
Not part of any standard.
{{Compat}}
- {{cssxref(":-moz-loading")}}, {{cssxref(":-moz-suppressed")}}, {{cssxref(":-moz-user-disabled")}}
- Firefox bug 11011