diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-01-14 19:12:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-14 19:12:59 -0500 |
commit | 2e439fa7cbfdd6f97d178ea617e8eb402e1db759 (patch) | |
tree | 6c67d7a73db73f026ecbcfa1440685788b3785d0 /components/script/dom/mod.rs | |
parent | 2cf9a00c9983bf23eff23d56321973d36a14f977 (diff) | |
parent | 49a100ca8baa22beba79d2187153e0f821d09561 (diff) | |
download | servo-2e439fa7cbfdd6f97d178ea617e8eb402e1db759.tar.gz servo-2e439fa7cbfdd6f97d178ea617e8eb402e1db759.zip |
Auto merge of #22396 - jdm:no-spam-iframe-size, r=asajeffrey
Reduce unnecessary iframe size messages
This should be an improvement on pages that include iframes, since we currently run two layout jobs for every display-oriented layout request. When building the display list, we send a message to the constellation that includes the sizes of all iframes present, and the constellation sends resize messages to the script thread. This results in a mouse event on the outer page causing all frames to be re-laid out even if no changes occurred to the iframe sizes, which is ridiculous.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22394
- [x] These changes do not require tests because there is no way to test this internal detail.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22396)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/mod.rs')
0 files changed, 0 insertions, 0 deletions