[Webkit-unassigned] [Bug 282007] [Site isolation] Site isolated frames with css transform are not displayed correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 23 16:00:21 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=282007
--- Comment #2 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
It looks like the problem with the scaling. For a page like this
<style>
iframe {
width: 600px;
height: 300px;
transform: scale(0.5);
transform-origin: 0 0;
}
</style>
<body>
<iframe src="http://localhost:8000/site-isolation/resources/green-background.html" frameborder=0></iframe>
</body>
It is expected to render { 300 x 150 } green rectangle for the iframe because its size is { 600 x 300 } and it has transform of scale(0.5). But we end up having { 150 x 75 } green rectangle. So it seems the scaling is applied twice.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241023/b39e12ba/attachment-0001.htm>
More information about the webkit-unassigned
mailing list