Skip to content

Commit c1d7f15

Browse files
committed
refining page/column selection
1 parent 639638b commit c1d7f15

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

css3-gcpm/Overview.src.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2898,16 +2898,20 @@ <h2>The 'first-page' pseudo-element</h2>
28982898

28992899
<h2>Selecting columns and pages</h2>
29002900

2901+
<p class=issue>This is sketchy.
2902+
29012903
<p>Pseudo-elements are introduced to apply styling to the part of an
29022904
element that ends up on a certain page of column of that element. The
29032905
'column(n)' pseudo-element selects columns, and the 'page(n)'
29042906
psedo-element select columns.
29052907

29062908
<div class=example>
29072909
<pre>
2908-
div.chapter:column(3) /* the third column of the element */
2909-
div.chapter:column(2n) /* all even columns */
2910-
div.chapter:column(1):page(2) /* first column on page 2 */
2910+
div.chapter::column(3) /* the third column of the element */
2911+
div.chapter::column(2n) /* all even columns of the element */
2912+
div.chapter::page(2) /* second page of the element */
2913+
div.chapter::page-column(2,2) /* second column on second page */
2914+
div.chapter::page(2)::column(2) /* second column, but only if it appears on the second page */
29112915
</pre>
29122916
</div>
29132917

0 commit comments

Comments
 (0)