Re: [css-break][css-overflow-3][css-regions][css4-ui] generalizing 'region-fragment' into a fragmentation primitive: a first step to solving multi-line ellipsis

On 01/20/2015 08:13 AM, Florian Rivoal wrote:
> [... lots of stuff ...]

Florian and I were bikeshedding the fragmentation property after-hours.
(Briefly, this is a new property that is split off from 'overflow',
taking along all the fragmentation-related values.)

Proposal so far is

   continue: auto | overflow | paginate | clone | discard | next

   overflow - content that doesn't fit overflows, according to 'overflow'

   paginate - content that doesn't fit paginates (formerly overflow: paged)
              This creates a paginated view inside the element similar to
              the way that 'overflow: scroll' creates a scrollable view.
              Pages can be styled with @page rules. Print is effectively
              continue: paginate on the root.

   clone - content that doesn't fit causes the element to copy itself
           and continue laying out (formerly overflow: fragment)

   discard - content that doesn't fit is discarded at a fragmentation
             break (generalized from region-fragment: break; on the
             last region of a region chain)

   next - content that doesn't fit is pushed to the next region. If
          there isn't a next region, it overflows. [Behavior could
          have been to discard, but I think discarding anything should
          be a very explicit behavior.]

~fantasai

Received on Tuesday, 10 February 2015 03:08:57 UTC