New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is there a way to implement element.offsetLeft and element.offsetTop #61
Comments
We could add default expandos for offsetLeft/offsetTop, but that's all they would be. The default would be 0 and if scripts set them they will be set (similar to style) but they will have no meaning. |
work has begun on integrating the cssom |
Has there been any progress on this? I'm using jsdom to run some tests on handsontable and they're failing because elem.offsetLeft is null. |
I think there's much better CSS support now but we haven't used it to implement |
Looking at the spec it seems extremely unlikely jsdom has the infrastructure to support implementing this. Things like "return the x-coordinate of the left border edge of the first CSS layout box associated with the element, relative to the initial containing block origin" are not at all something we're prepared to deal with. |
OK I'll just work around it in the handsontable source code. On Fri, May 10, 2013 at 11:51 AM, Domenic Denicola <notifications@github.com
|
Subsuming into #135. |
is there a way to implement element.offsetLeft and element.offsetTop
i want this to work:
http://github.com/shimondoodkin/nodejs-waze
The text was updated successfully, but these errors were encountered: