[webkit-help] -webit-columns: JavaScript event when layout is finished

Reiner Pittinger rp at digital-wave.de
Mon Nov 1 05:02:12 PDT 2010

We are using the new -webkit-columns feature and layout extensive content which results in 50+ columns.

We now want to know: how many columns are there?

We noticed that when measuring the width or scrollWidth of the column-element via JavaScript, we get different results over time, probably because WebKit is still rendering the content while we query the width.

Our question: is there a JavaScript-callback we can use that tells us when the rendering of the page is completely finished?

Best regards,


More information about the webkit-help mailing list