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

Issue 1308273010: Adapt and reland old position sticky implementation (Closed)

Created:
5 years, 3 months ago by flackr
Modified:
4 years, 8 months ago
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, blink-reviews-style_chromium.org, eae+blinkwatch, jchaffraix+rendering, kenneth.christiansen, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adapt and reland old position sticky implementation from https://codereview.chromium.org/346603007 This adds support for position sticky, and plumbs the necessary information to the compositor by which it can maintain the effect during accelerated scrolls. TEST=fast/css/sticky/* CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/846f623cb1ef78d90e620c2a7a6557544a86b692 Cr-Commit-Position: refs/heads/master@{#384231}

Patch Set 1 : Fix style errors and remaining layout tests. #

Total comments: 17

Patch Set 2 : Move compositor plumbing into a separate review. #

Total comments: 18

Patch Set 3 : Only add viewport stuck sticky elements to viewport constrained objects, address review comments. #

Patch Set 4 : Merge and attempt to fix base URL #

Total comments: 13

Patch Set 5 : Merge and address review comments. #

Patch Set 6 : Merge with master (removing horizontal-bt test) #

Total comments: 26

Patch Set 7 : Force main thread scrolling, set experimental status, and address review comments. #

Total comments: 15

Patch Set 8 : Merge and address review comments. #

Patch Set 9 : Add missing new file StickyPositionViewportConstraints #

Patch Set 10 : Merge with master and skip anonymous containing blocks for sticky container. #

Total comments: 24

Patch Set 11 : WIP - Cache sticky constraints on ancestor PaintLayerScrollableArea. #

Total comments: 2

Patch Set 12 : WIP - fix on release, still hits CHECK in LayoutGeometryMap.cpp:156 #

Total comments: 2

Patch Set 13 : Store ancestor overflow layer on PaintLayer to compute before other dependent compositing inputs. #

Total comments: 10

Patch Set 14 : Address comments, add tests. #

Patch Set 15 : Invalidate descendant sticky constraints whenever style or layout walk past scroller. #

Patch Set 16 : Invalidate ancestor sticky constraints after style or layout. #

Patch Set 17 : Remove redundant invalidation in LayoutBlock::tryLayoutDoingPositionedMovementOnly #

Total comments: 11

Patch Set 18 : Review comments. #

Patch Set 19 : Invalidate sticky constraints on style updates. #

Patch Set 20 : Add test for constraint update as a result of style change and remove constraints when no longer st… #

Patch Set 21 : Remove obsolete reference to ViewportConstraints.h #

