Issue #146 - Part 6: Allow position: sticky on table elements.

This commit is contained in:
wolfbeast 2019-11-03 19:43:51 +01:00 committed by Roy Tam
commit d26e13657b
4 changed files with 7 additions and 20 deletions

View file

@ -45,7 +45,7 @@ StickyScrollContainer::GetStickyScrollContainerForFrame(nsIFrame* aFrame)
// <html style="position: fixed">
return nullptr;
}
auto frame = static_cast<nsIFrame*>(do_QueryFrame(scrollFrame));
nsIFrame* frame = do_QueryFrame(scrollFrame);
StickyScrollContainer* s =
frame->GetProperty(StickyScrollContainerProperty());
if (!s) {