Skip to content

feat(html): support background-color and bgcolor on chunks in simple … - #1

Draft
ovesen wants to merge 1 commit into
masterfrom
feat/html-background-color
Draft

feat(html): support background-color and bgcolor on chunks in simple …#1
ovesen wants to merge 1 commit into
masterfrom
feat/html-background-color

Conversation

@ovesen

@ovesen ovesen commented Jul 2, 2026

Copy link
Copy Markdown
Owner

…parser

Map the CSS background-color property to the internal bgcolor key in both FactoryProperties.InsertStyle overloads and apply it as the chunk background in CreateChunk. The legacy bgcolor tag attribute works as well, since tag attributes flow into ChainedProperties automatically.

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows Conventional Commits
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Other... Please describe:

What is the current behavior?

Closes #

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

…parser

Map the CSS background-color property to the internal bgcolor key in both
FactoryProperties.InsertStyle overloads and apply it as the chunk background
in CreateChunk. The legacy bgcolor tag attribute works as well, since tag
attributes flow into ChainedProperties automatically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant