Bug 26036 - Outline of parent element is painted into CSS mask incorrectly
Summary: Outline of parent element is painted into CSS mask incorrectly
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 95389
  Show dependency treegraph
Reported: 2009-05-26 22:32 PDT by Simon Fraser (smfr)
Modified: 2012-11-23 11:47 PST (History)
3 users (show)

See Also:

Screenshot (117.05 KB, image/png)
2009-05-26 22:32 PDT, Simon Fraser (smfr)
no flags Details
SVG circle for testcase (290 bytes, image/svg+xml)
2009-05-26 22:33 PDT, Simon Fraser (smfr)
no flags Details
Testcase (768 bytes, text/html)
2009-05-26 22:34 PDT, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 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.
Comment 1 Simon Fraser (smfr) 2009-05-26 22:32:57 PDT
Created attachment 30694 [details]
Comment 2 Simon Fraser (smfr) 2009-05-26 22:33:24 PDT
Created attachment 30695 [details]
SVG circle for testcase
Comment 3 Simon Fraser (smfr) 2009-05-26 22:34:08 PDT
Created attachment 30696 [details]
Comment 4 Simon Fraser (smfr) 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.
Comment 5 Dirk Schulze 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?
Comment 6 Simon Fraser (smfr) 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.