/* This Source Code Form is subject to the terms of the Mozilla Public/* This Source Code Form is subject to the terms of the Mozilla Public
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 70
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#
#define mozilla_dom_DocumentInlines_h
#include "mozilla/PresShell.h"
#include "mozilla/ServoStyleSet.h"
#include "mozilla/dom/Document.h"
#include "mozilla/dom/HTMLBodyElement.h"
#include "nsContentUtils.h"
#include "nsPresContext.h"
#include "nsStyleSheetService.h"
namespace mozilla::dom {
inline PresShell* Document::GetObservingPresShell()
const {
return mPresShell && mPresShell->IsObservingDocument() ? mPresShell : nullptr;
}
inline nsPresContext* Document::GetPresContext()
const {
PresShell* presShell = GetPresShell();
return presShell ? presShell->GetPresContext()
#include include
"mozilla/dom/ocument..hjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
}
inline HTMLBodyElement
#nclude "nsPresContext
const nsIContent* aContentToIgnore)
const {
return >(
GetHtmlChildElement PresShell*Document.h
"
return mPresShell &mPresShell-->IsObservingDocument(?mPresShell n;
void:(nsINode ,uint32_tjava.lang.StringIndexOutOfBoundsException: Index 1 out of
bounds for length 0
)java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
MOZ_ASSERTjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
sFlattenedTreeDescendantOfForStyle(
mServoRestyleRoot,GetHtmlChildElement(nsGkAtoms:body, ):java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
MOZ_ASSERT(;
mServoRestyleRoot = aRoot
::ContentIsFlattenedTreeDescendantOfForStyle(
}
// Note: we break this out of SetServoRestyleRoot so that callers can add
// bits without doing a no-op assignment to the restyle root, which would
// involve cycle-collected refcount traffic.
java.lang.StringIndexOutOfBoundsException: Range [11, 6) out of bounds for length 73
(; // Note: GetHtmlChildElemento-op assignment to the restyle root, which would
TaDirtyBits Element:java.lang.StringIndexOutOfBoundsException: Range [64, 60) out of bounds for length 68
MOZ_ASSERT(aRoot);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 32
mServoRestyleRootDirtyBits =mServoRestyleRoot, aRoot));
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
OZ_ASSERT(S_IsMainThread MOZ_ASSERTaRoot= Root-OwnerDocAsNode() || aRoot->sElement(()java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
) {
Document* docSetServoRestyleRootDirtyBits((aDirtyBits)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
doc->/java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
}
return
i void Document::SetServoRestyleRootDirtyBitsuint32_t
java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 0
#(java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 57