{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/html.elements.a.download",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "html.elements.a.download",
    "cat": "html",
    "spec": "https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-download",
    "st": 1,
    "wf": "download",
    "bl": "high",
    "bld": 18158,
    "s": {
      "chrome": {
        "v": "14",
        "d": 15233
      },
      "firefox": {
        "v": "20",
        "d": 15797
      },
      "safari": {
        "v": "10.1",
        "d": 17252
      },
      "edge": {
        "v": "18",
        "d": 17806
      },
      "chrome_android": {
        "v": "18",
        "d": 15518
      },
      "firefox_android": {
        "v": "20",
        "d": 15797
      },
      "safari_ios": {
        "v": "13",
        "d": 18158
      },
      "webview_android": {
        "v": "4.4",
        "d": 16048
      },
      "webview_ios": {
        "v": "13",
        "d": 18158
      },
      "samsunginternet_android": {
        "v": "1.0",
        "d": 15822
      },
      "opera": {
        "v": "15",
        "d": 15888
      },
      "opera_android": {
        "v": "14",
        "d": 15846
      },
      "oculus": {
        "v": "5.0",
        "d": 17713
      }
    },
    "notes": [
      {
        "t": "Starting in Chrome 65, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
        "b": [
          "chrome"
        ]
      },
      {
        "t": "Starting in Edge 79, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
        "b": [
          "edge"
        ]
      },
      {
        "t": "Until Edge 14 (build 14357), attempting to download data URIs caused Edge to crash (<a href=\"https://developer.microsoft.com/microsoft-edge/platform/issues/7160092/\">bug 7160092</a>).",
        "b": [
          "edge"
        ]
      },
      {
        "t": "Edge 17 or older didn't follow the attributes' value to determine filename (<a href=\"https://developer.microsoft.com/microsoft-edge/platform/issues/7260192/\">bug 7260192</a>).",
        "b": [
          "edge"
        ]
      },
      {
        "t": "Starting in Chrome Android 65, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
        "b": [
          "chrome_android"
        ]
      },
      {
        "t": "The attribute's filename value only affects the suggested file name for the <code>blob:</code> and <code>data:</code> URI schemes. Other schemes ignore the suggested filename. See <a href=\"https://bugzil.la/1845642\">bug 1845642</a>.",
        "b": [
          "firefox_android"
        ]
      },
      {
        "t": "Starting in WebView Android 65, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
        "b": [
          "webview_android"
        ]
      },
      {
        "t": "Starting in Samsung Browser 9.0, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
        "b": [
          "samsunginternet_android"
        ]
      },
      {
        "t": "Starting in Opera 52, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
        "b": [
          "opera"
        ]
      },
      {
        "t": "Starting in Opera Android 47, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
        "b": [
          "opera_android"
        ]
      },
      {
        "t": "Starting in Quest Browser 5.0, cross-origin downloads are not supported on the <code>&lt;a&gt;</code> element.",
        "b": [
          "oculus"
        ]
      }
    ]
  },
  "webFeature": {
    "id": "download",
    "name": "download",
    "description": "The download attribute for <a> elements loads the target URL as a file to be saved, instead of navigating to it. An optional attribute value sets a default file name.",
    "group": "other",
    "groupName": "other",
    "spec": "https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-download",
    "baseline": "high",
    "baselineLowDate": "2019-09-19",
    "baselineLowDay": 18158,
    "baselineHighDate": "2022-03-19",
    "compatCount": 6,
    "cats": [
      "api",
      "html"
    ],
    "compatKeysSample": [
      "api.HTMLAnchorElement.download",
      "api.HTMLAreaElement.download",
      "api.SVGAElement.download",
      "html.elements.a.download",
      "html.elements.area.download",
      "svg.elements.a.download"
    ],
    "s": {
      "chrome": {
        "v": "14",
        "d": 15233
      },
      "chrome_android": {
        "v": "18",
        "d": 15518
      },
      "edge": {
        "v": "18",
        "d": 17806
      },
      "firefox": {
        "v": "20",
        "d": 15797
      },
      "firefox_android": {
        "v": "20",
        "d": 15797
      },
      "safari": {
        "v": "10.1",
        "d": 17252
      },
      "safari_ios": {
        "v": "13",
        "d": 18158
      }
    }
  }
}