DOM APIs are probably the hardest part. You never know all the nuances of each of those methods...
For instance, just yesterday I found a bug in my library because I used .offsetParent to get the first "positioned parent node", and I discovered that this property will give me the nearest "table" element if no positioned parents are available...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
DOM APIs are probably the hardest part. You never know all the nuances of each of those methods...
For instance, just yesterday I found a bug in my library because I used
.offsetParent
to get the first "positioned parent node", and I discovered that this property will give me the nearest "table" element if no positioned parents are available...