Modal windows faster than main ones in Chrome and Safari

Hi. Did anyone else notice that full size modal windows seem to be faster than main windows in WebKit engines (at least Chrome and Safari) with complex layouts? The difference can be between 2 and 3 times faster!

It doesn’t seem to happen in Firefox or Opera.

A quick test with a Panel with a GridLayout of 30 rows/10 columns, and a HorizontalLayout with 5 text input boxes on each cell, gave me the following rendering times:

[font=Courier New]

BROWSER, Main adding the panel, Main replacing content with panel, Modal replacing content with panel
Chrome, 15.9, 14.3, 5.1
Firefox 4, 5.5 , 5.0, 5.2
Opera, 7.8, 7.3, 7.7
Safari, 14.7, 12.2, 5.0

[/font]

I didn’t try adding the panel to the Modal window instead of replacing its content. But I tried with a FastGrid instead of GridLayout in 3 of the browsers:

[font=Courier New]

BROWSER, Main adding the panel, Main replacing content with panel, Modal replacing content with panel
Chrome, 10.6, 9.8, 3.7
Firefox 4, 5.8 , 4.9, 5.0
Opera, 6.5, 6.2, 7.5

[/font]

I don’t know if the problem is in some Vaadin’s WebKit specific code or in the engine itself.