Re: [CSS21] Editorial issues with Ch. 16 (Text) - comments on Working Draft

Anton, 

The CSSWG resolved not to make these changes to the CSS 2.1 specification [1]. We are however
planning on updating CSS3 to reflect your proposal. 

Please respond before 14 March, 2011 if you do not accept the current resolution.

[1] http://w3.org/TR/CSS



Original message: http://lists.w3.org/Archives/Public/www-style/2011Jan/0085.html
ISSUE-270 http://wiki.csswg.org/spec/css2.1#issue-270


From: Anton Prowse <prowse@moonhenge.net> 
Date: Fri, 07 Jan 2011 22:09:11 +0100
 Message-ID: <4D2780F7.8030207@moonhenge.net> 
To: "www-style@w3.org" <www-style@w3.org> 

Issue 1: As a result of the resolution of Issue 194,[1] 16.1 
(Indentation: the 'text-indent' property) now says:

   # 'Text-indent' only affects a line if it is the first formatted line
   # of an element. For example, the first line of an anonymous block
   # box is only affected if it is the first child of its parent element.

The example is incorrect; the anonymous block box may be preceded by an 
empty block-level sibling and yet its first line could still be affected.


Issue 2: 16.2 (Alignment: the 'text-align' property) says:

   # A block of text is a stack of line boxes. In the case of 'left',
   # 'right' and 'center', this property specifies how the inline-level
   # boxes within each line box align with respect to the line box's
   # left and right sides; alignment is not with respect to the
   # viewport. In the case of 'justify', this property specifies that
   # the inline-level boxes are to be made flush with both sides of the
   # block container if possible, by expanding or contracting the
   # contents of inline boxes, else aligned as for the initial value.

This starts off well, talking about alignment with respect to the sides 
of the line box.  But then it suddenly starts talking about alignment 
with respect to the sides of the block container.  The latter is wrong, 
since in the presence of floats the alignment will still apply within 
shortened line boxes.


Issue 3: 16.3.1 (Underlining, overlining, striking, and blinking: the 
'text-decoration' property) says:

   # [...] For block containers that establish an inline formatting
   # context, the decorations are propagated to an anonymous inline
   # element that wraps all the in-flow inline-level children of the
   # block container. For all other elements it is propagated to any
   # in-flow children. Note that text decorations are not propagated to
   # floating and absolutely positioned descendants, nor to the contents
   # of atomic inline-level descendants such as inline blocks and inline
   # tables.

This propagation needs to be recursive through nested block containers, 
right?  This needs stating.


[1] http://wiki.csswg.org/spec/css2.1#issue-194

Cheers,
Anton Prowse
http://dev.moonhenge.net

Received on Friday, 11 March 2011 18:18:39 UTC