Skip to content

Commit 6e26904

Browse files
committed
[css2] User agents may skip certain properties in the case of HTML: letter-spacing, justify, word-spacing, text-transform, white-space
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40609
1 parent 1d7604e commit 6e26904

1 file changed

Lines changed: 39 additions & 29 deletions

File tree

css2/text.src

Lines changed: 39 additions & 29 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: text.src,v 1.28 1997-12-29 22:03:20 ijacobs Exp $ -->
3+
<!-- $Id: text.src,v 1.29 1998-01-08 20:20:43 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Text</TITLE>
@@ -57,7 +57,7 @@ In this example, note that since <span
5757
class="propinst-text-align">'text-align'</span> inherits, all
5858
block-level elements inside the DIV element with 'class=center' will
5959
be centered. Note that alignments are relative to the width of the
60-
element, not the <a href="media.html#canvas">canvas</a>. If 'justify'
60+
element, not the <a href="intro.html#canvas">canvas</a>. If 'justify'
6161
is not supported, the UA will supply a replacement. Typically, this
6262
will be 'left' for western languages.
6363

@@ -66,8 +66,10 @@ will be 'left' for western languages.
6666
</PRE>
6767
</div>
6868

69-
<P> UAs may treat 'justify' as 'left' or 'right', depending on whether
70-
the element's default writing direction is left-to-right or
69+
<P><span class="index-inst" title="conformance"><a
70+
href="convent.html#conformance">Conforming HTML user agents</a></span> may
71+
interpret the value 'justify' as 'left' or 'right', depending on
72+
whether the element's default writing direction is left-to-right or
7173
right-to-left, respectively.
7274

7375
<H2>Decoration</H2>
@@ -239,10 +241,11 @@ class="propinst-font-size">'font-size'</span> property for related
239241
'auto' behavior.
240242
<!-- end proposed -->
241243

242-
<P>UAs may interpret any value of <span
243-
class="propinst-letter-spacing">'letter-spacing'</span> as
244-
'normal'. See the section on <a
245-
href="convent.html#conformance">conformance</a> for more information.
244+
<P><span class="index-inst" title="conformance"><a
245+
href="convent.html#conformance">Conforming HTML user agents</a></span> may
246+
consider the value of the <span
247+
class="propinst-letter-spacing">'letter-spacing'</span> property to be
248+
'normal'.
246249

247250
<!-- #include src=properties/word-spacing.srb -->
248251

@@ -261,11 +264,11 @@ In this example, the word-spacing between each word in H1 elements is
261264
</PRE>
262265
</div>
263266

264-
<P>UAs may interpret any value of <span
265-
class="propinst-word-spacing">'word-spacing'</span> as 'normal'. See
266-
the section on <a href="convent.html#conformance">conformance</a> for
267-
more information.
268-
267+
<P><span class="index-inst" title="conformance"><a
268+
href="convent.html#conformance">Conforming HTML user agents</a></span> may
269+
consider the value of the <span
270+
class="propinst-word-spacing">'word-spacing'</span> property to be
271+
'normal'.
269272

270273
<H2>Case</H2>
271274

@@ -296,16 +299,18 @@ class="propinst-text-transform">'text-transform'</span> property</H3>
296299
</DL>
297300

298301
<P> The actual transformation in each case is human language
299-
dependent. See <a rel="biblioentry"
300-
href="./refs.html#ref-RFC2070" class="normref">[RFC2070]</a> for ways to find the
301-
language of an element.
302-
303-
<P> UAs may ignore <span
304-
class="propinst-text-transform">'text-transform'</span> (i.e., treat
305-
it as 'none') for characters that are not from the Latin-1 repertoire
306-
and for elements in languages for which the transformation is
307-
different from that specified by the case-conversion tables of <a
308-
rel="biblioentry" href="./refs.html#ref-UNICODE" class="normref">[UNICODE]</a>.
302+
dependent. See <a rel="biblioentry" href="./refs.html#ref-RFC2070"
303+
class="normref">[RFC2070]</a> for ways to find the language of an
304+
element.
305+
306+
<P><span class="index-inst" title="conformance"><a
307+
href="convent.html#conformance">Conforming HTML user agents</a></span> may
308+
consider the value of <span
309+
class="propinst-text-transform">'text-transform'</span> to be 'none'
310+
for characters that are not from the Latin-1 repertoire and for
311+
elements in languages for which the transformation is different from
312+
that specified by the case-conversion tables of <a rel="biblioentry"
313+
href="./refs.html#ref-UNICODE" class="normref">[UNICODE]</a>.
309314

310315
<div class="example"><P>
311316
In this example, all text in an H1 element is transformed to uppercase
@@ -342,12 +347,17 @@ The following examples show what whitespace behavior is expected from
342347
</PRE>
343348
</div>
344349

345-
<P> The initial value of 'white-space' is 'normal', but a UA will
346-
typically have default values for each element.
347-
348-
<P> UAs may ignore the 'white-space' property in author's and reader's
349-
style sheets, and use the UA's default values instead. See the section
350-
on <a href="convent.html#conformance">conformance</a> for more information.
350+
<P> The initial value of <span
351+
class="propinst-white-space">'white-space'</span> is 'normal', but a
352+
UA will typically have default values for each element.
353+
354+
<P><span class="index-inst" title="conformance"><a
355+
href="convent.html#conformance">Conforming HTML user agents</a></span>
356+
may <span class="index-inst" title="skip"><a
357+
href="syndata.html#skip">skip</a></span> the <span
358+
class="propinst-white-space">'white-space'</span> property in author
359+
and user style sheets but must specify a value for it in the default
360+
style sheet.
351361

352362
<H2>Text in HTML</H2>
353363
<H3>Forcing a line break</H3>

0 commit comments

Comments
 (0)