Scrollable area height should be calculated after positioning sticky position elements |
||
Issue descriptionSee the tests at http://jsbin.com/torisa/edit?html,css,js,output According to the css position 3 spec, sticky position offset should be allowed to cause overflow but the UA must allow accessing this content: https://www.w3.org/TR/css-position-3/#sticky-pos We should be able to fix this in Chrome by constructing the constraints during the layout walk and on bubbling back up to the ancestor with overflow, positioning the sticky position elements before checking determining the overflow size.
,
Aug 3 2017
,
Dec 14 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/cc60eca887ee39502cdf8bc73548f3746d776fda commit cc60eca887ee39502cdf8bc73548f3746d776fda Author: Robert Flack <flackr@chromium.org> Date: Thu Dec 14 13:14:50 2017 Add wpt test for sticky position causing overflow By spec (https://www.w3.org/TR/css-position-3/#sticky-pos) a sticky position offset can cause overflow but must be capable of being scrolled to. Despite not working in Chrome yet this adds web platform tests for this. BUG=752022 Change-Id: I3bc8b384e4459cd4d1498f64c376e764fba71091 Reviewed-on: https://chromium-review.googlesource.com/825165 Reviewed-by: Stephen McGruer <smcgruer@chromium.org> Commit-Queue: Robert Flack <flackr@chromium.org> Cr-Commit-Position: refs/heads/master@{#524052} [modify] https://crrev.com/cc60eca887ee39502cdf8bc73548f3746d776fda/third_party/WebKit/LayoutTests/TestExpectations [add] https://crrev.com/cc60eca887ee39502cdf8bc73548f3746d776fda/third_party/WebKit/LayoutTests/external/wpt/css/css-position/position-sticky-offset-overflow.html
,
Oct 23
Are you still intending to work on this flackr? |
||
►
Sign in to add a comment |
||
Comment 1 by flackr@chromium.org
, Aug 3 2017