Re: [CSS21] should text-decoration propagate to table-cells from table or above?

This is a new proposal for CSS2.1 Issue 56:
   http://wiki.csswg.org/spec/css2.1#issue-56

In
   http://www.w3.org/TR/CSS21/text.html#lining-striking-props
replace
   # This property describes decorations that are added to the text of an
   # element using the element's color. When specified on an inline element,
   # it affects all the boxes generated by that element; for all other
   # elements, the decorations are propagated to an anonymous inline box
   # that wraps all the in-flow inline children of the element, and to any
   # block-level in-flow descendants. It is not, however, further propagated
   # to floating and absolutely positioned descendants, nor to the contents
   # of 'inline-table' and 'inline-block' descendants.
with
   | This property describes decorations that are added to the text of an
   | element using the element's color. When specified on or propagated
   | to an inline element, it affects all the boxes generated by that
   | element, and is further propagated to any in-flow block-level boxes
   | that split the inline (see section 9.2.1.1). 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.

Also replace
   # If an element contains no text, user agents must refrain from rendering
   # these text decorations on the element. For example, images will not be
   # underlined.
with
   | User agents must not render these text decorations on content that is
   | not text. For example, images and inline blocks must not be underlined.

~fantasai

Received on Wednesday, 18 August 2010 00:06:20 UTC