Re: [VE][108] iframe attributes not properly validated

> I am having issues validating iframe attributes
> allow
> allowscreen
>
> both are totally OK according to this
> https://www.w3schools.com/tags/tag_iframe.ASP

Try consulting the specifications where possible.

The two attributes are fine in “living” HTML, as per
https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-iframe-element.

However, the page suggests it’s using HTML 4.01, which doesn’t
recognize these attributes:
https://www.w3.org/TR/html401/present/frames.html#h-16.5.

It may be a sound choice in general to switch to the HTML doctype
(`<!DOCTYPE html>`), however that may require more adjustments than
just these two.

Best,

 Jens.

-- 
Jens Oliver Meiert
https://meiert.com/en/

Received on Monday, 14 December 2020 10:15:31 UTC