Connecting Tech Pros Worldwide Help | Site Map

Definition/Standard for DOM node property offsetParent

  #1  
Old November 20th, 2008, 08:15 AM
Patient Guy
Guest
 
Posts: n/a

Can anyone point to THE definition or THE standard for the useful DOM node
property 'offsetParent'?

It clearly seems de facto, and not de jure ("official"). This is
acceptable, especially if the definition/standard comes from its
originator. I intend to set up code to deal with exceptions in its usage.
  #2  
Old November 20th, 2008, 11:05 AM
RobG
Guest
 
Posts: n/a

re: Definition/Standard for DOM node property offsetParent


On Nov 20, 6:14*pm, Patient Guy <sevisen.adam@gmailDOTHEREcomwrote:
Quote:
Can anyone point to THE definition or THE standard for the useful DOM node
property 'offsetParent'?
>
It clearly seems de facto, and not de jure ("official"). *This is
acceptable, especially if the definition/standard comes from its
originator. *I intend to set up code to deal with exceptions in its usage.
<URL: https://developer.mozilla.org/en/DOM...t.offsetParent >

<URL: http://msdn.microsoft.com/en-us/libr...02(VS.85).aspx >


--
Rob
  #3  
Old November 20th, 2008, 12:25 PM
David Mark
Guest
 
Posts: n/a

re: Definition/Standard for DOM node property offsetParent


On Nov 20, 3:14*am, Patient Guy <sevisen.adam@gmailDOTHEREcomwrote:
Quote:
Can anyone point to THE definition or THE standard for the useful DOM node
property 'offsetParent'?
No such thing as it is not standard.
Quote:
>
It clearly seems de facto, and not de jure ("official"). *This is
acceptable, especially if the definition/standard comes from its
originator. *I intend to set up code to deal with exceptions in its usage.
None of the implementations agree on that one, so you should avoid it
whenever possible (or confine it to cases where there is some
agreement about what it means.) There is an ongoing effort to
standardize this and the other offset* properties. Don't hold your
breath.
  #4  
Old November 20th, 2008, 01:15 PM
Martin Honnen
Guest
 
Posts: n/a

re: Definition/Standard for DOM node property offsetParent


Patient Guy wrote:
Quote:
Can anyone point to THE definition or THE standard for the useful DOM node
property 'offsetParent'?
There is an attempt to standardize offsetParent/Top/Left as part of
http://www.w3.org/TR/cssom-view/.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Closed Thread