[Webkit-unassigned] [Bug 26084] New: Multiple missing images in webkit-mask-image prevent rendering

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 29 12:03:37 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26084

           Summary: Multiple missing images in webkit-mask-image prevent
                    rendering
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mihnea at adobe.com


When specifying more than one missing image in webkit-mask-image rule, the
element for which the style is applied is not rendered correctly. If only one
missing image is specified, the element is rendered.

<html>
<head>
        <script>
        function applyStyle() {
        document.getElementById("div1").setAttribute("style",
        "width:200px;"+
        "height:200px;"+
        "border:10px solid black;"+
        "background-color:blue;"+
        "-webkit-mask-image:url(url-not-found);");

        document.getElementById("div2").setAttribute("style",
        "width:200px;"+
        "height:200px;"+
        "border:10px solid black;"+
        "background-color:blue;"+
        "-webkit-mask-image:url(url-not-found), url(url-not-found);");

    }  
        </script>
</head>
<body onload="applyStyle()">
<div id="div1">This text is rendered.</div>
<div id="div2">This text is not rendered and it should be.</div>
</body>
</html>

Using the above html, the second div is not rendered while the first element is
rendered. The problem appears in Safari 4 beta and WebKit 44021.

Regards,
Mihnea


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list