8000 [css2] Changes to make print.src -> page.src · w3c/csswg-drafts@18e1943 · GitHub
Skip to content

Commit 18e1943

Browse files
committed
[css2] Changes to make print.src -> page.src
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40217
1 parent a87c76e commit 18e1943

15 files changed

Lines changed: 119 additions & 138 deletions

css2/DOC/FILES

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ cascade.src
1010
media.src
1111
flowobj.src
1212
flowobj2.src
13+
page.src
1314
colors.src
1415
fonts.src
1516
text.src
1617
lists.src
1718
tables.src
1819
ui.src
1920
aural.src
20-
print.src
21+
2122

2223
sample.src
2324
changes.src

css2/DOC/todo.db

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
57 0 Ch11: add table for how to map generic font families in other scripts H�kon - 27 Sep 1997 - - -
5858
58 0 Ch12: reorder properties to: indentation, alignment, decoration, letter/word spacing, case, white space H�kon - 27 Sep 1997 02 Oct 1997 - Reordered
5959
59 0 12.5: H�kon - 27 Sep 1997 - - -
60-
60 0 12.6.2: describe 'text-shadow' property -- remove 'text-shadow-color' H�kon - 27 Sep 1997 - - -
60+
60 0 12.6.2: describe 'text-shadow' property -- remove 'text-shadow-color' H�kon - 27 Sep 1997 03 Oct 1997 - text-shadow-color changed to text-shadow (but otherwise same desc.)
6161
61 0 12.9.1: make sure the generated text functionality described by Murray can handle forced line breaks H�kon - 27 Sep 1997 - - -
6262
62 0 13.1.1.4: use parent-child selectors instead of deprecated example H�kon - 27 Sep 1997 - - -
6363
63 0 14.1.0.3: move 'direction' property to "rendering model details" (ch 9) H�kon - 27 Sep 1997 - - -
@@ -71,9 +71,9 @@
7171
71 0 16.1.6.1: will 'vertical-align: bottom' align colons in tables correctly H�kon H�kon 27 Sep 1997 - - -
7272
72 0 16.1.7.8: How should the UA detact dates? Should we have a similar visual reordering? H�kon - 27 Sep 1997 - - -
7373
73 0 16.1.7.10: How should the UA detect time? Should there be a similar visual reordering? H�kon - 27 Sep 1997 - - -
74-
74 0 Ch 17: rename chapter to "Pages". Add intro on paged media, the go on to describe printing H�kon - 27 Sep 1997 - - -
74+
74 0 Ch 17: rename chapter to "Pages". Add intro on paged media, the go on to describe printing H�kon - 27 Sep 1997 03 Oct 1997 - Section moved to print.src and title changed to Pages
7575
75 0 Ch 17: describe the printing of positioned elements (there should be a UI option to declare if ouside elements should be printed at the end) H�kon - 27 Sep 1997 - - -
76-
76 0 17.1: cut back on marketing material H�kon - 27 Sep 1997 - - -
76+
76 0 17.1: cut back on marketing material H�kon - 27 Sep 1997 03 Oct 1997 - Done. See new intro to page.src
7777
77 0 17.2: canvas vs. page should be described in ch3 or 8, no? H�kon - 27 Sep 1997 - - -
7878
78 0 17.3.1.3: orphan -> orphans H�kon - 27 Sep 1997 02 Oct 1997 - Done
7979
79 0 17.3.1.4: widow -> widows H�kon - 27 Sep 1997 02 Oct 1997 - Done

css2/Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Makefile to generate the CSS2 document based on its "source files"
22
# Arnaud Le Hors - lehors@w3.org
3-
# $Id: Makefile,v 1.33 1997-10-03 20:35:54 ian Exp $
3+
# $Id: Makefile,v 1.34 1997-10-03 22:09:37 ian Exp $
44

55
ROOT = .
66

@@ -18,14 +18,15 @@ cascade.src\
1818
media.src\
1919
flowobj.src\
2020
flowobj2.src\
21+
page.src\
2122
colors.src\
2223
fonts.src\
2324
text.src\
2425
lists.src\
2526
tables.src\
2627
ui.src\
27-
aural.src\
28-
print.src
28+
aural.src
29+
2930

3031
APPSRCS = \
3132
sample.src\
@@ -52,14 +53,14 @@ cascade.html\
5253
media.html\
5354
flowobj.html\
5455
flowobj2.html\
56+
page.html\
5557
colors.html\
5658
fonts.html\
5759
text.html\
5860
lists.html\
5961
tables.html\
6062
ui.html\
61-
aural.html\
62-
print.html
63+
aural.html
6364

6465
APPENDIXES= \
6566
sample.html\

css2/aural.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: aural.src,v 1.5 1997-10-03 20:38:47 ian Exp $ -->
3+
<!-- $Id: aural.src,v 1.6 1997-10-03 22:10:22 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Aural style sheets</TITLE>
7-
<LINK rel="next" href="print.html">
7+
<LINK rel="next" href="sample.html">
88
<LINK rel="previous" href="ui.html">
99
<LINK rel="STYLESHEET" href="style/default.css" type="text/css">
1010
</HEAD>

css2/cascade.src

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: cascade.src,v 1.13 1997-10-03 20:39:24 ian Exp $ -->
3+
<!-- $Id: cascade.src,v 1.14 1997-10-03 22:11:10 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Cascade</TITLE>
@@ -158,8 +158,8 @@ declaration in the "style" attribute will override the one in the
158158
STYLE element because of cascading rule number 5.
159159
</div>
160160

161-
<H3>Precedence of object language attributes</H3>
162-
<P> The UA may choose to honor other attributes of the object language
161+
<H3>Precedence of document language attributes</H3>
162+
<P> The UA may choose to honor other attributes of the document language
163163
(e.g., HTML presentational attribute such as "align"). If so, these
164164
attributes are translated to the corresponding CSS rules with
165165
specificity equal to 1. The rules are assumed to be at the start of

css2/colors.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: colors.src,v 1.17 1997-10-03 20:40:02 ian Exp $ -->
3+
<!-- $Id: colors.src,v 1.18 1997-10-03 22:11:59 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Colors and backgrounds</TITLE>
77
<LINK rel="next" href="fonts.html">
8-
<LINK rel="previous" href="flowobj2.html">
8+
<LINK rel="previous" href="page.html">
99
<LINK rel="STYLESHEET" href="style/default.css" type="text/css">
1010
</HEAD>
1111
<BODY>

css2/conform.src

Lines changed: 13 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: conform.src,v 1.16 1997-10-03 20:40:39 ian Exp $ -->
3+
<!-- $Id: conform.src,v 1.17 1997-10-03 22:12:36 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Definitions and document conventions</TITLE>
@@ -11,22 +11,22 @@
1111
<BODY>
1212
<H1 align="center">Definitions and document conventions</H1>
1313
<H2><a name="definitions">Definitions</a></H2>
14-
<H3><span class="index-def" title="object language">Object language</span></H3>
14+
<H3><span class="index-def" title="document language">Document language</span></H3>
1515
Style sheets specify the presentation of a document written in another
1616
computer language (such as HTML) which, in this specification, is
17-
referred to as the object language.
17+
referred to as the document language.
1818

1919
<H3><span class="index-def" title="element">Element</span></H3>
20-
The primary syntactic constructs of the object language are called
20+
The primary syntactic constructs of the document language are called
2121
elements (a term owed to SGML). Most CSS style sheet rules refer to
22-
these elements of the object language. Examples of elements in HTML
22+
these elements of the document language. Examples of elements in HTML
2323
include "P" (for structuring paragraphs), "TABLE" (for creating
2424
tables), "OL" (for creating ordered lists), etc.
2525

2626

2727
<H3><a name="doctree">Document tree</a></H3>
2828

29-
<P>When a document written in the object language is parsed by a user
29+
<P>When a document written in the document language is parsed by a user
3030
agent, the result is a <span class="index-def" title="document
3131
tree">document tree structure</span>.
3232

@@ -134,7 +134,7 @@ percentage value.
134134
<H3><span class="index-def" title="user agent|UA">User
135135
agent</span> (or UA)</H3>
136136

137-
<P>Any agent that interprets a document written in the object
137+
<P>Any agent that interprets a document written in the document
138138
language and associated style sheets by applying the terms of this
139139
specification. A user agent may display a document, read it aloud,
140140
cause it to be printed, convert it, etc.
@@ -207,7 +207,7 @@ impairments or may provide the choice to disable blinking.</P>
207207
<P>When a document has no associated style sheets, user agents apply
208208
rules from their default style sheet for presenting the document. A
209209
user agent's default style sheet generally presents elements of the
210-
object language in ways that satisfy the expectations that most people
210+
document language in ways that satisfy the expectations that most people
211211
have (e.g., for visual browsers, the EM element in HTML is presented
212212
using an italic font). The defa 1AC ult style sheet is considered along
213213
with author and user style sheets when determining how rules <a
@@ -223,85 +223,11 @@ of elements.
223223

224224
<H3><span class="index-def" title="canvas">Canvas</span></H3>
225225

