Error with sandbox in iframe

Hello!

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.

Example:

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

<iframe id="frameId" name="frameId" sandbox="allow-scripts" src="some 
URL" style="some CSS Styles" >
</iframe>
-> 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