Re: [CSS21] text-decoration on replaced elements that "contain text"

On Sun, 8 Jan 2006, Andrew Fedoniouk wrote:
> 
> Ian, what does this mean:
> "the "one" does not become the first line"?

The ::first-line pseudo-element does not match the word "one", it matches 
the first line of the block, not the inline-block.


> And more: Am I right in my understanding that:
> 
> text-decoration is inheritable by pure (in-flow) block elements and it is not
> inheritable by inline blocks ?

text-decoration is never inherited.

I encourage you to read the specification.


> And another question is:
> <input> - is it "naturally" inline or inline-block element?
> The same question but for <textarea>,<select> and <object>.

Form controls are outside the scope of CSS2.1. <object> is either a normal 
element (like a <span>), or a replaced element (if its content is used).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 9 January 2006 01:24:04 UTC