Uploaded image for project: 'OASIS Open Document Format for Office Applications (OpenDocument) TC'
  1. OASIS Open Document Format for Office Applications (OpenDocument) TC
  2. OFFICE-4092

negative value of fo:text-indent different to CSS in regard to background fill

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: ODF 1.4
    • Component/s: Part (Schema), Text
    • Labels:
      None

      Description

      The description for fo:text-indent (20.225, part 3, ODF 1.3) refers to ยง7.15.11 of [XSL], which in turn refers to CSS http://www.w3.org/TR/REC-CSS2/text.html#propdef-text-indent.
      When you use this attribute with negative value together with fo:margin-left on a paragraph with background color, you will notice, that the colored area is different in text documents compared to rendering in browsers.
      Word, LibreOffice and SoftMaker render the colored area so, that the entire text is included. Browsers (tested Seamonkey and Chrome) render the colored area so, that they take the margin-left value and render part of the first line outside the colored area.
      I suggest to add, that in ODF the outset part is handled as paragraph content area too, in contrast to the rendering of these attribute in a browsers.

        Attachments

          Activity

            People

            • Assignee:
              regina.henschel Regina Henschel
              Reporter:
              regina.henschel Regina Henschel
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: