|
21 | 21 |
|
22 | 22 | <h1>CSS Generated Content for Paged Media Module</h1> |
23 | 23 |
|
24 | | - <h2 class="no-num no-toc" id=w3c-working>Editor's Draft 16 August 2012</h2> |
| 24 | + <h2 class="no-num no-toc" id=w3c-working>Editor's Draft 17 August 2012</h2> |
25 | 25 |
|
26 | 26 | <dl> |
27 | 27 | <dt>This version: |
28 | 28 |
|
29 | 29 | <dd><a |
30 | | - href="http://www.w3.org/TR/2012/ED-css3-gcpm-20120816/">http://www.w3.org/TR/2012/ED-css3-gcpm-20120816/</a> |
| 30 | + href="http://www.w3.org/TR/2012/ED-css3-gcpm-20120817/">http://www.w3.org/TR/2012/ED-css3-gcpm-20120817/</a> |
31 | 31 |
|
32 | 32 | <dt>Latest version: |
33 | 33 |
|
@@ -2478,8 +2478,7 @@ <h2 id=bookmarks><span class=secno>7. </span>Bookmarks</h2> |
2478 | 2478 | <tr> |
2479 | 2479 | <td><em>Value:</em> |
2480 | 2480 |
|
2481 | | - <td>[ contents | content-before | content-element | content-after | |
2482 | | - <string> ]+ | none |
| 2481 | + <td>[ <content-list> ]+ | none |
2483 | 2482 |
|
2484 | 2483 | <tr> |
2485 | 2484 | <td><em>Initial:</em> |
@@ -2513,8 +2512,8 @@ <h2 id=bookmarks><span class=secno>7. </span>Bookmarks</h2> |
2513 | 2512 | </table> |
2514 | 2513 |
|
2515 | 2514 | <p>This property specifies the label of the bookmark, i.e., the text that |
2516 | | - will represent the bookmark in the bookmark structure. The keyword values |
2517 | | - are defined on the ‘<a href="#string-set"><code |
| 2515 | + will represent the bookmark in the bookmark structure. <content-list> |
| 2516 | + is defined on the ‘<a href="#string-set"><code |
2518 | 2517 | class=property>string-set</code></a>’ property. |
2519 | 2518 |
|
2520 | 2519 | <div class=example> |
@@ -2963,16 +2962,44 @@ <h2 id=page-and-column-floats><span class=secno>12. </span>Page and column |
2963 | 2962 | <dd>similar to ‘<code class=property>top-corner</code>’, exept the box |
2964 | 2963 | is floated to the bottom |
2965 | 2964 |
|
2966 | | - <dt>snap |
| 2965 | + <dt>snap(<length>) |
2967 | 2966 |
|
2968 | 2967 | <dd>same as ‘<code class=property>top</code>’ if the box is naturally |
2969 | 2968 | near the top; same as ‘<code class=property>bottom</code>’ if the box |
2970 | | - is naturally near the bottom. The ‘<code |
2971 | | - class=property>widows</code>’/‘<code class=property>orphans</code>’ |
2972 | | - properties may be consulted to determine if the box is near the |
2973 | | - top/bottom. If the box naturally leads to a (page/column) break, the box |
2974 | | - is floated to the top of the next page/column. |
| 2969 | + is naturally near the bottom. If the box naturally leads to a |
| 2970 | + (page/column) break, the box is floated to the top of the next |
| 2971 | + page/column. The length value specifies how far from the top/bottom the |
| 2972 | + element can be influenced. |
| 2973 | + <div class=example> |
| 2974 | + <p>In this example, tables will snap to the top/bottom if the top/bottom |
| 2975 | + of the border box is closer than ‘<code class=css>3em</code>’ from |
| 2976 | + the top/bottom of the page/column. |
| 2977 | + |
| 2978 | + <pre> |
| 2979 | +table { float: snap(3em) } |
| 2980 | +</pre> |
| 2981 | + </div> |
| 2982 | + |
| 2983 | + <p>If the functional notation is not used, an implementation-dependent |
| 2984 | + value is used. |
| 2985 | + |
| 2986 | + <div class=example> |
| 2987 | + <pre> |
| 2988 | +table { float: snap } |
| 2989 | +</pre> |
| 2990 | + </div> |
| 2991 | + |
| 2992 | + <p class=issue>Should we define a reasonable default (say, 3em) instead |
| 2993 | + of relying on implementation-specific values? |
| 2994 | + |
| 2995 | + <p class=issue>Do numberic values make sense, like for orphans/widows |
| 2996 | + |
| 2997 | + <p class=issue>Does the "snap" solution address all use cases for |
| 2998 | + "unless-room"/"unless-fit"? |
2975 | 2999 | </dl> |
| 3000 | + <!-- |
| 3001 | +The 'widows'/'orphans' properties may be consulted to determine if the box is near the top/bottom. |
| 3002 | +--> |
2976 | 3003 |
|
2977 | 3004 | <p>These new keywords only apply in paged media; in continous media |
2978 | 3005 | declarations with these keywords are ignored. |
@@ -4132,8 +4159,7 @@ <h2 class=no-num id=property-index>Property index</h2> |
4132 | 4159 | <tr> |
4133 | 4160 | <th><a class=property href="#bookmark-label">bookmark-label</a> |
4134 | 4161 |
|
4135 | | - <td>[ contents | content-before | content-element | content-after | |
4136 | | - <string> ]+ | none |
| 4162 | + <td>[ <content-list> ]+ | none |
4137 | 4163 |
|
4138 | 4164 | <td>none |
4139 | 4165 |
|
|
0 commit comments