8000 [css-om-view] Window move and resize functions should be allowed to do nothing · Issue #4728 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-om-view] Window move and resize functions should be allowed to do nothing #4728

@smfr

Description

@smfr

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0