Open Bug 1047812 Opened 10 years ago Updated 2 years ago

[highlighter] Highlight image map areas from the markup-view

Categories

(DevTools :: Inspector, enhancement, P3)

x86_64
Windows 8.1
enhancement

Tracking

(Not tracked)

REOPENED

People

(Reporter: takenspc, Unassigned)

Details

Attachments

(1 file)

Highlighter highlights the entire of image when user select the area element in "Inspector".

Firebug highlights area represented by the area element.

Highlighter should also highlight the corresponding area represented by the area element.
I created that highlighter to highlight shapes in the content area when they are hovered or all shapes in the imagemap when it's node is hovered in the HTML view. It is useful because there are very few tools that can help debug image maps.

Although the Firebug version uses canvas it would be very easy to port to SVG. Firebug's implementation can be found here:
https://github.com/firebug/firebug/blob/master/extension/content/firebug/html/inspector.js#L873
Going to close this as a duplicate of bug 1242029 which introduces a new shape highlighter. Although that bug doesn't mention image maps.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
The image map area highlighter is a bit different from the Shape Path Editor, because they are defined in HTML and not CSS.
So I believe it's better to keep this issue separated. Don't you agree, Patrick?

(Surely both highlighters could share some code, though.)

Sebastian
Flags: needinfo?(pbrosset)
Severity: normal → enhancement
Status: RESOLVED → REOPENED
Flags: needinfo?(pbrosset)
Priority: -- → P3
Resolution: DUPLICATE → ---
Summary: RFE: [highlighter] Support the shape of area (image map) → [highlighter] Support the shape of area (image map)
Summary: [highlighter] Support the shape of area (image map) → [highlighter] Highlight image map areas from the markup-view
Component: Developer Tools → Developer Tools: Inspector
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: