jonkemp / jonkemp/inline-css

Handle shortform CSS for bgcolor in tables

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
JavaScript
Stars
438
Forks
77
PR merge metrics
No merged PRs in 30d

Description

the `bgcolor` attribute is being filled in when the background color is set on a table elements via css.

However it only works if you write `background-color: blue`

It should also support the short form css of `background: blue`

Use something like https://www.npmjs.com/package/css-shorthand-expand to expand the properties before converting to table attributes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.