| <!doctype html> |
| <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1697311"> |
| <link rel="author" href="" title="Ana Tudor"> |
| <link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez"> |
| <link rel="author" href="https://mozilla.org" title="Mozilla"> |
| <link rel="match" href="mask-image-clip-exclude-ref.html"> |
| <title>mask-image + mask-clip + mask-composite: exclude on different background boxes</title> |
| <style> |
| div { |
| display: inline-block; |
| width: 100px; |
| height: 100px; |
| padding: 10px; |
| background: linear-gradient(green, green) border-box; |
| mask: linear-gradient(red, red) content-box exclude, linear-gradient(red, red); |
| } |
| </style> |
| <div></div> |