Skip to content

Commit

Permalink
Deprecate -moz-image-rect function (mdn#30349)
Browse files Browse the repository at this point in the history
* Deprecate -moz-image-rect function

* Remove experimental
  • Loading branch information
pepelsbey authored Nov 17, 2023
1 parent 4c03aef commit 69f92b8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions files/en-us/web/css/-moz-image-rect/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ title: "-moz-image-rect"
slug: Web/CSS/-moz-image-rect
page-type: css-function
status:
- experimental
- deprecated
- non-standard
browser-compat: css.types.-moz-image-rect
---

{{CSSRef}}{{Non-standard_Header}}{{SeeCompatTable}}
{{CSSRef}}{{Non-standard_Header}}{{Deprecated_Header}}

The **`-moz-image-rect`** value for [CSS](/en-US/docs/Web/CSS) {{CSSxRef("background-image")}} lets you use a portion of a larger image as a background.

Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/css/-moz-image-region/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ For certain XUL elements and pseudo-elements that use an image from the {{CSSxRe

The syntax is similar to the {{CSSxRef("clip")}} property. All four values are relative to the upper left corner of the image.

> **Note:** For a system that works on any background, see {{CSSxRef("-moz-image-rect")}}.
## Syntax

```css
Expand Down
1 change: 0 additions & 1 deletion files/en-us/web/css/image/image/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ The above will put a semi-transparent black mask over the Firefox logo backgroun
- {{CSSxRef("element", "element()")}}
- {{CSSxRef("url", "url()")}}
- {{CSSxRef("clip-path")}}
- {{CSSxRef("-moz-image-rect")}}
- {{CSSxRef("<gradient>")}}
- {{CSSxRef("image/image-set", "image-set()")}}
- {{CSSxRef("cross-fade", "cross-fade()")}}
1 change: 0 additions & 1 deletion files/en-us/web/css/shape/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ img.clip04 {
## See also

- Related CSS property: {{ cssxref("clip") }}
- The [`-moz-image-rect()`](/en-US/docs/Web/CSS/-moz-image-rect) function has similar coordinate values to `rect()`.

0 comments on commit 69f92b8

Please sign in to comment.