forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only add trailing border/padding to the right fragment.
We used to always subtract trailing border/padding for every fragment that shouldn't have it, but this changed for table cells in CL:4303193. To fix this, make sure that we only include trailing border/padding when at the fragment that has the block-end edge of the box. Bug: 1425075 Change-Id: Id7afa2eee764e1a8bb3017a90b212495278fe623 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4345873 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/main@{#1118245}
- Loading branch information
Showing
3 changed files
with
33 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
third_party/blink/web_tests/external/wpt/css/css-break/table/table-cell-border-001.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> | ||
<link rel="help" href="https://www.w3.org/TR/css-break-3/#box-splitting"> | ||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1425075"> | ||
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht"> | ||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> | ||
<div style="columns:2; gap:0; column-fill:auto; width:100px; height:100px; background:red;"> | ||
<div style="display:table; width:100%;"> | ||
<div style="display:table-cell; border-bottom:50px solid green; background:red;"> | ||
<div style="height:150px; background:green;"></div> | ||
</div> | ||
</div> | ||
</div> |