[Webkit-unassigned] [Bug 146539] New: Weird behavior of css clip-path when trying to create multiple crippling areas using the polygon shape

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 1 20:25:58 PDT 2015


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

            Bug ID: 146539
           Summary: Weird behavior of css clip-path when trying to create
                    multiple crippling areas using the polygon shape
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com

Created attachment 255987
  --> https://bugs.webkit.org/attachment.cgi?id=255987&action=review
test case

Open the attached test case. It has four <div> elements, each of them clips a red rectangle using a css clip-path. The css clip-paths use polygons to create different multiple clipping areas. A clipping area is closed by returning to the first point. This allows multiple areas to be created by a single polygon shape. The clip-paths in the test case represent the combinations of three clipping areas. When two areas are included, the clipping works fine. But when the three clipping areas are included, something wrong happens. The points of areas connect each other.

I could not the specs that explains how to create multiple clipping areas by a single polygon. If it is not spec-ed, then we still have a bug with the first three cases: the two shapes should not be separated. We may also have a bug in the specs for not providing a way to create a "real path" for the css clip-path.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150702/f60df6eb/attachment.html>


More information about the webkit-unassigned mailing list