From 082e4693eda6db1cb5b6837005f97f7d7f597e75 Mon Sep 17 00:00:00 2001 From: Johannes Wilm Date: Wed, 27 May 2015 20:17:22 -0400 Subject: [PATCH 1/2] [css-page-floats] typo --- css-page-floats/Overview.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css-page-floats/Overview.bs b/css-page-floats/Overview.bs index 9177125f5c8..88a827dec42 100644 --- a/css-page-floats/Overview.bs +++ b/css-page-floats/Overview.bs @@ -944,7 +944,7 @@ canvas { Page floats with float references with fixed heights -If a page floats are inside a float reference with a fixed height, the float +If page floats are inside a float reference with a fixed height, the float reference is filled up until it cannot contain the following page float. All subsequent page floats are deferred to the next column/region/page. From a043f07aebfc1426467d5099d7e73246c99d24d2 Mon Sep 17 00:00:00 2001 From: Johannes Wilm Date: Wed, 24 Jun 2015 14:13:51 +0200 Subject: [PATCH 2/2] [css-page-floats] variably sized float references and basic deferring beyond the last fragmentation container --- css-page-floats/Overview.bs | 55 +++++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 24 deletions(-) diff --git a/css-page-floats/Overview.bs b/css-page-floats/Overview.bs index a437b30c53e..4eb49358b71 100644 --- a/css-page-floats/Overview.bs +++ b/css-page-floats/Overview.bs @@ -5,7 +5,7 @@ Shortname: css-page-floats Level: 3 Group: csswg Status: ED -Work Status: Exploring +!Work Status: Exploring ED: http://dev.w3.org/csswg/css-page-floats/ Previous Version: https://hg.csswg.org/drafts/raw-file/108d7e3ff204/css-page-floats/Overview.html Editor: Johannes Wilm, Vivliostyle, johanneswilm@vivliostyle.com @@ -829,6 +829,33 @@ img { + +

+ Size determination of float references and automatic deferring of page floats +

+ + Float references are grown up to the their `max-height` and `max-width` or their + `available size`, whichever is the lowest, as they are filled up until it cannot + contain the following page float. All subsequent page floats are automatically + deferred to the next `fragmentation container`. + +

+ Automatic deferring of page floats beyond the last `fragmentation container` +

+ + If the process of automatic deferring leads to floats being deferred from the + last available `fragmentation container`, and the `fragmentation context` allows + for the addition of another `fragmentation container`, a new `fragmentation + container` is added to the end of the `fragmentation context`. + + If the process of automatic deferring leads to floats being deferred from the + last available `fragmentation container`, the `fragmentation context` does + not allow for the addition of another `fragmentation container`, and the + `fragmentation container` is a `region`, then the `regionOverset` attribute of + the `fragmentation container` is set to `overset` and a `regionoversetchange` + event for the corresponding `NamedFlow`. + +

Floats and absolutely positioned exclusions

@@ -941,29 +968,6 @@ canvas { -

-Page floats with float references with fixed heights -

- -If page floats are inside a float reference with a fixed height, the float -reference is filled up until it cannot contain the following page float. All -subsequent page floats are deferred to the next column/region/page. - -

-Page floats with variable height float references with no maximum height -

-Variable height float references are grown to accommodate all its containing page -floats. Page floats inside of variable height float references without a maximum -height are therefore never deferred automatically. - -

-Page floats with variable height float references with a set maximum height -

-Float references with a variable height with a set max height are grown to -accommodate all of its containing page floats up to their maximum height. Subsequent -page floats are deferred to the following column/region/page. - -

Overconstrained floats

In many cases, the specified values on these properties cannot be honored. @@ -1065,6 +1069,9 @@ p { float-reference: page; float: top; float-defer: last } :
    +
  1. + Added info on variably sized float references and deferring beyond the last + fragmentation container.
  2. Specified that block-start and block-end floats have an initial inline size of 100% and are placed at the inline-start.