{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/api.ShadowRoot.setHTML",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "api.ShadowRoot.setHTML",
    "cat": "api",
    "mdn": "API/ShadowRoot/setHTML",
    "spec": "https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-shadowroot-sethtml",
    "st": 1,
    "wf": "html-setters",
    "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": "html-setters",
    "name": "HTML setter methods",
    "description": "The setHTML(), replaceWithHTML(), beforeHTML(), prependHTML(), appendHTML() and afterHTML() DOM methods, and unsafe equivalents, insert HTML into an existing tree.",
    "group": "dom",
    "groupName": "DOM",
    "spec": "https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-parsing-and-serialization",
    "baseline": false,
    "compatCount": 28,
    "cats": [
      "api"
    ],
    "compatKeysSample": [
      "api.CharacterData.afterHTML",
      "api.CharacterData.afterHTMLUnsafe",
      "api.CharacterData.beforeHTML",
      "api.CharacterData.beforeHTMLUnsafe",
      "api.CharacterData.replaceWithHTML",
      "api.CharacterData.replaceWithHTMLUnsafe",
      "api.Element.afterHTML",
      "api.Element.afterHTMLUnsafe",
      "api.Element.appendHTML",
      "api.Element.appendHTMLUnsafe",
      "api.Element.beforeHTML",
      "api.Element.beforeHTMLUnsafe",
      "api.Element.prependHTML",
      "api.Element.prependHTMLUnsafe",
      "api.Element.replaceWithHTML",
      "api.Element.replaceWithHTMLUnsafe",
      "api.Element.setHTML",
      "api.Element.setHTMLUnsafe",
      "api.Element.setHTMLUnsafe.options_runscripts_parameter",
      "api.ShadowRoot.appendHTML",
      "api.ShadowRoot.appendHTMLUnsafe",
      "api.ShadowRoot.prependHTML",
      "api.ShadowRoot.prependHTMLUnsafe",
      "api.ShadowRoot.setHTML",
      "api.ShadowRoot.setHTMLUnsafe"
    ],
    "s": {
      "chrome": {
        "v": "157",
        "d": 20760
      },
      "chrome_android": {
        "v": "157",
        "d": 20760
      },
      "edge": {
        "v": "157",
        "d": 20762
      }
    }
  }
}