Jan Tošovský created FOP-2640:

             Summary: A new Area Tree block-like element allowed in inline 
                 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

Reply via email to