This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18304 - isPointInPath does not help much if you have multiple polygons that might overlay each other but do have a z-index - meaning, only the top layer should be highlighted on mouseOver/click
Summary: isPointInPath does not help much if you have multiple polygons that might ove...
Status: RESOLVED NEEDSINFO
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML Canvas 2D Context (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 18:01 UTC by contributor
Modified: 2012-08-18 00:34 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2012-07-18 18:01:45 UTC
This was was cloned from bug 17790 as part of operation convergence.
Originally filed: 2012-07-17 08:58:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-07-17 08:58:46 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html
Multipage: http://www.whatwg.org/C#dom-context-2d-ispointinpath
Complete: http://www.whatwg.org/c#dom-context-2d-ispointinpath

Comment:
isPointInPath does not help much if you have multiple polygons that might
overlay each other but do have a z-index - meaning, only the top layer should
be highlighted on mouseOver/click

Posted from: 85.178.177.123
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11
================================================================================
Comment 1 Erika Doyle Navara 2012-08-13 17:56:28 UTC
Moving to HTML Canvas 2D Context.
Comment 2 Jay Munro 2012-08-18 00:34:10 UTC
This needs a little more information. 

- It could be filed with a little more specific information on what you're looking for. What use case would this be covering?
- What do you mean by "do have a z-index", do you mean the canvas, or the individual paths? As a raster based medium, with a single context, I don't believe that there is currently the concept of multiple levels on a single canvas.