{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/api.Document.parseHTML_static",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "api.Document.parseHTML_static",
    "cat": "api",
    "mdn": "API/Document/parseHTML_static",
    "spec": "https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-parsehtml",
    "st": 1,
    "wf": "sanitizer",
    "bl": false,
    "s": {
      "chrome": {
        "v": "146",
        "d": 20522
      },
      "firefox": {
        "v": "148",
        "d": 20508
      },
      "edge": {
        "v": "146",
        "d": 20525
      },
      "chrome_android": {
        "v": "146",
        "d": 20522
      },
      "firefox_android": {
        "v": "148",
        "d": 20508
      },
      "webview_android": {
        "v": "146",
        "d": 20522
      },
      "samsunginternet_android": {
        "v": "31.0",
        "d": 20719
      },
      "opera": {
        "v": "130",
        "d": 20551
      },
      "opera_android": {
        "v": "97",
        "d": 20559
      }
    },
    "notes": [
      {
        "t": "Before version 152, HTML is sanitized after parsing instead of during parsing. For example, text on either side of a removed element isn't merged into a single text node. See <a href=\"https://github.com/whatwg/html/pull/12756\">whatwg/html#12756</a>.",
        "b": [
          "chrome",
          "edge",
          "chrome_android",
          "webview_android"
        ]
      },
      {
        "t": "The <code>&lt;base&gt;</code> element is not removed from a configuration's allowlist, potentially allowing manipulation of a document's relative URLs. See <a href=\"https://github.com/whatwg/html/pull/12664\">whatwg/html#12664</a>.",
        "b": [
          "firefox",
          "firefox_android"
        ]
      },
      {
        "t": "Before version 159, HTML is sanitized after parsing instead of during parsing. For example, text on either side of a removed element isn't merged into a single text node. See <a href=\"https://github.com/whatwg/html/pull/12756\">whatwg/html#12756</a>.",
        "b": [
          "firefox",
          "firefox_android"
        ]
      },
      {
        "t": "Before version 136, HTML is sanitized after parsing instead of during parsing. For example, text on either side of a removed element isn't merged into a single text node. See <a href=\"https://github.com/whatwg/html/pull/12756\">whatwg/html#12756</a>.",
        "b": [
          "opera"
        ]
      },
      {
        "t": "Before version 102, HTML is sanitized after parsing instead of during parsing. For example, text on either side of a removed element isn't merged into a single text node. See <a href=\"https://github.com/whatwg/html/pull/12756\">whatwg/html#12756</a>.",
        "b": [
          "opera_android"
        ]
      }
    ]
  },
  "webFeature": {
    "id": "sanitizer",
    "name": "Sanitizer API",
    "description": "The Sanitizer API customizes the sanitization of HTML parsed and inserted into the DOM in a way that can prevent cross-site scripting attacks. You can use it with DOM APIs that accept a sanitizer option, such as parseHTML() or setHTML().",
    "group": "other",
    "groupName": "other",
    "spec": "https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#html-sanitization",
    "baseline": false,
    "compatCount": 14,
    "cats": [
      "api"
    ],
    "compatKeysSample": [
      "api.Document.parseHTML_static",
      "api.Element.setHTML",
      "api.Sanitizer",
      "api.Sanitizer.Sanitizer",
      "api.Sanitizer.allowAttribute",
      "api.Sanitizer.allowElement",
      "api.Sanitizer.get",
      "api.Sanitizer.removeAttribute",
      "api.Sanitizer.removeElement",
      "api.Sanitizer.removeUnsafe",
      "api.Sanitizer.replaceElementWithChildren",
      "api.Sanitizer.setComments",
      "api.Sanitizer.setDataAttributes",
      "api.ShadowRoot.setHTML"
    ],
    "s": {
      "chrome": {
        "v": "146",
        "d": 20522
      },
      "chrome_android": {
        "v": "146",
        "d": 20522
      },
      "edge": {
        "v": "146",
        "d": 20525
      },
      "firefox": {
        "v": "148",
        "d": 20508
      },
      "firefox_android": {
        "v": "148",
        "d": 20508
      }
    }
  }
}