Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

bug: author-defined text colors no longer rendering in all settings #187

@thedirk

Description

@thedirk

Bug in new release (0.29 Chrome App):

Expected Behavior

Previous releases in Readium performed as expected with regard to colored text.

In Settings > Style > Text & Background Color, any theme selected retained hard-coded color-coding (text colors defined by HTML span tags)... While default text colors (e.g., plain black text) varied according to theme.

In Settings > Layout > Scroll mode, hard-coded color text displayed as colored text throughout all three options.

Observed behavior

The current release of Readium does not perform as expected with regard to colored text.

In Settings > Style > Text & Background Color, only "Default Author Styles" properly displays text colors. All other themes for all text to "Theme Default" color.

In Settings > Layout > Scroll mode, hard-coded color text displays properly only on the "Auto" setting. Both "Document" and "Continuous scroll" settings force all text to default.

Steps to reproduce

  1. First, create an EPUB with color text. (Mine is defined in the .xhtml text file, I haven't tested for CSS defined color text). Or, use my test file (below).
    For example:

    Here is some text in color

  2. Then, import the EPUB into the Google Chrome Readium App.

  3. Open it.

  4. Change the settings (particularly Scroll Mode and Theme)—the color used to be stable throughout these options (as expected), and is no longer.

Test file(s)

https://drive.google.com/open?id=1wgQHQRZm3crGD9zYqgdYX7oEgf_KZKcY

Product

  • Readium Chrome extension
    • latest official version available from the Chrome Web Store
    • Version 63.0.3239.84 (Official Build) (64-bit)
    • Windows 10 (64 bit)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions