franky1978 / igoogle-legacy

Automatically exported from code.google.com/p/igoogle-legacy
1 stars 0 forks source link

wrong dynamic height on Chrome #652

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Description of the bug/feature.
==================================
This is a sample of a dynamic height gadget which consists of:
- an outer div with fixed height and overflow auto
- and an inner div with fixed height

On Firefox and IE the gadget looks good,
but on Chrome it's rendered with a wrong height.

here is the gadget:
http://www.google.it/ig/directory?
hl=it&url=hosting.gmodules.com/ig/gadgets/file/103300560954474807106/wrong-
height-onChrome.xml

and here is the code:

<?xml version="1.0" encoding="UTF-8"?>
<Module>
  <ModulePrefs title="Test Me on chrome" >
    <Require feature="dynamic-height"/> 
  </ModulePrefs>

<Content type="html"><![CDATA[

<div style="background-color:silver;height:150px;overflow:auto;">
  <div style="background-color:yellow;height:700px;">
    Hello, world!
  </div>
</div>

<script type="text/javascript" language="javascript">
  gadgets.util.registerOnLoadHandler(function()
  {
    gadgets.window.adjustHeight();  
  });  
</script>

]]></Content>
</Module>

What steps will reproduce the problem?
======================================
add the gadget to iGoogle and test it on Chrome

Which browsers have you experienced this on?
============================================
Chrome

Which operating systems have you experienced this on?
=====================================================
Windows XP

Original issue reported on code.google.com by gryl...@gmail.com on 22 Feb 2010 at 7:43

GoogleCodeExporter commented 8 years ago
There have been several fixes to dynamic height but this appears to still 
happen in Chrome.

Original comment by robruss...@google.com on 25 Jun 2010 at 4:23