onLoad displays the offsetLeft, Top, Width, Height a <span> containing the text. IE reports 10, 15, 32, 19 which should be in the ballpark
272 bytes, text/html
302 bytes, text/html
351 bytes, text/html
On build 2000-04-17-08 on Win98SE: The offsetLeft, offsetTop, offsetWidth and offsetHeight properties always returns 0. OffsetParent works fine
Created attachment 7673 [details] onLoad displays the offsetLeft, Top, Width, Height a <span> containing the text. IE reports 10, 15, 32, 19 which should be in the ballpark
adding testcase keyword
I really hope that these properties are not broken in the M15 build since they just got put in in the M14 build and it's been a long time coming.
This was fixed yesterday, not sure if we return the correct numbers but we do return the computed values. Marking FIXED, please open separate bug it the nubers are incorrect.
Works fine so I'm marking verified
TESTED ON 28/08/01 ON WINDOWS 2000 PROFESSIONNAL BUG NOT FIXED userAgent:Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1
Mathieu René, please explain, this still works for me on Win2k.
Hi, I found offsetHeight to return 0 in particular case. I just added an attachement with an example. In the example, the strange thing is that if you remove the align=left attribute from the table tag, the offsetHeight will return a good value. I tested using Win2000 and Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.3) Gecko/20010801.
Francois: your tescase is invalid since adding that align="left" floats the table. As a result the div actually does have size 0 (add a border to the div to see this). Sicking's testcases workforme. I'm resolving this worksforme. If you find that it does not work for you, please reopen and _attach_a_testcase_.
offsetTop is back to returning 0's. http://jesusnjim.com/test/css-flex.html test case trying to get the absolute top of an element using getAbsoluteTop() a function I defined.
Jim, if you think there s a specific issue with flexbox, please file a new bug with a minimal-ish testcase.