conversion ignores "*" css selector

Bug #1369753 reported by Tor Andersson on 2014-09-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

An EPUB with a CSS selector consisting of a plain wildcard, is not applied to the proper elements,
resulting in messed up paragraph spacing and margins if converting to MOBI.

Test a plain HTML page with this stylesheet:

* { margin: 0 }
p { text-indent: 1em }

Viewed as EPUB, the book has indented paragraphs with no space between. Converted to MOBI, the book has indented paragraphs with space between (default margins, as if the "*" selector was ignored).

This is a common selector in stylesheets from Hachette's recent book releases.

Tested with several versions of calibre. The problem still exists in version 2.3.0.

Tor Andersson (tor-b) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers