Skip to content

slack q and a 2020 02 11

akabeko edited this page Feb 15, 2020 · 1 revision

2020-02-11

Time (UTC) Icon Name Message
02:03 shinyu Images cannot span multiple pages. You should prepare divided images for such purpose.

See also the CSS Fragmentation spec,
https://www.w3.org/TR/css-break-3/#possible-breaks

Some content is not fragmentable, for example many types of replaced elements [CSS21] (such as images or video), scrollable elements, or a single line of text content. Such content is considered monolithic: it contains no possible break points.
02:03 Kiara Translation 🇯🇵: 画像は複数のページにまたがることはできません。このような目的のために、分割されたイメージを準備する必要があります。

CSS Fragmentationの仕様もご覧ください。
https://www.w3.org/TR/css-break-3/#possible-breaks

>たとえば、多くの種類の「置換要素」[CSS21](画像やビデオなど)、スクロール可能な要素、または単一行のテキストコンテンツなど、一部のコンテンツは断片化できません。このようなコンテンツは、モノリシックと見なされます。可能なブレークポイントは含まれていません。
02:39 shinyu @Raissa By the way, in your stylesheet page.css, the size property is used outside the @page {…} context. In the current W3C CSS spec, the size property is only for page size in the @page context. This may change in the future, see https://github.com/vivliostyle/vivliostyle/issues/554 and https://github.com/w3c/csswg-drafts/issues/820, but now the size property is ignored outside the @page {…}.
[w3c/csswg-drafts] #820 [css-sizing] Adding a 'size' shorthand for 'width'/'height'
02:39 Kiara Translation 🇯🇵:  ところで、スタイルシートの page.cssでは、 sizeプロパティは @page {…}コンテキストの外側で使用されます。現在のW3C CSS仕様では、 sizeプロパティは @ pageコンテキストのページサイズ専用です。これは将来変更される可能性があります。https://github.com/vivliostyle/vivliostyle/issues/554およびhttps://github.com/w3c/csswg-drafts/issues/820を参照してください。ただし、 sizeプロパティは、 @ page {…}`の外側では無視されます。
02:40 Raissa Ah thank you, I'll look into that! And good catch on the size propery, my mistake 🤦‍♀️
02:40 Kiara Translation 🇯🇵: ああ、ありがとう、私はそれを調べます!そして、 sizeプロパティの良いキャッチ、私の間違い:woman-facepalming:
03:11 Raissa In terms of divided images, do you mean having two separate images, one on each page, the first showing the left half of the image, and the second showing the right half of the image?
03:11 Kiara Translation 🇯🇵: 分割された画像に関して、各ページに1枚ずつ、2つの画像があり、1つ目は画像の左半分を示し、2つ目は画像の右半分を示しているということですか?
03:12 shinyu Yes.
03:12 Kiara Translation 🇯🇵: はい。
Clone this wiki locally