1
SVG PATH带有2个没有笔画的顶点,具有相同的y坐标不仅仅在Safari中响应mouseevent。Safari零高度SVG路径不触发鼠标事件
注意,端点顶点的y坐标相同:
<div class="container">
<section class="ui-interactable-content" style="transform: scale(1); width: 100%; height: 100%;"><svg class="path-selection-svg">
<path class="path-selection-svg-path" d="M 4 4 L 92.99999999999994 4"></path>
<path class="path-selection-svg-shape" d="M 4 4 L 92.99999999999994 4"></path>
</svg>
</section>
</div>
效果转载于此: http://jsfiddle.net/mf6ueqef/
这铬工作正常,IE,FF。
任何人都知道如何解决这个问题?