Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec erroneously limits self-capture to same-document/iframe #40

Closed
jan-ivar opened this issue Apr 1, 2022 · 1 comment · Fixed by #41
Closed

Spec erroneously limits self-capture to same-document/iframe #40

jan-ivar opened this issue Apr 1, 2022 · 1 comment · Fixed by #41

Comments

@jan-ivar
Copy link
Member

jan-ivar commented Apr 1, 2022

There's some evidence this spec is confusing browsing context with top-level browsing context throughout. As a result, the spec's limiting of cropping to elements in the same document that is calling cropTo, appears erroneous:

The "current browsing context" of a cropTo() call from an iframe is the browsing context local to that iframe only. In contrast, most of the hard discussions I've taken part in in this repo have been around cross-origin serialization of cropTarget, which implies this is not the case. I therefore think fixing this is mostly editorial.

@eladalon1983
Copy link
Member

Indeed, the intention was "top level browsing context or any of its descendant browsing contexts."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants