Opened 15 years ago

Closed 15 years ago

#3565 closed defect (fixed)

Opera includes offsetParent's border in child's offsetLeft

Reported by: sjmiles Owned by: sjmiles
Priority: high Milestone: 0.9beta
Component: General Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by sjmiles)

html.js box model functions have to account for this by querying parent's computed style and border which is expensive, relatively speaking.

This problem was originally addressed in r9341 (#3552), but the correction is bassackward.

Change History (3)

comment:1 Changed 15 years ago by sjmiles

Description: modified (diff)

comment:2 Changed 15 years ago by sjmiles

(In [9365]) Restrict Safari margin hack to nodes that are not position: absolute, allowing more tests to pass, refs #3515. Correct getMarginBox adjustment for Opera offsetLeft/Top, refs #3565.

comment:3 Changed 15 years ago by sjmiles

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.