Bug 1782597 Part 2 - Use null to indicate page value equal to the auto value for...
commit1f2d745a9467f174bc3026b96a0cc62e53f9bb4c
authorEmily McDonough <emcdonough@mozilla.com>
Wed, 5 Oct 2022 22:07:47 +0000 (5 22:07 +0000)
committerEmily McDonough <emcdonough@mozilla.com>
Wed, 5 Oct 2022 22:07:47 +0000 (5 22:07 +0000)
tree46f5add67d12d6b24dadd76a6e9e27fdbc14a7ee
parentbe4dd4a02689097c840f2992b3e4a247a570627e
Bug 1782597 Part 2 - Use null to indicate page value equal to the auto value for CSS named pages r=dholbert

This applies both to the individual mStartPageValue and mEndPageValue fields
of the nsIFrame::PageValues struct, and for the nsIFrame::PageValuesProperty
being null to indicate both mStartPageValue and mEndPageValue are auto.

Fetching this is handled by nsIFrame::GetStartPageValue and
nsIFrame::GetEndPageValue, which also ensure the use of first-in-flow frames.

Differential Revision: https://phabricator.services.mozilla.com/D157873
layout/base/nsCSSFrameConstructor.cpp
layout/generic/nsBlockFrame.cpp
layout/generic/nsIFrame.h