On 5/2/12 13:44, Daniel Schattenkirchner wrote: >> You are wrong too. DI is not supported now by any browser. > > That is only half the truth. The HTML5 parser (as implemented in > Firefox, Chrome, Opera and IE10) as well as the legacy parser used in > IE9 support a di element as it has been proposed for quite a while. > > The easy path would be to allow the di element. Or div or whatever. > > Kind regards. > Not quite. <di> is "supported" just as much as any other arbitrary element. It doesn't have anything to do with being proposed for quite a while, it has to do with the fault-tolerant nature of HTML parsers. To verify, run this JS snippet: Object.prototype.toString.call(document.createElement('di')) The result will be "[object HTMLUnknownElement]" in all modern browsers, even IE9. -- Lea Verou (http://lea.verou.me | @LeaVerou)Received on Sunday, 5 February 2012 17:28:20 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:11 UTC