https://issues.apache.org/ooo/show_bug.cgi?id=125316

          Issue ID: 125316
        Issue Type: DEFECT
           Summary: Writer does not accept CSS box model for paragraphs
           Product: Writer
           Version: OOo 3.3 or older
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: formatting
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 83743
  --> https://issues.apache.org/ooo/attachment.cgi?id=83743&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to