Opened 8 years ago
Closed 8 years ago
#16891 closed defect (fixed)
clipping & straight horizontal lines does not seem to work on Chrome
Reported by: | cjolif | Owned by: | Patrick Ruzand |
---|---|---|---|
Priority: | undecided | Milestone: | 1.9.1 |
Component: | DojoX GFX | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When drawing a straight horizontal line in a clipped group. The rendering is fine on Firefox but not correct on Chrome (and Safari 6).
I suspect this is a Webkit SVG bug. In which case it should be reported to Webkit.
Run attached sample on Firefox you'll get a line drawn, run it on Chrome nothing appears.
Attachments (2)
Change History (8)
comment:1 Changed 8 years ago by
Owner: | changed from Eugene Lazutkin to Patrick Ruzand |
---|---|
Status: | new → assigned |
Changed 8 years ago by
Attachment: | test_flat.html added |
---|
comment:2 Changed 8 years ago by
comment:3 Changed 8 years ago by
link to chromium ticket: https://code.google.com/p/chromium/issues/detail?id=231347
comment:4 Changed 8 years ago by
From chromium ticket: "The trivial workaround is to put the clip-path definition before the thing that uses it. It's a known issue."
comment:5 Changed 8 years ago by
Milestone: | tbd → 1.9.1 |
---|
Note: See
TracTickets for help on using
tickets.
This is indeed a webkit bug.
A possible workaround: add another invisible (no stroke/no fill) shape so that the parent group bbox is changed, which results in displaying the lines. For ex:
Here is the link to the Bugzilla db: https://bugs.webkit.org/show_bug.cgi?id=112796