Hi, I'm new to this list, so I'd like to say hello to everybody here, first.

I am confused about the use of negative <length> values with the
'background-position-horizontal' and 'background-position-vertical'
attributes. In my current use-case, FOP just ignores these negative
values. I am not quite sure if this behavior is correct or this is a
bug.

The XSL 1.1 (http://www.w3.org/TR/xsl/#background-position-horizontal";
recommendation does not mention negative values. But it declares this
as "A Property Derived from a CSS2 Property".

The CSS2 specification
(http://www.w3.org/TR/REC-CSS2/colors.html#background-properties) says
for the 'background-position' property that "Negative positions are
allowed", without any further clarifications.

Thus, I am not quite sure, how this translates to XSL-FO.

I am running the following system:
* fop-0.94-bin-jdk1.4.tar.gz

* Sun java version 1.6.0_03
* Ubuntu 7.10 Gutsy Gibbon
* linux 2.6.22-14-generic (i686)

I am using the properties in the following context:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
   <fo:layout-master-set>
      <fo:simple-page-master master-name="PageMaster"
            page-height="8.5in" page-width="11in"
            margin-top="0" margin-left="0" margin-right="0" margin-bottom="0">
         <fo:region-body column-count="2" column-gap="20mm"
               border-style="none" border-width="thin"
               margin-top="16mm" margin-left="16mm"
margin-right="16mm" margin-bottom="16mm"
               background-image="url('layout.svg')"
               background-position-horizontal="-16mm"
               background-position-vertical="-16mm" />
[etc]

BTW: What I am trying to do, is to add some page-decorations that are
larger than my region-body. Sadly, 'simple-page-master' does not
accept background properties.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to