Skip to content

CSS: background-* defects #633

@daemonblade

Description

@daemonblade

I have a few books that use background-* CSS tags:

{
    background-image: url(../Images/separator.jpg);
    background-size: 10em auto;
    background-position: 50% 1em;
    background-repeat: no-repeat;
}

When it renders on KOReader:

  • image is correct
  • image size is acceptable
  • no-repeat is honoured
  • positioning is incorrect. It renders on the top-left corner.

Additionally, if multiple background images are presented:

{
    background-image: url(../Images/orn-above.png), url(../Images/orn-below.png);
    background-size: 40% auto, 40% auto;
    background-position: 50% 0, 50% 95%;
    background-repeat: no-repeat, no-repeat;
}

No images are rendered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions