views:

88

answers:

0

I'm the author of the multi-column articles Greasemonkey script (http://userscripts.org/scripts/show/9022), which I'm trying to port from Firefox to WebKit-based browsers like Chrome. In doing so, I ran into this WebKit issue (I'm the reporter of the bug). In essence, the offsetLeft property doesn't seem to be set correctly for paragraphs within a div styled using "-webkit-column-width" and "-webkit-column-gap". As you can see, the bug report hasn't gotten much attention, so I'm wondering if anyone knows a workaround for this issue. In particular, I'm wondering if there is a technique in Javascript other than using the offsetLeft / offsetTop properties to figure out the pixel position of an HTML element. Any help would be greatly appreciated, as my porting effort is currently blocked on this problem. Thanks!