fix(geometry): preserve OOPIF scale with occupied scrollbars

This commit is contained in:
drakezhang committed 2026-09-09 16:58:25 +08:00
1 parent 896c7944d8
commit a62a28d8cd
14 files changed
+504 -65

No files matched your search

@@ -433,6 +433,7 @@ describe("handleRequestHelp", () => {
if (method === "DOM.getContentQuads") {
return { quads: [[10, 20, 110, 20, 110, 60, 10, 60]] };
}
if (method === "Runtime.evaluate") return { result: { value: { width: 200, height: 100 } } };
if (method === "Page.getLayoutMetrics") {
return { cssLayoutViewport: { clientWidth: 200, clientHeight: 100 } };
}