W3C home > Mailing lists > Public > www-validator@w3.org > March 2014

Re: [VE][html5] <strike> warning should recommend using <s> instead

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Fri, 28 Mar 2014 21:04:41 +0200
Message-ID: <5335C7C9.8030306@cs.tut.fi>
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.

Received on Friday, 28 March 2014 19:05:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:41 UTC