Skip to content

Commit 128c790

Browse files
committed
[css2] Text shadows apply to :first-letter/:first-line, initial value of text-align is also writing direction dependent
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401306
1 parent 990a164 commit 128c790

1 file changed

Lines changed: 14 additions & 10 deletions

File tree

css2/text.src

Lines changed: 14 additions & 10 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 2.12 1998-03-16 14:37:47 ijacobs Exp $ -->
3+
<!-- $Id: text.src,v 2.13 1998-03-21 00:40:23 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Text</TITLE>
@@ -90,7 +90,7 @@ be centered.
9090

9191
<div class="note"><P>
9292
<em><strong>Note.</strong>
93-
The actual justification algorithm used is user-agent and human-language
93+
The actual justification algorithm used is user-agent and written language
9494
dependent.</em>
9595

9696
<P><em><span class="index-inst" title="conformance"><a
@@ -158,13 +158,13 @@ class="propinst-text-shadow">'text-shadow'</span> property</H3>
158158

159159
<!-- #include src=properties/text-shadow.srb -->
160160

161-
<P>The 'text-shadow' property accepts a comma-separated list of shadow
162-
effects to be applied to the text of the element. The shadow effects
163-
are applied in the order specified and may thus overlay each other,
164-
but they will never overlay the text itself. Shadow effects do not
165-
alter the size of the element, but may extend beyond its boundaries.
166-
The <A href="visuren.html#stack-level">Z-order</a> of the shadow
167-
effects is the same as for the element itself.
161+
<P>This property accepts a comma-separated list of shadow effects to
162+
be applied to the text of the element. The shadow effects are applied
163+
in the order specified and may thus overlay each other, but they will
164+
never overlay the text itself. Shadow effects do not alter the size of
165+
a box, but may extend beyond its boundaries. The <A
166+
href="visuren.html#stack-level">stack level</a> of the shadow effects
167+
is the same as for the element itself.
168168

169169
<P>Each shadow effect must specify a shadow offset and may optionally
170170
specify a blur radius and a shadow color.
@@ -189,6 +189,10 @@ the basis for the shadow effect. If no color is specified, the value
189189
of the <span class="propinst-color">'color'</span> property will be
190190
used instead.
191191

192+
<P>Text shadows may be used with the <a
193+
href="selector.html#first-letter"> :first-letter</a> and <a
194+
href="selector.html#first-line">:first-line</a> pseudo-elements.
195+
192196
<div class="example">
193197

194198
<P>The example below will set a text shadow to the right and below the
@@ -358,7 +362,7 @@ an element's text. Values have the following meanings:</p>
358362
<DD>No capitalization effects.
359363
</DL>
360364

361-
<P> The actual transformation in each case is human language-
365+
<P> The actual transformation in each case is written language
362366
dependent. See RFC 2070 ([[RFC2070]]) for ways to find the language of
363367
an element.
364368

0 commit comments

Comments
 (0)