Skip to content

Commit 10146bd

Browse files
committed
[css2] Another five edits
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402206
1 parent c58b6fe commit 10146bd

6 files changed

Lines changed: 23 additions & 21 deletions

File tree

css2/bin/pextr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# <span class="propinst-name">&lt;'name'&gt;</span>
1414
#
1515
# Ian Jacobs - ij@w3.org (Based on work by Arnaud Le Hors)
16-
# $Id: pextr,v 1.28 2003-07-04 16:11:47 bbos Exp $
16+
# $Id: pextr,v 1.29 2004-02-10 17:23:56 bbos Exp $
1717
#
1818

1919
$PROGNAME = substr($0, rindex($0, "/") + 1);
@@ -109,7 +109,7 @@ print output "<td>$init\n";
109109
sub format_applies {
110110
#Note that in the case of properties, <> are removed in text.
111111
$applies = clean($_[0]);
112-
$applies =~ s/\*/all elements/g;
112+
$applies =~ s/^\*$/all elements/g;
113113
print output "<tr valign=baseline>";
114114
print output "<td><em>Applies to:</em>&nbsp;&nbsp;";
115115
print output "<td>$applies\n";

css2/properties/properties.db

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,10 @@ table-cell | table-caption | none | inherit;;
435435
as specified
436436
*/
437437
/* background-position;;
438-
[ [<percentage> | <length> | top | center | bottom] || [<percentage> | <length> | left | center | right] ] | inherit;;
438+
[ [ <percentage> | <length> | left | center | right ]
439+
[ <percentage> | <length> | top | center | bottom ]? ] |
440+
[ [ left | center | right ] || [ top | center | bottom ] ] |
441+
inherit;;
439442
0% 0%;;
440443
*;;
441444
no;;

css2/syndata.src

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
22
"http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
33
<html lang="en">
4-
<!-- $Id: syndata.src,v 2.94 2004-02-09 17:24:09 bbos Exp $ -->
4+
<!-- $Id: syndata.src,v 2.95 2004-02-10 17:23:55 bbos Exp $ -->
55
<head>
66
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
77
<title>Syntax and basic data types</title>
88
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
9-
<!-- Changed by: Tantek Celik, 2004-02-05 -->
9+
<!-- Changed by: Tantek Celik, 2004-02-09 -->
1010
<style type="text/css">
1111
span.colorsquare { float:left; width:5em; height:3em; text-align:center; padding:1.2em 0 .8em }
1212
span.colorname { font-weight:bold }
@@ -835,8 +835,7 @@ h4 { font-size: 1pc } /* picas */
835835
</pre>
836836
</div>
837837

838-
<p>In cases where the used length cannot be supported, user
839-
agents must approximate it in the <a
838+
<p>In cases where the <a href="cascade.html#usedValue">used</a> length cannot be supported, user agents must approximate it in the <a
840839
href="cascade.html#actual-value">actual value.</a>
841840
</p>
842841
<h3> <a name="percentage-units">Percentages</a></h3>

css2/text.src

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
22
"http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
33
<html lang="en">
4-
<!-- $Id: text.src,v 2.42 2004-02-09 17:24:09 bbos Exp $ -->
4+
<!-- $Id: text.src,v 2.43 2004-02-10 17:23:55 bbos Exp $ -->
55
<head>
66
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
77
<title>Text</title>
88
<meta http-equiv="Content-Style-Type" content="text/css">
99
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
10-
<!-- Changed by: Tantek Celik, 2004-02-05 -->
10+
<!-- Changed by: Tantek Celik, 2004-02-09 -->
1111
<style type="text/css">
1212
.current,.proposed,span.delcurrent { background:#feb }
1313
ins.proposed,span.insproposed { background:#bfb }
@@ -149,8 +149,7 @@ property</h3>
149149
This property describes decorations that are added
150150
to the text of an element using the element's color.
151151
When specified on an inline element, it
152-
affects all the boxes generated by that element,
153-
; for all other
152+
affects all the boxes generated by that element; for all other
154153
elements, the decorations are propagated to an anonymous inline box
155154
that wraps all the in-flow inline children of the element, and to any
156155
<a

css2/visudet.src

Lines changed: 6 additions & 5 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: visudet.src,v 2.92 2004-02-09 21:47:47 bbos Exp $ -->
3+
<!-- $Id: visudet.src,v 2.93 2004-02-10 17:23:55 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Visual formatting model details</title>
@@ -361,9 +361,10 @@ where explicit line breaks occur, and also calculate the preferred
361361
<em>minimum</em> width, e.g., by trying all possible line breaks.
362362
CSS&nbsp;2.1 does not define the exact algorithm. Thirdly, find the
363363
<em>available width</em>: in this case, this is the width of the
364-
containing block minus <span
365-
class="propinst-margin-left">'margin-left'</span> and <span
366-
class="propinst-margin-right">'margin-right'</span>.
364+
containing block minus minus the used values of 'margin-left',
365+
'border-left-width', 'padding-left', 'padding-right',
366+
'border-right-width', 'margin-right', and the widths of any relevant
367+
scroll bars.
367368
</p>
368369
<p>Then the shrink-to-fit width is: min(max(preferred minimum width,
369370
available width), preferred width).</p>
@@ -946,7 +947,7 @@ whose bottom margin
946947
edge is below the bottom, then the height is increased to include
947948
those edges. Only floats that are children of the element itself or of
948949
descendants in the normal flow are taken into account, e.g., floats
949-
inside absolutely positioned descendants are not.
950+
inside absolutely positioned descendants or other floats are not.
950951
</p>
951952

952953

css2/visuren.src

Lines changed: 5 additions & 5 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: visuren.src,v 2.111 2004-02-09 17:24:09 bbos Exp $ -->
3+
<!-- $Id: visuren.src,v 2.112 2004-02-10 17:23:56 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<title>Visual formatting model</title>
77
<meta name="editor" lang="tr" content="Tantek &Ccedil;elik">
8-
<!-- Changed by: Tantek Celik, 2004-02-05 -->
8+
<!-- Changed by: Tantek Celik, 2004-02-09 -->
99
<style type="text/css">
1010
.current,.proposed,span.delcurrent { background:#feb }
1111
ins.proposed,span.insproposed,li.insproposed { background:#bfb }
@@ -909,9 +909,9 @@ Note.
909909
Dynamic movement of relatively positioned boxes can produce
910910
animation effects in scripting environments (see also the <span
911911
class="propinst-visibility">'visibility'</span> property).
912-
Also, relative positioning may be used as a form of superscripting and
913-
subscripting, except that the line height is not automatically adjusted to
914-
take the positioning into consideration. See the description of <a
912+
Although relative positioning may be used as a form of superscripting and
913+
subscripting, the line height is not automatically adjusted to take the
914+
positioning into consideration. See the description of <a
915915
href="visudet.html#line-height">line height calculations</a> for more
916916
information.
917917
</p>

0 commit comments

Comments
 (0)