Bug 22833 - Safari does not give the true callback for offsetTop on td elements
Summary: Safari does not give the true callback for offsetTop on td elements
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://atlanticbirding.co.cc/test.html
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-12 15:00 PST by George Bracklin
Modified: 2023-10-21 03:34 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description George Bracklin 2008-12-12 15:00:28 PST
Safari will read the offsetTop of a <td /> element as if it was an inline element, even if the width/height is set. If you give it a 'border' with CSS, it will follow the perimeter according the set width/height, but if you give it an 'outline' with CSS, it will follow the 'inline' perimeter. If you try to get the offsetTop the <tr /> element, it works, but you can't set a CSS border or an outline of a <tr />.
Comment 1 Ahmad Saleem 2023-10-21 03:33:58 PDT
Only snapshot on Wayback Archive: https://web.archive.org/web/20140805232431/http://atlanticbirding.co.cc/test.html

but it seems to not work.

Do we have reproducible testcase, I am leaning toward closing this in favor of other test cases or bug, which we have and it might have already being fixed or if not, we might have bug or failing WPT test case since browser world is now matured from 2009.

CCing - Ryousuke since it is marked as 'DOM' bug for his input.
Comment 2 Ahmad Saleem 2023-10-21 03:34:45 PDT
(In reply to Ahmad Saleem from comment #1)
> Only snapshot on Wayback Archive:
> https://web.archive.org/web/20140805232431/http://atlanticbirding.co.cc/test.
> html
> 
> but it seems to not work.
> 
> Do we have reproducible testcase, I am leaning toward closing this in favor
> of other test cases or bug, which we have and it might have already being
> fixed or if not, we might have bug or failing WPT test case since browser
> world is now matured from 2009.
> 
> CCing - Ryousuke since it is marked as 'DOM' bug for his input.

Ryosuke.. sorry for incorrect spell.