[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] epub3 cover bug?
That's a
bug. The imageobject generates a table to manage a viewport,
but that generated table does not get processed as a node set
(as it should) to fix up its attributes for epub3.Â
Bob
The epub3 stylesheet takes: <cover> <mediaobject role="cover"> <imageobject> <imagedata width="554px" format="PNG" fileref="images/TitlePage.png"/> </imageobject> </mediaobject> </cover> and produces cover.xhtml: <?xml version="1.0" encoding="utf-8" standalone="no"?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Cover</title> <style type="text/css"> img { max-width: 100%; }</style> </head> <body> <div id="cover-image"> <table border="0" style="cellpadding: 0; cellspacing: 0;" width="554"> <tr> <td> <img src="" width="554"/> </td> </tr> </table> </div> </body> </html> But epubcheck3 isn't happy, because border="0" should be border="", and <table> should have no width attribute. Bug? Or user error? Mike --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]