diff options
author | Patrick Scott <phanna@android.com> | 2009-08-14 08:21:09 -0400 |
---|---|---|
committer | Patrick Scott <phanna@android.com> | 2009-08-17 14:43:23 -0400 |
commit | 6f005c9e8f4b80ca59aaacd9e8fee9670a4a5c8f (patch) | |
tree | b9de1627a9b0f986bb1a2c6fda0cff77181aa04c /perf | |
parent | 08ed5007c291b48f32522b00fab79634f608c3cf (diff) | |
download | external_webkit-6f005c9e8f4b80ca59aaacd9e8fee9670a4a5c8f.zip external_webkit-6f005c9e8f4b80ca59aaacd9e8fee9670a4a5c8f.tar.gz external_webkit-6f005c9e8f4b80ca59aaacd9e8fee9670a4a5c8f.tar.bz2 |
Be more restrictive when expanding iframes.
If an iframe has no scrollbars and a fixed dimension, it serves no purpose to
try and expand the contents. Some sites like to use hidden iframes for
asynchronous loading and showing or expanding those iframes causes layout
problems.
Change the expansion logic slightly to only expand iframes and not contract
them. Also update calcWidth and calcHeight to check for scrollbars or a
non-fixed dimension.
BUG=2039520,2004093
Diffstat (limited to 'perf')
0 files changed, 0 insertions, 0 deletions