[Webkit-unassigned] [Bug 21413] DOMWindow.cpp DOMWindow::moveTo offsets moves by 22 (menu bar height)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 22 10:48:24 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=21413
--- Comment #3 from yevseytsev <yevseytsev at gmail.com> ---
in webkit/Source/WebCore/page/DOMWindow.cpp file there is a code that prevents window geometry to be changed
void DOMWindow::moveTo(float x, float y) const
{
if (!allowedToChangeWindowGeometry())
return;
Page* page = m_frame->page();
FloatRect fr = page->chrome().windowRect();
FloatRect sr = screenAvailableRect(page->mainFrame().view());
fr.setLocation(sr.location());
FloatRect update = fr;
update.move(x, y);
page->chrome().setWindowRect(adjustWindowRect(*page, update));
}
--
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/20190222/af85d3b9/attachment.html>
More information about the webkit-unassigned
mailing list