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

Dave Hyatt hyatt at apple.com
Mon Jun 18 15:01:43 PDT 2007


Hmmm, I'll have to investigate further.  I think in the reduction a 
<table> followed the <div>.

dave

Ian Hickson wrote:
> 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>.
>
>   




More information about the whatwg mailing list