Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent border-spacing truncation. #35475

Merged
merged 1 commit into from
Aug 16, 2022

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Aug 15, 2022

With this change, we'll treat border-spacing pretty much like margins,
as far as block fragmentation is concerned. That is, we'll now truncate
them at fragmentainer boundaries. This also includes border-spacing
before repeated table headers, which affects quite a few tests in
fragmentation/ and printing/. Set border-spacing to 0 in some tests (and
compensate by adding padding to the table cells where it makes sense, so
that we don't affect the block-size of the contents too much (which
would require bigger test rewrites)).

Also add new tests that use non-zero border-spacing. They are marked as
tentative, since exact behavior here is undefined.

Bug: 1335870
Change-Id: I230d33cb165276dba044158cd97b892844bf8ac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3829558
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1035467}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-3829558 branch 4 times, most recently from 55f70b7 to 0d6c631 Compare August 16, 2022 10:46
With this change, we'll treat border-spacing pretty much like margins,
as far as block fragmentation is concerned. That is, we'll now truncate
them at fragmentainer boundaries. This also includes border-spacing
before repeated table headers, which affects quite a few tests in
fragmentation/ and printing/. Set border-spacing to 0 in some tests (and
compensate by adding padding to the table cells where it makes sense, so
that we don't affect the block-size of the contents too much (which
would require bigger test rewrites)).

Also add new tests that use non-zero border-spacing. They are marked as
tentative, since exact behavior here is undefined.

Bug: 1335870
Change-Id: I230d33cb165276dba044158cd97b892844bf8ac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3829558
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1035467}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants