W3C home > Mailing lists > Public > www-validator@w3.org > September 2016

RE: Header outline not displaying as expected

From: Carl Gross <cagross@everlookgroup.com>
Date: Tue, 27 Sep 2016 23:28:34 +0700
To: "'Michael[tm] Smith'" <mike@w3.org>
Cc: <www-validator@w3.org>, "'Steve Faulkner'" <faulkner.steve@gmail.com>
Message-ID: <002301d218dc$345e9050$9d1bb0f0$@everlookgroup.com>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 27 September 2016 16:30:28 UTC