-
Notifications
You must be signed in to change notification settings - Fork 258
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
Expected behaviour re outer table border with nonzero gutter? #1071
Comments
Hi @mjasperse and thank you for this report! 👍 To me this seems like a bug. Pinging @RubendeBruin about this, as he contributed most of the padding implementation, and may have extra useful information to share regarding this 😊 But it'd be nice to see how you fixed that, so feel free to submit a PR! |
When the outer border width is not specified then I think the border should be fragmented. I don't think there was really a use case for the combination of outer border width and padding when I implemented it. Having it continuous would be more efficient. |
@RubendeBruin thanks for the observation! I added a padding amount of |
* table: Changed drawing of outer border when gutter is nonzero [#1071] * test: Regenerated tests for new handling of outer border * table: Apply the gutter spacing between outer border and table contents [#1071] * Updated changelog for table outer border modification * table: Changed outer border calculation to use border edge instead of centre * table: Draw top and bottom outer border as one line * test: Regenerated tests for new interpretation of gutter spacing * table: Fixed header with gutter after pagebreak Header rows need gutter between them, as well as before the start of content; see test_table_with_colspan() * test: Reproduced comparison PDFs for outer border change Outer border top and bottom lines are now single continuous lines instead of many line segments
Hi guys,
Just wanted to clarify whether it is intended that the exterior border of a table is fragmented by the gutter. This seems like a bug to me, but the test suites have results committed indicating it is correct:
e.g.
test_outside_border_width()
e.g.
test_table_with_gutter_and_padding_and_outer_border_width()
I've changed it in my local version, but if this is the intended result I will move the change to outside the library.
Cheers,
Martijn
The text was updated successfully, but these errors were encountered: