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

Resizes in inactive pipelines probably don't trigger responsive image updates when the pipeline becomes active #24673

Open
jdm opened this issue Nov 6, 2019 · 0 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Nov 6, 2019

ScriptThread::handle_resize_inactive_msg just calls Window::set_window_size. handle_resize_event calls window.evaluate_media_queries_and_report_changes();, so we probably want to store a flag on the window that means "if I ever become active again, reevaluate media queries". It should be possible to test this with an iframe that loads page A with responsive content, then loads page B, the iframe is resized, and then we go back in session history to page A and verify that the responsive content has been affected by the resize.

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.