W3C home > Mailing lists > Public > www-validator@w3.org > June 2017

Error with sandbox in iframe

From: Reinhard Freund <drfreund@drfreund.net>
Date: Sat, 17 Jun 2017 20:25:54 +0200
To: www-validator@w3.org
Message-ID: <50ec5afb-9e65-5892-29cc-ccffff5b29ff@drfreund.net>

The Nu Html Checker for HTML5 sometimes reports errors in iframes, if 
the attribute sandbox="allow-scripts" is used. Depending on where the 
sandbox-attribute is placed, there is an error or not.


<iframe id="frameId" name="frameId" src="some URL" style="some CSS 
Styles" sandbox="allow-scripts">
-> Valid

<iframe id="frameId" name="frameId" sandbox="allow-scripts" src="some 
URL" style="some CSS Styles" >
-> Bad value allow-scripts for attribute sandbox on element iframe: 
allow-top-navigation-by-user-activation and allow-top-navigation must 
not both be specified at the same time. If both are present, only 
allow-top-navigation will have effect.

Kind regards,
R. Freund
Received on Saturday, 17 June 2017 19:07:18 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 17 June 2017 19:07:24 UTC