[openable] Under what conditions should openable JS methods throw?
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 4.5k
- Forks
- 226
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 4
Description
Should JS methods throw under various circumstances:
When the element isn’t connected to the document?
When the element’s node document isn’t fully active?
When the element is open as a non-modal dialog?
When the element is open as a modal dialog?
When the element is open as a popover?
When the element is a fullscreen element?
Popover has a variety of restrictions such as this so we should decide the same for openables.
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 openables proposal and the existing popover restrictions referenced in the issue. Determine the intended throwing behavior for disconnected, inactive, dialog, popover, and fullscreen states; done means the conditions are explicitly decided and documented in the relevant standard proposal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100