Status: Unconfirmed
Owner: [email protected]
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 5893 by danielgindi: javascript offsetTop on TD elements  
calculates insides' offset instead of actual offset...
http://code.google.com/p/chromium/issues/detail?id=5893

Chrome Version       : 1.0.154.42
URLs (if applicable) : example: menus in http://www.webuildit.co.il or
http://www.limat.co.il/
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 3: ?
     Firefox 3: ?
          IE 7: OK

What steps will reproduce the problem?
1. Create a table, tr, td, and add text or A element inside TD.
2. Make a javascript call on that td, to request offsetTop.
3. The offsetTop should be 0, because td is always 0 offset to its row.
(unless its complex table)
4. The offsetTop instead returns the offsetTop of the insides relative to
the TD. When it should return the offset of the TD relative to the TR or
TBODY

What is the expected result?


What happens instead?


Please provide any additional information below. Attach a screenshot if
possible.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to