Skip to content

Commit 906d33c

Browse files
committed
[css-page-floats-3][editorial] Fixed Bikeshed issues
1 parent 45c0552 commit 906d33c

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

css-page-floats-3/Overview.bs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Ignored Terms: near, 3em, intrude, top-corner, bottom-corner, left, right, both,
4747
(or may not) be a good idea to separate the two entirely.
4848
Therefore, the name <em>CSS Page Floats</em> should probably be replaced with
4949
a more appropriate name.
50-
</div>
50+
</p>
5151

5252
<h3 id="values">Value Definitions</h3>
5353

@@ -369,7 +369,7 @@ And some more text&lt;/p>
369369
.figure { float-reference: column; float: top }
370370
</pre>
371371

372-
<img alt="sample rendering" src="images/7.png">
372+
<img alt="sample rendering" src="images/7.png" width="520" height="220">
373373
</div>
374374

375375
<div class="example">
@@ -380,15 +380,15 @@ And some more text&lt;/p>
380380
.figure { float-reference: column; float: block-start; width: 50% }
381381
</pre>
382382

383-
<img alt="sample rendering" src="images/block_line_start.png">
383+
<img alt="sample rendering" src="images/block_line_start.png" width="520" height="220">
384384
</div>
385385

386386
<div class="example">
387387
In this example, a figure naturally appears close to a column break. There is
388388
not enough space for the figure in the first column, and it is therefore placed
389389
in the second column, leaving white space at the bottom of the first column.
390390

391-
<img alt="sample rendering" src="images/23.png">
391+
<img alt="sample rendering" src="images/23.png" width="520" height="220">
392392

393393
To avoid the white space, the image can be floated to the nearest edge (in the
394394
block direction):
@@ -401,14 +401,14 @@ And some more text&lt;/p>
401401
move. However, floats allow subsequent content to be displayed before the
402402
float and the white space can therefore be filled:
403403

404-
<img alt="sample rendering" src="images/7.png">
404+
<img alt="sample rendering" src="images/7.png" width="520" height="220">
405405
</div>
406406

407407
<div class="example">
408408

409409
In this example, two figures naturally appear in the text flow:
410410

411-
<img alt="sample rendering" src="images/20.png">
411+
<img alt="sample rendering" src="images/20.png" width="520" height="220">
412412

413413
A typographer would typically try to avoid single lines of text above/below
414414
figures, which can be achieved with:
@@ -425,7 +425,7 @@ div.figure { float-reference: column; float: snap-block(1.5em) }
425425

426426
In this example, two figures naturally appear in the text flow:
427427

428-
<img alt="sample rendering" src="images/20.png">
428+
<img alt="sample rendering" src="images/20.png" width="520" height="220">
429429

430430
To make the figures snap to the nearest edges, this code can be applied:
431431

@@ -435,7 +435,7 @@ div.figure { float-reference: column; float: snap-block(2.5em) }
435435

436436
The resultant rendering is:
437437

438-
<img alt="sample rendering" src="images/22.png">
438+
<img alt="sample rendering" src="images/22.png" width="520" height="220">
439439

440440
</div>
441441

@@ -575,7 +575,7 @@ The 'clear' property</h2>
575575
&lt;div class=figure>&lt;/div>
576576
&lt;div class=figure>&lt;/div>
577577
</pre>
578-
<img alt="sample rendering" src="images/16.png">
578+
<img alt="sample rendering" src="images/16.png" width="520" height="220">
579579
</div>
580580

581581
<div class="example">
@@ -588,7 +588,7 @@ The 'clear' property</h2>
588588
&lt;div class=figure>&lt;/div>
589589
</pre>
590590

591-
<img alt="sample rendering" src="images/17.png">
591+
<img alt="sample rendering" src="images/17.png" width="520" height="220">
592592
</div>
593593

594594

@@ -603,7 +603,7 @@ The 'clear' property</h2>
603603
&lt;div class=figure>&lt;/div>
604604
</pre>
605605

606-
<img alt="sample rendering" src="images/16.png">
606+
<img alt="sample rendering" src="images/16.png" width="520" height="220">
607607
</div>
608608

609609
<div class="example">
@@ -617,7 +617,7 @@ The 'clear' property</h2>
617617
&lt;div class=figure>&lt;/div>
618618
</pre>
619619

620-
<img alt="sample rendering" src="images/17.png">
620+
<img alt="sample rendering" src="images/17.png" width="520" height="220">
621621
</div>
622622

623623

@@ -757,7 +757,7 @@ The 'clear' property</h2>
757757
.figure { float-reference: column; float: top; float-defer: -2 }
758758
</pre>
759759

760-
<img alt="sample rendering" src="images/7.png">
760+
<img alt="sample rendering" src="images/7.png" width="520" height="220">
761761
</div>
762762

763763
<div class="example">
@@ -788,7 +788,7 @@ The 'clear' property</h2>
788788
.figure { float-reference: column; float: top; float-defer: last }
789789
</pre>
790790

791-
<img alt="sample rendering" src="images/6.png">
791+
<img alt="sample rendering" src="images/6.png" width="520" height="220">
792792
</div>
793793

794794
<h2 id="wrapping-around-page-floats">Wrapping around page floats</h2>
@@ -861,7 +861,7 @@ img {
861861
}
862862
</pre>
863863

864-
<img alt="sample rendering" src="images/14.png">
864+
<img alt="sample rendering" src="images/14.png" width="522" height="222">
865865

866866
</div>
867867

@@ -1043,7 +1043,7 @@ p {
10431043
&lt;/div>
10441044
</code></pre>
10451045

1046-
<img alt="sample rendering" src="images/float_containing_context.png">
1046+
<img alt="sample rendering" src="images/float_containing_context.png" width="282" height="141">
10471047

10481048
In comparison, the below is the same HTML, but the float is replaced by an
10491049
absolutely positioned element that is also an exclusion. The <a>float
@@ -1085,7 +1085,7 @@ canvas {
10851085
&lt;/div>
10861086
</code></pre>
10871087

1088-
<img alt="sample rendering" src="images/positioned_containing_context.png">
1088+
<img alt="sample rendering" src="images/positioned_containing_context.png" width="401" height="151">
10891089

10901090
</div>
10911091

0 commit comments

Comments
 (0)