W3C home > Mailing lists > Public > www-style@w3.org > January 2006

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

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 9 Jan 2006 01:23:51 +0000 (UTC)
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style Mailing List <www-style@w3.org>
Message-ID: <Pine.LNX.4.62.0601090122040.9516@dhalsim.dreamhost.com>

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:22 UTC