Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Issue 2788053002: Fix sticky bottom is not applied with both sticky position (Closed)

Created:
3 years, 8 months ago by wanchang
Modified:
3 years, 8 months ago
Reviewers:
flackr, chrishtr
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix sticky bottom is not applied with both sticky The box which has a sticky position should be used instead of scroll container block to check whether the box can be positioned in constraningsize with sticky both sides offset. BUG=703853 TEST=fast/css/sticky/sticky-both-sides* Review-Url: https://codereview.chromium.org/2788053002 Cr-Commit-Position: refs/heads/master@{#462224} Committed: https://chromium.googlesource.com/chromium/src/+/b23829632c36f42e8cbcf6a3adf8fc11aaa4b337

Patch Set 1 #

Total comments: 6

Patch Set 2 : Test cases modified. #

Total comments: 6

Patch Set 3 : test case is modified. #

Total comments: 2

Patch Set 4 : use position:fixed instead of sticky on the expected result #

Messages

Total messages: 24 (8 generated)
wanchang
PTAL.
3 years, 8 months ago (2017-03-31 05:16:33 UTC) #2
chrishtr
flackr@, deferring to you for this review.
3 years, 8 months ago (2017-03-31 19:42:29 UTC) #5
flackr
Good catch! In general this looks good, just a couple comments on the tests. https://codereview.chromium.org/2788053002/diff/1/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-2.html ...
3 years, 8 months ago (2017-04-03 20:45:18 UTC) #6
wanchang
When I try to git cl upload. I got below error. LayoutTests/FlagExpectations/root-layer-scrolls:266 Path does not ...
3 years, 8 months ago (2017-04-04 00:57:49 UTC) #7
flackr
> It looks I need to modify test case name on root-layer-scrolls file too, so ...
3 years, 8 months ago (2017-04-04 02:31:58 UTC) #8
wanchang
PATL. https://codereview.chromium.org/2788053002/diff/20001/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-bottom-right-constrained.html File third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-bottom-right-constrained.html (right): https://codereview.chromium.org/2788053002/diff/20001/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-bottom-right-constrained.html#newcode25 third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-bottom-right-constrained.html:25: .vertical_container { On 2017/04/04 02:31:58, flackr wrote: > ...
3 years, 8 months ago (2017-04-04 08:19:11 UTC) #9
flackr
Looks good, just one last comment. https://codereview.chromium.org/2788053002/diff/40001/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-bottom-right-constrained-expected.html File third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-bottom-right-constrained-expected.html (right): https://codereview.chromium.org/2788053002/diff/40001/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-bottom-right-constrained-expected.html#newcode31 third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-bottom-right-constrained-expected.html:31: position: sticky; Sorry, ...
3 years, 8 months ago (2017-04-04 13:58:20 UTC) #10
wanchang
PTAL https://codereview.chromium.org/2788053002/diff/40001/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-bottom-right-constrained-expected.html File third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-bottom-right-constrained-expected.html (right): https://codereview.chromium.org/2788053002/diff/40001/third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-bottom-right-constrained-expected.html#newcode31 third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-bottom-right-constrained-expected.html:31: position: sticky; On 2017/04/04 13:58:20, flackr wrote: > ...
3 years, 8 months ago (2017-04-05 05:11:03 UTC) #11
flackr
LGTM thanks for the fix!
3 years, 8 months ago (2017-04-05 11:25:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2788053002/60001
3 years, 8 months ago (2017-04-05 12:23:57 UTC) #14
wanchang
On 2017/04/05 11:25:48, flackr wrote: > LGTM thanks for the fix! Thanks for your valuable ...
3 years, 8 months ago (2017-04-05 12:24:59 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/402978)
3 years, 8 months ago (2017-04-05 12:31:33 UTC) #17
wanchang
chrishtr, could you review this commit ? To land this patch it also needs your ...
3 years, 8 months ago (2017-04-05 13:13:59 UTC) #18
chrishtr
lgtm
3 years, 8 months ago (2017-04-05 16:03:14 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2788053002/60001
3 years, 8 months ago (2017-04-05 21:20:27 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 21:32:43 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/b23829632c36f42e8cbcf6a3adf8...

Powered by Google App Engine
This is Rietveld 408576698