You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "João André Gonçalves (Jira)" <ji...@apache.org> on 2024/01/02 11:13:00 UTC

[jira] [Commented] (FOP-3164) Footnote anchor within fo:basic-link not navigating to corresponding footnote

    [ https://issues.apache.org/jira/browse/FOP-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17801740#comment-17801740 ] 

João André Gonçalves commented on FOP-3164:
-------------------------------------------

The problem lies with the setParentArea method in BasicLinkArea. This method will make sure that the basic link area covers any children of the BasicLink, and basically "covers" the footnote internal reference. 

> Footnote anchor within fo:basic-link not navigating to corresponding footnote
> -----------------------------------------------------------------------------
>
>                 Key: FOP-3164
>                 URL: https://issues.apache.org/jira/browse/FOP-3164
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.8, 2.9
>            Reporter: Raman Katsora
>            Priority: Major
>         Attachments: test.fo, test.pdf
>
>
> When a footnote anchor is placed within the {{<fo:basic-link>}} element, the expected behavior of navigating to the corresponding footnote upon clicking is not observed. Instead, the click action directs the user to follow the link associated with the {{<fo:basic-link>}} element, rather than transitioning to the targeted footnote.
> *Actual Behavior:*
> Clicking on the footnote anchor redirects users to follow the link associated with <fo:basic-link>.
> *Expected Behavior:*
> Clicking on the footnote anchor transitions users to the corresponding footnote.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)