window7, CEF cef_binary_3.3440.1806.g65046b7_windows64, with osr_mode.
and I tried cef_binary_3.3497.1841.g7f37a0a_windows64_client sample too.
I can't resize that is a popped up window.
When I tried in Chrome it does work well.
However, when I tried in cef_binary_3.3440.1806.g65046b7_windows64 and cef_binary_3.3497.1841.g7f37a0a_windows64_client.
It didn't work resize.
I can't attach sample HTML files. so I will write the HTML code.
test.html
- Code: Select all
<button onclick=window.open("./popup.html","","height=200,width=200")>Test</button>
popup.html
- Code: Select all
<script>
window.resizeTo(400, 200);
function Test1()
{
window.resizeTo(600, 300);
}
function Test2()
{
window.resizeTo(300, 600);
}
</script>
test1111
<button onclick=Test1()>Test1</button>
<button onclick=Test2()>Test2</button>
(1, test.html file is the main page.
2, When clicking the test button in the test.html, you can see the popup.html, and you can see the two buttons Test1, Test2 in the popup.html page.
3, When you clicking the Test1, Test2, button execute resize window size function.)
You can try the problem.
Could you advise how to solve the problem?
Thank you.