Skip to content

Commit 6cd1edd

Browse files
committed
[css2] rewrote the rule about "borrowing" background from the BODY element as
a an exception to the general rule that backgrounds are based on the root element. added comment about braille printers rewrote the description of the SCREEN and PROJECTOR media types minor tweaks --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40370
1 parent b5d904b commit 6cd1edd

1 file changed

Lines changed: 17 additions & 13 deletions

File tree

css2/media.src

Lines changed: 17 additions & 13 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: media.src,v 1.21 1997-10-30 08:36:32 ian Exp $ -->
3+
<!-- $Id: media.src,v 1.22 1997-11-04 14:41:56 howcome Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Media types</TITLE>
@@ -128,26 +128,28 @@ unconditional. Specifying 'all' for the medium has the same effect.
128128

129129
<p>Due to rapidly changing technologies, CSS2 does not specify a
130130
definitive list of media types that may be values for <span
131-
class="index-inst" title="@media"> @media.</span> However, user agents
131+
class="index-inst" title="@media">@media</span>. However, user agents
132132
that elect to support the devices in the following list must recognize
133133
the associated media type:
134134

135135
<ul>
136-
<li><samp>SCREEN:</samp> intended primarily for scrolled computer
137-
screens, but many properties also apply to print and projection media
138-
as well. This is the default value. See the section on
136+
137+
<li><samp>SCREEN:</samp> intended primarily for scrolled color computer
138+
screens. See the section on
139139
<a href="#scrolled-media">scrollable media</a> for more information.
140140

141141
<li><samp>PRINT:</samp> intended for paged, opaque
142142
material and for documents viewed on screen in print preview mode.
143143
Please consult the section on <a href="page.html">paged media</a> for
144144
information about formatting issues that are specific to paged media.
145145

146-
<li><samp>PROJECTION:</samp> intended for projectors.
146+
<li><samp>PROJECTION:</samp> intended for projected presentations, for
147+
example projectors or print to transparencies.
147148
Please consult the section on <a href="page.html">paged media</a> for
148149
information about formatting issues that are specific to paged media.
149150

150-
<li><samp>BRAILLE:</samp> intended for braille tactile feedback devices.
151+
<li><samp>BRAILLE:</samp> intended for braille tactile feedback
152+
devices. [HWL: we should also have a media type for Braille printers]
151153

152154
<li><samp>AURAL:</samp> intended for speech synthesizers. See the
153155
section on <a href="./aural.html">aural style sheets</a> for details.
@@ -166,11 +168,11 @@ screen, monochrome, limited bandwidth).
166168
<H3><a name="canvas">The canvas</a></H3>
167169

168170
<P>For all media, the term <span class="index-def" title="canvas">
169-
canvas</span> means "the space where the various models generate the
170-
tree of rendering objects" (see the <a href="process.html">CSS2
171+
canvas</span> means "the space where rendering objects are rendered"
172+
(see the <a href="process.html">CSS2
171173
process model</a>). For a screen, the canvas is a rectangular space
172174
generally of fixed width and "infinite" length. For paged media, the
173-
canvas is a rectangular space generally of fixed width and height.
175+
canvas is a sequence of rectangular page boxes of fixed width and height.
174176
For aural media, the canvas is a three dimensional audio space.
175177

176178
<H4><a name="scrolled-media">Scrollable media</a></H4>
@@ -187,15 +189,17 @@ mechanism to bring hidden parts into view.
187189
<P>The user agent generally determines the width of the canvas and may
188190
change the dimensions of the canvas when the viewport is resized.
189191

190-
<P>When an HTML document doesn't cover the entire canvas, user agents
191-
should display the background according to the following algorithm: if
192+
<P>In general, when a document doesn't cover the entire canvas, the
193+
User agent should "borrow" the background of the root element. Since
194+
the BODY element is often percieved as the root element in HTML, this
195+
special rules apply to HTML documents: if
192196
the <span class="propinst-background">'background'</span> value of the
193197
HTML element is different from 'transparent' then use it, else use the
194198
<span class="propinst-background">'background'</span> value of the
195199
BODY element. If the resulting value is 'transparent', the rendering
196200
is undefined.
197201

198-
<P>This rule allows the following, for example:
202+
<P>This rule allows the following:
199203

200204
<div class="example"><P>
201205
<PRE>

0 commit comments

Comments
 (0)