WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
182289
Document::updateLayoutIfDimensionsOutOfDate does not take into account zoom level change
https://bugs.webkit.org/show_bug.cgi?id=182289
Summary
Document::updateLayoutIfDimensionsOutOfDate does not take into account zoom l...
Frédéric Wang (:fredw)
Reported
2018-01-30 06:28:13 PST
Currently, HTMLBodyElement::scrollWidth calls Document::updateLayoutIgnorePendingStylesheets. In
bug 182230
, I'm moving the special handling for the case document.body == document.scrollingElement into Element::scrollWidth. Element::scrollWidth calls Document::updateLayoutIfDimensionsOutOfDate but that does not seem enough to force a relayout when zoom level is changed (especially for Layout/fast/dom/window-scroll-scaling.html) so I had to keep the call to Document::updateLayoutIgnorePendingStylesheets.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug