Skip to content

Commit c942e85

Browse files
committed
[css2] Issues 62, 90, 104, 116, 120, 127, 134, 139
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402388
1 parent f22c6c9 commit c942e85

14 files changed

Lines changed: 121 additions & 104 deletions

css2/Makefile

Lines changed: 28 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Makefile to generate the CSS2 document based on its "source files"
22
# Arnaud Le Hors - lehors@w3.org
3-
# $Id: Makefile,v 2.90 2005-09-13 19:29:12 bbos Exp $
3+
# $Id: Makefile,v 2.91 2006-01-24 06:52:08 bbos Exp $
44

55
# what needs to be set for every new release:
66
# Note use of full year (1998) in identifier.
@@ -58,14 +58,14 @@ fonts.src\
5858
text.src\
5959
tables.src\
6060
ui.src\
61+
aural.src\
6162
zindex.src\
62-
leftblank.src\
63-
aural.src
63+
leftblank.src
6464

6565

6666
APPSRCS = \
67-
sample.src\
6867
changes.src\
68+
sample.src\
6969
grammar.src
7070

7171
REFSRCS = \
@@ -77,7 +77,12 @@ indexlist.src
7777

7878
MAINSRCS = $(SRCS1)
7979

80-
MAINOBJS = \
80+
REFS= \
81+
refs.html
82+
83+
SPECSRCS= $(SRCS0) $(MAINSRCS) $(APPSRCS)
84+
85+
SPECOBJS= \
8186
cover.html\
8287
about.html\
8388
intro.html\
@@ -97,32 +102,22 @@ fonts.html\
97102
text.html\
98103
tables.html\
99104
ui.html\
100-
zindex.html\
101-
leftblank.html\
102-
aural.html
103-
104-
APPENDIXES= \
105-
sample.html\
105+
aural.html\
106+
refs.html\
106107
changes.html\
108+
sample.html\
109+
zindex.html\
110+
propidx.html\
111+
grammar.html\
107112
leftblank.html\
108-
grammar.html
109-
110-
REFS= \
111-
refs.html
112-
113-
INDEXES= \
114-
propidx.html \
115113
indexlist.html
116114

