mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
6
tests/ref/iframe/overflow_ref.html
Normal file
6
tests/ref/iframe/overflow_ref.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<html>
|
||||
<body style="margin: 16px;">
|
||||
<div style="background: green; width: 100px; height: 100px;"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue