Bug 696001

Summary: borders aren’t displayed in ePub CSS
Product: MuPDF Reporter: Pablo Rodríguez <ghostscript>
Component: epubAssignee: Tor Andersson <tor.andersson>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fred.ross-perry, tor.andersson
Priority: P4    
Version: master   
Hardware: Other   
OS: All   
Customer: Word Size: ---
Bug Depends on:    
Bug Blocks: 695935    
Attachments: ePub with border in link

Description Pablo Rodríguez 2015-05-19 11:07:01 UTC
Created attachment 11695 [details]
ePub with border in link

http://bugs.ghostscript.com/attachment.cgi?id=11693 contains a link with the following CSS code:

    a {
        border: 1px solid #aaaaaa;
        }

But border isn’t displayed at all.

Attached an image showing the difference between mupdf and calibre displaying the file.

Pablo
Comment 1 Tor Andersson 2015-05-20 04:31:42 UTC
We only draw borders (and background-colors) on block level elements, not inline elements. A known limitation, which should be fixed.
Comment 2 Pablo Rodríguez 2017-11-26 12:15:05 UTC
Issue still present in version 1.12-rc1.
Comment 3 Pablo Rodríguez 2020-02-13 19:06:58 UTC
This report is two years old.
Comment 4 Tor Andersson 2021-02-16 14:10:56 UTC

*** This bug has been marked as a duplicate of bug 695935 ***