226-
<P> The canvas is the part of a visual user agent's drawing surface
227-
onto which documents are rendered. Users see the canvas through a user
228-
agent's <span class="index-def"
229-
title="viewport"><em>viewport</em></span>, a window or other viewing
230-
area on the screen. The canvas may be larger or smaller than the
231-
viewport. Typically, when the canvas is larger than the viewport, the
232-
user agent will offer the user a scrolling mechanism to bring hidden
233-
parts into view.
234-
235-
<P>The canvas is generally as long as the document flowed onto it, but
236-
has a fixed width, set by the user agent. The width affects formatting
237-
according to the <a href="./flowobj.html#flow-model">visual flow
238-
model</a> The user agent may change the dimensions of the canvas when
239-
the viewport is resized.
240-
241-
<P>When an HTML document doesn't cover the entire canvas, user agents
242-
should display the background according to the following algorithm: if
243-
the <span class="propinst-background">'background'</span> value of the
244-
HTML element is different from 'transparent' then use it, else use the
245-
<span class="propinst-background">'background'</span> value of the
246-
BODY element. If the resulting value is 'transparent', the rendering
247-
is undefined.
248-
249-
<P>This rule allows the following, for example:
250-
251-
<div class="example"><P>
252-
<PRE>
253-
&lt;HTML style="background: url(http://style.com/marble.png)"&gt;
254-
&lt;BODY style="background: red"&gt;
255-
</PRE>
256-
257-
<P> In the example above, the canvas will be covered with
258-
"marble". The background of the BODY element (which may or may not
259-
fully cover the canvas) will be red.
260-
</div>
261-
262-
<P>Note that no structural element of a document corresponds to the
263-
canvas. In HTML, until other means of addressing the canvas become
264-
available, we recommend that authors set canvas properties on the BODY
265-
element.
266-
267-
<H3><a name="page">The page</a></H3>
268-
269-
<P>In order to handle paged media (printing, slides, etc.) correctly,
270-
we introduce the notion of the <span class="index-def"
271-
title="page"><em>page</em></span>, which is like a canvas except that
272-
both its width and height are finite. In the section on <a
273-
href="./print.html#page-breaks">page breaks</a>, we discuss how user
274-
agents must adapt the <a href="flowobj.html#flow-model">visual rendering
275-
model</a> to the case of paged media.
276-
277-
<P>That a "page" is an abstract rectangle that may or may not
278-
correspond to the size of a physical "sheet" of paper, transparency,
279-
etc. Once a page has been formatted, it is the user agent's
280-
responsibility to transfer pages to paper. The transfer may vary in
281-
complexity. Some transfer possibilities include:
282-
283-
<ul>
284-
<li>One page to one sheet of paper.
285-
<li>Two pages to one sheet of paper (double-sided printing).
286-
<li>N (small) pages to one sheet of paper (called <span
287-
class="index-def" title="n-up"><em>n-up</em></span>
288-
printing).
289-
<li>One (large) page to N x M sheets of paper (called "tiling").
290-
<li>Signatures (a group of pages
291-
printed on a sheet, which, when folded and trimmed like a book, appear in their
292-
proper sequence).
293-
<li>Printing to alternate paper trays.
294-
<li>Printing to a file.
295-
</ul>
296-
297-
<P>The transfer mechanism from page to sheet lies beyond the scope of
298-
this specification. However, the user agent does need to target
299-
a certain size and orientation when printing, and this is known as the
300-
<span class="index-def" title="print target"><EM>print
301-
target</EM></span>. The user will typically set set the target size
302-
and orientation in the <EM>Print</EM> dialogue box of the UA. There
303-
will often, but not always, be a correlation between the target size
304-
and the sheet size.
226+
<P> The canvas is an abstract rectangular surface on which visual user
227+
agent's format document elements. The canvas may be implemented in
228+
different media such as scrolled windows, on paper, etc. Please
229+
consult the section on <a href="./media.html">media types</a> for more
230+
information.
305231

306232
<H2>Conventions</H2>
307233
<H3><a name="property-defs">CSS property definitions</a></H3>

css2/fonts.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: fonts.src,v 1.18 1997-10-03 20:46:48 ian Exp $ -->
3+
<!-- $Id: fonts.src,v 1.19 1997-10-03 22:18:14 ian Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Fonts</TITLE>
@@ -685,7 +685,7 @@ rule specifies a value for every font descriptor, either implicitly or
685685
explicitly. Those not given explicit values in the rule take the
686686
initial value listed with each descriptor in this specification. These
687687
descriptors apply solely within the context of the @font-face rule in
688-
which they are defined, and do not apply to object language
688+
which they are defined, and do not apply to document language
689689
elements. Thus, there is no notion of which elements the descriptors
690690
apply to, or whether the values are inherited by child elements.
691691

0 commit comments

Comments
 (0)