[whatwg] "nobr" is not an active formatting element

On Mon, 18 Jun 2007, Dave Hyatt wrote:
>
> <nobr> is an active formatting element for us in our WebKit nightlies, 
> and it has caused compat problems.  Search for something in froogle to 
> see a nice big rendering error caused by us reopening <nobr> across a 
> </div>.

IE doesn't close the <nobr> at a </div>. There are other differences 
between IE and Safari here; are you sure that this is what is causing the 
problem?

Take this test case:

   http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%3Cstyle%3Ebody%20%7B%20border%3A%20solid%3B%20width%3A%204em%3B%20%7D%3C/style%3E%0D%0A%3Cdiv%3Ea%20a%20a%20a%20a%20a%20a%20a%20a%20a%20a%20a%20a%3Cnobr%3Eb%20b%20b%20b%20b%20b%20b%20b%20b%20b%20b%20b%20b%3C/div%3Ec%20c%20c%20c%20c%20c%20c%20c%20c%20c%20c%20c

Opera, Safari, and IE all render it the same. Only Firefox does it 
differently, and precisely because of not treating <nobr> as reopening 
across a </div>.

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

Received on Monday, 18 June 2007 14:30:31 UTC