conversion ignores "*" css selector
Bug #1369753 reported by
Tor Andersson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
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.
To post a comment you must log in.
Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.
status fixreleased