Issue 125316 - Writer does not accept CSS box model for paragraphs
Summary: Writer does not accept CSS box model for paragraphs
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 51844 66121 78132 97151 115997 (view as issue list)
Depends on:
Blocks:
 
Reported: 2014-07-28 12:57 UTC by Regina Henschel
Modified: 2014-07-28 13:09 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
example with margins, borders and padding (20.14 KB, application/vnd.oasis.opendocument.text)
2014-07-28 12:57 UTC, Regina Henschel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2014-07-28 12:57:52 UTC
Created attachment 83743 [details]
example with margins, borders and padding

In ODF1.2 the spacing around paragraphs is done with the properties
fo:margin, fo:border and fo:padding. [chapter 20.198, 20.176, 20.210] They have no own definitions, but take the definitions from $7 in XSL http://www.w3.org/TR/2001/REC-xsl-20011015/. And XSL uses directly the definitions from CSS2. And there we find the "Box model" http://www.w3.org/TR/CSS2/box.html. So in turn AOO should render paragraphs as defined in this "Box model".

1.
The margin area is transparent. In chapter 8.2 in CSS2 "Margin backgrounds are always transparent."
Error: Writer extends the paragraph background into the top-margin, see first page of attached document.

2.
The properties margin, border and padding are independent usable.
Error: Writer removes padding, when no border exists, see second page of attached document. The last text there should have a padding.

I have found several issues with descriptions from a user point of view. I will set them as duplicate to this. But the problems described there should be considered when working on this issue.
Comment 1 Regina Henschel 2014-07-28 12:59:23 UTC
*** Issue 97151 has been marked as a duplicate of this issue. ***
Comment 2 Regina Henschel 2014-07-28 13:04:47 UTC
*** Issue 66121 has been marked as a duplicate of this issue. ***
Comment 3 Regina Henschel 2014-07-28 13:05:56 UTC
*** Issue 115997 has been marked as a duplicate of this issue. ***
Comment 4 Regina Henschel 2014-07-28 13:07:55 UTC
*** Issue 51844 has been marked as a duplicate of this issue. ***
Comment 5 Regina Henschel 2014-07-28 13:09:48 UTC
*** Issue 78132 has been marked as a duplicate of this issue. ***