- From: Ian Hickson <ian@hixie.ch>
- Date: Mon, 9 Jan 2006 00:25:21 +0000 (UTC)
- To: Andrew Fedoniouk <news@terrainformatica.com>
- Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style Mailing List <www-style@w3.org>
On Sat, 7 Jan 2006, Andrew Fedoniouk wrote: > > I have one more: > > consider following: > > p { text-decoration:underline } > p > span { display: inline-block; } > > and markup: > > <p>text<span>one<br>two</span>text</p> > > Shall span here be underlined as single inline block > or words 'one' and 'two' shall be underlined separately? The spec actually mentions this case explicitly, and the answer is that the inline-block is treated as a single unit, the "one" does not become the first line. Nor is text-decoration propagated to inline-block boxes, that is also called out explicitly. > And what about <select> and text-decoration:underline? As with bz's case, the spec explicitly states that form controls are not yet defined in terms of CSS. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 9 January 2006 00:25:30 UTC