{
 "compat_features": [
  "css.types.basic-shape.rect",
  "css.types.basic-shape.xywh"
 ],
 "description": "The rect() CSS function creates a rectangle shape with insets from the edges of an element. The xywh() CSS function creates a rectangle shifted by an x and y distance. They can be used with clip-path and shape-outside.",
 "description_html": "The <code>rect()</code> CSS function creates a rectangle shape with insets from the edges of an element. The <code>xywh()</code> CSS function creates a rectangle shifted by an <code>x</code> and <code>y</code> distance. They can be used with <code>clip-path</code> and <code>shape-outside</code>.",
 "group": [
  "clipping-shapes-masking"
 ],
 "kind": "feature",
 "name": "rect() and xywh()",
 "spec": [
  "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-xywh",
  "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-rect"
 ],
 "status": {
  "baseline": "low",
  "baseline_low_date": "2024-01-23",
  "by_compat_key": {
   "css.types.basic-shape.rect": {
    "baseline": "low",
    "baseline_low_date": "2024-01-23",
    "support": {
     "chrome": "119",
     "chrome_android": "119",
     "edge": "119",
     "firefox": "122",
     "firefox_android": "122",
     "safari": "17.2",
     "safari_ios": "17.2"
    }
   },
   "css.types.basic-shape.xywh": {
    "baseline": "low",
    "baseline_low_date": "2024-01-23",
    "support": {
     "chrome": "119",
     "chrome_android": "119",
     "edge": "119",
     "firefox": "122",
     "firefox_android": "122",
     "safari": "17.2",
     "safari_ios": "17.2"
    }
   }
  },
  "support": {
   "chrome": "119",
   "chrome_android": "119",
   "edge": "119",
   "firefox": "122",
   "firefox_android": "122",
   "safari": "17.2",
   "safari_ios": "17.2"
  }
 },
 "id": "rect-xywh",
 "groups": [
  "clipping-shapes-masking"
 ],
 "specs": [
  {
   "url": "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-xywh",
   "seriesComposition": "full",
   "shortname": "css-shapes-1",
   "series": {
    "shortname": "css-shapes",
    "currentSpecification": "css-shapes-1",
    "title": "CSS Shapes",
    "shortTitle": "CSS Shapes",
    "releaseUrl": "https://www.w3.org/TR/css-shapes/",
    "nightlyUrl": "https://drafts.csswg.org/css-shapes/"
   },
   "seriesVersion": "1",
   "seriesNext": "css-shapes-2",
   "organization": "W3C",
   "groups": [
    {
     "name": "Cascading Style Sheets (CSS) Working Group",
     "url": "https://www.w3.org/groups/wg/css/"
    }
   ],
   "release": {
    "url": "https://www.w3.org/TR/css-shapes-1/",
    "status": "Candidate Recommendation Draft",
    "filename": "Overview.html"
   },
   "nightly": {
    "url": "https://drafts.csswg.org/css-shapes-1/",
    "status": "Editor's Draft",
    "alternateUrls": [
     "https://w3c.github.io/csswg-drafts/css-shapes-1/",
     "https://w3c.github.io/csswg-drafts/css-shapes/"
    ],
    "repository": "https://github.com/w3c/csswg-drafts",
    "sourcePath": "css-shapes-1/Overview.bs",
    "filename": "index.html"
   },
   "title": "CSS Shapes Module Level 1",
   "source": "w3c",
   "shortTitle": "CSS Shapes 1",
   "categories": [
    "browser"
   ],
   "standing": "good",
   "tests": {
    "repository": "https://github.com/web-platform-tests/wpt",
    "testPaths": [
     "css/css-shapes"
    ]
   },
   "fragment": "funcdef-basic-shape-xywh"
  },
  {
   "url": "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-rect",
   "seriesComposition": "full",
   "shortname": "css-shapes-1",
   "series": {
    "shortname": "css-shapes",
    "currentSpecification": "css-shapes-1",
    "title": "CSS Shapes",
    "shortTitle": "CSS Shapes",
    "releaseUrl": "https://www.w3.org/TR/css-shapes/",
    "nightlyUrl": "https://drafts.csswg.org/css-shapes/"
   },
   "seriesVersion": "1",
   "seriesNext": "css-shapes-2",
   "organization": "W3C",
   "groups": [
    {
     "name": "Cascading Style Sheets (CSS) Working Group",
     "url": "https://www.w3.org/groups/wg/css/"
    }
   ],
   "release": {
    "url": "https://www.w3.org/TR/css-shapes-1/",
    "status": "Candidate Recommendation Draft",
    "filename": "Overview.html"
   },
   "nightly": {
    "url": "https://drafts.csswg.org/css-shapes-1/",
    "status": "Editor's Draft",
    "alternateUrls": [
     "https://w3c.github.io/csswg-drafts/css-shapes-1/",
     "https://w3c.github.io/csswg-drafts/css-shapes/"
    ],
    "repository": "https://github.com/w3c/csswg-drafts",
    "sourcePath": "css-shapes-1/Overview.bs",
    "filename": "index.html"
   },
   "title": "CSS Shapes Module Level 1",
   "source": "w3c",
   "shortTitle": "CSS Shapes 1",
   "categories": [
    "browser"
   ],
   "standing": "good",
   "tests": {
    "repository": "https://github.com/web-platform-tests/wpt",
    "testPaths": [
     "css/css-shapes"
    ]
   },
   "fragment": "funcdef-basic-shape-rect"
  }
 ],
 "mdnUrls": [
  {
   "slug": "Web/CSS/Reference/Values/basic-shape/rect",
   "title": "rect()",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Values/basic-shape/rect"
  },
  {
   "slug": "Web/CSS/Reference/Values/basic-shape/xywh",
   "title": "xywh()",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Values/basic-shape/xywh"
  }
 ],
 "standardPositions": [],
 "hasNegativeStandardPosition": false,
 "stateOfSurveys": [],
 "chromeUseCounters": {},
 "interop": [],
 "wpt": {
  "url": "https://wpt.fyi/results?q=feature:rect-xywh"
 },
 "developerSignals": null,
 "bugs": {},
 "baselineLowDateAsObject": "2024-01-23T00:00:00.000Z",
 "baselineHighDateAsObject": null,
 "expectedBaselineHighDate": "2026-07-23"
}