[Webkit-unassigned] [Bug 12687] REGRESSION: Google Calendar cell highlight misplaced

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 9 08:18:28 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12687


koivisto at iki.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hyatt at apple.com




------- Comment #6 from koivisto at iki.fi  2007-02-09 08:18 PDT -------
If you revert both Bug 11109 and
http://trac.webkit.org/projects/webkit/changeset/11484 then you get correct
positioning. This is because Calendar works around
offsetLeft/offsetTop/offsetParent bug in tiger webkit. Specifically tiger
webkit would not include body margins to offsets of relative positioned
elements.

This code in function qC(a, b, c, d) in the obfuscated calendar script

      if (T)
        i.x += 3;
      else
        if ($)
          {
            i.x += fb() ? 6 : 8;
            i.y += 6;
          }

adds some magic offsets to fix positioning issues. For safari $=1, for MSIE
T=1.

Safari offsetLeft behavior is still not exactly the same as Firefox. For some
reason, like MSIE, ToT Safari needs that i.x += 3; to get pixel-correct
horizontal position. Is the idea here to try to replicate MSIE or Firefox
behavior for offset functions? If target is MSIE then I don't think there is
any bug here.


-- 
Configure bugmail: http://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