зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1294918 - Fix spelling of method name nsIFrame::IsAbsPosContainingBlock. r=dholbert
This misspelling was introduced in bug 1125767, changeset b9951cca6d1f. MozReview-Commit-ID: KQNlLelY2Kn --HG-- extra : rebase_source : 7b2b8379da23b06737b462dd4c316b5758d807a9
This commit is contained in:
Родитель
7636e9aaaf
Коммит
6660436867
|
@ -286,7 +286,7 @@ nsGenericHTMLElement::GetOffsetRect(CSSIntRect& aRect)
|
|||
parent = frame;
|
||||
}
|
||||
else {
|
||||
const bool isPositioned = frame->IsAbsPosContaininingBlock();
|
||||
const bool isPositioned = frame->IsAbsPosContainingBlock();
|
||||
const bool isAbsolutelyPositioned = frame->IsAbsolutelyPositioned();
|
||||
origin += frame->GetPositionIgnoringScrolling();
|
||||
|
||||
|
@ -294,7 +294,7 @@ nsGenericHTMLElement::GetOffsetRect(CSSIntRect& aRect)
|
|||
content = parent->GetContent();
|
||||
|
||||
// Stop at the first ancestor that is positioned.
|
||||
if (parent->IsAbsPosContaininingBlock()) {
|
||||
if (parent->IsAbsPosContainingBlock()) {
|
||||
offsetParent = content;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -1116,7 +1116,7 @@ RestyleManagerBase::ProcessRestyledFrames(nsStyleChangeList& aChangeList)
|
|||
// It's because we need to set this state on each affected frame
|
||||
// that we can't coalesce nsChangeHint_UpdateContainingBlock hints up
|
||||
// to ancestors (i.e. it can't be an inherited change hint).
|
||||
if (cont->IsAbsPosContaininingBlock()) {
|
||||
if (cont->IsAbsPosContainingBlock()) {
|
||||
if (cont->StyleDisplay()->HasTransform(cont)) {
|
||||
cont->AddStateBits(NS_FRAME_MAY_BE_TRANSFORMED);
|
||||
}
|
||||
|
|
|
@ -3105,7 +3105,7 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsFrameConstructorState& aState,
|
|||
// Notify combobox that it should use the listbox as it's popup
|
||||
comboBox->SetDropDown(listFrame);
|
||||
|
||||
NS_ASSERTION(!listFrame->IsAbsPosContaininingBlock(),
|
||||
NS_ASSERTION(!listFrame->IsAbsPosContainingBlock(),
|
||||
"Ended up with positioned dropdown list somehow.");
|
||||
NS_ASSERTION(!listFrame->IsFloating(),
|
||||
"Ended up with floating dropdown list somehow.");
|
||||
|
@ -3249,7 +3249,7 @@ nsCSSFrameConstructor::ConstructFieldSetFrame(nsFrameConstructorState& aState,
|
|||
}
|
||||
|
||||
nsContainerFrame* absPosContainer = nullptr;
|
||||
if (fieldsetFrame->IsAbsPosContaininingBlock()) {
|
||||
if (fieldsetFrame->IsAbsPosContainingBlock()) {
|
||||
absPosContainer = fieldsetFrame;
|
||||
}
|
||||
|
||||
|
@ -6151,7 +6151,7 @@ nsCSSFrameConstructor::GetAbsoluteContainingBlock(nsIFrame* aFrame,
|
|||
// the correct containing block (the scrolledframe) in that case.
|
||||
// If we're looking for a fixed-pos containing block and the frame is
|
||||
// not transformed, skip it.
|
||||
if (!frame->IsAbsPosContaininingBlock() ||
|
||||
if (!frame->IsAbsPosContainingBlock() ||
|
||||
(aType == FIXED_POS &&
|
||||
!frame->StyleDisplay()->IsFixedPosContainingBlock(frame))) {
|
||||
continue;
|
||||
|
|
|
@ -2286,7 +2286,7 @@ nsDisplayItem::ForceActiveLayers()
|
|||
|
||||
static int32_t ZIndexForFrame(nsIFrame* aFrame)
|
||||
{
|
||||
if (!aFrame->IsAbsPosContaininingBlock() && !aFrame->IsFlexOrGridItem())
|
||||
if (!aFrame->IsAbsPosContainingBlock() && !aFrame->IsFlexOrGridItem())
|
||||
return 0;
|
||||
|
||||
const nsStylePosition* position = aFrame->StylePosition();
|
||||
|
|
|
@ -6310,7 +6310,7 @@ nsLayoutUtils::GetClosestLayer(nsIFrame* aFrame)
|
|||
{
|
||||
nsIFrame* layer;
|
||||
for (layer = aFrame; layer; layer = layer->GetParent()) {
|
||||
if (layer->IsAbsPosContaininingBlock() ||
|
||||
if (layer->IsAbsPosContainingBlock() ||
|
||||
(layer->GetParent() &&
|
||||
layer->GetParent()->GetType() == nsGkAtoms::scrollFrame))
|
||||
break;
|
||||
|
|
|
@ -3219,7 +3219,7 @@ AccumulateFrameBounds(nsIFrame* aContainerFrame,
|
|||
nsIFrame *f = aFrame;
|
||||
|
||||
while (f && f->IsFrameOfType(nsIFrame::eLineParticipant) &&
|
||||
!f->IsTransformed() && !f->IsAbsPosContaininingBlock()) {
|
||||
!f->IsTransformed() && !f->IsAbsPosContainingBlock()) {
|
||||
prevFrame = f;
|
||||
f = prevFrame->GetParent();
|
||||
}
|
||||
|
|
|
@ -796,7 +796,7 @@ nsContainerFrame::SyncFrameViewProperties(nsPresContext* aPresContext,
|
|||
int32_t zIndex = 0;
|
||||
bool autoZIndex = false;
|
||||
|
||||
if (aFrame->IsAbsPosContaininingBlock()) {
|
||||
if (aFrame->IsAbsPosContainingBlock()) {
|
||||
// Make sure z-index is correct
|
||||
const nsStylePosition* position = aStyleContext->StylePosition();
|
||||
|
||||
|
|
|
@ -2877,7 +2877,7 @@ ScrollFrameHelper::AppendScrollPartsTo(nsDisplayListBuilder* aBuilder,
|
|||
AutoTArray<nsIFrame*, 3> scrollParts;
|
||||
for (nsIFrame* kid : mOuter->PrincipalChildList()) {
|
||||
if (kid == mScrolledFrame ||
|
||||
(kid->IsAbsPosContaininingBlock() || overlayScrollbars) != aPositioned)
|
||||
(kid->IsAbsPosContainingBlock() || overlayScrollbars) != aPositioned)
|
||||
continue;
|
||||
|
||||
scrollParts.AppendElement(kid);
|
||||
|
|
|
@ -3175,7 +3175,7 @@ public:
|
|||
inline bool IsInlineOutside() const;
|
||||
inline uint8_t GetDisplay() const;
|
||||
inline bool IsFloating() const;
|
||||
inline bool IsAbsPosContaininingBlock() const;
|
||||
inline bool IsAbsPosContainingBlock() const;
|
||||
inline bool IsRelativelyPositioned() const;
|
||||
inline bool IsAbsolutelyPositioned() const;
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ nsIFrame::IsFloating() const
|
|||
}
|
||||
|
||||
bool
|
||||
nsIFrame::IsAbsPosContaininingBlock() const
|
||||
nsIFrame::IsAbsPosContainingBlock() const
|
||||
{
|
||||
return StyleDisplay()->IsAbsPosContainingBlock(this);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче