mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update and expand iframe tests
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.
This commit is contained in:
parent
39e3a4af70
commit
6d0e103cde
7 changed files with 39 additions and 8 deletions
7
tests/ref/iframe/simple_ref.html
Normal file
7
tests/ref/iframe/simple_ref.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<html>
|
||||
<body>
|
||||
<div style="border: 1px solid black; width: 500px; height: 300px; margin-left: 10px; margin-top: 20px;">
|
||||
<div style="margin: 8px; /* matches user-agent body */">Just a simple little iframe.</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue