Open GoogleCodeExporter opened 9 years ago
[deleted comment]
The getComputedStyle method cannot get the real computed value of the width or
height property, so the shrink_to_fit_percentage_child detector used a tricky
way to get the real computed value of the said properties.
Setting an element's 'display' property to 'none' and restoring it will cause
the correlative elements to repaint very slowly, this is the root cause.
The solution is to use cloneNode instead of the original way.
Original comment by luyua...@beyondsoft.com
on 15 Dec 2010 at 2:43
Original issue reported on code.google.com by
markhu...@google.com
on 14 Dec 2010 at 11:12