- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Fri, 08 Apr 2022 01:34:04 +0000
- To: public-css-archive@w3.org
Yeah, can confirm that with a simple fix like this: ```diff diff --git a/layout/base/PresShell.cpp b/layout/base/PresShell.cpp index bb5313563e624..a2e0f47232050 100644 --- a/layout/base/PresShell.cpp +++ b/layout/base/PresShell.cpp @@ -3669,8 +3669,7 @@ void PresShell::DoScrollContentIntoView() { // Make sure we skip 'frame' ... if it's scrollable, we should use its // scrollable ancestor as the container. - nsIFrame* container = nsLayoutUtils::GetClosestFrameOfType( - frame->GetParent(), LayoutFrameType::Scroll); + nsIFrame* container = frame->GetParent(); if (!container) { // nothing can be scrolled return; ``` I get the expected behavior for box C. -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5492#issuecomment-1092354201 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 8 April 2022 01:34:06 UTC