Skip to content

Commit ee09518

Browse files
committed
preparing for new wd
1 parent 1e51fd6 commit ee09518

File tree

1 file changed

+35
-85
lines changed

1 file changed

+35
-85
lines changed

css3-gcpm/Overview.src.html

Lines changed: 35 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@
3333
table.border table td { border: thin dotted black; padding: 0.2em; margin: 0.2em }
3434
table.border .comment { margin-top: 0; white-space: normal; font-style: italic }
3535

36-
div.out { background: #F55; padding: 0.2em 0.5em }
37-
div.out div.example { background: #FED }
38-
h1, h2, h3, h4, h5, h6 { background: transparent }
36+
3937
</style>
4038

4139

@@ -45,7 +43,20 @@
4543

4644
<!--logo-->
4745

48-
<h1>CSS3 module: Generated Content for Paged Media</h1>
46+
<!--
47+
48+
align lines: what did michael suggest?
49+
50+
Another approach would be to extend the height of the block to be a
51+
multiple of the grid height, but then people would probably want to
52+
control where the extra space gets added.
53+
54+
kerning?
55+
56+
57+
-->
58+
59+
<h1>CSS Generated Content for Paged Media Module</h1>
4960

5061
<h2 class="no-num no-toc" id="w3c-working">[LONGSTATUS] [DATE]</h2>
5162

@@ -92,9 +103,6 @@ <h2 class="no-num no-toc" id=abstract>Abstract</h2>
92103
<h2 class="no-num no-toc">Status of this document</h2>
93104

94105
<!--begin-status-->
95-
<p>[If you keep the &lt;!--comment-->, the status boilerplate will be
96-
included here automatically.]</p>
97-
<!--end-status-->
98106

99107
<p>This WD describes functionality at various levels of maturity. Some
100108
features have been part of other WDs in the past and have already been
@@ -103,6 +111,9 @@ <h2 class="no-num no-toc">Status of this document</h2>
103111
features presented earlier in this draft are more mature that those
104112
presented later in the draft.
105113

114+
<!--end-status-->
115+
116+
106117

107118
<h2 class="no-num no-toc"><a name="contents">Table of contents</a></h2>
108119

@@ -111,6 +122,7 @@ <h2 class="no-num no-toc"><a name="contents">Table of contents</a></h2>
111122
included here automatically.]</p>
112123
<!--end-toc-->
113124

125+
<!--
114126
<h2 id=dependencies>Dependencies on other modules</h2>
115127
116128
<p>This CSS3 module has normative references to the following other CSS3
@@ -129,7 +141,7 @@ <h2 id=dependencies>Dependencies on other modules</h2>
129141
<li>[[CSS3PAGE]]</li>
130142
<li>[[CSS3MULTICOL]]</li>
131143
</ul>
132-
144+
-->
133145

134146
<h2>Introduction</h2>
135147

@@ -378,7 +390,6 @@ <h4>Using named strings</h4>
378390
assigned a value, the empty string is used.
379391

380392

381-
<div class=out>
382393
<h3>Running elements</h3>
383394

384395
<p>Named strings, as described above, can only hold textual content; any
@@ -483,7 +494,7 @@ <h3>Running elements</h3>
483494
used on subsequent pages.
484495
</div>
485496

486-
</div>
497+
487498

488499
<h2>Leaders</h2>
489500

@@ -766,6 +777,7 @@ <h3>The ''target-text'' value</h3>
766777
</div>
767778

768779

780+
769781
<h2>Footnotes</h2>
770782

771783
<p>A footnote is a note typically placed at the bottom of a page that
@@ -1624,7 +1636,6 @@ <h3>The 'border-parts' properties</h3>
16241636
-->
16251637

16261638

1627-
<div class=out>
16281639

16291640
<h2>Pulling elements: the ''target-pull()'' value</h2>
16301641

@@ -1662,7 +1673,6 @@ <h2>Pulling elements: the ''target-pull()'' value</h2>
16621673

16631674

16641675

1665-
16661676
<h2>Pushing elements: named flows</h2>
16671677

16681678
<p>Footnotes and running elements are print-specific conventions that
@@ -1791,7 +1801,6 @@ <h2>Pushing elements: named flows</h2>
17911801

17921802
</div>
17931803

1794-
</div>
17951804

17961805
<h2>Hyphenation</h2>
17971806

@@ -2088,7 +2097,7 @@ <h3>Hyphenate properties</h3>
20882097
<p class=issue>XSL uses a different list of <a href="http://www.w3.org/TR/2006/CR-xsl11-20060220/#common-hyphenation-properties">properties</a>. Reuse of these properties has been considered.
20892098
-->
20902099

2091-
<!--
2100+
20922101
<h2>New counter styles</h2>
20932102

20942103
<h3>The ''super-decimal'' list-style-type</h3>
@@ -2113,8 +2122,6 @@ <h3>The ''super-decimal'' list-style-type</h3>
21132122
<p>Using super-script glyphs is optional; UAs may also scale and position
21142123
other glyphs for use in footnote calls.
21152124

2116-
<p class=issue>There are three things this could mean: (a) this implies the use of a font feature if the font has that feature (b) this implies that the counter is translated into the unicode characters (c) the issue of accessing font features should be
2117-
-->
21182125

21192126

21202127
<h3>Named counter styles</h3>
@@ -2307,8 +2314,6 @@ <h3>The ''pages'' counter</h3>
23072314
23082315
-->
23092316

2310-
<div class=out>
2311-
23122317
<h2>Character substitution</h2>
23132318

23142319
<p>It is sometimes convenient to replace one character with another
@@ -2317,12 +2322,7 @@ <h2>Character substitution</h2>
23172322
better to replace it with a quotation character. The 'text-replace'
23182323
property offers a way to perform the replacement in the style sheet.
23192324

2320-
<p>This property only applies to batch processors.
2321-
2322-
<!--
23232325
<p class='issue'>It this something CSS should do? Some think it's OK to use CSS for non-stylistic purposes, some think this <em>is</em> is a stylistic purpose, and some think this is not stylistic and should therefore be kept outside of CSS.
2324-
-->
2325-
23262326

23272327
<h3>The 'text-replace' property</h3>
23282328

@@ -2443,52 +2443,15 @@ <h3>The 'text-replace' property</h3>
24432443
<p>This property is evaluated after the 'content' property, and before
24442444
'text-transform'.
24452445

2446-
<p>This property is applied after the 'white-space' property.
2447-
2448-
<div class="example">
2449-
<p>Consider this CSS code:
2450-
<pre>
2451-
p { text-replace: "Soviet Union" "Russia"; }
2452-
</pre>
2453-
2454-
2455-
<p>Text replacements would occur in both these paragraphs:
2456-
2457-
<pre>
2458-
&lt;p>Hello Soviet Union!&lt;/p>
2459-
&lt;p>Hello Soviet
2460-
Union!&lt;/p>
2461-
</pre>
2462-
</div>
2463-
2464-
2465-
<div class="example">
2466-
<p>Consider this CSS code:
2467-
<pre>
2468-
p {
2469-
text-replace: "Soviet Union" "Russia";
2470-
white-space: pre;
2471-
}
2472-
</pre>
2473-
2474-
<p>Due to the preservation of white space, a text replacement would
2475-
only occur in the first of these paragraphs:
2476-
2477-
<pre>
2478-
&lt;p>Hello Soviet Union!&lt;/p>
2479-
&lt;p>Hello Soviet
2480-
Union!&lt;/p>
2481-
</pre>
2482-
</div>
2483-
24842446
<p class="note">This property is very powerful and must be used with
24852447
great care. The purpose of this property is to beautify the
24862448
presentation of text when changing the source document is
24872449
impractical.
24882450

2489-
24902451
<div class=issue>
24912452

2453+
<p>This property has raised some discussions. Some people think it's much powerful, other thinks it's too weak. Some think it doesn't belong in CSS at all.
2454+
24922455
<p>One weakness is that it is not able to perform a the commonly requested task of replacing pairs of double quotes with proper quote marks. One way of addressing this would be to add support for regular expressions. For example:
24932456

24942457
<div class="example">
@@ -2521,9 +2484,6 @@ <h3>The 'text-replace' property</h3>
25212484
</div>
25222485

25232486

2524-
</div>
2525-
2526-
25272487

25282488
<h2>Image resolution</h2>
25292489

@@ -2532,8 +2492,9 @@ <h2>Image resolution</h2>
25322492
can record information about the resolution of images. This
25332493
information can be helpful when determining the actual size of the
25342494
image in the formatting process. However, the information can also be
2535-
wrong, in which case it should be ignored. The 'image-resolution'
2536-
property is introduced to determine the correct resolution of images.
2495+
wrong, in which case it should be ignored. The 'image-resolution' and
2496+
'background-image-resolution' properties are introduced to determine
2497+
the correct resolution of images.
25372498

25382499
<table class=propdef>
25392500
<tr>
@@ -2547,7 +2508,7 @@ <h2>Image resolution</h2>
25472508
<td>normal
25482509
<tr>
25492510
<td><em>Applies to:</em>
2550-
<td>replaced elements and background images
2511+
<td>replaced elements <span class=issue>and background images?</span>
25512512
<tr>
25522513
<td><em>Inherited:</em>
25532514
<td>yes
@@ -2559,7 +2520,7 @@ <h2>Image resolution</h2>
25592520
<td>visual
25602521
<tr>
25612522
<td><em>Computed&nbsp;value:</em>
2562-
<td>a &lt;dpi> value
2523+
<td>as specified value <span class=issue>(or, should it be only one value?)</span>
25632524
</table>
25642525

25652526
<p>This property accepts either a single value, or a comma-separated
@@ -2568,7 +2529,7 @@ <h2>Image resolution</h2>
25682529
<dl>
25692530
<dt>normal
25702531

2571-
<dd>The resolution of the image is unknown, and UAs must not use the
2532+
<dd>The resolution of the image is unknown, and UAs should not use the
25722533
resolution found in the image. Instead, the image resolution will be
25732534
found by making image pixels equivalent to CSS pixels.
25742535

@@ -2685,7 +2646,7 @@ <h2>Image resolution</h2>
26852646
-->
26862647

26872648

2688-
<!--
2649+
26892650

26902651
<div class="issue">
26912652
<p>Should there be a way of setting width, height, resolution on images that are referenced by a URL in the style sheet? E.g.,
@@ -2697,7 +2658,6 @@ <h2>Image resolution</h2>
26972658
</div>
26982659

26992660

2700-
27012661
<table class=propdef>
27022662
<tr>
27032663
<td><em>Name:</em>
@@ -2729,7 +2689,6 @@ <h2>Image resolution</h2>
27292689

27302690
<p>As 'image-resolution', except that it describes the resolution of the element's background image.
27312691

2732-
-->
27332692

27342693
<h2>Page marks and bleed area</h2>
27352694

@@ -2781,7 +2740,7 @@ <h2>Page marks and bleed area</h2>
27812740
<table class=propdef>
27822741
<tr>
27832742
<td><em>Name:</em>
2784-
<td><dfn>bleed</dfn>
2743+
<td><dfn>page-bleed</dfn>
27852744
<tr>
27862745
<td><em>Value:</em>
27872746
<td>&lt;length&gt;
@@ -2981,8 +2940,6 @@ <h2>Bookmarks</h2>
29812940

29822941
<h2>CMYK colors</h2>
29832942

2984-
<p class=issue>PDF can hold two types of CMYK values: device-specific and color-profile-specific. In the latter case, we may need to point to a color profile.
2985-
29862943
<p>Printers do not use RGB colors, they (often) use CMYK: cyan,
29872944
magenta, yellow and black. A new functional value allows style sheets
29882945
to express CMYK colors.
@@ -2996,10 +2953,6 @@ <h2>CMYK colors</h2>
29962953
<p>The values representing the colors are between ''0'' and ''1''.
29972954
Values outside this range are clipped.
29982955

2999-
<p>Unless a color profile is specified, the cmyk() value refers to
3000-
device-specific colors. A future version of this specifiction will
3001-
describe how to link to color profiles.
3002-
30032956
<p>It is not expected that screen-centric user agents support CMYK
30042957
colors and it is therefore important that existing CSS color values can
30052958
be combined with CMYK colors.
@@ -3018,6 +2971,8 @@ <h2>CMYK colors</h2>
30182971

30192972
<h2>Creating paged presentations</h2>
30202973

2974+
<p class=issue>This part is still at the brainstorming stage.
2975+
30212976
<p>Printed publications are paged, while screen-based presentations of
30222977
web pages are most often presented in a continous manner with a
30232978
scrollbar on the side. There are reasons to believe that screen-based
@@ -3331,7 +3286,6 @@ <h2>Page floats</h2>
33313286
width calculations are vice versa.
33323287

33333288

3334-
33353289
<h2>Advanced multi-column layout</h2>
33363290

33373291
<p>In paged media, it is common for figures, captions, images, and
@@ -4083,7 +4037,6 @@ <h3>The 'page' property</h3>
40834037
</div>
40844038

40854039

4086-
<div class=out>
40874040

40884041
<h2>Continuation markers</h2>
40894042

@@ -4626,8 +4579,6 @@ <h3>A more complex example</h3>
46264579
</pre>
46274580
</div>
46284581

4629-
</div>
4630-
46314582

46324583
<h2>Conformance</h2>
46334584

@@ -4664,7 +4615,6 @@ <h2>Appendix A: Default style sheet</h2>
46644615
</pre>
46654616

46664617

4667-
46684618
<h2 class=no-num id=acknowledgments>Acknowledgments</h2>
46694619

46704620
<p>This document has been improved by Bert Bos, Michael Day, Melinda

0 commit comments

Comments
 (0)