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

Anne van Kesteren annevk at opera.com
Mon Dec 11 07:53:06 PST 2006


In current browsers <nobr> is different is treated differently from other  
elements.

   <nobr>1<nobr>2</nobr>3

gives:

   E: nobr
     T: 1
   E: nobr
     T: 2
   T: 3

   <nobr>1<div>2</nobr>3</div>

gives:

   E: nobr
     T: 1
     E: div
       T: 2
   T: 3

This is quite different from "b", "strong", etc. and it probably has to be  
this way too because of site compat.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list