Skip to content

Commit 553287f

Browse files
committed
fixing typo
1 parent a65557e commit 553287f

1 file changed

Lines changed: 36 additions & 5 deletions

File tree

css3-gcpm/Overview.src.html

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,7 +2149,7 @@ <h2>Bookmarks</h2>
21492149
<td><dfn>bookmark-label</dfn>
21502150
<tr>
21512151
<td><em>Value:</em>
2152-
<td>[ contents | content-before | content-element | content-after | &lt;string> ]+ | none
2152+
<td>[ &lt;content-list> ]+ | none
21532153
<tr>
21542154
<td><em>Initial:</em>
21552155
<td>none
@@ -2171,7 +2171,8 @@ <h2>Bookmarks</h2>
21712171
</table>
21722172

21732173
<p>This property specifies the label of the bookmark, i.e., the text
2174-
that will represent the bookmark in the bookmark structure. The keyword values are defined on the 'string-set' property.
2174+
that will represent the bookmark in the bookmark structure.
2175+
&lt;content-list> is defined on the 'string-set' property.
21752176

21762177
<div class="example">
21772178
<pre>
@@ -2571,11 +2572,41 @@ <h2>Page and column floats</h2>
25712572
<dt>bottom-corner
25722573
<dd>similar to 'top-corner', exept the box is floated to the bottom
25732574

2574-
<dt>snap
2575-
<dd>same as 'top' if the box is naturally near the top; same as 'bottom' if the box is naturally near the bottom. The 'widows'/'orphans' properties may be consulted to determine if the box is near the top/bottom. If
2576-
the box naturally leads to a (page/column) break, the box is floated to the top of the next page/column.
2575+
<dt>snap(&lt;length>)
2576+
2577+
<dd>same as 'top' if the box is naturally near the top; same as
2578+
'bottom' if the box is naturally near the bottom. If the box naturally
2579+
leads to a (page/column) break, the box is floated to the top of the
2580+
next page/column. The length value specifies how far from the
2581+
top/bottom the element can be influenced.
2582+
2583+
<div class=example>
2584+
<p>In this example, tables will snap to the top/bottom if the top/bottom of the border box is closer than '3em' from the top/bottom of the page/column.
2585+
2586+
<pre>
2587+
table { float: snap(3em) }
2588+
</pre>
2589+
</div>
2590+
2591+
<p>If the functional notation is not used, an implementation-dependent value is used.
2592+
2593+
<div class=example>
2594+
<pre>
2595+
table { float: snap }
2596+
</pre>
2597+
</div>
2598+
2599+
<p class=issue>Should we define a reasonable default (say, 3em) instead of relying on implementation-specific values?
2600+
<p class=issue>Do numberic values make sense, like for orphans/widows
2601+
<p class=issue>Does the "snap" solution address all use cases for "unless-room"/"unless-fit"?
2602+
2603+
25772604
</dl>
25782605

2606+
<!--
2607+
The 'widows'/'orphans' properties may be consulted to determine if the box is near the top/bottom.
2608+
-->
2609+
25792610
<p>These new keywords only apply in paged media; in continous media declarations with these keywords are ignored.
25802611

25812612
<div class=example>

0 commit comments

Comments
 (0)