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

Issue 2803383002: The first table row is pushed down by border-spacing. (Closed)

Created:
3 years, 8 months ago by mstensho (USE GERRIT)
Modified:
3 years, 7 months ago
Reviewers:
rhogan, eae
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
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

The first table row is pushed down by border-spacing. We need to make sure this happens *before* laying it out when inside a fragmentation context. Added tests fast/multicol/balance-table-with-border-spacing.html and fragmentation/table-with-border-spacing.html for this. This change also fixes breaking inside border-spacing adjacent to table rows with break-inside:avoid set. There should be no reason to prevent breaking inside border spacing, just because it's adjacent to such table rows, but it looks like this was the behavior we got, by accident. Updated printing/avoid-setting-header-offset-on-header.html accordingly and threw in an additional test fragmentation/border-spacing-break-before-unbreakable-row.html for this collateral fix. It's hopefully correct, since we now match Edge's behavior. BUG=709387, 534751 Review-Url: https://codereview.chromium.org/2803383002 Cr-Commit-Position: refs/heads/master@{#469690} Committed: https://chromium.googlesource.com/chromium/src/+/97b20197a53d323f7b2d92581d97817ea85ea0a4

Patch Set 1 #

Patch Set 2 : rebase master #

Patch Set 3 : rebase master #

Patch Set 4 : rebase master #

Patch Set 5 : rebase master #

Patch Set 6 : break-inside:avoid on a row shouldn't prevent breaking inside adjacent border spacing #

Messages

Total messages: 24 (16 generated)
mstensho (USE GERRIT)
3 years, 8 months ago (2017-04-07 22:20:52 UTC) #3
eae
LGTM
3 years, 8 months ago (2017-04-08 06:49:35 UTC) #7
mstensho (USE GERRIT)
On 2017/04/08 06:49:35, eae wrote: > LGTM Thanks for the review! I need to figure ...
3 years, 8 months ago (2017-04-08 18:50:01 UTC) #8
mstensho (USE GERRIT)
On 2017/04/08 18:50:01, mstensho wrote: > On 2017/04/08 06:49:35, eae wrote: > > LGTM > ...
3 years, 7 months ago (2017-05-05 13:29:17 UTC) #14
eae
On 2017/05/05 13:29:17, mstensho wrote: > On 2017/04/08 18:50:01, mstensho wrote: > > On 2017/04/08 ...
3 years, 7 months ago (2017-05-05 16:30:28 UTC) #17
rhogan
lgtm
3 years, 7 months ago (2017-05-05 17:00:45 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/2803383002/100001
3 years, 7 months ago (2017-05-05 17:01:12 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 17:09:36 UTC) #24
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/97b20197a53d323f7b2d92581d97...

Powered by Google App Engine
This is Rietveld 408576698