{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/html.elements.img.aspect_ratio_computed_from_attributes",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "html.elements.img.aspect_ratio_computed_from_attributes",
    "cat": "html",
    "spec": "https://html.spec.whatwg.org/multipage/embedded-content-other.html#dimension-attributes",
    "st": 1,
    "wf": "aspect-ratio",
    "bl": "high",
    "bld": 18890,
    "s": {
      "chrome": {
        "v": "79",
        "d": 18240
      },
      "firefox": {
        "v": "71",
        "d": 18240
      },
      "safari": {
        "v": "15",
        "d": 18890
      },
      "edge": {
        "v": "79",
        "d": 18276
      },
      "chrome_android": {
        "v": "79",
        "d": 18247
      },
      "firefox_android": {
        "v": "79",
        "d": 18471
      },
      "safari_ios": {
        "v": "15",
        "d": 18890
      },
      "webview_android": {
        "v": "79",
        "d": 18247
      },
      "webview_ios": {
        "v": "15",
        "d": 18890
      },
      "samsunginternet_android": {
        "v": "12.0",
        "d": 18432
      },
      "opera": {
        "v": "66",
        "d": 18268
      },
      "opera_android": {
        "v": "57",
        "d": 18351
      },
      "oculus": {
        "v": "8.0",
        "d": 18302
      }
    },
    "notes": [
      {
        "t": "Safari doesn't preserve space for images without a valid <code>src</code>, which may disrupt layouts that rely on lazy loading (see <a href=\"https://webkit.org/b/224197\">bug 224197</a>).",
        "b": [
          "safari"
        ]
      },
      {
        "t": "Safari on iOS doesn't preserve space for images without a valid <code>src</code>, which may disrupt layouts that rely on lazy loading (see <a href=\"https://webkit.org/b/224197\">bug 224197</a>).",
        "b": [
          "safari_ios"
        ]
      },
      {
        "t": "WebView on iOS doesn't preserve space for images without a valid <code>src</code>, which may disrupt layouts that rely on lazy loading (see <a href=\"https://webkit.org/b/224197\">bug 224197</a>).",
        "b": [
          "webview_ios"
        ]
      }
    ]
  },
  "webFeature": {
    "id": "aspect-ratio",
    "name": "aspect-ratio",
    "description": "The aspect-ratio CSS property controls the width-to-height ratio of elements. For <img> and <video> elements, the width and height attributes used together with height: auto control the aspect ratio while the image/video is loading.",
    "group": "css",
    "groupName": "CSS",
    "spec": "https://drafts.csswg.org/css-sizing-4/#aspect-ratio",
    "baseline": "high",
    "baselineLowDate": "2021-09-20",
    "baselineLowDay": 18890,
    "baselineHighDate": "2024-03-20",
    "compatCount": 4,
    "cats": [
      "css",
      "html"
    ],
    "compatKeysSample": [
      "css.properties.aspect-ratio",
      "css.properties.aspect-ratio.auto",
      "html.elements.img.aspect_ratio_computed_from_attributes",
      "html.elements.video.aspect_ratio_computed_from_attributes"
    ],
    "s": {
      "chrome": {
        "v": "88",
        "d": 18646
      },
      "chrome_android": {
        "v": "88",
        "d": 18646
      },
      "edge": {
        "v": "88",
        "d": 18648
      },
      "firefox": {
        "v": "89",
        "d": 18779
      },
      "firefox_android": {
        "v": "89",
        "d": 18779
      },
      "safari": {
        "v": "15",
        "d": 18890
      },
      "safari_ios": {
        "v": "15",
        "d": 18890
      }
    }
  }
}