You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css3-gcpm/Overview.src.html
+59-26Lines changed: 59 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -255,8 +255,8 @@ <h4>Setting named strings: the 'string-set' property</h4>
255
255
<p>The name space of named strings is different from other sets of
256
256
names in CSS.
257
257
258
-
<p>The 'string-set' property copies text as well as white-space into
259
-
the named string.
258
+
<p>The textual content is processed as if 'white-space: normal' had been set.
259
+
260
260
261
261
<divclass="example">
262
262
<pre>
@@ -2094,13 +2094,13 @@ <h2>Page marks and bleed area</h2>
2094
2094
2095
2095
2096
2096
2097
-
<h2>Bookmarks</h2>
2097
+
<h2>Bookmarks: 'bookmark-level', </h2>
2098
2098
2099
2099
<p>Some document formats have the capability of holding bookmarks.
2100
-
Bookmarks are typically shown outside the document itself, often a
2101
-
tree-structured and clickable table of contents to help navigate in
2102
-
the electronic version of the document. To generate bookmarks, these
2103
-
properties are defined:
2100
+
Bookmarks are typically shown outside the document itself, often in a
2101
+
tree-structured and clickable table of contents. To generate
2102
+
bookmarks, these properties are defined: 'bookmark-level',
2103
+
'bookmark-label', and 'bookmark-state'.
2104
2104
2105
2105
<tableclass=propdef>
2106
2106
<tr>
@@ -2129,9 +2129,22 @@ <h2>Bookmarks</h2>
2129
2129
<td>specified value
2130
2130
</table>
2131
2131
2132
+
2132
2133
<p>This property describes what level a certain bookmark has in a
2133
-
hierarchical bookmark structure. The highest level is ''1'', then
2134
-
''2'', ''3'' etc.
2134
+
hierarchical bookmark structure. The values are:
2135
+
2136
+
<dl>
2137
+
2138
+
<dt>none
2139
+
2140
+
<dd>no bookmark is generated
2141
+
2142
+
<dt><integer>
2143
+
2144
+
<dd>Indicates the level of the bookmark; the highest level is ''1'', then ''2'', ''3'' etc. A bookmark will be generated only if 'bookmark-label' also has a value different from 'none'.
2145
+
2146
+
</dl>
2147
+
2135
2148
2136
2149
<divclass="example">
2137
2150
<pre>
@@ -2148,7 +2161,7 @@ <h2>Bookmarks</h2>
2148
2161
<td><dfn>bookmark-label</dfn>
2149
2162
<tr>
2150
2163
<td><em>Value:</em>
2151
-
<td>[ <content-list> ]+ | none
2164
+
<td><content-list> | none
2152
2165
<tr>
2153
2166
<td><em>Initial:</em>
2154
2167
<td>none
@@ -2169,7 +2182,18 @@ <h2>Bookmarks</h2>
2169
2182
<td>specified value
2170
2183
</table>
2171
2184
2172
-
<p>This property specifies the label of the bookmark, i.e., the text that will represent the bookmark in the bookmark structure. <content-list> is defined on the 'string-set' property.
2185
+
<p>This property specifies the label of the bookmark, i.e., the text that will represent the bookmark in the bookmark structure. The values are:
2186
+
2187
+
<dl>
2188
+
2189
+
<dt><content-list>, as defined on the 'string-set' property. A bookmark will be generated only if 'bookmark-level' also has a value different from 'none'.
@@ -2569,37 +2596,43 @@ <h2>Page and column floats</h2>
2569
2596
<dt>bottom-corner
2570
2597
<dd>similar to 'top-corner', exept the box is floated to the bottom
2571
2598
2572
-
<dt>snap(<length>)
2599
+
<dt>snap(<length>, [top | bottom])
2573
2600
2574
2601
<dd>same as 'top' if the box is naturally near the top; same as
2575
2602
'bottom' if the box is naturally near the bottom. If the box naturally
2576
2603
leads to a (page/column) break, the box is floated to the top of the
2577
-
next page/column. The length value specifies how far from the
2578
-
top/bottom the element can be influenced.
2604
+
next page/column. The first optionaloptional length value specifies how far from the
2605
+
top/bottom the element can be influenced, The second
2579
2606
2580
-
<divclass=example>
2581
-
<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.
2607
+
<dt>snap(<length> <length>? [, top | bottom | near ]?)
2582
2608
2583
-
<pre>
2584
-
table { float: snap(3em) }
2585
-
</pre>
2586
-
</div>
2609
+
<dd>Makes the element float to the top or bottom if it naturally appears within a certain distance from the top or bottom. The length value(s) specifies the maxium distance from the top/bottom that an element must be within in order to be floated; one length value specifies the distance from both the top and the bottom, two length values specify the distance from the top and bottom, respectively. If an element is within the specified distance from both the top and the bottom, bottom wins.
2610
+
2611
+
<p>The optional keyword value specifies where the element is floated: top, bottom, or the nearest of the two. The initial value is 'near'.
2612
+
2613
+
<dt>snap
2614
+
2615
+
<dd>same as <tt>snap(2em, near)</tt>
2616
+
2617
+
</dl>
2587
2618
2588
-
<p>If the functional notation is not used, an implementation-dependent value is used.
2589
2619
2590
2620
<divclass=example>
2621
+
<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.
2622
+
2591
2623
<pre>
2592
2624
table { float: snap }
2625
+
table { float: snap(3em) }
2626
+
table { float: snap(3em, bottom) }
2627
+
table { float: snap(3em 2em, bottom) }
2593
2628
</pre>
2594
2629
</div>
2595
2630
2596
2631
<pclass=issue>Should we define a reasonable default (say, 3em) instead of relying on implementation-specific values?
2597
-
<pclass=issue>Do numberic values make sense, like for orphans/widows
2598
-
<pclass=issue>Does the "snap" solution address all use cases for "unless-room"/"unless-fit"?
2632
+
<pclass=issue>Do numberic values (in addition to length values) make sense, like for orphans/widows
2633
+
<pclass=issue>is an element with a snap() value considered to be a float? only when it really floats, or always?
2599
2634
2600
2635
2601
-
</dl>
2602
-
2603
2636
<!--
2604
2637
The 'widows'/'orphans' properties may be consulted to determine if the box is near the top/bottom.
Miller, Werner Donné, Tarquin (Mark) Wilton-Jones, Michel Fortin,
3624
3657
Christian Roth, Brady Duga, Del Merritt, Ladd Van Tol, Tab Atkins Jr.,
3625
3658
Jacob Grundtvig Refstrup, James Elmore, Ian Tindale, Murakami Shinyu, Paul E.
3626
-
Merrell, Philip Taylor, Brad Kemper, Peter Linss, Daniel Glazman, Tantek Çelik, Florian Rivoal, Alex Mogilevsky.</p>
3659
+
Merrell, Philip Taylor, Brad Kemper, Peter Linss, Daniel Glazman, Tantek Çelik, Florian Rivoal, Alex Mogilevsky, Simon Sapin, Cameron McCormack, Liam R E Quin, Werner Donné, Peter Moulder.</p>
0 commit comments