[Webkit-unassigned] [Bug 119280] New: Bottom/right sticky positioning don't correctly handle scroll containers with padding
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 30 15:26:55 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=119280
Summary: Bottom/right sticky positioning don't correctly handle
scroll containers with padding
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: cford at mozilla.com
CC: simon.fraser at apple.com
In the attached testcase, the bottom of the blue box should be 20px above the top of the horizontal scrollbar (assuming the intent is to position it relative to the content box of the scroll container). Instead, the bottom of the blue box is 20px below the top of the scrollbar. The same behavior holds for sticky-right positioning.
In general, sticky positioned elements appear to be positioned relative to a box that has the size of the scroll container's padding box, but the origin of the scroll container's content box. (And percentage sticky offsets also seem to be computed in terms of the padding box size.)
--
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