https://issues.apache.org/bugzilla/show_bug.cgi?id=50763

           Summary: [PATCH] Size basic-link areas according to descendant
                    areas
           Product: Fop
           Version: all
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: page-master/layout
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: vhenneb...@gmail.com


Created an attachment (id=26641)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26641)
Patch implementing the change

The descendants of an inline-area are not taken into account when computing the
height of the inline-area.

The main real-life scenario is the following: when an image is surrounded by a
basic-link element, only a small part of it becomes active ("clickable"), not
the whole image.

See full discussion there:
http://markmail.org/thread/d2a5p4dufipdgfp2

Bug report at W3C: http://www.w3.org/Bugs/Public/show_bug.cgi?id=11672

The attached patch breaks the XSL-FO 1.1 Recommendation and sizes basic-link
areas according to their descendant areas. More precisely, the
block-progression-dimension of the content-rectangles of basic-link areas is
computed so as to encompass all the allocation-rectangles of the descendant
areas.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to