Skip to content

Commit 19a319d

Browse files
committed
[css2] 'text-align: <string>' no longer allowed; counters added back;
'cursor: <uri>' added back. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401938
1 parent 87eae62 commit 19a319d

3 files changed

Lines changed: 26 additions & 79 deletions

File tree

css2/changes.src

Lines changed: 10 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: changes.src,v 2.29 2002-08-02 17:37:00 bbos Exp $ -->
3+
<!-- $Id: changes.src,v 2.30 2002-08-07 18:19:16 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Appendix B: Changes</TITLE>
@@ -882,11 +882,17 @@ with respect to the top and left edges for <em>all</em> four values
882882
(top, right, bottom, and left). This is now the correct
883883
interpretation.
884884

885-
<h4 id="s-17-4-1"><a href="tables.html##q6">17.4.1 Caption position
885+
<h4 id="s-17-4-1"><a href="tables.html#q6">17.4.1 Caption position
886886
and alignment</a></h4>
887887

888888
<p>The 'left' and 'right' values on 'caption-side' have been removed.
889889

890+
<h4 id="s-17-5-4"><a href="tables.html#column-alignment">17.5.4
891+
Horizontal alignment in a column</a>
892+
893+
<p>The &lt;string&gt; value for 'text-align' is not part of
894+
CSS&nbsp;2.1.
895+
890896
<h4 id="s-17-6"><a href="tables.html#borders">Section 17.6
891897
Borders</a></h4>
892898

@@ -898,8 +904,7 @@ implement the CSS table model. 'Separate' is now the initial value.
898904
<h4 id="s-12"><a href="generate.html">Chapter 12 Generated content,
899905
automatic numbering, and lists</a></h4>
900906

901-
<p>Named counters don't exist in CSS&nbsp;2.1, nor does the 'marker'
902-
value for 'display'.
907+
<p>The 'marker' value for 'display' does not exist in CSS&nbsp;2.1
903908

904909
<h4 id="s-12-2"><a href="generate.html#propdef-content">Section 12.2
905910
The 'content' property</a></h4>
@@ -917,7 +922,7 @@ CSS&nbsp;2.1.
917922
<h4 id="s-18-1"><a href="ui.html#cursor-props">Section 18.1 Cursors:
918923
the 'cursor' property</a></h4>
919924

920-
<p>The value '&lt;uri&gt;' is dropped. The value 'progress' is added.
925+
<p>The value 'progress' is added.
921926

922927
<h4 id="text"><a href="text.html">Chapter 16 Text</a></h4>
923928

css2/properties/properties.db

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ allowed on 'font-size' and 'line-height' ;; visual;; 2 2.1
189189
0;; block-level elements;; yes;; refer to width of containing block;; visual;; 2 2.1
190190
*/
191191

192-
/* text-align;; left | right | center | justify | <string> | inherit;;
192+
/* text-align;; left | right | center | justify | inherit;;
193193
depends on user agent and writing direction;;
194194
block-level elements and table cells;;
195195
yes;; N/A;; visual;; 2 2.1
@@ -239,10 +239,16 @@ outside;;
239239
*/
240240

241241
/* cursor;;
242-
auto | crosshair | default | pointer | move | e-resize
242+
[ [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize
243243
| ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize
244-
| w-resize| text | wait | help | progress | inherit;;
245-
auto;; *;; yes;; N/A;; visual, interactive;; 2 2.1
244+
| w-resize| text | wait | help ] ] | inherit;;
245+
auto;; *;; yes;; N/A;; visual, interactive;; 2
246+
*/
247+
/* cursor;;
248+
[ [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize
249+
| ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize
250+
| w-resize| text | wait | help | progress ] ] | inherit;;
251+
auto;; *;; yes;; N/A;; visual, interactive;; 2.1
246252
*/
247253

248254
/* volume;; <number> | <percentage> | silent | x-soft | soft | medium | loud |
@@ -336,9 +342,12 @@ no;; N/A;; visual;; 2 2.1 */
336342
/* empty-cells;; show | hide | inherit;; show;; 'table-cell'
337343
elements;; yes;; N/A;; visual;; 2 2.1 */
338344

