XSLT/XSL-FO/MathML テクニック空白 |
|
Q. |
space-before にマイナス値を指定したのですが、その前の行に重なりません。なぜですか。
[No.2004032510]
|
---|---|
A. |
例えば、次のようなFOです。 <fo:block>Sample1</fo:block> <fo:block space-before="-1cm">Sample2</fo:block> W3CのXSL-FO仕様の勧告には以下のようにあります。 3. Alternatively if all of the remaining space-specifiers in S' are
non-forcing, then the resolved spacespecifier is defined in terms of those
non-suppressed space-specifiers whose precedence is numerically highest,
and among these those whose optimum value is the greatest. All other
space-specifiers are suppressed. If there is only one of these then its
value is taken as its resolved value. Otherwise, follow these rules when
there are two or more space-specifiers all of the same highest precedence
and the same (largest) optimum: The resolved space-specifier of the last
space-specifier in the sequence is derived from these spaces by taking
their common optimum value as its optimum.
直前の |