Skip to content

Conversation

@markvstruman
Copy link

Previously, implementation of HTML spec for the map and area tags was
limited, only associating area elements with a map element. These
changes add methods for hit-testing a point inside of an image element
with the usemap attribute set, and handle mouse-down events for an
image to test for a hit and handle the area elements redirect.

@ladybird-bot
Copy link
Collaborator

Hello!

One or more of the commit messages in this PR do not match the Ladybird code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.

@markvstruman markvstruman changed the title LibWeb: Implement functionality for the map and area tags. LibWeb: Implement functionality for the map and area tags Dec 8, 2025
Previously, implementation of HTML spec for the map and area tags
was limited, only associating area elements with a map element.
These changes add methods for hit-testing a point inside of an image
element with the usemap attribute set, and handle mouse-down events
for an image to test for a hit and handle the area elements redirect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants