[Libreoffice-bugs] [Bug 39756] Paragraph background color may extend too far FORMATTING

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri May 26 15:48:13 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=39756

--- Comment #14 from Regina Henschel <rb.henschel at t-online.de> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170526/622b742c/attachment.html>


More information about the Libreoffice-bugs mailing list