- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Fri, 28 Mar 2014 21:04:41 +0200
- To: "www-validator@w3.org" <www-validator@w3.org>, "j.j." <moz@jeka.info>
2014-03-28 20:34, Philip Taylor wrote: > Does <DEL> in HTML 5 CF still retain its anomalous HTML 4.01 Strict > behaviour (along with <INS>) of permitting the indirect nesting > of an <X> within a <Y> with intervening <DEL>|<INS> where the > syntax does not permit an <X> to be directly nested within a <Y>, I suppose you mean something like <p>hello <del><p>foo</p></del> world</p> The validator does not accept this in HTML5 mode. It says “End tag p implied, but there were open elements.” when it encounters the second <p> tag. This is consistent with the HTML5 syntax rules. The content model of <del> is transparent, which basically means that the content allowed is the same as would be allowed if the <del> and </del> tags were not there. Yucca
Received on Friday, 28 March 2014 19:05:10 UTC