gecko-dev/layout
Timothy Nikkel 4aad22e9f1 Bug 1636380. Fix IsZoomedContentRoot assert in nsDisplayListBuilder::MarkFramesForDisplayList. r=botond
When we hit the assert the root content document is https://searchfox.org/mozilla-central/rev/dc4560dcaafd79375b9411fdbbaaebb0a59a93ac/testing/mochitest/harness.xhtml . It is basically a xul document, and look xul document it does not have a root scroll frame. The frame we hit the assert on is fixed pos, so it passes the fixed pos part of IsZoomedContentRoot here https://searchfox.org/mozilla-central/rev/dc4560dcaafd79375b9411fdbbaaebb0a59a93ac/layout/base/ViewportUtils.cpp#139 but there is no root scroll frame so it still returns null.

We should only his this when there is no root scroll frame. So to fix this I decided to make the existing code conditional on having a root scroll frame and then write a bunch of pretty strong asserts that we are in this exact edge case if we don't have a root scroll frame.

Differential Revision: https://phabricator.services.mozilla.com/D74381
2020-05-08 21:00:11 +00:00
..
base Bug 1635224 - Preserve mLastValueChangeWasInteractive between SaveState and RestoreState r=emilio,masayuki 2020-05-08 15:15:04 +00:00
build Bug 1625363 - AVIF (AV1 Image File Format): experimental support. r=aosmond,necko-reviewers,valentin 2020-05-01 22:56:04 +00:00
docs Bug 1628958 Part 1 - Add Layout & CSS section to Mozilla Source Tree Documentation. r=firefox-source-docs-reviewers,sylvestre 2020-04-15 18:07:24 +00:00
forms Bug 1630704 - Merge XUL methods to nsIFrame r=emilio 2020-05-08 17:31:35 +00:00
generic Bug 1630704 - Merge XUL methods to nsIFrame r=emilio 2020-05-08 17:31:35 +00:00
inspector Bug 1626570 - Improve handling of copying arrays in layout/inspector/. r=emilio 2020-05-05 10:40:43 +00:00
ipc Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
mathml Bug 1626570 - Improve handling of copying arrays in layout/mathml/. r=emilio 2020-05-05 10:40:45 +00:00
media
painting Bug 1636380. Fix IsZoomedContentRoot assert in nsDisplayListBuilder::MarkFramesForDisplayList. r=botond 2020-05-08 21:00:11 +00:00
printing Bug 1634663: part 4) Declare callers of `Selection::GetRangeAt` `const` in layout code. r=masayuki 2020-05-02 23:46:01 +00:00
reftests Bug 1635658. Fix how CSS filters render with webrender that are represented as component transfer when they are required to be represented as SVG filters. r=mstange 2020-05-07 23:39:56 +00:00
style Bug 1635584 - Update BackdropFilter Test Expectations r=emilio 2020-05-08 07:19:43 +00:00
svg Bug 1635658. Fix how CSS filters render with webrender that are represented as component transfer when they are required to be represented as SVG filters. r=mstange 2020-05-07 23:39:56 +00:00
tables Bug 1633448: part 2) Rename `nsFrameSelection::GetTableCellSelection` to `IsInTableSelectionMode`. r=smaug 2020-04-27 19:34:53 +00:00
tools Bug 1634939. When forwarding afterpaint events the child could have been removed from the doc tree. r=mattwoodrow 2020-05-03 21:03:30 +00:00
xul Bug 1630704 - Merge XUL methods to nsIFrame r=emilio 2020-05-08 17:31:35 +00:00
moz.build Bug 1628958 Part 1 - Add Layout & CSS section to Mozilla Source Tree Documentation. r=firefox-source-docs-reviewers,sylvestre 2020-04-15 18:07:24 +00:00