mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1917669 - Document the purpose of nsDisplayList::mIsRelativeToLayoutViewport. r=hiro DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D221536
This commit is contained in:
parent
1f769c3782
commit
d155669472
@ -441,6 +441,13 @@ class nsDisplayListBuilder {
|
||||
* Get the scrollframe to ignore, if any.
|
||||
*/
|
||||
nsIFrame* GetIgnoreScrollFrame() { return mIgnoreScrollFrame; }
|
||||
/**
|
||||
* Set for display lists built for hit-testing a point that is already
|
||||
* relative to the layout viewport. Display lists with this flag set
|
||||
* do not build an async zoom container (which would transform coordinates
|
||||
* relative to the visual viewport into coordinates relative to the
|
||||
* layout viewport during hit-testing).
|
||||
*/
|
||||
void SetIsRelativeToLayoutViewport();
|
||||
bool IsRelativeToLayoutViewport() const {
|
||||
return mIsRelativeToLayoutViewport;
|
||||
|
Loading…
Reference in New Issue
Block a user