{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/css.properties.mask",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "css.properties.mask",
    "cat": "css",
    "mdn": "CSS/Reference/Properties/mask",
    "spec": "https://drafts.csswg.org/css-masking/#the-mask",
    "st": 1,
    "wf": "masks",
    "bl": "high",
    "bld": 19698,
    "s": {
      "chrome": {
        "v": "120",
        "d": 19696
      },
      "firefox": {
        "v": "53",
        "d": 17275
      },
      "safari": {
        "v": "15.4",
        "d": 19065
      },
      "edge": {
        "v": "120",
        "d": 19698
      },
      "chrome_android": {
        "v": "120",
        "d": 19696
      },
      "firefox_android": {
        "v": "53",
        "d": 17275
      },
      "safari_ios": {
        "v": "15.4",
        "d": 19065
      },
      "webview_android": {
        "v": "120",
        "d": 19696
      },
      "webview_ios": {
        "v": "15.4",
        "d": 19065
      },
      "samsunginternet_android": {
        "v": "25.0",
        "d": 19837
      },
      "opera": {
        "v": "106",
        "d": 19710
      },
      "opera_android": {
        "v": "80",
        "d": 19747
      },
      "oculus": {
        "v": "31.2",
        "d": 19737
      }
    },
    "notes": [
      {
        "t": "The prefixed property can be used with SVG and HTML with a slightly different syntax, which allows setting the non-standard <a href=\"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment\"><code>-webkit-mask-attachment</code></a> property.",
        "b": [
          "chrome",
          "safari",
          "edge",
          "chrome_android",
          "safari_ios",
          "webview_android",
          "webview_ios",
          "samsunginternet_android",
          "opera",
          "opera_android",
          "oculus"
        ]
      },
      {
        "t": "While the property is recognized, values applied to it don't have any effect.",
        "b": [
          "chrome",
          "safari",
          "edge",
          "chrome_android",
          "safari_ios",
          "webview_android",
          "webview_ios",
          "samsunginternet_android",
          "opera",
          "opera_android",
          "oculus"
        ]
      },
      {
        "t": "Only supports <code>mask: url(file.svg#mask_id)</code> or <code>mask: url(#mask_id)</code>, where the URL is a reference to an SVG <code>&lt;mask&gt;</code> element.",
        "b": [
          "firefox",
          "firefox_android"
        ]
      }
    ]
  },
  "webFeature": {
    "id": "masks",
    "name": "Masks",
    "description": "The mask CSS property (and several longhand properties) partially or completely hides an element according to the shape and depth of an image.",
    "group": "clipping-shapes-masking",
    "groupName": "Clipping, shapes, and masking",
    "spec": "https://drafts.csswg.org/css-masking-1/#positioned-masks",
    "baseline": "high",
    "baselineLowDate": "2023-12-07",
    "baselineLowDay": 19698,
    "baselineHighDate": "2026-06-07",
    "compatCount": 79,
    "cats": [
      "css"
    ],
    "compatKeysSample": [
      "css.properties.mask",
      "css.properties.mask-clip",
      "css.properties.mask-clip.border",
      "css.properties.mask-clip.border-box",
      "css.properties.mask-clip.content",
      "css.properties.mask-clip.content-box",
      "css.properties.mask-clip.fill-box",
      "css.properties.mask-clip.no-clip",
      "css.properties.mask-clip.padding",
      "css.properties.mask-clip.padding-box",
      "css.properties.mask-clip.stroke-box",
      "css.properties.mask-clip.text",
      "css.properties.mask-clip.view-box",
      "css.properties.mask-composite",
      "css.properties.mask-composite.add",
      "css.properties.mask-composite.exclude",
      "css.properties.mask-composite.intersect",
      "css.properties.mask-composite.subtract",
      "css.properties.mask-image",
      "css.properties.mask-image.multiple_mask_images",
      "css.properties.mask-image.none",
      "css.properties.mask-image.svg_masks",
      "css.properties.mask-mode",
      "css.properties.mask-mode.alpha",
      "css.properties.mask-mode.luminance"
    ],
    "s": {
      "chrome": {
        "v": "120",
        "d": 19696
      },
      "chrome_android": {
        "v": "120",
        "d": 19696
      },
      "edge": {
        "v": "120",
        "d": 19698
      },
      "firefox": {
        "v": "53",
        "d": 17275
      },
      "firefox_android": {
        "v": "53",
        "d": 17275
      },
      "safari": {
        "v": "15.4",
        "d": 19065
      },
      "safari_ios": {
        "v": "15.4",
        "d": 19065
      }
    }
  }
}