mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Mask root layer rectangles to their boundaries
This prevents iframes contents from overflowing their root layers.
This commit is contained in:
parent
01b4100756
commit
a75594d7cf
4 changed files with 17 additions and 0 deletions
8
tests/ref/iframe/overflow.html
Normal file
8
tests/ref/iframe/overflow.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<body>
|
||||
<iframe src="data:text/html,%3Cdiv%20style%3D%22background%3Agreen%3B%20width%3A%20200px%3B%20height%3A%20200px%3B%22%3E%3C%2Fdiv%3E"
|
||||
style="display: block; width: 108px; height: 108px;">
|
||||
</iframe>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue