2121
2222 < h1 > CSS Generated Content for Paged Media Module</ h1 >
2323
24- < h2 class ="no-num no-toc " id =w3c-working > Editor's Draft 22 August 2012</ h2 >
24+ < h2 class ="no-num no-toc " id =w3c-working > Editor's Draft 23 August 2012</ h2 >
2525
2626 < dl >
2727 < dt > This version:
2828
2929 < dd > < a
30- href ="http://www.w3.org/TR/2012/ED-css3-gcpm-20120822 / "> http://www.w3.org/TR/2012/ED-css3-gcpm-20120822 /</ a >
30+ href ="http://www.w3.org/TR/2012/ED-css3-gcpm-20120823 / "> http://www.w3.org/TR/2012/ED-css3-gcpm-20120823 /</ a >
3131
3232 < dt > Latest version:
3333
@@ -193,8 +193,17 @@ <h2 class="no-num no-toc" id=table-of-contents><a name=contents>Table of
193193 < li > < a href ="#page-marks-and-bleed-area "> < span class =secno > 6. </ span > Page
194194 marks and bleed area</ a >
195195
196- < li > < a href ="#bookmarks-bookmark-level- "> < span class =secno > 7.
197- </ span > Bookmarks: ‘< code class =property > bookmark-level</ code > ’, </ a >
196+ < li > < a href ="#bookmarks "> < span class =secno > 7. </ span > Bookmarks</ a >
197+ < ul class =toc >
198+ < li > < a href ="#bookmark-level "> < span class =secno > 7.1. </ span > ‘< code
199+ class =property > bookmark-level</ code > ’</ a >
200+
201+ < li > < a href ="#bookmark-label "> < span class =secno > 7.2. </ span > ‘< code
202+ class =property > bookmark-label</ code > ’</ a >
203+
204+ < li > < a href ="#bookmark-state "> < span class =secno > 7.3. </ span > ‘< code
205+ class =property > bookmark-state</ code > ’</ a >
206+ </ ul >
198207
199208 < li > < a href ="#cmyk-colors "> < span class =secno > 8. </ span > CMYK colors</ a >
200209
@@ -256,9 +265,12 @@ <h2 class="no-num no-toc" id=table-of-contents><a name=contents>Table of
256265 < li > < a href ="#selecting-lines "> < span class =secno > 18. </ span > Selecting
257266 lines</ a >
258267
259- < li > < a href ="#conformance "> < span class =secno > 19. </ span > Conformance</ a >
268+ < li > < a href ="#conditional-text "> < span class =secno > 19. </ span > Conditional
269+ text</ a >
260270
261- < li > < a href ="#appendix-a-default-style-sheet "> < span class =secno > 20.
271+ < li > < a href ="#conformance "> < span class =secno > 20. </ span > Conformance</ a >
272+
273+ < li > < a href ="#appendix-a-default-style-sheet "> < span class =secno > 21.
262274 </ span > Appendix A: Default style sheet</ a >
263275
264276 < li class =no-num > < a href ="#acknowledgments "> Acknowledgments</ a >
@@ -2402,25 +2414,26 @@ <h2 id=page-marks-and-bleed-area><span class=secno>6. </span>Page marks and
24022414 < p > This property specifies the extent of the page bleed area outside the
24032415 page box. This property only has effect if crop marks are enabled.
24042416
2405- < h2 id =bookmarks-bookmark-level- > < span class =secno > 7. </ span > Bookmarks:
2406- ‘< a href ="#bookmark-level "> < code
2407- class =property > bookmark-level</ code > </ a > ’,</ h2 >
2417+ < h2 id =bookmarks > < span class =secno > 7. </ span > Bookmarks</ h2 >
24082418
24092419 < p > Some document formats have the capability of holding bookmarks.
24102420 Bookmarks are typically shown outside the document itself, often in a
24112421 tree-structured and clickable table of contents. To generate bookmarks,
2412- these properties are defined: ‘< a href ="#bookmark-level "> < code
2422+ these properties are defined: ‘< a href ="#bookmark-level0 "> < code
24132423 class =property > bookmark-level</ code > </ a > ’, ‘< a
2414- href ="#bookmark-label "> < code class =property > bookmark-label</ code > </ a > ’,
2415- and ‘< a href ="#bookmark-state "> < code
2424+ href ="#bookmark-label0 "> < code class =property > bookmark-label</ code > </ a > ’,
2425+ and ‘< a href ="#bookmark-state0 "> < code
24162426 class =property > bookmark-state</ code > </ a > ’.
24172427
2428+ < h3 id =bookmark-level > < span class =secno > 7.1. </ span > ‘< a
2429+ href ="#bookmark-level0 "> < code class =property > bookmark-level</ code > </ a > ’</ h3 >
2430+
24182431 < table class =propdef >
24192432 < tbody >
24202433 < tr >
24212434 < td > < em > Name:</ em >
24222435
2423- < td > < dfn id =bookmark-level > bookmark-level</ dfn >
2436+ < td > < dfn id =bookmark-level0 > bookmark-level</ dfn >
24242437
24252438 < tr >
24262439 < td > < em > Value:</ em >
@@ -2471,7 +2484,7 @@ <h2 id=bookmarks-bookmark-level-><span class=secno>7. </span>Bookmarks:
24712484 < dd > Indicates the level of the bookmark; the highest level is ‘< code
24722485 class =css > 1</ code > ’, then ‘< code class =css > 2</ code > ’, ‘< code
24732486 class =css > 3</ code > ’ etc. A bookmark will be generated only if ‘< a
2474- href ="#bookmark-label "> < code class =property > bookmark-label</ code > </ a > ’
2487+ href ="#bookmark-label0 "> < code class =property > bookmark-label</ code > </ a > ’
24752488 also has a value different from ‘< code class =property > none</ code > ’.
24762489 </ dl >
24772490
@@ -2483,12 +2496,15 @@ <h2 id=bookmarks-bookmark-level-><span class=secno>7. </span>Bookmarks:
24832496</ pre >
24842497 </ div >
24852498
2499+ < h3 id =bookmark-label > < span class =secno > 7.2. </ span > ‘< a
2500+ href ="#bookmark-label0 "> < code class =property > bookmark-label</ code > </ a > ’</ h3 >
2501+
24862502 < table class =propdef >
24872503 < tbody >
24882504 < tr >
24892505 < td > < em > Name:</ em >
24902506
2491- < td > < dfn id =bookmark-label > bookmark-label</ dfn >
2507+ < td > < dfn id =bookmark-label0 > bookmark-label</ dfn >
24922508
24932509 < tr >
24942510 < td > < em > Value:</ em >
@@ -2532,7 +2548,7 @@ <h2 id=bookmarks-bookmark-level-><span class=secno>7. </span>Bookmarks:
25322548 < dl >
25332549 < dt > <content-list> , as defined on the ‘< a href ="#string-set "> < code
25342550 class =property > string-set</ code > </ a > ’ property. A bookmark will be
2535- generated only if ‘< a href ="#bookmark-level "> < code
2551+ generated only if ‘< a href ="#bookmark-level0 "> < code
25362552 class =property > bookmark-level</ code > </ a > ’ also has a value different
25372553 from ‘< code class =property > none</ code > ’.
25382554
@@ -2598,12 +2614,15 @@ <h2 id=bookmarks-bookmark-level-><span class=secno>7. </span>Bookmarks:
25982614
25992615-->
26002616
2617+ < h3 id =bookmark-state > < span class =secno > 7.3. </ span > ‘< a
2618+ href ="#bookmark-state0 "> < code class =property > bookmark-state</ code > </ a > ’</ h3 >
2619+
26012620 < table class =propdef >
26022621 < tbody >
26032622 < tr >
26042623 < td > < em > Name:</ em >
26052624
2606- < td > < dfn id =bookmark-state > bookmark-state</ dfn >
2625+ < td > < dfn id =bookmark-state0 > bookmark-state</ dfn >
26072626
26082627 < tr >
26092628 < td > < em > Value:</ em >
@@ -2996,6 +3015,11 @@ <h2 id=page-and-column-floats><span class=secno>12. </span>Page and column
29963015 top, bottom, or the nearest of the two. The initial value is ‘< code
29973016 class =property > near</ code > ’.
29983017
3018+ < p > An element is considered to be a float if it has a snap() value, even
3019+ if the element does not appear within the specified distance. This way,
3020+ it can be determined whether an element is float or not without laying
3021+ out the document.
3022+
29993023 < dt > snap
30003024
30013025 < dd > same as < tt > snap(2em, near)</ tt >
@@ -3018,10 +3042,7 @@ <h2 id=page-and-column-floats><span class=secno>12. </span>Page and column
30183042 relying on implementation-specific values?
30193043
30203044 < p class =issue > Do numberic values (in addition to length values) make
3021- sense, like for orphans/widows
3022-
3023- < p class =issue > is an element with a snap() value considered to be a float?
3024- only when it really floats, or always? <!--
3045+ sense, like for orphans/widows <!--
30253046The 'widows'/'orphans' properties may be consulted to determine if the box is near the top/bottom.
30263047-->
30273048
@@ -4008,11 +4029,21 @@ <h2 id=selecting-lines><span class=secno>18. </span>Selecting lines</h2>
40084029</ pre >
40094030 </ div >
40104031
4011- < h2 id =conformance > < span class =secno > 19. </ span > Conformance</ h2 >
4032+ < h2 id =conditional-text > < span class =secno > 19. </ span > Conditional text</ h2 >
4033+
4034+ < div class =example >
4035+ < pre >
4036+ a:target-layout(attr(href url), same-page) { content: " on this page" }
4037+ a:target-layout(attr(href url), next-page) { content: " on the next page" }
4038+ a:target-layout(attr(href url), previous-page) { content: " on the previous page" }
4039+ </ pre >
4040+ </ div >
4041+
4042+ < h2 id =conformance > < span class =secno > 20. </ span > Conformance</ h2 >
40124043
40134044 < p > TBD
40144045
4015- < h2 id =appendix-a-default-style-sheet > < span class =secno > 20 . </ span > Appendix
4046+ < h2 id =appendix-a-default-style-sheet > < span class =secno > 21 . </ span > Appendix
40164047 A: Default style sheet</ h2 >
40174048
40184049 < pre >
@@ -4115,14 +4146,14 @@ <h2 class=no-num id=index>Index</h2>
41154146 < ul class =indexlist >
41164147 < li > bleed, < a href ="#bleed " title =bleed > < strong > 6.</ strong > </ a >
41174148
4118- < li > bookmark-label, < a href ="#bookmark-label "
4119- title =bookmark-label > < strong > 7.</ strong > </ a >
4149+ < li > bookmark-label, < a href ="#bookmark-label0 "
4150+ title =bookmark-label > < strong > 7.2. </ strong > </ a >
41204151
4121- < li > bookmark-level, < a href ="#bookmark-level "
4122- title =bookmark-level > < strong > 7.</ strong > </ a >
4152+ < li > bookmark-level, < a href ="#bookmark-level0 "
4153+ title =bookmark-level > < strong > 7.1. </ strong > </ a >
41234154
4124- < li > bookmark-state, < a href ="#bookmark-state "
4125- title =bookmark-state > < strong > 7.</ strong > </ a >
4155+ < li > bookmark-state, < a href ="#bookmark-state0 "
4156+ title =bookmark-state > < strong > 7.3. </ strong > </ a >
41264157
41274158 < li > clear-side, < a href ="#clear-side "
41284159 title =clear-side > < strong > 14.3.</ strong > </ a >
@@ -4180,7 +4211,7 @@ <h2 class=no-num id=property-index>Property index</h2>
41804211 < td > visual
41814212
41824213 < tr >
4183- < th > < a class =property href ="#bookmark-label "> bookmark-label</ a >
4214+ < th > < a class =property href ="#bookmark-label0 "> bookmark-label</ a >
41844215
41854216 < td > <content-list> | none
41864217
@@ -4195,7 +4226,7 @@ <h2 class=no-num id=property-index>Property index</h2>
41954226 < td > all
41964227
41974228 < tr >
4198- < th > < a class =property href ="#bookmark-level "> bookmark-level</ a >
4229+ < th > < a class =property href ="#bookmark-level0 "> bookmark-level</ a >
41994230
42004231 < td > none | <integer>
42014232
@@ -4210,7 +4241,7 @@ <h2 class=no-num id=property-index>Property index</h2>
42104241 < td > all
42114242
42124243 < tr >
4213- < th > < a class =property href ="#bookmark-state "> bookmark-state</ a >
4244+ < th > < a class =property href ="#bookmark-state0 "> bookmark-state</ a >
42144245
42154246 < td > open | closed
42164247
0 commit comments