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

Issue 267063007: Fix overconstrained behaviour for position: sticky. (Closed)

Created:
6 years, 7 months ago by ostap
Modified:
6 years, 7 months ago
CC:
blink-reviews, kenneth.christiansen, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Fix overconstrained behaviour for position: sticky. Ignore one of sticky offsets if both opposite offsets are specified and sum of opposite offsets is bigger than corresponding dimension of containing block. BUG=370632 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174678

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updated by review comments and fixed overconstrained checks. #

Patch Set 3 : Fix logical error in condition. #

Total comments: 9

Patch Set 4 : Updated by review comments. #

Messages

Total messages: 9 (0 generated)
ostap
6 years, 7 months ago (2014-05-06 22:36:25 UTC) #1
Julien - ping for review
It really looks like this change needs more details: this change is not fixing all ...
6 years, 7 months ago (2014-05-16 13:17:49 UTC) #2
ostap
On 2014/05/16 13:17:49, Julien Chaffraix - CET wrote: > It really looks like this change ...
6 years, 7 months ago (2014-05-22 04:33:09 UTC) #3
ostap
https://codereview.chromium.org/267063007/diff/1/Source/core/rendering/RenderBoxModelObject.cpp File Source/core/rendering/RenderBoxModelObject.cpp (right): https://codereview.chromium.org/267063007/diff/1/Source/core/rendering/RenderBoxModelObject.cpp#newcode332 Source/core/rendering/RenderBoxModelObject.cpp:332: float offsetsSum = constraints.rightOffset() + constraints.leftOffset(); On 2014/05/16 13:17:49, ...
6 years, 7 months ago (2014-05-22 04:33:18 UTC) #4
Julien - ping for review
https://codereview.chromium.org/267063007/diff/40001/LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-ltr-expected.html File LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-ltr-expected.html (right): https://codereview.chromium.org/267063007/diff/40001/LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-ltr-expected.html#newcode8 LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-ltr-expected.html:8: height: 600px; Same comment about overflowing. https://codereview.chromium.org/267063007/diff/40001/LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-rtl-expected.html File LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-rtl-expected.html ...
6 years, 7 months ago (2014-05-22 15:49:02 UTC) #5
ostap
https://codereview.chromium.org/267063007/diff/40001/LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-ltr-expected.html File LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-ltr-expected.html (right): https://codereview.chromium.org/267063007/diff/40001/LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-ltr-expected.html#newcode8 LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-ltr-expected.html:8: height: 600px; On 2014/05/22 15:49:02, Julien Chaffraix - CET ...
6 years, 7 months ago (2014-05-22 23:13:11 UTC) #6
Julien - ping for review
lgtm
6 years, 7 months ago (2014-05-23 10:28:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sl.ostapenko@samsung.com/267063007/60001
6 years, 7 months ago (2014-05-23 10:28:28 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 10:51:07 UTC) #9
Message was sent while issue was closed.
Change committed as 174678

Powered by Google App Engine
This is Rietveld 408576698