{
 "description": "The :target-within CSS pseudo-class matches the element with an ID matching the URL fragment and its ancestors.",
 "description_html": "The <code>:target-within</code> CSS pseudo-class matches the element with an ID matching the URL fragment and its ancestors.",
 "discouraged": {
  "according_to": [
   "https://drafts.csswg.org/selectors-4/#the-target-pseudo",
   "https://github.com/w3c/csswg-drafts/issues/8357"
  ],
  "alternatives": [
   "has",
   "target"
  ],
  "reason": "The :target-within pseudo-class was dropped from the specification in favor of :has(:target).",
  "reason_html": "The <code>:target-within</code> pseudo-class was dropped from the specification in favor of <code>:has(:target)</code>.",
  "removal_date": "2023-08-16"
 },
 "group": [
  "selectors"
 ],
 "kind": "feature",
 "name": ":target-within",
 "spec": [
  "https://www.w3.org/TR/2022/WD-selectors-4-20220507/#the-target-within-pseudo"
 ],
 "status": {
  "baseline": false,
  "support": {}
 },
 "id": "target-within",
 "groups": [
  "selectors"
 ],
 "specs": [
  {
   "url": "https://www.w3.org/TR/2022/WD-selectors-4-20220507/#the-target-within-pseudo"
  }
 ],
 "mdnUrls": [
  {
   "slug": "Web/CSS",
   "title": "CSS: Cascading Style Sheets",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/CSS"
  }
 ],
 "standardPositions": [],
 "hasNegativeStandardPosition": false,
 "stateOfSurveys": [],
 "chromeUseCounters": {},
 "interop": [],
 "wpt": null,
 "developerSignals": null,
 "bugs": {},
 "useCases": null,
 "baselineLowDateAsObject": null,
 "baselineHighDateAsObject": null
}