Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upcontent of transformed iframe is visible outside of the iframe #11358
Comments
|
@nox I can't reproduce that. Can you still reproduce after the latest webrender updates? |
|
@nox You probably didn't use webrender. |
|
Indeed I didn't use webrender. Can reproduce now. |
|
Could #11398 also be related? |
|
Pretty sure @pcwalton is on this. |
|
Yup, this was on my agenda for today. |
transform them. This allows our current code to support a subset of nested clips and transforms without actually having a full-blown clip/transform stack. Closes servo/servo#11358.
Transform viewport rectangles if the current matrix can losslessly transform them. This allows our current code to support a subset of nested clips and transforms without actually having a full-blown clip/transform stack. Closes servo/servo#11358. r? @glennw
|
Reopening since we need a wrup. |
|
Fixed by #11398. |
|
#11398 seems to fix specific example @paulrouget posted, but issue still remains if different css transforms are used. In browser.html we use <style>
body {
background: green;
perspective: 1000px;
height: 100vh;
width: 100vw;
}
iframe {
width: 100%;
height: 100%;
border: 10px solid red;
transform: translate3d(0px, 0px, -800px);
}
</style>
<iframe src="data:text/html,<body style='overflow: hidden; overflow-y: auto;'><div style='background: blue; height: 2000px'>"></iframe>I also published it to jsbin so it's easy to reproduce:
P.S. If you scroll iframe content it will escape top boundary as well. |
|
Never mind, it looks like we already have a bug #11650 on file the issue I posted above |

follow up of #11151