[css-om-view] Window move and resize functions should be allowed to do nothing
Open
@smfr is already working on this.
Since Feb 6, 2020.
cssom-view-1
Needs Edits
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
https://drafts.csswg.org/cssom-view/#ref-for-dom-window-moveto
moveTo, moveBy, resizeTo and resizeBy should be allowed to fail. Browsers will ignore these when:
- the Window is not the top-level window
- the Window is top-level, but lives in a tabbed browser window
- the UA decides that content-driven window resizing is undesirable.
I think there needs to be some text that says that the UA is allowed to do nothing when these functions are called. That begs the question about whether they should return some value to indicate if they succeeded.
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.
Assessment
This issue has not been assessed yet.