Skip to content

Commit 6edc26d

Browse files
committed
[css-page-floats] minor language fixes, after comments from Liam
1 parent 2f7913a commit 6edc26d

1 file changed

Lines changed: 31 additions & 10 deletions

File tree

css-page-floats/Overview.bs

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -585,14 +585,14 @@ The 'clear' property</h2>
585585

586586
<h2 id="deferring_floats">Deferring floats</h2>
587587

588-
A page float can be deferred to another <a>fragmentation container</a> than where
589-
the <a>float anchor</a> is placed.
588+
Users can influence the placement of a page float by deferring them to another
589+
<a>fragmentation container</a> than where the <a>float anchor</a> is placed.
590590

591591
Float deferring assigns an <a>initial float reference</a>, yet float stacking can
592592
lead page floats being moved to a subsequent <a>fragmentation container</a> if
593593
their <a>initial float reference</a> lacks the space to host them.
594594

595-
This new property is introduced to control deferring floats:
595+
The 'float-defer' property is introduced to control deferring floats:
596596

597597
<h3 id="float-defer-property">The 'float-defer' property</h3>
598598

@@ -631,14 +631,34 @@ The 'clear' property</h2>
631631
within the given <a>fragmentation context</a>.
632632

633633
A negative integer value indicates that the <a>initial float reference</a> of
634-
the page float should be the Nth <a>fragmentation container</a> of the
635-
<a>fragmentation context</a>, where N is 1 plus the order number of the last
636-
<a>fragmentation container</a> within the given <a>fragmentation context</a> after all
637-
previous page floats have been placed plus the value of the `float-defer`
638-
property.
634+
the page float should be a <a>fragmentation container</a> of the
635+
<a>fragmentation context</a>, counting backward from the end, so that -1
636+
is the last <a>fragmentation container</a>, -2 is the next-to-last, etc. .
637+
In the case of a negative integer value, the <a>initial float reference</a> is the
638+
Nth <a>fragmentation container</a> of the <a>fragmentation context</a>, where N is 1
639+
plus the order number of the last <a>fragmentation container</a> within the given
640+
<a>fragmentation context</a> after all previous page floats have been placed plus
641+
the value of the `float-defer` property.
639642

640643
Zero is the same as `none`.
641644

645+
If the value of the `float-defer` property would cause the <a>initial float
646+
reference</a> to be an inexistent <a>fragmentation container</a>, the property
647+
is interpreted as if it were zero.
648+
649+
<p class="note">
650+
Negative float-defer values put the initial float reference a certain number
651+
to be a certain amount of fragmentation containers from the last fragmentation
652+
container at the time of of the placement. Subsequent page float stacking
653+
can mean that a page float is being placed in a later fragmentation container
654+
(a page float with float-defer set to -3 can end up being placed in the
655+
last fragmentation container), and later page floats may mean that new
656+
fragmentation containers are added, so that the a fragmentation container
657+
that previously was Nth last fragmentation container within a fragmentation
658+
context now is the N+Xth last. Additional fragmentation container(s) that
659+
are added after the page float was placed, will not cause the page float
660+
to be moved.
661+
642662
<dt>last
643663
<dd>
644664
The <a>initial float reference</a> is the last <a>fragmentation container</a> within
@@ -725,10 +745,11 @@ The 'clear' property</h2>
725745
Animatable: no
726746
</pre>
727747

728-
This property pushes a float in opposite direction of the where it has been
748+
This property pushes a float in direction opposite of the where it has been
729749
floated with 'float'.
730750

731-
This property can only influence a page float along an axis it has been floated.
751+
This property can only influence a page float along an axis along which it has
752+
been floated.
732753

733754
<dl>
734755
<dt>&lt;percentage></dt>

0 commit comments

Comments
 (0)