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

Issue 2215133005: Add grid/flex layout support for <fieldset> (Closed)

Created:
4 years, 4 months ago by Gleb Lanbin
Modified:
4 years, 3 months ago
Reviewers:
cbiesinger, dmazzoni
CC:
dmazzoni, aboxhall, aboxhall+watch_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, eae+blinkwatch, haraken, jchaffraix+rendering, je_julie, jfernandez, leviw+renderwatch, nektarios, nektar+watch_chromium.org, pdr+renderingwatchlist_chromium.org, Manuel Rego, svillar, szager+layoutwatch_chromium.org, yuzo+watch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add grid/flex layout support for <fieldset> This adds grid/flex layout support for <fieldset> by introducing an anonymous inner block that is used to layout fieldset's underlying blocks without interfering with the special paint flow used to render <legend> element. This is the updated version of http://crrev.com/2150003005 that passes failed ClusterFuzz tests. W3C/CSS WG discussion: https://github.com/w3c/csswg-drafts/issues/321 Testing: - All affected tests' results were verified to make sure that there are no differences in pixel test results between old and new version of LayoutFieldSet. - 2 more tests were added (fieldset-display-{flex|grid}.html) - verified interoperability of fieldset(display: flex) with Firefox(one of 2 browsers that support fieldset's flex layout) BUG=262679, 375693 TEST=fast/forms/fieldset/fieldset-display-flex.html; fast/forms/fieldset/fieldset-display-grid.html Committed: https://crrev.com/c6d69f896f406c9a7801b29cb8c02a88e5b01770 Cr-Commit-Position: refs/heads/master@{#409303} patch from issue 2150003005 at patchset 290001 (http://crrev.com/2150003005#ps290001) Committed: https://crrev.com/94405829a3ffa94bff257bb14650170f7422bad0 Cr-Commit-Position: refs/heads/master@{#415577}

Patch Set 1 : failed test results for review #

Patch Set 2 : updated TestExpectations #

Total comments: 6

Patch Set 3 : fixed comments: removed LayoutFlexibleBox::styleDidChange, fixed layoutSpecialExcludedChild formatt… #

Total comments: 1

Patch Set 4 : fixed more ClusterFuzz tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+480 lines, -39 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-display-flex.html View 1 chunk +107 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-display-flex-expected.html View 1 chunk +105 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-display-grid.html View 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/forms/fieldset/fieldset-display-grid-expected.html View 1 chunk +23 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 2 3 4 chunks +2 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFieldset.h View 1 2 2 chunks +19 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFieldset.cpp View 1 2 3 5 chunks +140 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h View 1 2 3 4 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp View 1 2 3 7 chunks +17 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (19 generated)
Gleb Lanbin
4 years, 4 months ago (2016-08-08 15:15:32 UTC) #13
dmazzoni
Rubberstamp lgtm Could you clarify what code changed to fix the clusterfuzz failure?
4 years, 4 months ago (2016-08-08 15:22:46 UTC) #14
Gleb Lanbin
On 2016/08/08 15:22:46, dmazzoni wrote: > Rubberstamp lgtm > > Could you clarify what code ...
4 years, 4 months ago (2016-08-08 15:56:26 UTC) #15
cbiesinger
lgtm https://codereview.chromium.org/2215133005/diff/20001/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp File third_party/WebKit/Source/core/layout/LayoutFieldset.cpp (right): https://codereview.chromium.org/2215133005/diff/20001/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp#newcode222 third_party/WebKit/Source/core/layout/LayoutFieldset.cpp:222: LayoutFlexibleBox::styleDidChange(diff, oldStyle); I don't think you need this ...
4 years, 4 months ago (2016-08-08 16:15:53 UTC) #16
Gleb Lanbin
thanks for the review https://codereview.chromium.org/2215133005/diff/20001/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp File third_party/WebKit/Source/core/layout/LayoutFieldset.cpp (right): https://codereview.chromium.org/2215133005/diff/20001/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp#newcode222 third_party/WebKit/Source/core/layout/LayoutFieldset.cpp:222: LayoutFlexibleBox::styleDidChange(diff, oldStyle); On 2016/08/08 16:15:53, ...
4 years, 4 months ago (2016-08-08 17:27:06 UTC) #18
cbiesinger
https://codereview.chromium.org/2215133005/diff/60001/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp File third_party/WebKit/Source/core/layout/LayoutFieldset.cpp (right): https://codereview.chromium.org/2215133005/diff/60001/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp#newcode232 third_party/WebKit/Source/core/layout/LayoutFieldset.cpp:232: childStyle.setOrder(1); Oh sorry, I should have pointed this one ...
4 years, 4 months ago (2016-08-08 17:29:32 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/2215133005/80001
4 years, 3 months ago (2016-08-31 03:20:26 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/133506)
4 years, 3 months ago (2016-08-31 03:28:09 UTC) #24
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/2215133005/80001
4 years, 3 months ago (2016-08-31 04:25:39 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 3 months ago (2016-08-31 07:22:49 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 07:24:40 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/94405829a3ffa94bff257bb14650170f7422bad0
Cr-Commit-Position: refs/heads/master@{#415577}

Powered by Google App Engine
This is Rietveld 408576698