Bug 696000 - css property 'width' is not respected
Summary: css property 'width' is not respected
Status: RESOLVED FIXED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: epub (show other bugs)
Version: master
Hardware: Other All
: P4 normal
Assignee: MuPDF bugs
URL:
Keywords:
Depends on:
Blocks: 695935
  Show dependency tree
 
Reported: 2015-05-19 10:54 UTC by Pablo Rodríguez
Modified: 2017-11-26 12:05 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
ePub with wrong margins (3.39 KB, application/epub+zip)
2015-05-19 10:54 UTC, Pablo Rodríguez
Details
mupdf & calibre display (7.96 KB, image/png)
2015-05-19 10:59 UTC, Pablo Rodríguez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Rodríguez 2015-05-19 10:54:14 UTC
Created attachment 11693 [details]
ePub with wrong margins

Hi Tor,

the attached ePub document contains an element with the following CSS code:

    .colophon {
        padding-top: 40%;
        margin-left: 10%;
        width: 80%;
        }

For some strange reason, mupdf (commit 2dd8a8e) understands that margin-right is 0% and recalculates margin-left as being 20%.

Sorry, but I’m afraid this is wrong.

Many thanks for your help,


Pablo
Comment 1 Pablo Rodríguez 2015-05-19 10:59:07 UTC
Created attachment 11694 [details]
mupdf & calibre display

mupdf display on the left and ebook-viewer from calibre display on the right.
Comment 2 Pablo Rodríguez 2016-04-10 01:34:05 UTC
Not sure whether this issue may be a duplicate of bug #695941.
Comment 3 Pablo Rodríguez 2016-11-15 10:29:35 UTC
This issue is still present in version 1.10-rc1.
Comment 4 Pablo Rodríguez 2017-11-26 12:05:49 UTC
Issue has been fixed in version 1.12-rc1.