CSS2.1

The CSS2.1 specification is a revision of of CSS2 that corrects many errors and omissions in the CSS2 Recommendation. It has also dropped unimplemented features and introduced a handful of minor new ones.

There is an errata document for CSS2.1.

Current Issues

The following are known problems in the 19 July 2007 CSS2.1 Candidate Recommendation. Once resolved, any resulting changes or corrections will be added to the errata list.

Issue 1

URL
http://lists.w3.org/Archives/Member/w3c-css-wg/2007AprJun/0429.html
Summary
What should 'width' on columns and column groups really mean?
Proposal
Add text in http://lists.w3.org/Archives/Public/www-style/2008Mar/0182.html to definition in 17.3
Resolution
No change.
Status
Closed.

Issue 2

URL
http://lists.w3.org/Archives/Public/www-style/2007Jul/0118.html
Summary
Remove DELIM? from declaration definition in 4.1.1. (It was added there to enable vendor extensions, but that's already solved by allowing hyphens at the beginning of an identifier.)
Resolution
Accepted to remove DELIM? from declaration.
Status
Closed.

Issue 3

URL
http://lists.w3.org/Archives/Public/www-style/2007Jul/0097.html
Summary
@{C}{H}{A}{R}{S}{E}{T} in grammar (G.2) should be reverted to "@charset "
Resolution
Make change.
Status
Closed.

Issue 4

URL
http://lists.w3.org/Archives/Public/www-style/2007Jul/0097.html
Summary
@charset rule prose in 4.4 requires double-quoted string (immediately followed by semicolon), but grammar allows double- or single-quoted string. Grammar is noted to be more lax than prose, so this may be ok.
Resolution
No change.
Status
Closed.

Issue 5

URL
http://lists.w3.org/Archives/Public/www-style/2007Jul/0104.html
Summary
Descendant combinator should be represented as S+ in grammar instead of S. (This correction matches grammar in (CSS3) Selectors.)
Resolution
Accepted to use S+.
Status
Closed.

Issue 6

URL
http://lists.w3.org/Archives/Public/www-style/2007Aug/0174.html http://lists.w3.org/Archives/Member/w3c-css-wg/2007JulSep/0177.html
Summary
Position of empty blocks in margin collapsing sub-optimal / inconsistent with implementations
Testcase
http://lists.w3.org/Archives/Public/www-style/2008May/0199.html
Proposal
In 8.3.1 bullet 6 subbullet 2, change “non-zero top border” to “non-zero bottom border”.
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 7

URL
http://lists.w3.org/Archives/Public/www-style/2007Aug/0079.html http://lists.w3.org/Archives/Member/w3c-css-wg/2007OctDec/0127.html
Summary
Constant page area width allowance poorly specified.
Testcase
http://lists.w3.org/Archives/Member/w3c-css-wg/2007OctDec/att-0076/pagemargintest.html
Proposal
http://lists.w3.org/Archives/Public/www-style/2007Aug/0079.html , possibly appending “This adjustment must not create or increase negative page margins unless the target page area is larger than the page box.”
Resolution
No change.
Status
Closed.

Issue 8

Issue 9

URL
http://lists.w3.org/Archives/Public/www-style/2007Sep/0087.html
Summary
Remove “slightly” from note about different uses of 'vertical-align' property.
Resolution
Assumed editorial.
Status
Closed.

Issue 10

URL
http://lists.w3.org/Archives/Public/www-style/2007Sep/0069.html
Summary
Undefined handling of images without intrinsic sizes in backgrounds, content, cursor, and list-style-image.
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Mar/0027.html
Resolution
Proposal accepted.
Status
Closed.

Issue 11

URL
http://lists.w3.org/Archives/Public/www-style/2007Sep/0177.html
Summary
Various typos
Proposal
Fix s/boxess/boxes/ and encoding errors.
Resolution
Assumed editorial.
Status
Closed.

Issue 12

URL
http://lists.w3.org/Archives/Public/www-style/2007Sep/0101.html
Summary
300×150 px defaults too aggressive
Proposal
http://lists.w3.org/Archives/Public/www-style/2007Sep/0101.html
Resolution
Proposal accepted.
Status
Closed.

Issue 13

URL
http://lists.w3.org/Archives/Public/www-style/2007Jul/0124.html
Summary
“tag selector” should be “type selector”
Resolution
Assumed editorial.
Status
Closed.

Issue 14

URL
http://lists.w3.org/Archives/Public/www-style/2007Oct/0087.html
Summary
margins should be adjoining when min-height == height
Testcase
http://lists.w3.org/Archives/Public/www-style/2008Jul/0448.html
Proposal
The bottom margin of an in-flow block-level element is adjoining to its last in-flow block-level child's bottom margin when:

* the element's specified 'height' is 'auto',

  • the element's used height is the same as it would have been if the specified values of 'min-height' and 'max-height' were their initial values
  • the element has no bottom padding or border.
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 15

URL
http://lists.w3.org/Archives/Public/www-style/2007Oct/0174.html
Summary
Clarify that identifiers can start with A-Z
Proposal
Change [a-z0-9] to [a-zA-Z0-9]
Resolution
Assumed editorial.
Status
Closed.

Issue 16

URL
http://lists.w3.org/Archives/Public/www-style/2007Oct/0201.html
Summary
Specify image pixel mapping to CSS lengths.
Proposal
Append “For raster images without reliable resolution information, a size of 1 px unit per image source pixel must be assumed.” to definition of “intrinsic dimensions”.
Resolution
Proposal accepted.
Status
Closed.

Issue 17

URL
http://lists.w3.org/Archives/Public/www-style/2007Nov/0059.html
URL
http://lists.w3.org/Archives/Public/www-style/2008May/0238.html
Summary
Error in stacking context appendix E
Proposal
s/but any descendants which actually create a new stacking context/but any positioned descendants and descendants which actually create a new stacking context/
Resolution
Proposal accepted.
Status
=Bert= Check and edit changes into 9.5 and 9.9.

Issue 18

URL
http://www.w3.org/mid/op.tv09c9zdp8frts@hasather.net
Summary
s/tag selector/type selector/ in 5.8.
Resolution
Assumed editorial.
Status
Closed.

Issue 19

Issue 20

URL
http://lists.w3.org/Archives/Public/www-style/2007Dec/0018.html
Summary
Sentence about text-align being used for horizontal alignment in table cells confusing
Testcase
http://www.dhtmlkitchen.com/test/bug/table-alignment.html
Proposal
s/content/inline content/; s/is/can be/
Resolution
Assumed editorial.
Status
Closed.

Issue 21

URL
http://lists.w3.org/Archives/Public/www-style/2007Dec/0139.html
Summary
Index format inaccessible
Resolution
Assumed editorial.
Status
=Bert= Edit.

Issue 22

URL
http://lists.w3.org/Archives/Public/www-style/2007Dec/0140.html
Summary
Unclear that “display: none” affects non-visual display.
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Mar/0037.html
Resolution
Proposal accepted.
Status
Closed.

Issue 23

URL
http://lists.w3.org/Archives/Public/www-style/2007Dec/0215.html
Summary
“url(” needs to be {u}{r}{l}”(” in grammar
Resolution
Assumed editorial.
Status
Closed.

Issue 24

URL
http://lists.w3.org/Archives/Public/www-style/2007Dec/0156.html http://lists.w3.org/Archives/Public/www-style/2008Mar/0096.html
Summary
Clarify where bracket/quote pairing is required for parsing invalid syntax. (Only in declaration blocks, or also in selectors/media queries/etc?)
Testcase
http://fantasai.inkedblade.net/style/tests/ad-hoc/syntax/matching-brackets-000.xht
Proposal
http://lists.w3.org/Archives/Public/www-style/2008May/0252.html
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 25

URL
http://lists.w3.org/Archives/Public/www-style/2007Dec/0167.html
Summary
Define what effect } has in style attribute syntax.
Status
Needs proposal.

Issue 26

Issue 27

URL
http://lists.w3.org/Archives/Public/www-style/2007Dec/0188.html
Summary
Clarify interaction of scrollbar and width/height
Testcase
http://lists.w3.org/Archives/Public/www-style/2007Dec/att-0188/scroll1.htm
Testcase
http://lists.w3.org/Archives/Public/www-style/2008Jan/att-0089/scroll2.htm
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Jan/0259.html
Resolution
Spec Firefox 3's behavior for above testcase. Proposal above accepted with two changes: add “the” between “with” and “scrollbars” and change “excluded from” to “taken out of”
Status
Closed.

Issue 28

URL
http://lists.w3.org/Archives/Public/www-style/2008Jan/0208.html
Summary
Clarify whether mix of comma and space-separated syntax allowed for rect()
Proposal
Add ”(but not a combination)” after “without commas” in <shape> definition.
Resolution
Proposal accepted.
Status
Closed.

Issue 29

URL
http://lists.w3.org/Archives/Public/www-style/2008Jan/0300.html
Summary
First paragraph of 10.3.8 confusing
Proposal
Replace with “In this case, Section 10.3.7 applies up through and including the constraint equation, but the rest of section 10.3.7 is replaced by the following rules:”
Resolution
Assumed editorial.
Status
Closed.

Issue 30

URL
http://lists.w3.org/Archives/Public/www-style/2008Jan/0525.html
Summary
Hebrew list-style-type used in example, though not defined in 2.1
Resolution
Assumed editorial.
Status
Closed.

Issue 31

URL
http://lists.w3.org/Archives/Public/www-style/2008Jan/0541.html
Summary
Are @import rules ignored or honored after invalid but recognized @rules?
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Mar/0079.html
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 32

URL
http://lists.w3.org/Archives/Public/www-style/2008Jan/0544.html http://lists.w3.org/Archives/Public/www-style/2008Mar/0080.html
Summary
Is '@' not followed by a valid identifier parsed as an invalid at-rule or a generic invalid token?
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Mar/0353.html (clarifications to interaction of various parsing rules with bracket matching) see also http://lists.w3.org/Archives/Public/www-style/2008Aug/0165.html
Resolution
Proposal by dbaron+fantasai accepted.
Status
=Bert= Edit.

Issue 33

URL
http://lists.w3.org/Archives/Public/www-style/2008Jan/0568.html
Summary
Distinguish between preferred and used width for intrinsic percentages that can't be resolved, as for non-replaced elements
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Feb/0029.html
Resolution
Proposal accepted.
Status
Closed.

Issue 34

URL
http://lists.w3.org/Archives/Public/www-style/2008Jan/0576.html
Summary
Clarify that 'auto' top and bottom margins are not set to zero for absolutely-positioned replaced elements
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Mar/0040.html
Resolution
Proposal accepted.
Status
Closed.

Issue 35

Issue 36

URL
http://lists.w3.org/Archives/Public/www-style/2008Feb/0224.html
Summary
'direction' for replacing 'auto' for abspos elements
Testcase
https://bugzilla.mozilla.org/attachment.cgi?id=302176
Resolution
Proposal accepted.
Status
Closed.

Issue 37

URL
http://lists.w3.org/Archives/Public/www-style/2008Mar/0038.html
Summary
”:before, :after { white-space: pre-line; }” should be either made normative or dropped
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Mar/0070.html as modified by http://lists.w3.org/Archives/Public/www-style/2008Mar/0074.html
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 38

URL
http://lists.w3.org/Archives/Public/www-style/2008Mar/0166.html
Summary
CSS2.1 and CSS3 attribute selector definitions incompatible
Proposal
Adopt CSS3 Selectors wording
Resolved
Proposal accepted
Status
Closed.

Issue 39

URL
http://lists.w3.org/Archives/Public/www-style/2008Apr/0516.html
Summary
Canvas background bounds need clarification for paged media
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Apr/0516.html
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 40

URL
http://lists.w3.org/Archives/Public/www-style/2008Feb/0283.html
Summary
Missing “tr{vertical-align:inherit}” in Appendix D
Proposal
Add tr {vertical-align:inherit} to Appendix D
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 41

URL
http://lists.w3.org/Archives/Public/www-style/2008Mar/0296.html
Summary
Pixel values should be normatively related to device pixels
Proposal
Add “It is recommended that the pixel unit refer to the whole number of device pixels that best approximates the reference pixel.” to px definition
Resolution
Proposal accepted.
Status
=Bert= Edit. (Changes, Errata not yet done)

Issue 42

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0065.html
Summary
Static position should also assume “clear: none”.
Testcase
https://bugzilla.mozilla.org/attachment.cgi?id=308701
Proposal
Add “and 'clear' had been 'none'” to “and 'float' had been 'none'” sentence in 10.6.4.
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 43

URL
http://lists.w3.org/Archives/Public/www-style/2008Apr/0197.html
Summary
Remove or edit containing block notes for top/left/bottom/right props.
Resolution
Assumed editorial.
Status
=Bert= Edit.

Issue 44

URL
http://www.w3.org/Style/CSS/Tracker/issues/35
Summary
page-break-inside should not inherit
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Apr/0018.html
Resolution
Proposal accepted.
Status
=Bert= Run make on page.src and the following to errata page:
<!--========================== ISSUE-35a ==========================-->

<h2 id="s.13.3.1"><a
href="/TR/2007/CR-CSS21-20070719/page.html#page-break-props">
Section&nbsp;13.3.1 'list-style-position', and 'list-style'
properties</a></h2>

<p><span class=date>[2008-04-30]</span> The 'page-break-inside'
property no longer inherits.</p>

<!--========================== ISSUE-35b ==========================-->

<h2 id="s.13.3.3"><a
href="/TR/2007/CR-CSS21-20070719/page.html#allowed-page-breaks">
Section&nbsp;13.3.3 Allowed page breaks</a></h2>

<p><span class=date>[2008-04-30]</span> The 'page-break-inside'
property of all ancestors is checked for page-breaking restrictions,
not just that of the breakpoint's parent.</p>

Issue 45

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0027.html
Summary
Need clarification on allowed guesses for static position?
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Jun/0177.html
Resolution
Proposal accepted with “this” replaced by “this hypothetical calculation”
Status
=Bert= Edit.

Issue 46

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0105.html
Summary
Clarify how media queries qualify style rules
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Jun/0106.html
Resolution
Proposal accepted proposal plus adding “The import only takes effect if the target medium matches the media list.” to last paragraph in 6.3
Status
=Bert= Edit.

Issue 47

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0136.html
Summary
HTML+CSS Grand Unified Theory of Whitespace
Resolution
No change.
Status
Closed.

Issue 48

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0147.html
Summary
Remove outdated bolder/lighter text from font-weight defs
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Jun/0147.html
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 49

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0151.html
Summary
Clarify computed value of font-weight wrt bolder/lighter
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Aug/0167.html with s/will more/will be more/
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 50

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0183.html
Summary
Add note from width def about padding box containing block for percentages to height definition.
Resolved
Assumed editorial.
Status
=Bert= Edit or close no change.

Issue 51

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0297.html
Summary
Core grammar for @rules conflicts with CSS3 features
Status
See Issue 61.

Issue 52

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0195.html
Summary
Should page-break-* apply to <BR> ?
Resolution
page-break-* applies to block-level elements and MAY apply to “other elements”
Status
Needs proposal.

Issue 53

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0227.html
Summary
Interaction of pre* and justification poorly defined.
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Jul/0532.html
Status
Needs testcase.

Issue 54

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0349.html
Summary
Specify left/right as being position for ltr/rtl list markers
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Jun/0349.html
Resolved
Accept proposal with s/elements/list items/
Status
=Bert= Edit.

Issue 55

URL
http://lists.w3.org/Archives/Public/www-style/2008May/0269.html
Summary
Error in O macro in grammar
Proposal
http://lists.w3.org/Archives/Public/www-style/2008May/0269.html
Resolution
Assumed obvious.
Status
=Bert= Fix.

Issue 56

URL
http://lists.w3.org/Archives/Public/www-style/2008Apr/0460.html
Summary
Should text-decoration propagate through internal table elements?
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Jul/0450.html
Status
Needs better proposal.

Issue 57

URL
http://lists.w3.org/Archives/Public/www-style/2008Mar/0184.html
Summary
Typo in identifier character range
Proposal
Change A0 into 80.
Status
Needs testcase.

Issue 58

URL
http://lists.w3.org/Archives/Public/www-style/2008Mar/0192.html
Summary
Spec contradictory on whether markers inside principal box or not
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Jul/0451.html
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 59

URL
http://lists.w3.org/Archives/Public/www-style/2008Apr/0091.html
Summary
Clarify behavior of outside marker when list-item overflow != visible
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Jul/0454.html
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 60

URL
http://dev.moonhenge.net/css21/spec/z-index/
Summary
Z-index and stacking behavior prose needs revision
Status
=WG= Needs in-depth review, discussion (by experts in this area, and not on the telecon).

Issue 61

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0264.html
Summary
percentage table row heights should be undefined, not auto
Status
Needs proposed text.

Issue 62

URL
http://lists.w3.org/Archives/Public/www-style/2008Jun/0245.html
Summary
Grammar for @media versus general block parsing
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Aug/0168.html
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 63

URL
http://lists.w3.org/Archives/Public/www-style/2008May/0265.html http://lists.w3.org/Archives/Member/w3c-css-wg/2008AprJun/0303.html
Summary
Processing Model should be informative
Proposal
Make Section 2.3 (but not its subsections) informative, remove last three sentences about scope.
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 64

URL
http://lists.w3.org/Archives/Public/www-style/2008Mar/0192.html
Summary
Marker box may affect height of principal block box.
Proposal
http://lists.w3.org/Archives/Public/www-style/2008Jul/0453.html
Resolution
Add to definition for outside
The size or contents of the marker box may affect the height of the principal block box and/or the height of its first line box, and in some cases may cause the creation of a new line box.
Note: This interaction may be more precisely defined in a future level of CSS.
Status
=Bert= Edit.

Issue 65

URL
http://lists.w3.org/Archives/Public/www-style/2008Jul/0522.html
Summary
Section 9.2.2 says: “Several values of the 'display' property make an element inline: 'inline', 'inline-table', and 'run-in' (part of the time; see run-in boxes).” Seems to be missing 'inline-block'.
Proposal
Add inline-block
Resolution
Proposal accepted.
Status
=Bert= Edit.

Issue 66

URL
http://lists.w3.org/Archives/Public/www-style/2008Jul/0473.html
Summary
Prose and token definition disagree on whether escapes may occur in comments
Proposal
In 4.1.3 prepend
  Except within CSS comments

to the sentence

  Any character (except a hexadecimal digit) can be escaped
  with a backslash to remove its special meaning.

.

Resolution
Accepted proposal to update prose to match tokenization.
Status
=Bert= Edit.

Issue 67

URL
http://lists.w3.org/Archives/Public/www-style/2008Jul/0477.html
Summary
Margin collapsing not disabled between fixed-height block and last child
Status
Retracted.

Issue 68

Issue 69

URL
http://lists.w3.org/Archives/Public/www-style/2008Aug/0126.html
Summary
fixed background images not defined for paged media
Status
Needs testcase.

Issue 70

URL
Summary
Bullet points in 8.3.1 about 'overflow' not 'visible' should mention that block formatting contexts, in general, do not collapse margins with their children.
Proposal
In 8.3.1 change “Vertical margins of elements with 'overflow' other than 'visible'” to “Vertical margins of elements that establish new block formatting contexts (such as floats and elements with 'overflow' other than 'visible')”
Resolution
Proposal accepted.
Status
=Bert= Edit.
 
spec/css2.1.txt · Last modified: 2008/08/22 10:31 by fantasai
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki