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 "Jan Tošovský (JIRA)" <ji...@apache.org> on 2016/08/02 20:26:20 UTC

[jira] [Created] (FOP-2640) A new Area Tree block-like element allowed in inline content

Jan Tošovský created FOP-2640:
---------------------------------

             Summary: A new Area Tree block-like element allowed in inline content
                 Key: FOP-2640
                 URL: https://issues.apache.org/jira/browse/FOP-2640
             Project: FOP
          Issue Type: Improvement
          Components: unqualified
    Affects Versions: trunk
            Reporter: Jan Tošovský


The current element coverage of Area Tree output doesn't seem to be sufficient for storing change-bars details. As change bars are rendered in the margin, they have to be rendered as absolutely positioned block elements. However, change bars can be triggered by inline elements as well, e.g. when marking phrases within the text. However, in such cases block elements can become children of inline elements which is invalid 'area tree' outcome (cannot be parsed by Intermediate Format parser).

To implement features like changebars it is necessary to introduce a new area tree element (e.g. wrapper) with relaxed rules so it can be placed in both block/inline context. It will inherit all properties from a block element (and will be rendered as a block).




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)