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

Issue 1611413007: Remove unnecessary anonymous blocks when splitting anonymous boxes (Closed)

Created:
4 years, 11 months ago by rhogan
Modified:
4 years, 10 months ago
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@568387-RemovePercentHeight
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unnecessary anonymous blocks when splitting anonymous boxes BUG=568387 Committed: https://crrev.com/45061dd7b68e9561d7a44fd0ba0f2f5e0219cdde Cr-Commit-Position: refs/heads/master@{#373096}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Updated #

Total comments: 2

Patch Set 3 : Updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/split-table-section-before-anonymous-block-2.html View 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/split-table-section-before-anonymous-block-3.html View 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/split-table-section-before-anonymous-block-4.html View 1 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-2-expected.png View 1 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-2-expected.txt View 1 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-3-expected.png View 1 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-3-expected.txt View 1 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-4-expected.png View 1 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/fast/table/split-table-section-before-anonymous-block-4-expected.txt View 1 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.h View 1 2 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 2 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
rhogan
> https://codereview.chromium.org/1551573002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode4680 > third_party/WebKit/Source/core/layout/LayoutBox.cpp:4680: // We're splitting from our previousSibling(). > On 2016/01/24 12:31:37, rhogan ...
4 years, 11 months ago (2016-01-26 20:30:36 UTC) #2
mstensho (USE GERRIT)
https://codereview.chromium.org/1611413007/diff/1/third_party/WebKit/LayoutTests/fast/table/split-table-section-before-anonymous-block-2.html File third_party/WebKit/LayoutTests/fast/table/split-table-section-before-anonymous-block-2.html (right): https://codereview.chromium.org/1611413007/diff/1/third_party/WebKit/LayoutTests/fast/table/split-table-section-before-anonymous-block-2.html#newcode1 third_party/WebKit/LayoutTests/fast/table/split-table-section-before-anonymous-block-2.html:1: <!DOCTYPE html> These tests both pass *without* your code ...
4 years, 10 months ago (2016-01-28 20:45:14 UTC) #3
rhogan
https://codereview.chromium.org/1611413007/diff/1/third_party/WebKit/LayoutTests/fast/table/split-table-section-before-anonymous-block-2.html File third_party/WebKit/LayoutTests/fast/table/split-table-section-before-anonymous-block-2.html (right): https://codereview.chromium.org/1611413007/diff/1/third_party/WebKit/LayoutTests/fast/table/split-table-section-before-anonymous-block-2.html#newcode1 third_party/WebKit/LayoutTests/fast/table/split-table-section-before-anonymous-block-2.html:1: <!DOCTYPE html> On 2016/01/28 at 20:45:14, mstensho wrote: > ...
4 years, 10 months ago (2016-01-30 12:38:58 UTC) #4
rhogan
> > I think we should rather nuke superfluous anonymous blocks after the split, rather ...
4 years, 10 months ago (2016-01-30 12:47:16 UTC) #5
mstensho (USE GERRIT)
lgtm I think you need a blank line before "BUG=568387" in the description? Or will ...
4 years, 10 months ago (2016-02-01 12:25:36 UTC) #6
rhogan
https://codereview.chromium.org/1611413007/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/1611413007/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode4410 third_party/WebKit/Source/core/layout/LayoutBox.cpp:4410: child = boxToSplit->slowFirstChild(); On 2016/02/01 at 12:25:36, mstensho wrote: ...
4 years, 10 months ago (2016-02-02 21:38:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1611413007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1611413007/40001
4 years, 10 months ago (2016-02-02 21:42:55 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-03 00:20:10 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2016-02-03 00:22:13 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/45061dd7b68e9561d7a44fd0ba0f2f5e0219cdde
Cr-Commit-Position: refs/heads/master@{#373096}

Powered by Google App Engine
This is Rietveld 408576698