Patch Set 22 : Make sticky vertical ref tests expectations not dependent on font size. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4970 lines, -123 lines) Patch
M cc/input/main_thread_scrolling_reason.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +4 lines, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/inflow-sticky.html View 1 1 chunk +67 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/inflow-sticky-expected.html View 1 1 chunk +53 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/inline-sticky.html View 1 1 chunk +91 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/inline-sticky-abspos-child.html View 1 1 chunk +98 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/inline-sticky-abspos-child-expected.html View 1 1 chunk +85 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/inline-sticky-anonymous-container.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +37 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/inline-sticky-anonymous-container-expected.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/inline-sticky-expected.html View 1 1 chunk +76 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/remove-inline-sticky-crash.html View 1 1 chunk +44 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/css/sticky/remove-inline-sticky-crash-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/remove-sticky-crash.html View 1 1 chunk +44 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/fast/css/sticky/remove-sticky-crash-expected.txt View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/replaced-sticky.html View 1 1 chunk +73 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/replaced-sticky-expected.html View 1 1 chunk +59 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/sticky/sticky-as-positioning-container.html View 1 1 chunk +68 lines, -26 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/sticky/sticky-as-positioning-container-expected.html View 1 1 chunk +58 lines, -25 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides.html View 1 1 chunk +74 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-both-sides-expected.html View 1 1 chunk +61 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-bottom-overflow-padding.html View 1 1 chunk +95 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-bottom-overflow-padding-expected.html View 1 1 chunk +90 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-container-moved.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +51 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-container-moved-expected.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-display.html View 1 1 chunk +97 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-display-expected.html View 1 1 chunk +97 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-flexbox.html View 1 1 chunk +98 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-flexbox-expected.html View 1 1 chunk +83 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-grid.html View 1 1 chunk +97 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-grid-expected.html View 1 1 chunk +81 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-ltr.html View 1 1 chunk +83 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-ltr-expected.html View 1 1 chunk +76 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-rtl.html View 1 1 chunk +84 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-horizontally-overconstrained-rtl-expected.html View 1 1 chunk +77 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-left.html View 1 1 chunk +77 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-left-expected.html View 1 1 chunk +62 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-margin-changed.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +47 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-margin-changed-expected.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-margins.html View 1 1 chunk +90 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-margins-expected.html View 1 1 chunk +76 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-overflow-changed.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +46 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-overflow-changed-expected.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-overflowing.html View 1 1 chunk +80 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-overflowing-expected.html View 1 1 chunk +64 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-scrolls-on-main.html View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-scrolls-on-main-expected.txt View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-side-margins.html View 1 1 chunk +67 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-side-margins-expected.html View 1 1 chunk +53 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/sticky/sticky-stacking-context.html View 1 1 chunk +53 lines, -20 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/sticky/sticky-stacking-context-expected.html View 1 1 chunk +45 lines, -19 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-col-crash.html View 1 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-col-crash-expected.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-row-top.html View 1 1 chunk +110 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-row-top-expected.html View 1 1 chunk +68 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-thead-top.html View 1 1 chunk +116 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-table-thead-top-expected.html View 1 1 chunk +69 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-top.html View 1 1 chunk +78 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-top-expected.html View 1 1 chunk +63 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-top-margins.html View 1 1 chunk +80 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-top-margins-expected.html View 1 1 chunk +65 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-top-overflow.html View 1 1 chunk +88 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-top-overflow-expected.html View 1 1 chunk +67 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-top-overflow-scroll-by-fragment.html View 1 1 chunk +109 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-top-overflow-scroll-by-fragment-expected.html View 1 1 chunk +81 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-vertically-overconstrained.html View 1 1 chunk +83 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-vertically-overconstrained-expected.html View 1 1 chunk +67 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-writing-mode-vertical-lr.html View 1 1 chunk +73 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-writing-mode-vertical-lr-expected.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +60 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-writing-mode-vertical-rl.html View 1 1 chunk +73 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/css/sticky/sticky-writing-mode-vertical-rl-expected.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +60 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 19 3 chunks +9 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +27 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 6 chunks +179 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutDeprecatedFlexibleBox.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGeometryMapStep.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTable.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableRow.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +27 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +6 lines, -1 line 0 comments Download
A third_party/WebKit/Source/core/page/scrolling/StickyPositionScrollingConstraints.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +85 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/page/scrolling/StickyPositionScrollingConstraints.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +56 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +11 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 9 chunks +11 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +29 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 84 (17 generated)
flackr
Hey, This patch implements sticky positioning for the main thread and should plumb the necessary ...
5 years, 3 months ago (2015-09-15 21:13:12 UTC) #4
pdr.
+cc chrishtr, wangxianzhu
5 years, 3 months ago (2015-09-15 22:24:31 UTC) #7
skobes
I am vaguely concerned about adding all this complexity where everything needs to know about ...
5 years, 3 months ago (2015-09-16 00:07:57 UTC) #8
chrishtr
I wonder if we really need the compositing integration for a first version. I think ...
5 years, 3 months ago (2015-09-17 01:18:56 UTC) #9
enne (OOO)
On 2015/09/17 at 01:18:56, chrishtr wrote: > I wonder if we really need the compositing ...
5 years, 3 months ago (2015-09-17 16:57:40 UTC) #11
trchen
On 2015/09/17 16:57:40, enne wrote: > On 2015/09/17 at 01:18:56, chrishtr wrote: > > I ...
5 years, 3 months ago (2015-09-17 21:23:17 UTC) #12
flackr
On 2015/09/17 21:23:17, trchen wrote: > On 2015/09/17 16:57:40, enne wrote: > > On 2015/09/17 ...
5 years, 3 months ago (2015-09-22 22:25:32 UTC) #13
chrishtr
https://codereview.chromium.org/1308273010/diff/60001/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp File third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp (right): https://codereview.chromium.org/1308273010/diff/60001/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp#newcode468 third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp:468: // background painting through columns / column groups Is ...
5 years, 2 months ago (2015-10-06 17:08:33 UTC) #14
flackr
https://codereview.chromium.org/1308273010/diff/40001/Source/core/layout/LayoutBoxModelObject.cpp File Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/1308273010/diff/40001/Source/core/layout/LayoutBoxModelObject.cpp#newcode606 Source/core/layout/LayoutBoxModelObject.cpp:606: LayoutRect absoluteStickyBoxRect(LayoutPoint(absContainerFrame.location()) + stickyLocation, flippedStickyBoxRect.size()); On 2015/09/17 01:18:56, chrishtr ...
5 years, 2 months ago (2015-10-07 20:38:12 UTC) #15
flackr
ping?
5 years, 1 month ago (2015-10-30 19:30:54 UTC) #16
chrishtr
Sorry, got bogged down in other stuff and this CL got starved. Will address it ...
5 years, 1 month ago (2015-10-30 20:37:11 UTC) #17
chrishtr
Some more comments, still reading... https://codereview.chromium.org/1308273010/diff/60001/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp File third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp (right): https://codereview.chromium.org/1308273010/diff/60001/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp#newcode468 third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp:468: // background painting through ...
5 years, 1 month ago (2015-11-04 01:40:44 UTC) #18
chrishtr
https://codereview.chromium.org/1308273010/diff/100001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1308273010/diff/100001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode1568 third_party/WebKit/Source/core/frame/FrameView.cpp:1568: for (const auto& viewportConstrainedObject : *m_viewportConstrainedObjects) { Shouldn't this ...
5 years, 1 month ago (2015-11-04 01:55:18 UTC) #19
flackr
https://codereview.chromium.org/1308273010/diff/100001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1308273010/diff/100001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode1568 third_party/WebKit/Source/core/frame/FrameView.cpp:1568: for (const auto& viewportConstrainedObject : *m_viewportConstrainedObjects) { On 2015/11/04 ...
5 years ago (2015-11-25 20:47:53 UTC) #20
flackr
https://codereview.chromium.org/1308273010/diff/60001/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp File third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp (right): https://codereview.chromium.org/1308273010/diff/60001/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp#newcode468 third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp:468: // background painting through columns / column groups On ...
5 years ago (2015-11-25 21:03:01 UTC) #21
flackr
ping?
5 years ago (2015-12-03 19:05:53 UTC) #22
chrishtr
https://codereview.chromium.org/1308273010/diff/100001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1308273010/diff/100001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode1568 third_party/WebKit/Source/core/frame/FrameView.cpp:1568: for (const auto& viewportConstrainedObject : *m_viewportConstrainedObjects) { On 2015/11/25 ...
5 years ago (2015-12-09 00:37:38 UTC) #23
chrishtr
https://codereview.chromium.org/1308273010/diff/140001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1308273010/diff/140001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode1573 third_party/WebKit/Source/core/frame/FrameView.cpp:1573: layer->updateLayerPositionAfterFrameScroll(scrollDelta); On 2015/12/09 at 00:37:38, chrishtr wrote: > So ...
5 years ago (2015-12-09 19:12:21 UTC) #24
flackr
Thanks for the review. In the interest of keeping this review fresh, responding to most ...
5 years ago (2015-12-10 23:43:15 UTC) #25
chrishtr
https://codereview.chromium.org/1308273010/diff/140001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/1308273010/diff/140001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode666 third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp:666: LayoutSize scrollOffset(containingBlock->layer()->scrollableArea()->adjustedScrollOffset()); On 2015/12/10 at 23:43:15, flackr wrote: > ...
5 years ago (2015-12-11 02:06:12 UTC) #26
flackr
PTAL, and let me know if you have any suggestions for when/how and where to ...
4 years, 11 months ago (2016-01-19 15:40:48 UTC) #27
chrishtr
https://codereview.chromium.org/1308273010/diff/160001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/1308273010/diff/160001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode747 third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp:747: LayoutRect constrainingRect = computeStickyConstrainingRect(); On 2016/01/19 at 15:40:48, flackr ...
4 years, 10 months ago (2016-01-30 01:49:03 UTC) #29
flackr
https://codereview.chromium.org/1308273010/diff/160001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/1308273010/diff/160001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode747 third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp:747: LayoutRect constrainingRect = computeStickyConstrainingRect(); On 2016/01/30 at 01:49:02, chrishtr ...
4 years, 10 months ago (2016-02-03 22:48:38 UTC) #30
chrishtr
https://codereview.chromium.org/1308273010/diff/160001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/1308273010/diff/160001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode747 third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp:747: LayoutRect constrainingRect = computeStickyConstrainingRect(); On 2016/02/03 at 22:48:38, flackr ...
4 years, 10 months ago (2016-02-08 21:46:55 UTC) #31
flackr
Thanks for your comments, I'm starting to get a much better big picture. On 2016/02/08 ...
4 years, 10 months ago (2016-02-10 17:02:36 UTC) #32
chrishtr
On 2016/02/10 at 17:02:36, flackr wrote: > Thanks for your comments, I'm starting to get ...
4 years, 10 months ago (2016-02-10 19:32:54 UTC) #33
flackr
On 2016/02/10 at 19:32:54, chrishtr wrote: > On 2016/02/10 at 17:02:36, flackr wrote: > > ...
4 years, 10 months ago (2016-02-10 20:36:07 UTC) #34
chrishtr
Ok yeah I see how adding position:sticky can change overflow. But it is the case ...
4 years, 10 months ago (2016-02-10 22:28:55 UTC) #35
flackr
On 2016/02/10 at 22:28:55, chrishtr wrote: > Ok yeah I see how adding position:sticky can ...
4 years, 10 months ago (2016-02-11 16:26:14 UTC) #36
flackr
On 2016/02/11 at 16:26:14, flackr wrote: > On 2016/02/10 at 22:28:55, chrishtr wrote: > > ...
4 years, 10 months ago (2016-02-11 16:33:28 UTC) #37
chrishtr
On 2016/02/11 at 16:33:28, flackr wrote: > On 2016/02/11 at 16:26:14, flackr wrote: > > ...
4 years, 10 months ago (2016-02-11 18:36:03 UTC) #38
flackr
On 2016/02/11 at 18:36:03, chrishtr wrote: > On 2016/02/11 at 16:33:28, flackr wrote: > > ...
4 years, 10 months ago (2016-02-11 20:44:55 UTC) #39
flackr
Hi Chris, this still has some crashes to be worked out and some cleaning up ...
4 years, 10 months ago (2016-02-22 22:55:24 UTC) #40
chrishtr
https://codereview.chromium.org/1308273010/diff/220001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/1308273010/diff/220001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode648 third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp:648: while (containingBlock->isAnonymous()) { On 2016/02/03 at 22:48:38, flackr wrote: ...
4 years, 10 months ago (2016-02-23 16:31:51 UTC) #41
flackr
https://codereview.chromium.org/1308273010/diff/260001/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp File third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp (right): https://codereview.chromium.org/1308273010/diff/260001/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp#newcode118 third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp:118: properties.clippedAbsoluteBoundingBox = enclosingIntRect(m_geometryMap.absoluteRect(FloatRect(layer->boundingBoxForCompositingOverlapTest()))); There seems to be a bit ...
4 years, 10 months ago (2016-02-25 22:10:26 UTC) #42
chrishtr
https://codereview.chromium.org/1308273010/diff/260001/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp File third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp (right): https://codereview.chromium.org/1308273010/diff/260001/third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp#newcode118 third_party/WebKit/Source/core/layout/compositing/CompositingInputsUpdater.cpp:118: properties.clippedAbsoluteBoundingBox = enclosingIntRect(m_geometryMap.absoluteRect(FloatRect(layer->boundingBoxForCompositingOverlapTest()))); On 2016/02/25 at 22:10:26, flackr wrote: ...
4 years, 9 months ago (2016-03-04 20:05:41 UTC) #43
flackr
Sorry this took so long - adding an ancestor pointer with sticky information which is ...
4 years, 9 months ago (2016-03-07 19:07:33 UTC) #44
chrishtr
I'll take a look in the morning, was at an offsite today.
4 years, 9 months ago (2016-03-09 03:27:00 UTC) #45
chrishtr
https://codereview.chromium.org/1308273010/diff/280001/third_party/WebKit/Source/core/layout/LayoutBox.h File third_party/WebKit/Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/1308273010/diff/280001/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode1016 third_party/WebKit/Source/core/layout/LayoutBox.h:1016: invalidateScrollAncestorConstraints(); Is this where you handle the case of ...
4 years, 9 months ago (2016-03-09 16:53:08 UTC) #46
flackr
https://codereview.chromium.org/1308273010/diff/280001/third_party/WebKit/Source/core/layout/LayoutBox.h File third_party/WebKit/Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/1308273010/diff/280001/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode1016 third_party/WebKit/Source/core/layout/LayoutBox.h:1016: invalidateScrollAncestorConstraints(); On 2016/03/09 at 16:53:08, chrishtr wrote: > Is ...
4 years, 9 months ago (2016-03-14 19:04:26 UTC) #47
chrishtr
https://codereview.chromium.org/1308273010/diff/280001/third_party/WebKit/Source/core/layout/LayoutBox.h File third_party/WebKit/Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/1308273010/diff/280001/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode1016 third_party/WebKit/Source/core/layout/LayoutBox.h:1016: invalidateScrollAncestorConstraints(); On 2016/03/14 at 19:04:26, flackr wrote: > On ...
4 years, 9 months ago (2016-03-16 21:52:39 UTC) #48
flackr
https://codereview.chromium.org/1308273010/diff/280001/third_party/WebKit/Source/core/layout/LayoutBox.h File third_party/WebKit/Source/core/layout/LayoutBox.h (right): https://codereview.chromium.org/1308273010/diff/280001/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode1016 third_party/WebKit/Source/core/layout/LayoutBox.h:1016: invalidateScrollAncestorConstraints(); On 2016/03/16 at 21:52:39, chrishtr wrote: > On ...
4 years, 9 months ago (2016-03-22 21:44:32 UTC) #49
chrishtr
On 2016/03/22 at 21:44:32, flackr wrote: > https://codereview.chromium.org/1308273010/diff/280001/third_party/WebKit/Source/core/layout/LayoutBox.h > File third_party/WebKit/Source/core/layout/LayoutBox.h (right): > > https://codereview.chromium.org/1308273010/diff/280001/third_party/WebKit/Source/core/layout/LayoutBox.h#newcode1016 ...
4 years, 9 months ago (2016-03-23 00:36:24 UTC) #50
flackr
On 2016/03/23 at 00:36:24, chrishtr wrote: > On 2016/03/22 at 21:44:32, flackr wrote: > > ...
4 years, 9 months ago (2016-03-23 20:28:45 UTC) #51
chrishtr
On 2016/03/23 at 20:28:45, flackr wrote: > On 2016/03/23 at 00:36:24, chrishtr wrote: > > ...
4 years, 9 months ago (2016-03-23 20:39:12 UTC) #52
flackr
On 2016/03/23 at 20:39:12, chrishtr wrote: > On 2016/03/23 at 20:28:45, flackr wrote: > > ...
4 years, 9 months ago (2016-03-23 22:30:34 UTC) #53
chrishtr
https://codereview.chromium.org/1308273010/diff/360001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/1308273010/diff/360001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode328 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:328: // Update our scroll information if we're overflow:auto/scroll/hidden now ...
4 years, 9 months ago (2016-03-24 17:36:03 UTC) #54
flackr
https://codereview.chromium.org/1308273010/diff/360001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/1308273010/diff/360001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode328 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:328: // Update our scroll information if we're overflow:auto/scroll/hidden now ...
4 years, 8 months ago (2016-03-29 16:02:32 UTC) #55
chrishtr
On 2016/03/29 at 16:02:32, flackr wrote: > https://codereview.chromium.org/1308273010/diff/360001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp > File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): > > https://codereview.chromium.org/1308273010/diff/360001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode328 ...
4 years, 8 months ago (2016-03-29 16:28:10 UTC) #56
chrishtr
https://codereview.chromium.org/1308273010/diff/360001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): https://codereview.chromium.org/1308273010/diff/360001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode290 third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp:290: if (newStyleIsSticky != oldStyleIsSticky) { On 2016/03/29 at 16:02:32, ...
4 years, 8 months ago (2016-03-29 16:28:19 UTC) #57
flackr
On 2016/03/29 at 16:28:19, chrishtr wrote: > https://codereview.chromium.org/1308273010/diff/360001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp > File third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp (right): > > https://codereview.chromium.org/1308273010/diff/360001/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp#newcode290 ...
4 years, 8 months ago (2016-03-29 17:39:10 UTC) #58
flackr
Updated as per our discussion. Removed constraints when no longer sticky and added a test ...
4 years, 8 months ago (2016-03-29 18:31:56 UTC) #59
chrishtr
lgtm
4 years, 8 months ago (2016-03-29 18:47:31 UTC) #60
Ian Vollick
On 2016/03/29 18:47:31, chrishtr wrote: > lgtm platform/ lgtm.
4 years, 8 months ago (2016-03-29 19:02:11 UTC) #61
flackr
+tdresser for cc/input/main_thread_scrolling_reason.h +isherman for tools/metrics/histograms/histograms.xml Please take a look, thanks!
4 years, 8 months ago (2016-03-29 19:06:29 UTC) #63
tdresser
cc/input/main_thread_scrolling_reason.h LGTM
4 years, 8 months ago (2016-03-29 19:10:03 UTC) #64
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308273010/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308273010/420001
4 years, 8 months ago (2016-03-29 21:33:25 UTC) #66
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/84176)
4 years, 8 months ago (2016-03-29 21:44:31 UTC) #68
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308273010/440001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308273010/440001
4 years, 8 months ago (2016-03-29 21:54:48 UTC) #70
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/201929)
4 years, 8 months ago (2016-03-29 23:51:55 UTC) #72
Ilya Sherman
histograms.xml lgtm
4 years, 8 months ago (2016-03-30 01:27:44 UTC) #73
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308273010/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308273010/460001
4 years, 8 months ago (2016-03-30 20:50:04 UTC) #76
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/202595)
4 years, 8 months ago (2016-03-30 22:42:15 UTC) #78
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308273010/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308273010/460001
4 years, 8 months ago (2016-03-31 09:21:34 UTC) #80
commit-bot: I haz the power
Committed patchset #22 (id:460001)
4 years, 8 months ago (2016-03-31 09:29:10 UTC) #81
commit-bot: I haz the power
Patchset 22 (id:??) landed as https://crrev.com/846f623cb1ef78d90e620c2a7a6557544a86b692 Cr-Commit-Position: refs/heads/master@{#384231}
4 years, 8 months ago (2016-03-31 09:31:27 UTC) #83
Sami
4 years, 8 months ago (2016-03-31 16:21:03 UTC) #84
Message was sent while issue was closed.
On 2016/03/31 09:31:27, commit-bot: I haz the power wrote:
> Patchset 22 (id:??) landed as
> https://crrev.com/846f623cb1ef78d90e620c2a7a6557544a86b692
> Cr-Commit-Position: refs/heads/master@{#384231}

This patch seems to have caused crashes in a number of performance tests. See
https://bugs.chromium.org/p/chromium/issues/detail?id=599505.

I'll do a manual revert since the patch is too big to be reverted automatically.

Powered by Google App Engine
This is Rietveld 408576698