117-
SPECSRCS= $(SRCS0) $(MAINSRCS) $(APPSRCS)
118-
SPECOBJS= $(MAINOBJS) $(APPENDIXES) $(REFS)
119-
120115
#IMAGES = images/*.gif images/*.png
121116
IMAGES = images/*.png images/*.jpg
122117
LONGDESCS = images/longdesc/*.html
123118
STYLESHEETS= style/*.css
124119

125-
ALLOBJS= $(SPECOBJS) $(INDEXES) $(IMAGES) $(LONGDESCS) $(STYLESHEETS)
120+
ALLOBJS= $(SPECOBJS) $(IMAGES) $(LONGDESCS) $(STYLESHEETS)
126121

127122
PROPSRC= properties/properties.db
128123
PROPSAMPLE= properties/sample.db
@@ -290,7 +285,7 @@ LN= ln
290285
# $(RM) $@
291286
# fig2dev -L eps $< | $(PSTOPNM) | $(PNMTOPNG_PIPE) >$@
292287

293-
all: build/blocks.ok $(SPECOBJS) $(INDEXES) images/pngs.ok \
288+
all: build/blocks.ok $(SPECOBJS) images/pngs.ok \
294289
$(IMAGES)
295290
# $(IMAGES) issues.html errata-issues.html DOC/TODO.html
296291

@@ -348,13 +343,13 @@ errata.html : errata.src
348343

349344
#### Special section to build PS file and single plain text file
350345

351-
css2.ps ps: build/blocks.ok $(SPECOBJS) $(INDEXES) images/pngs.ok $(IMAGES)
346+
css2.ps ps: build/blocks.ok $(SPECOBJS) images/pngs.ok $(IMAGES)
352347
# Because of memory limitations in html2ps, use the
353348
# automagic feature that any *.gif files are not
354349
# converted to ps if there's a *.ps file in the same
355350
# directory.
356351
-@(cd images; for i in *.idraw; do $(LN) -s $$i "`basename $$i .idraw`.ps"; done)
357-
$(HTML2PS) $(SPECOBJS) $(INDEXES) > $@
352+
$(HTML2PS) $(SPECOBJS) > $@
358353

359354
css2.ps.gz: css2.ps
360355
gzip <$< >$@
@@ -363,8 +358,8 @@ css2.ps.gz: css2.ps
363358
css2.pdf: css2.ps
364359
$(DISTILL) css2.ps
365360

366-
css2.html html: $(SPECOBJS) $(INDEXES)
367-
$(HTMLCAT) - $(SPECOBJS) $(INDEXES) | \
361+
css2.html html: $(SPECOBJS)
362+
$(HTMLCAT) - $(SPECOBJS) | \
368363
$(HTMLTRIM) div navbar - $@
369364

370365
# the following requires to be on unix and have Netscape running...
@@ -479,11 +474,9 @@ propidx.srd:: build/propidx.srb #propidx.src
479474

480475
check: checkdoc checkspaces checkprops checkrefs checkspell checksample checklnx checkx
481476

482-
FILES= $(MAINOBJS) $(APPENDIXES) $(REFS) $(INDEXES)
483-
484477
checkdoc: all
485478
-@echo "# Begin checking sgml."
486-
@for i in $(FILES) $(LONGDESCS); \
479+
@for i in $(SPECOBJS) $(LONGDESCS); \
487480
do echo checking $$i...; \
488481
$(NSGMLS) -s -c sgml/HTML4.cat $(HTMLDECL) $$i; done;
489482
-@echo "# End checking sgml."
@@ -522,7 +515,7 @@ checksample: sample.src $(PROPSRC)
522515
checklnx: all
523516
-@echo "# Begin checking links."
524517
-@$(RM) linklint
525-
$(LINKLINT) -doc linklint $(FILES)
518+
$(LINKLINT) -doc linklint $(SPECOBJS)
526519
-@echo "# End checking links."
527520

528521
### check property instances
@@ -572,9 +565,8 @@ log:
572565
done; rm /tmp/log
573566

574567
clean:
575-
$(RM) $(SPECOBJS) $(INDEXES) $(PROPBLKSDIR)/* \
568+
$(RM) $(SPECOBJS) $(PROPBLKSDIR)/* \
576569
$(SPECOBJS:.html=.srd) $(SPECOBJS:.html=.subtoc) \
577-
$(INDEXES:.html=.srd) \
578570
build/* css2.* linklint images/links.ok images/pngs.ok
579571

580572
realclean: clean
@@ -589,11 +581,11 @@ PREVREC = ../../../TR/1998/REC-CSS2-19980512
589581
PREVWD = ../../../TR/$(PREV_YEAR)/$(PREV_STATUS)-$(PERMANENT_NAME)-$(PREV_DATE)
590582
HTMLDIFF = htmldiff -i -w '<del>' -x '</del>' -y '<ins>' -z '</ins>'
591583

592-
diffs: $(SPECOBJS) $(INDEXES)
584+
diffs: $(SPECOBJS)
593585
-(cd diffs-rec;\
594-
make PREV=../$(PREVREC) HTMLDIFF="$(HTMLDIFF)" $(SPECOBJS) $(INDEXES))
586+
make PREV=../$(PREVREC) HTMLDIFF="$(HTMLDIFF)" $(SPECOBJS)
595587
-(cd diffs-wd;\
596-
make PREV=../$(PREVWD) HTMLDIFF="$(HTMLDIFF)" $(SPECOBJS) $(INDEXES))
588+
make PREV=../$(PREVWD) HTMLDIFF="$(HTMLDIFF)" $(SPECOBJS)
597589

598590

599591
.PHONY: all install install-all clean realclean checkx diffs

css2/about.src

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'>
22

33
<html lang="en">
4-
<!-- $Id: about.src,v 2.67 2005-10-18 18:52:03 bbos Exp $ -->
4+
<!-- $Id: about.src,v 2.68 2006-01-24 06:50:24 bbos Exp $ -->
55
<HEAD>
66
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
77
<TITLE>About the CSS&nbsp;2.1 Specification</TITLE>
@@ -58,12 +58,16 @@ are worthwhile.
5858
<p>CSS&nbsp;2.1 is derived from and is intended to replace CSS2. Some
5959
parts of CSS2 are unchanged in CSS&nbsp;2.1, some parts have been
6060
altered, and some parts removed. The removed portions may be used in a
61-
future CSS3 specification. Implementations may refer to CSS2 for the
62-
definitions of features that have been removed, but for other features
63-
CSS&nbsp;2.1 is the normative reference.
61+
future CSS3 specification. Future specs should refer to CSS&nbsp;2.1
62+
(unless they need features from CSS2 which have been dropped in
63+
CSS&nbsp;2.1, and then they should only reference CSS2 for those
64+
features, or preferably reference such feature(s) in the respective
65+
CSS3 Module that includes those feature(s)).
6466

6567
<h2>Reading the specification</h2>
6668

69+
<p>This section is non-normative.
70+
6771
<P>This specification has been written with two types of readers in
6872
mind: CSS authors and CSS implementors. We hope the specification will
6973
provide authors with the tools they need to write efficient,
@@ -89,6 +93,8 @@ version of the document.
8993

9094
<h2>How the specification is organized</h2>
9195

96+
<p>This section is non-normative.
97+
9298
<P>The specification is organized into the following sections:
9399

94100
<dl>
@@ -360,6 +366,8 @@ the long description is denoted by a "[D]" after the image.
360366

361367
<H2>Acknowledgments</H2>
362368

369+
<p>This section is non-normative.
370+
363371
<p>CSS 2.1 is based on CSS2. See the <a
364372
href="http://www.w3.org/TR/REC-CSS2/about.html#q15">acknowledgments
365373
section of CSS2</a> for the people that contributed to CSS2.

css2/box.src

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'>
22

33
<html lang="en">
4-
<!-- $Id: box.src,v 1.62 2005-10-20 03:14:37 bbos Exp $ -->
4+
<!-- $Id: box.src,v 1.63 2006-01-24 06:50:24 bbos Exp $ -->
55
<HEAD>
66
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
77
<TITLE>Box model</TITLE>
@@ -347,12 +347,12 @@ its first in-flow block-level child's top margin if the element has no
347347
top border, no top padding, and the child has no <a
348348
href="visuren.html#clearance">clearance.</a></p>
349349

350-
The bottom margin of an in-flow block-level element with
351-
a <span class="propinst-height">'height'</span> of 'auto'
352-
and <span class="propinst-min-height">'min-height'</span> less than
353-
the element's used height
354-
and <span class="propinst-max-height">'max-height'</span> greater than
355-
the element's used height is adjoining to its last in-flow block-level
350+
<p>The bottom margin of an in-flow block-level element with a <span
351+
class="propinst-height">'height'</span> of 'auto' and <span
352+
class="propinst-min-height">'min-height'</span> less than the
353+
element's used height and <span
354+
class="propinst-max-height">'max-height'</span> greater than the
355+
element's used height is adjoining to its last in-flow block-level
356356
child's bottom margin if the element has no bottom padding or border.
357357

358358
<p>An element's own margins are adjoining if the <span

css2/changes.src

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: changes.src,v 2.49 2005-09-13 19:16:22 bbos Exp $ -->
3+
<!-- $Id: changes.src,v 2.50 2006-01-24 06:50:24 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Changes</TITLE>
@@ -30,10 +30,9 @@ The 'display' property</a></h3>
3030
<h3 id="s-12-2a"><a href="generate.html#content">Section 12.2 The
3131
'content' property</a></h3>
3232

33-
<p>New 'content' value 'normal'. (Because ':before {content: ""}'
34-
generates a box, while ':before {content: normal}' does not. It is
35-
called 'normal' and not 'none', because 'content: normal' will mean
36-
other things for other kinds of elements in CSS3.)
33+
<p>New 'content' values 'none' and 'normal'. (The values 'none' and
34+
'normal' are equivalent in CSS&nbsp;2.1, but may have different
35+
functions in CSS3.)
3736

3837
<h3 id="s-18-1"><a href="ui.html#propdef-cursor">Section 18.1 Cursors:
3938
the 'cursor' property</a></h3>

css2/conform.src

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: conform.src,v 2.69 2005-10-18 18:52:03 bbos Exp $ -->
3+
<!-- $Id: conform.src,v 2.70 2006-01-24 06:50:24 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Conformance: requirements and recommendations</TITLE>
@@ -40,6 +40,9 @@ on conformance. (For example, 'aural' is marked as non-normative, so
4040
UAs do not need to support it; the system colors are normative, so UAs
4141
must support them.)
4242

43+
<p>All sections of this specification, including appendices, are
44+
normative unless otherwise noted.
45+
4346
<p><a href="about.html#notes-and-examples">Examples and notes</a>
4447
are not normative.
4548

css2/cover.src

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,11 @@ that are implemented interoperably at the date of publication of the Recommendat
9696
<p>CSS&nbsp;2.1 is derived from and is intended to replace CSS2. Some
9797
parts of CSS2 are unchanged in CSS&nbsp;2.1, some parts have been
9898
altered, and some parts removed. The removed portions may be used in a
99-
future CSS3 specification. Implementations may refer to CSS2 for the
100-
definitions of features that have been removed, but for other features
101-
CSS&nbsp;2.1 is the normative reference.
99+
future CSS3 specification. Future specs should refer to CSS&nbsp;2.1
100+
(unless they need features from CSS2 which have been dropped in
101+
CSS&nbsp;2.1, and then they should only reference CSS2 for those
102+
features, or preferably reference such feature(s) in the respective
103+
CSS3 Module that includes those feature(s)).
102104

103105
<h2 id=status>Status of this document</h2>
104106

css2/grammar.src

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: grammar.src,v 2.43 2005-08-27 09:25:58 ihickson Exp $ -->
3+
<!-- $Id: grammar.src,v 2.44 2006-01-24 06:50:24 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Grammar of CSS&nbsp;2.1</TITLE>
77
</HEAD>
88
<BODY>
99
<H1>Grammar of CSS&nbsp;2.1</H1>
10-
<P><em>This appendix is normative.</em>
1110

1211
<P>The grammar below defines the syntax of CSS&nbsp;2.1. It is in some sense,
1312
however, a superset of CSS&nbsp;2.1 as this specification imposes additional

0 commit comments

Comments
 (0)