{
 "compat_features": [
  "css.selectors.host",
  "css.selectors.hostfunction"
 ],
 "description": "The :host CSS pseudo-class selects the containing element of the shadow tree in which it is used. The :host() CSS pseudo-class selects the that element only if it matches the provided selector.",
 "description_html": "The <code>:host</code> CSS pseudo-class selects the containing element of the shadow tree in which it is used. The <code>:host()</code> CSS pseudo-class selects the that element only if it matches the provided selector.",
 "group": [
  "selectors",
  "web-components"
 ],
 "kind": "feature",
 "name": "Host",
 "spec": [
  "https://drafts.csswg.org/css-shadow-1/#host-selector"
 ],
 "status": {
  "baseline": "high",
  "baseline_high_date": "2022-07-15",
  "baseline_low_date": "2020-01-15",
  "by_compat_key": {
   "css.selectors.host": {
    "baseline": "high",
    "baseline_high_date": "2022-07-15",
    "baseline_low_date": "2020-01-15",
    "support": {
     "chrome": "54",
     "chrome_android": "54",
     "edge": "79",
     "firefox": "63",
     "firefox_android": "63",
     "safari": "10",
     "safari_ios": "10"
    }
   },
   "css.selectors.hostfunction": {
    "baseline": "high",
    "baseline_high_date": "2022-07-15",
    "baseline_low_date": "2020-01-15",
    "support": {
     "chrome": "54",
     "chrome_android": "54",
     "edge": "79",
     "firefox": "63",
     "firefox_android": "63",
     "safari": "10",
     "safari_ios": "10"
    }
   }
  },
  "support": {
   "chrome": "54",
   "chrome_android": "54",
   "edge": "79",
   "firefox": "63",
   "firefox_android": "63",
   "safari": "10",
   "safari_ios": "10"
  }
 },
 "id": "host",
 "groups": [
  "selectors",
  "web-components"
 ],
 "specs": [
  {
   "url": "https://drafts.csswg.org/css-shadow-1/#host-selector",
   "seriesComposition": "full",
   "shortname": "css-shadow-1",
   "series": {
    "shortname": "css-shadow",
    "currentSpecification": "css-shadow-1",
    "title": "CSS Shadow",
    "shortTitle": "CSS Shadow",
    "nightlyUrl": "https://drafts.csswg.org/css-shadow/"
   },
   "seriesVersion": "1",
   "formerNames": [
    "css-scoping-1",
    "css-shadow-parts-1"
   ],
   "organization": "W3C",
   "groups": [
    {
     "name": "Cascading Style Sheets (CSS) Working Group",
     "url": "https://www.w3.org/groups/wg/css/"
    }
   ],
   "nightly": {
    "url": "https://drafts.csswg.org/css-shadow-1/",
    "status": "Editor's Draft",
    "alternateUrls": [
     "https://w3c.github.io/csswg-drafts/css-shadow-1/",
     "https://w3c.github.io/csswg-drafts/css-shadow/"
    ],
    "repository": "https://github.com/w3c/csswg-drafts",
    "sourcePath": "css-shadow-1/Overview.bs",
    "filename": "index.html"
   },
   "title": "CSS Shadow Module Level 1",
   "source": "spec",
   "shortTitle": "CSS Shadow 1",
   "categories": [
    "browser"
   ],
   "standing": "good",
   "tests": {
    "repository": "https://github.com/web-platform-tests/wpt",
    "testPaths": [
     "css/css-shadow"
    ]
   },
   "fragment": "host-selector"
  }
 ],
 "mdnUrls": [
  {
   "slug": "Web/CSS/Reference/Selectors/:host",
   "title": "`:host` CSS pseudo-class",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Selectors/:host"
  },
  {
   "slug": "Web/CSS/Reference/Selectors/:host_function",
   "title": "`:host()` CSS pseudo-class",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Selectors/:host_function"
  }
 ],
 "standardPositions": [],
 "hasNegativeStandardPosition": false,
 "stateOfSurveys": [],
 "chromeUseCounters": {},
 "interop": [],
 "wpt": {
  "url": "https://wpt.fyi/results?q=feature:host"
 },
 "developerSignals": null,
 "bugs": {},
 "baselineLowDateAsObject": "2020-01-15T00:00:00.000Z",
 "baselineHighDateAsObject": "2022-07-15T00:00:00.000Z"
}