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

Fixes #752 - Use non-bevelled borders for collapsed table cells. #755

Closed
wants to merge 1 commit into from

Conversation

danfickle
Copy link
Owner

This stops them being anti-aliased which can look awful. I was able to piggy back off someone's work to remove bevelling on collapsed table cell borders from 14 years ago. It must have broke a long the way before automated testing was introduced.

Fixes #752, fixes #310.

Unfortunately this will break tests incorporating collapsed tables with table cell borders because of the tiny difference at the removed bevel. Any objections to merging?

P.S Release this week is planned.

with solid style borders only.

This should stop them being anti-aliased and problematic.

Unfortunately some tests had to be re-proofed for this change.

Additional test kindly provided by @gandboy91
@syjer
Copy link
Contributor

syjer commented Sep 8, 2021

nice, I would guess it also fix #635 ?

danfickle added a commit that referenced this pull request Sep 10, 2021
…isable bevels on borders.

Doing so avoids ugly anti-aliasing effects, especially on tables. Property is:
-fs-border-rendering: no-bevel and inherits so can be set at the table level to apply to all cells.

This commit is a better alternative to the work in #755.
@danfickle
Copy link
Owner Author

Replaced with #761 which adds a property to explicitly disable bevelling, and thus avoids broken tests.

@danfickle danfickle closed this Sep 10, 2021
@danfickle
Copy link
Owner Author

I'll remove the backing branch for this PR as #761 is essentially an extension of the changes.

@danfickle danfickle deleted the fix_752_table_cell_borders branch September 12, 2021 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants