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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:42 GMT