Skip to content

bgcolor and text on body, bgcolor on table row groups, and background on tables and cells are ignored #663

Open

Description

@jakejackson1

These HTML presentational attributes are not read, in either cssMode:

  • bgcolor and text on body
  • bgcolor on thead, tbody and tfoot
  • background on tables and cells
<body bgcolor="#ff0000" text="#0000ff"><p>body</p></body>

draws no red page background and black text.

<table><thead bgcolor="#ff0000"><tr><td>h</td></tr></thead></table>

draws no red background.

Reproduced on gravitypdf at 5be2e92, both modes. The background attribute was not checked here. It is listed in #641.

Found in #641. Related: #531.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions