[Webkit-unassigned] [Bug 19923] offsetParent is incorrect for a child element of a position fixed element that itself is nested under a position relative element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 20 21:38:42 PST 2008


https://bugs.webkit.org/show_bug.cgi?id=19923


browserbugs at gtalbot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |browserbugs at gtalbot.org




------- Comment #2 from browserbugs at gtalbot.org  2008-11-20 21:38 PDT -------
According to
http://www.w3.org/TR/cssom-view/#offset-attributes

"
The offsetParent  attribute, when called on element A, must  return the element
determined by the following algorithm:
(...)

   3.
      Return the nearest ancestor element of A for which at least one of the
following is true and stop this algorithm if such an ancestor is found:
          * The computed value of the position property is not static. 
"

So, 
#trashbin.offsetParent == #container

This is the correct and expected result. I think this bug is invalid.

Regards, Gérard


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list