Bug 26036

Summary: Outline of parent element is painted into CSS mask incorrectly
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: hyatt, krit, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 95389    
Attachments:
Description Flags
Screenshot
none
SVG circle for testcase
none
Testcase none

Simon Fraser (smfr)
Reported 2009-05-26 22:32:14 PDT
I have a testcase that has a <div> with an outline, containing an <img> which has a CSS mask set to an SVG file. For some reason, the mask contains the outline too.
Attachments
Screenshot (117.05 KB, image/png)
2009-05-26 22:32 PDT, Simon Fraser (smfr)
no flags
SVG circle for testcase (290 bytes, image/svg+xml)
2009-05-26 22:33 PDT, Simon Fraser (smfr)
no flags
Testcase (768 bytes, text/html)
2009-05-26 22:34 PDT, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2009-05-26 22:32:57 PDT
Created attachment 30694 [details] Screenshot
Simon Fraser (smfr)
Comment 2 2009-05-26 22:33:24 PDT
Created attachment 30695 [details] SVG circle for testcase
Simon Fraser (smfr)
Comment 3 2009-05-26 22:34:08 PDT
Created attachment 30696 [details] Testcase
Simon Fraser (smfr)
Comment 4 2009-05-26 22:34:44 PDT
To see the problem with the attached testcase, you need to resize the window after the SVG loads.
Dirk Schulze
Comment 5 2012-11-22 21:43:33 PST
This might have been an problem with subpixel layout of SVG. I can reproduce it on Safari or Chromium. Can we close the bug?
Simon Fraser (smfr)
Comment 6 2012-11-23 11:47:10 PST
I don't know what might have fixed this, but it doesn't seem to reproduce any more.
Note You need to log in before you can comment on or make changes to this bug.