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

Issue 2396813002: Support margin-top for legend in fieldset. (Closed)

Created:
4 years, 2 months ago by Karl Øygard
Modified:
4 years, 2 months ago
Reviewers:
eae
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, slimming-paint-reviews_chromium.org, dshwang, jchaffraix+rendering, blink-reviews-paint_chromium.org, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support margin-top for legend in fieldset. The implementation aligns with Edge, Gecko centers the legend+margins, which looks undesirable to me. The specs say nothing about this. The new behaviour causes two tests to change, both have been rebaselined. One was additionally modified to not trigger the scrollbar, which in turn would render differently on various platforms. BUG=554077 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/462e2f8e1a0f0a09efa7c8bcc34da36fd7b532ca Cr-Commit-Position: refs/heads/master@{#425127}

Patch Set 1 #

Patch Set 2 : Modified test case to not trigger scrollbar. #

Patch Set 3 : Rebaselined test cases, changed coding style. #

Patch Set 4 : Removed an extraneous newline. #

Patch Set 5 : Rebased to master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -155 lines) Patch
M third_party/WebKit/LayoutTests/fast/block/basic/fieldset-stretch-to-legend.html View 1 1 chunk +69 lines, -62 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/block/basic/fieldset-stretch-to-legend-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/fast/block/basic/fieldset-stretch-to-legend-expected.txt View 1 2 1 chunk +63 lines, -61 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/borders/fieldsetBorderRadius-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/fast/borders/fieldsetBorderRadius-expected.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/forms/fieldset/legend-margin-before-in-fieldset.html View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/forms/fieldset/legend-margin-before-in-fieldset-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac-mac10.9/fast/block/basic/fieldset-stretch-to-legend-expected.png View 1 2 Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.png View 1 2 Binary file 0 comments Download
D third_party/WebKit/LayoutTests/platform/win/fast/block/basic/fieldset-stretch-to-legend-expected.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFieldset.cpp View 1 2 3 4 1 chunk +20 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/paint/FieldsetPainter.cpp View 1 2 3 2 chunks +16 lines, -12 lines 0 comments Download

Messages

Total messages: 27 (19 generated)
Karl Øygard
ptal
4 years, 2 months ago (2016-10-12 20:43:48 UTC) #17
eae
This is great, thank you!
4 years, 2 months ago (2016-10-12 20:52:03 UTC) #18
mstensho (USE GERRIT)
On 2016/10/12 20:52:03, eae wrote: > This is great, thank you! Can has ltgm? :)
4 years, 2 months ago (2016-10-13 08:26:33 UTC) #19
eae
OOops, my bad LGTM!
4 years, 2 months ago (2016-10-13 17:30:10 UTC) #20
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/2396813002/80001
4 years, 2 months ago (2016-10-13 17:31:19 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-13 19:33:28 UTC) #24
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/462e2f8e1a0f0a09efa7c8bcc34da36fd7b532ca Cr-Commit-Position: refs/heads/master@{#425127}
4 years, 2 months ago (2016-10-13 19:35:33 UTC) #26
Gleb Lanbin
4 years ago (2016-12-06 23:54:27 UTC) #27
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/2558683002/ by glebl@chromium.org.

The reason for reverting is: need to revert the previously landed patch
http://crrev.com/415577 that blocks the release.

Powered by Google App Engine
This is Rietveld 408576698