Re: [csswg-drafts] [css-page] control space before element depending on page position

There's precedent for this in Antenna House Formater, and we are 
considering supporting it or something similar in Vivliostyle:

https://www.antennahouse.com/product/ahf60/docs/ahf-ext.html#axf.margin-break

> margin-break
> 
> Specifies how to treat the margin when the page/column breaks.
> Value:        [ auto | discard | keep ] keep?
> Initial:      auto
> Applies to:   block elements
> Inherited:    no
> Percentages:  N/A
> 
> Values have the following meanings.
> 
> auto
>  Retains the margin on the before side of the block
>  placed at the start of the document or right after
>  the forced page/column break. Except for that, it
>  is the same as discard. 
>
> discard
>  Discards the margin. 
>
> keep
>  Retains the margin on the before side. When the
>  second keep is specified, the margin on the after
>  side is also retained. 
> 
> 

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/253#issuecomment-229367559 
using your GitHub account

Received on Wednesday, 29 June 2016 14:10:29 UTC