339-
/* content;; [ <string> | attr(X) | open-quote | close-quote
345+
/* content;; [ <string> | <counter> | attr(X) | open-quote | close-quote
346+
| no-open-quote | no-close-quote ]+ | inherit;; empty string;;
347+
:before and :after pseudo-elements;; no;; N/A;; all;; 2.1 */
348+
/* content;; [ <string> | <uri> | <counter> | attr(X) | open-quote | close-quote
340349
| no-open-quote | no-close-quote ]+ | inherit;; empty string;;
341-
:before and :after pseudo-elements;; no;; N/A;; all;; 2 2.1 */
350+
:before and :after pseudo-elements;; no;; N/A;; all;; 2 */
342351

343352
/* quotes;; [<string> <string>]+ | none | inherit;; depends on user agent;;
344353
*;; yes;; N/A;; visual;; 2 2.1 */

css2/tables.src

Lines changed: 1 addition & 68 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: tables.src,v 2.54 2002-08-02 17:45:39 bbos Exp $ -->
3+
<!-- $Id: tables.src,v 2.55 2002-08-07 18:19:16 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
66
<title>Tables</title>
@@ -963,73 +963,6 @@ extra top or bottom padding.</p>
963963
specified with the <span
964964
class="propinst-text-align">'text-align'</span> property.
965965

966-
<P>When the <span class="propinst-text-align">'text-align'</span>
967-
property for more than one cell in a column is set to a <span
968-
class="index-inst" title="&lt;string&gt;"><span
969-
class="value-inst-string">&lt;string&gt;</span></span> value, the
970-
content of those cells is aligned along a vertical axis. The beginning
971-
of the string touches this axis. Character directionality determines
972-
whether the string lies to the left or right of the axis.
973-
974-
<p>Aligning text in this way is only useful if the text fits on one
975-
line. The result is undefined if the cell content spans more than one
976-
line.
977-
978-
<p>If value of <span class="propinst-text-align">'text-align'</span>
979-
for a table cell is a string but the string doesn't occur in the cell
980-
content, the end of the cell's content touches the vertical axis of
981-
alignment.
982-
983-
<p>Note that the strings do not have to be the same for each cell,
984-
although they usually are.
985-
986-
<P>CSS does not provide a way specify the offset of the vertical
987-
alignment axis with respect to the edge of a column box.
988-
989-
<div class="example"><P>
990-
The following style sheet:</p>
991-
992-
<PRE>
993-
td { text-align: "." }
994-
td:before { content: "$" }
995-
</PRE>
996-
997-
<P>will cause the column of dollar figures
998-
in the following HTML table:</p>
999-
1000-
<PRE class="html-example">
1001-
&lt;TABLE&gt;
1002-
&lt;COL width="40"&gt;
1003-
&lt;TR&gt; &lt;TH&gt;Long distance calls
1004-
&lt;TR&gt; &lt;TD&gt; 1.30
1005-
&lt;TR&gt; &lt;TD&gt; 2.50
1006-
&lt;TR&gt; &lt;TD&gt; 10.80
1007-
&lt;TR&gt; &lt;TD&gt; 111.01
1008-
&lt;TR&gt; &lt;TD&gt; 85.
1009-
&lt;TR&gt; &lt;TD&gt; 90
1010-
&lt;TR&gt; &lt;TD&gt; .05
1011-
&lt;TR&gt; &lt;TD&gt; .06
1012-
&lt;/TABLE&gt;
1013-
</PRE>
1014-
1015-
<P>to align along the decimal point. For fun,
1016-
we have used the <span class="index-inst" title=":before">:before</span>
1017-
pseudo-element to insert a dollar sign before each figure. The table
1018-
might be rendered as follows:</P>
1019-
1020-
<PRE>
1021-
Long distance calls
1022-
$1.30
1023-
$2.50
1024-
$10.80
1025-
$111.01
1026-
$85.
1027-
$90
1028-
$.05
1029-
$.06
1030-
</PRE>
1031-
</div>
1032-
1033966
<h3><a name="dynamic-effects">Dynamic row and column effects</a></h3>
1034967

1035968
<p>The <span class="propinst-visibility">'visibility'</span> property

0 commit comments

Comments
 (0)