w3c / w3c/csswg-drafts

[css-ui] Spec the pointer-events property for non-SVG elements

Open
#4,438 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Closed Accepted by CSSWG Resolution css-ui-4 Needs Edits SVG
Dominant language
Bikeshed
Stars
4.9k
Forks
816
Avg merge
2d 18h
Merged PRs (30d)
24

Description

Currently, the only reference specification for pointer-events is in SVG.

Which brings up the odd situation of people filing issues on SVG about how to handle pointer events propagation for CSS boxes and HTML iframes: https://github.com/w3c/svgwg/issues/744

Since every interactive user agent I know of supports at least the basic values of pointer-events on arbitrary CSS layout boxes, can we please write up a spec for that? Presumably in CSS UI Level 4. (CSS UI 3 is Rec)

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.

Research direction

Start with the existing SVG pointer-events specification and the linked SVG issue about propagation for CSS boxes and HTML iframes. Determine the scope and behavior that should be specified for non-SVG elements, presumably in CSS UI Level 4. Done means an agreed specification covering the supported pointer-events behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.