What should happen when clicking on the edge of an <area> shape?

Open
#540 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
html
Domain
web-dev

Research direction

Read the processing model in the HTML Standard and inspect the linked live DOM viewer example. Determine how clicks on the edge or intersection of an shape should be specified, then update the relevant specification text and add any needed coverage for the defined behavior.

Written by the indexing model from the issue text.

Description

topic: hyperlink topic: img

https://html.spec.whatwg.org/multipage/embedded-content.html#processing-model

Now, the shape represented by the element is the one described for the entry in the list below corresponding to the state of the shape attribute:​

@fsoder found in https://critic.hoppipolla.co.uk/showcomment?chain=12553 that the spec doesn't really say what should happen if one clicks at a coordinate that is on the edge or intersection of a shape.

Example: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3837

Dominant language
HTML
Stars
9.4k
Forks
3.2k
Avg merge
3d 9h
Merged PRs (30d)
38

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from whatwg/html

All issues in whatwg/html

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.