[Webkit-unassigned] [Bug 52535] offsetLeft is wrong for elements inside a TD whose style is set to position:relative

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 9 07:32:33 PST 2011


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


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #85163|review?                     |review+, commit-queue-
               Flag|                            |




--- Comment #27 from Darin Adler <darin at apple.com>  2011-03-09 07:32:33 PST ---
(From update of attachment 85163)
View in context: https://bugs.webkit.org/attachment.cgi?id=85163&action=review

> Source/WebCore/ChangeLog:1
> +2011-03-09  Jeremy  <playmobil at dhcp-172-28-32-85.tlv.corp.google.com>

Double change log.

> Source/WebCore/ChangeLog:34
> +2011-03-07  Jeremy Moskovich  <jeremy at chromium.org>

Double change log.

> Source/WebCore/rendering/RenderObject.cpp:2155
> +bool RenderObject::isOriginallyRelPositioned() const

I would call this wasOriginallyRelativePositioned. No need to abbreviate, and the verb tense of "is" and "originally" don’t match.

> Source/WebCore/rendering/style/StyleRareNonInheritedData.h:112
> +    // WebKit overwrites the position:relative style for certain elements for which such positioning is illegal or behavior is undefined.
> +    // This flag preserves the fact that the position attribute was originally specified as relative.

Don}t need this comment twice. I would suggest keeping it just in RenderObject.h.

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


More information about the webkit-unassigned mailing list