Re: [csswg-drafts] [cssom-view] No event to track window position (#7693)

> I'm not sure what we'd gain from having this be an Observer instead.

The [suggestion](https://github.com/w3c/csswg-drafts/issues/7693#issuecomment-1237385316) was that it would have better performance characteristics. If an Event can be performant, that's just as well in my book.

> I'm not sure exactly where this discussion landed on iframes - would iframes not have window.move events fired at all, or would they fire when the top window moves?

I am not sure we concluded with certainty. I think firing when the top window moves gives a bit more power if it doesn't bring excess complexity. As long as we don't fire when the iframe itself gets resized / moved by within parent document, I think we avoid cross site security problems.

> should I also have a go at writing some spec language, or would someone else like to take that?

It's probably fresh in your mind, so I think it would make sense if you wrote it, in which case I'd be happy to review. But if you'd prefer the other way around, I'm happy to oblige.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7693#issuecomment-1693135820 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 25 August 2023 10:21:35 UTC