View Single Post
Old 05-20-2017, 10:43 AM   #274
Divingduck
Wizard
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
Quote:
Originally Posted by kovidgoyal View Post
@DD: That image is buggy, if you look at they style attribute on the <svg> tag it has max-with and max-height defined without units. That's why it gets blown up. And note that it only gets blown up in Firefox, not Chrome. Probably the ebook authors only tested it on webkit based rendering engines (which botht he calibre viewer and chrome have), which are more common so that's why they didn't notice the problem. In any case if you fix the max-width it will be fine in firefox as well.
Thanks for the feedback. I guess the publisher tests against ADE too. I checked my books from this Publisher (~30) with the editor and a lot show the same coding and behavior with Firefox. My eReader's from Sony and Pocketbook and different viewer like ADE and your GUI-Viewer do not have an issue with it. Anyway, I won't change the books for Firefox only. But I need to remember, that the combination svg/viewbox/units and Firefox sometimes have problems.
The point I wonder about is, why Firefox need a unit where others do not need it. I often don't use units too because of the fallback to px if I want to measure in px for my ebook and as fare as I remember, I had never a problem with this. But maybe I had only luck in the past.

Again, thanks for looking to this.

Best regards, DD
Divingduck is offline   Reply With Quote