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 "Björn Kautler (Jira)" <ji...@apache.org> on 2021/11/08 15:18:00 UTC

[jira] [Commented] (FOP-2515) [PATCH] Use default value for keep-with-next if inherit and parent has no explicit value

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

Björn Kautler commented on FOP-2515:
------------------------------------

[~cbowditch]?

> [PATCH] Use default value for keep-with-next if inherit and parent has no explicit value
> ----------------------------------------------------------------------------------------
>
>                 Key: FOP-2515
>                 URL: https://issues.apache.org/jira/browse/FOP-2515
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Björn Kautler
>            Priority: Major
>         Attachments: issue-2515.patch
>
>
> If I have keep-with-next="inherit" on a fo:block, but no explicit value on the parent FO, FOP tells me this with {{keep-with-next="inherit" on fo:block, but no explicit value found on the parent FO.}}.
> I'd expect that inherit just inherits what is used on the parent, no matter whether this is explicitly set or not.
> So if the parent is using the default value, the one that inherits should simply also use the default value and not output anyhting.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)