Pointer Actions should specify which viewport to reference
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
This came up from a PR we have for Pointer Actions. The only specific viewport reference in the spec is when we mention the browsers viewport for the move out of bounds error. Other than that we just use the term viewport without any reference as to which.
In our case it came up when executing pointer actions inside of an iframe whether it should use the browser viewport or the iframes viewport. There were no web platform tests that clarified which to use and the spec also doesn't clarify. When testing it appeared Firefox uses the iframes viewport.
We should consider using relative adjectives such as "current frames viewport" and add tests to validate that behavior for Actions.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Pointer Actions specification wording and the existing web platform tests, then compare browser-viewport and iframe-viewport behavior. Done means the specification identifies which viewport each reference means and tests validate the intended behavior for Actions.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation, testing-qa
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100