title: Why overflow in block-progression?
body: <p>I put an image of height <code>5cm</code> into a <code>block-container</code> of height <code>5cm</code>. I expect that the image should fit perfectly, but actually <code>fop</code> gives a warning:</p>
  
  <pre><code>WARNUNG: Content overflows the viewport of an fo:block-container
  in block-progression direction by 5784 millipoints. (See position
  19:10)
  </code></pre>
  
  <p>The border, margins and padding are disabled. What else should I disable?</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"&gt;
  &lt;fo:layout-master-set&gt;
  &lt;fo:simple-page-master master-name="bodypage" page-height="29.7cm" page-width="21.0cm" margin="0cm"&gt;
  &lt;fo:region-body /&gt;
  &lt;/fo:simple-page-master&gt;
  &lt;/fo:layout-master-set&gt;
  &lt;fo:page-sequence master-reference="bodypage"&gt;
  &lt;fo:flow flow-name="xsl-region-body"&gt;
  
      &lt;fo:block-container
        absolute-position = "fixed"
        background-color  = "yellow"
        margin-right      = "5cm"
        top    = "5cm"
        left   = "5cm"
        height = "5cm"
        &gt;&lt;fo:block border="none" padding="0" margin="0"
          &gt;&lt;fo:external-graphic border="none" padding="0" margin="0"
            src="dummy.pdf" width="5cm" height="5cm"
            content-height="scale-to-fit" content-width="scale-to-fit"
          /&gt;&lt;/fo:block
        &gt;&lt;/fo:block-container&gt;
  
  &lt;/fo:flow&gt;
  &lt;/fo:page-sequence&gt;
  &lt;/fo:root&gt;
  </code></pre>
  
  <p>By the way, the image in PDF has yellowspace above:
  <a href="https://i.stack.imgur.com/2qVuI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2qVuI.png" alt="enter image description here"></a></p>