View Single Post
Old 06-29-2016, 06:23 PM   #3
cedhax
Addict
cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.
 
Posts: 286
Karma: 1546488
Join Date: Jan 2016
Device: ipad
Quote:
Originally Posted by ShellShock View Post
I have a commercial epub that displays paragraphs with text-indent: -1em differently between M2 and M3. M3 is truncating from the left (see first attachment), whereas M2, ADE and Calibre viewer do not truncate.

Attachment 149754

The attached Test - ShellShock.epub demonstrates the problem (the first paragraph).

Attachment 149756

I am not sure what the correct behaviour should be? Is M3 correct and the other viewers wrong?
Calibre E-book Viewer is correct, and Marvin 3 is wrong. What a step backward from Marvin 2 (now Marvin Classic)!

A good test case. The actual text-indent of an HTML element should be relative to that of its parent (and recursively).

Another way to see who's right is by unzipping the test case, and opening the relevant HTML file in your favorite desktop browser.
cedhax is offline   Reply With Quote