<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Paragraph background color may extend too far FORMATTING"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=39756#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Paragraph background color may extend too far FORMATTING"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=39756">bug 39756</a>
              from <span class="vcard"><a class="email" href="mailto:rb.henschel@t-online.de" title="Regina Henschel <rb.henschel@t-online.de>"> <span class="fn">Regina Henschel</span></a>
</span></b>
        <pre>The problem here is not the box model directly. There exist two problems:

(1) To get the border around two adjacent paragraphs without a border line
between the paragraph, the attribute style:join-border (20.292 in ODF spec part
1) is used. It has the text "The style:join-border property specifies whether a
border for one paragraph is to be extended around the following paragraph." But
is does not explain, how this has to be done. Especially it does not say, how
to handle the margin-bottom of the first and margin-top of the second
paragraph. This attribute is not based on any XSL-FO or CSS property, in
contrast to the margin/border/padding properties.

(2) If two paragraphs of the same style follow directly, then the background
color is extended into the margins between them. That is, what user want. But I
doubt, that this is correct according to specification. It might be, that the
specification has to be adapted. If the styles are different, then the
transparent margin is kept. Word has a total different concept. 

It is not clear, what the correct/best solution is. Only the current rendering
is surely wrong.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>