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

Suppress rowspan and colspan from table cells unless present AND non-zero #1102

Merged

Conversation

tjquinno
Copy link
Member

@tjquinno tjquinno commented Jan 23, 2025

Resolves helidon-io/helidon#9676

The previous change #1097 expected cell.rowspan and cell.colspan to be missing if they had not been specified. In fact, they were present with a value of 0. So every table cell had explicit settings for both of 0.

That rendered fine in Safari but not in Chrome or Firefox.

This PR conditionalizes the span specification further by checking that the value is present and non-zero before adding the corresponding xxxspan attribute.

@tjquinno tjquinno self-assigned this Jan 23, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 23, 2025
@romain-grecourt romain-grecourt merged commit 2fb9240 into helidon-io:master Jan 27, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4.x: docs: tables are messed up after upgrade to build-tools 4.0.15
2 participants