Bug 1797805: Run clang-format on layout directory. r=dshin
This patch doesn't change behavior. The changes were auto-generated by the
following command:
./mach clang-format -p layout/
Differential Revision: https://phabricator.services.mozilla.com/D160552
This commit is contained in:
@@ -3784,7 +3784,7 @@ bool PresShell::ScrollFrameIntoView(
|
||||
const nsPoint pos = aFrame->GetPosition();
|
||||
const nsPoint normalPos = aFrame->GetNormalPosition();
|
||||
if (pos == normalPos) {
|
||||
return; // Frame is not stuck.
|
||||
return; // Frame is not stuck.
|
||||
}
|
||||
// If we're targetting a sticky element, make sure not to apply
|
||||
// scroll-padding on the direction we're stuck.
|
||||
|
||||
Reference in New Issue
Block a user