Issue #2499 - Part 3: Add CSS clip overflow support with serialization fixes

This commit is contained in:
MeladJM 2025-07-08 05:46:54 +08:00 committed by roytam1
commit 5e8e1208e7
40 changed files with 144 additions and 97 deletions

View file

@ -784,7 +784,7 @@ nsHTMLScrollFrame::PlaceScrollArea(ScrollReflowInput& aState,
// outlines (the outline would go on this scrollframe instead).
// Using FinishAndStoreOverflow is needed so the overflow rect
// gets set correctly. It also messes with the overflow rect in the
// -moz-hidden-unscrollable case, but scrolled frames can't have
// clip case, but scrolled frames can't have
// 'overflow' either.
// This needs to happen before SyncFrameViewAfterReflow so
// HasOverflowRect() will return the correct value.