Bug 160897
Summary: | blank area of svg which is flexItem is not clickable | ||
---|---|---|---|
Product: | WebKit | Reporter: | relaxgo <patientzhe> |
Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | bfulgham, simon.fraser, zimmermann |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Mac | ||
OS: | OS X 10.11 |
relaxgo
When svg is a flex item in Safari, the cursor or click is only valid hovering on painted area, nothing on blank area.
Adding position:relative, transform or some likely style can make the whole svg clickable.
here is a demo, http://codepen.io/relaxgo/pen/dXgoWV
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brent Fulgham
I can't tell any difference in behavior or rendering between Safari, Chrome, or Firefox with this test case.