Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1207

Absolutely positioned block-container affects the normal-flow layout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 0.92
    • None
    • renderer/awt
    • None
    • Operating System: other
      Platform: Other
    • 39968

    Description

      When he block following the absolutely positioned block-container has
      space-before property defined, this property applies and the (second) block is
      shifted down from the block-container.

      Comments from Jeremias Maerki (fop-user list):
      Indeed, the BlockContainerLayoutManager creates a KnuthBox (w=0) in the
      element list for the absolutely positioned block-container which is
      currently interpreted by the SpaceResolver as a fence. And a fence makes
      the SpaceResolver believe that there's content before the space. Looks
      like we should find a solution to indicate to the SpaceResolver which
      boxes are no fences. Another example would be the often-used empty block
      at the end of the flow for "page x of y" which probably creates a fence,
      too.

      Attachments

        1. absolute-position.fo
          1 kB
          Martin Zak
        2. absolute-position_with-container.pdf
          2 kB
          Martin Zak
        3. absolute-position_no-container.pdf
          2 kB
          Martin Zak

        Activity

          People

            Unassigned Unassigned
            martin.zak@gingerall.com Martin Zak
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: