{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/sizes-auto",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "web-feature",
  "webFeature": {
    "id": "sizes-auto",
    "name": "<img sizes=\"auto\" loading=\"lazy\">",
    "description": "The sizes=\"auto\" attribute for the <img> HTML element sets the layout size for the image based on the computed layout size when choosing a source from the srcset. This attribute only applies to images with the loading=\"lazy\" attribute.",
    "group": "images",
    "groupName": "Images",
    "spec": "https://html.spec.whatwg.org/multipage/images.html#valdef-sizes-auto",
    "baseline": false,
    "compatCount": 1,
    "cats": [
      "html"
    ],
    "compatKeysSample": [
      "html.elements.img.sizes.auto"
    ],
    "s": {
      "chrome": {
        "v": "126",
        "d": 19885
      },
      "chrome_android": {
        "v": "126",
        "d": 19885
      },
      "edge": {
        "v": "126",
        "d": 19887
      },
      "firefox": {
        "v": "150",
        "d": 20564
      },
      "firefox_android": {
        "v": "150",
        "d": 20564
      }
    }
  },
  "relatedBcdFeatures": [
    {
      "id": "html.elements.img.sizes.auto",
      "cat": "html",
      "mdn": "API/HTMLImageElement/sizes",
      "spec": "https://html.spec.whatwg.org/multipage/images.html#valdef-sizes-auto",
      "st": 1,
      "wf": "sizes-auto",
      "bl": false,
      "s": {
        "chrome": {
          "v": "126",
          "d": 19885
        },
        "firefox": {
          "v": "150",
          "d": 20564
        },
        "safari": {
          "p": [
            "27",
            20710
          ]
        },
        "edge": {
          "v": "126",
          "d": 19887
        },
        "chrome_android": {
          "v": "126",
          "d": 19885
        },
        "firefox_android": {
          "v": "150",
          "d": 20564
        },
        "safari_ios": {
          "p": [
            "27",
            20710
          ]
        },
        "webview_android": {
          "v": "126",
          "d": 19885
        },
        "webview_ios": {
          "p": [
            "27",
            20710
          ]
        },
        "samsunginternet_android": {
          "v": "28.0",
          "d": 20180
        },
        "opera": {
          "v": "112",
          "d": 19915
        },
        "opera_android": {
          "v": "83",
          "d": 19899
        },
        "oculus": {
          "v": "34",
          "d": 19900
        }
      },
      "notes": [
        {
          "t": "Safari distorts SVG images with both <code>\"sizes=auto\"</code> and <code>object-fit</code> set. See <a href=\"https://webkit.org/b/324661\">bug 324661</a>.",
          "b": [
            "safari"
          ]
        },
        {
          "t": "Safari on iOS distorts SVG images with both <code>\"sizes=auto\"</code> and <code>object-fit</code> set. See <a href=\"https://webkit.org/b/324661\">bug 324661</a>.",
          "b": [
            "safari_ios"
          ]
        },
        {
          "t": "WebView on iOS distorts SVG images with both <code>\"sizes=auto\"</code> and <code>object-fit</code> set. See <a href=\"https://webkit.org/b/324661\">bug 324661</a>.",
          "b": [
            "webview_ios"
          ]
        }
      ]
    }
  ]
}