diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-08-18 13:38:05 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-08-18 13:38:05 -0600 |
commit | 19d466b06250f10169e88fc7f0b447c7f2f8209e (patch) | |
tree | d0e20ad3b7d6a5836428728782e2ac69f74fbf2b /components/script/document_loader.rs | |
parent | ef98e574297ed738f3b117c128bc578f623a35d5 (diff) | |
parent | 69e5bd2e3d8887e6e4aa192d8e1d2ce1422eddb8 (diff) | |
download | servo-19d466b06250f10169e88fc7f0b447c7f2f8209e.tar.gz servo-19d466b06250f10169e88fc7f0b447c7f2f8209e.zip |
Auto merge of #7256 - pcwalton:block-formatting-contexts-max-width, r=mbrubeck
layout: Use the value of the `max-width` property when speculating what the inline sizes of block formatting contexts are likely to be.
Usually, Web developers set this property on block formatting contexts
in order to avoid running into floats, and we can use this as a
speculation hint.
Fixes the width of the search box on the Google SERPs.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7256)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/document_loader.rs')
0 files changed, 0 insertions, 0 deletions