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

Issue 1946413002: Avoid overflow recalc on tables if sections need rebuild (Closed)

Created:
4 years, 7 months ago by rhogan
Modified:
4 years, 7 months ago
Reviewers:
Xianzhu
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid overflow recalc on tables if sections need rebuild A second go at https://codereview.chromium.org/1901203002. What I really should have done in that CL is return early if the table sections needed rebuilding. There are legitimate cases where a table needs layout but may not need to layout its sections. BUG=609018 Committed: https://crrev.com/806f45bd9dd5e39cdc20009f2b03bfa9d24566e0 Cr-Commit-Position: refs/heads/master@{#394871}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Updated #

Patch Set 3 : Updated #

Patch Set 4 : Updated #

Patch Set 5 : Updated #

Patch Set 6 : Updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -2 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutTable.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (4 generated)
rhogan
The test isn't quite right I think. Could you suggest an improvement?
4 years, 7 months ago (2016-05-05 11:47:35 UTC) #3
Xianzhu
https://codereview.chromium.org/1946413002/diff/1/third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell-expected.txt File third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell-expected.txt (right): https://codereview.chromium.org/1946413002/diff/1/third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell-expected.txt#newcode2 third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell-expected.txt:2: "bounds": [800, 600], What is the expectation without this ...
4 years, 7 months ago (2016-05-05 16:01:33 UTC) #4
rhogan
https://codereview.chromium.org/1946413002/diff/1/third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html File third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html (right): https://codereview.chromium.org/1946413002/diff/1/third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html#newcode6 third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html:6: document.getElementById("a").focus(); On 2016/05/05 at 16:01:33, Xianzhu wrote: > What ...
4 years, 7 months ago (2016-05-05 18:30:11 UTC) #5
Xianzhu
https://codereview.chromium.org/1946413002/diff/1/third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html File third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html (right): https://codereview.chromium.org/1946413002/diff/1/third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html#newcode6 third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html:6: document.getElementById("a").focus(); On 2016/05/05 18:30:10, rhogan wrote: > On 2016/05/05 ...
4 years, 7 months ago (2016-05-05 18:35:49 UTC) #6
rhogan
On 2016/05/05 at 18:35:49, wangxianzhu wrote: > What will this test produce without the patch? ...
4 years, 7 months ago (2016-05-05 18:44:04 UTC) #7
rhogan
On 2016/05/05 at 18:44:04, rhogan wrote: > On 2016/05/05 at 18:35:49, wangxianzhu wrote: > > ...
4 years, 7 months ago (2016-05-05 18:55:49 UTC) #8
rhogan
On 2016/05/05 at 18:55:49, rhogan wrote: > On 2016/05/05 at 18:44:04, rhogan wrote: > > ...
4 years, 7 months ago (2016-05-05 19:14:17 UTC) #9
Xianzhu
On 2016/05/05 19:14:17, rhogan wrote: > On 2016/05/05 at 18:55:49, rhogan wrote: > > On ...
4 years, 7 months ago (2016-05-05 19:43:21 UTC) #10
rhogan
On 2016/05/05 at 19:43:21, wangxianzhu wrote: > On 2016/05/05 19:14:17, rhogan wrote: > > On ...
4 years, 7 months ago (2016-05-05 20:21:39 UTC) #11
Xianzhu
On 2016/05/05 20:21:39, rhogan wrote: > On 2016/05/05 at 19:43:21, wangxianzhu wrote: > > On ...
4 years, 7 months ago (2016-05-05 20:35:54 UTC) #12
rhogan
On 2016/05/05 at 20:35:54, wangxianzhu wrote: > https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp&q=LayoutTableCellTest.cpp&sq=package:chromium&l=1 > (getLayoutObjectByElementById() is more convenient to get ...
4 years, 7 months ago (2016-05-15 11:54:22 UTC) #13
Xianzhu
Now I'm a bit confused by what the CL does. I know it avoids overflow ...
4 years, 7 months ago (2016-05-16 21:28:08 UTC) #14
rhogan
On 2016/05/16 at 21:28:08, wangxianzhu wrote: > Now I'm a bit confused by what the ...
4 years, 7 months ago (2016-05-16 21:46:54 UTC) #15
Xianzhu
On 2016/05/16 21:46:54, rhogan wrote: > On 2016/05/16 at 21:28:08, wangxianzhu wrote: > > Now ...
4 years, 7 months ago (2016-05-16 21:51:27 UTC) #16
Xianzhu
On 2016/05/15 11:54:22, rhogan wrote: > On 2016/05/05 at 20:35:54, wangxianzhu wrote: > > > ...
4 years, 7 months ago (2016-05-16 22:20:28 UTC) #17
rhogan
On 2016/05/16 at 22:20:28, wangxianzhu wrote: > I think the test can be much simplified ...
4 years, 7 months ago (2016-05-19 19:19:51 UTC) #18
Xianzhu
lgtm
4 years, 7 months ago (2016-05-19 20:32:51 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1946413002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1946413002/100001
4 years, 7 months ago (2016-05-19 20:33:50 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-19 21:28:22 UTC) #22
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 21:29:32 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/806f45bd9dd5e39cdc20009f2b03bfa9d24566e0
Cr-Commit-Position: refs/heads/master@{#394871}

Powered by Google App Engine
This is Rietveld 408576698