mirror of
https://github.com/servo/servo
synced 2026-05-09 16:42:16 +02:00
Add iframe tests to their own subdirectory and add another test case that used to trigger a fatal error. The new test case uses the "allow-scripts" sandbox attribute to work around a script task failure caused by the child frame sharing the same script task as the parent.
18 lines
417 B
HTML
18 lines
417 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
iframe {
|
|
margin: 10px;
|
|
float: left;
|
|
width: 300px;
|
|
height: 300px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<iframe sandbox="allow-scripts" src="multiple_external_child.html"> </iframe>
|
|
<iframe sandbox="allow-scripts" src="multiple_external_child.html"> </iframe>
|
|
</body>
|
|
</html>
|