RE: Header outline not displaying as expected

OK thanks Steve and Michael.  We can consider my issue resolved.  Good to know about the other issues.

--Carl

-----Original Message-----
From: Michael[tm] Smith [mailto:mike@w3.org] 
Sent: 27 September 2016 11:25 PM
To: Carl Gross <cagross@everlookgroup.com>
Cc: www-validator@w3.org; Steve Faulkner <faulkner.steve@gmail.com>
Subject: Re: Header outline not displaying as expected

Steve Faulkner <faulkner.steve@gmail.com>, 2016-09-27 16:29 +0100:
> Archived-At: 
> <http://www.w3.org/mid/CA+ri+Vk4u-sN7yyjtdRbWUCH5VWT7BSk_6pu1K3vaRyQxb
> =C1g@mail.gmail.com>
> 
> [about https://www.horizonhomes-samui.com/about-us/]
> Hi Carl, there is something in the HTML that is causing the validator 
> to choke,

Yeah, I think that’s the <noscript><iframe>... in the head.

If that <iframe> is removed the checker should continue without bailing.

<iframe> isn’t allowed in the head, and if the HTML source has it there, it causes the HTML parser to inject a <body> start tag in the DOM (and so to treat all following elements as descendants of the body), so when it then sees the existing <body> start tag in the original source, it flags it as an error because a (injected) <body> tag is already in the DOM, and bails.

  —Mike

--
Michael[tm] Smith https://people.w3.org/mike

Received on Tuesday, 27 September 2016 16:30:24 UTC