author Zhang Junzhi <>
Fri, 24 Aug 2018 14:59:27 +0800
changeset 831146 739bf37ecf82398f5ddcb59251ddf26bdb2bc899
parent 456666 4fd4d2b90556008374c8bde162e72e8ebaad9901
permissions -rw-r--r--
Bug 1485581 - Makes nsImageFrame::GetMinISize and nsImageFrame::GetPrefISize "writing-mode responsive" r?dholbert MozReview-Commit-ID: G3S4sfW6j9r

<!DOCTYPE html>
    <meta charset="utf-8">
    <title>CSS Masking: mask-image: mask with opacity</title>
    <link rel="author" title="CJ Ku" href="">
    <link rel="author" title="Mozilla" href="">
    <link rel="help" href="">
    <link rel="match" href="mask-opacity-1-ref.html">
    <meta name="assert" content="Test checks whether apply opacity to masked element correctly or not.">
    <style type="text/css">
      #outter {
        position: absolute;
        left: 10px;
        top: 10px;
        width: 100px;
        height: 100px;
        mask-image: url(support/blue-100x50-transparent-100x50.png),
        opacity: 0.5;

      #inner {
        width: 100px;
        height: 100px;
        background-color: blue;
        border: 1px solid transparent;
        will-change: transform;
    <div id="outter"><div id="inner"></div></div>