Mask root layer rectangles to their boundaries

This prevents iframes contents from overflowing their root layers.
This commit is contained in:
Martin Robinson 2014-09-23 18:41:06 -07:00
parent 01b4100756
commit a75594d7cf
4 changed files with 17 additions and 0 deletions

View file

@ -122,6 +122,8 @@ flaky_linux == acid2_noscroll.html acid2_ref_broken.html
== iframe/simple.html iframe/simple_ref.html
== iframe/multiple_external.html iframe/multiple_external_ref.html
== iframe/overflow.html iframe/overflow_ref.html
== floated_generated_content_a.html floated_generated_content_b.html
== inline_block_margin_a.html inline_block_margin_ref.html
== inline_block_img_a.html inline_block_img_ref.html

View 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>

View file

@ -0,0 +1,6 @@
<html>
<body style="margin: 16px;">
<div style="background: green; width: 100px; height: 100px;"></div>
</div>
</body>
</html>