diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2015-08-17 16:41:47 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-08-17 17:01:20 -0700 |
commit | 69e5bd2e3d8887e6e4aa192d8e1d2ce1422eddb8 (patch) | |
tree | 050ef6b3d6b6d123160ba552285379b8debed28e /components/script/script_task.rs | |
parent | d654841288ad6c7d4f8d7da3c68d04ef7df2c241 (diff) | |
download | servo-69e5bd2e3d8887e6e4aa192d8e1d2ce1422eddb8.tar.gz servo-69e5bd2e3d8887e6e4aa192d8e1d2ce1422eddb8.zip |
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.
Diffstat (limited to 'components/script/script_task.rs')
0 files changed, 0 insertions, 0 deletions