Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless

This commit is contained in:
Michael Kohler 2009-07-27 10:47:02 +02:00
parent b7a3a2a751
commit 4b7c87c984
16 changed files with 18 additions and 18 deletions

View file

@ -1269,7 +1269,7 @@ nsFrameConstructorState::ProcessFrameInsertions(nsAbsoluteItems& aFrameItems,
"Child list without containing block?");
// Insert the frames hanging out in aItems. We can use SetInitialChildList()
// if the containing block hasn't been reflown yet (so NS_FRAME_FIRST_REFLOW
// if the containing block hasn't been reflowed yet (so NS_FRAME_FIRST_REFLOW
// is set) and doesn't have any frames in the aChildListName child list yet.
nsIFrame* firstChild = containingBlock->GetFirstChild(aChildListName);
nsresult rv = NS_OK;

View file

@ -1062,7 +1062,7 @@ nsDisplayWrapList* nsDisplayClip::WrapWithClone(nsDisplayListBuilder* aBuilder,
// Write #define UNIFIED_CONTINUATIONS here to have the transform property try
// to transform content with continuations as one unified block instead of
// several smaller ones. This is currently disabled because it doesn't work
// correctly, since when the frames are initially being reflown, their
// correctly, since when the frames are initially being reflowed, their
// continuations all compute their bounding rects independently of each other
// and consequently get the wrong value. Write #define DEBUG_HIT here to have
// the nsDisplayTransform class dump out a bunch of information about hit

View file

@ -1398,7 +1398,7 @@ nsFrameManager::ReResolveStyleContext(nsPresContext *aPresContext,
// the frame where we started the reresolve. Therefore, even if
// aMinChange already includes nsChangeHint_ReflowFrame we don't
// want to pass that on to the out-of-flow reresolve, since that
// can lead to the out-of-flow not getting reflown when it should
// can lead to the out-of-flow not getting reflowed when it should
// be (eg a reresolve starting at <body> that involves reflowing
// the <body> would miss reflowing fixed-pos nodes that also need
// reflow). In the cases when the out-of-flow _is_ a geometric

View file

@ -4597,7 +4597,7 @@ PresShell::CaptureHistoryState(nsILayoutHistoryState** aState, PRBool aLeavingPa
if (!rootFrame) return NS_OK;
// Capture frame state for the root scroll frame
// Don't capture state when first creating doc element hierarchy
// As the scroll position is 0 and this will cause us to loose
// As the scroll position is 0 and this will cause us to lose
// our previously saved place!
if (aLeavingPage) {
nsIFrame* scrollFrame = GetRootScrollFrame();

View file

@ -80,7 +80,7 @@ class nsStyleSheetService : public nsIStyleSheetService
NS_HIDDEN_(PRInt32) FindSheetByURI(const nsCOMArray<nsIStyleSheet> &sheets,
nsIURI *sheetURI);
// Like LoadAndRegisterSheet, but doesn't notify. If succesful, the
// Like LoadAndRegisterSheet, but doesn't notify. If successful, the
// new sheet will be the last sheet in mSheets[aSheetType].
NS_HIDDEN_(nsresult) LoadAndRegisterSheetInternal(nsIURI *aSheetURI,
PRUint32 aSheetType);

View file

@ -735,7 +735,7 @@ nsHTMLReflowState::GetHypotheticalBoxContainer(nsIFrame* aFrame,
/* Now aFrame is the containing block we want */
/* Check whether the containing block is currently being reflown.
/* Check whether the containing block is currently being reflowed.
If so, use the info from the reflow state. */
const nsHTMLReflowState* state;
if (aFrame->GetStateBits() & NS_FRAME_IN_REFLOW) {
@ -978,7 +978,7 @@ nsHTMLReflowState::CalculateHypotheticalBox(nsPresContext* aPresContext,
// Get the placeholder x-offset and y-offset in the coordinate
// space of the block frame that contains it
// XXXbz the placeholder is not fully reflown yet if our containing block is
// XXXbz the placeholder is not fully reflowed yet if our containing block is
// relatively positioned...
nsPoint placeholderOffset = aPlaceholderFrame->GetOffsetTo(aContainingBlock);
@ -1002,7 +1002,7 @@ nsHTMLReflowState::CalculateHypotheticalBox(nsPresContext* aPresContext,
// the line containing the placeholder frame, unless all the frames
// before it are empty. In that case, it would have been just before
// this line.
// XXXbz the line box is not fully reflown yet if our containing block is
// XXXbz the line box is not fully reflowed yet if our containing block is
// relatively positioned...
if (lineBox != iter.End()) {
nsIFrame * firstFrame = lineBox->mFirstChild;

View file

@ -3173,7 +3173,7 @@ nsTypedSelection::addTableCellRange(nsIRange *aRange, PRBool *aDidAddRange,
}
// Set frame selection mode only if not already set to a table mode
// so we don't loose the select row and column flags (not detected by getTableCellLocation)
// so we don't lose the select row and column flags (not detected by getTableCellLocation)
if (mFrameSelection->mSelectingTableCellMode == TABLESELECTION_NONE)
mFrameSelection->mSelectingTableCellMode = tableMode;

View file

@ -146,7 +146,7 @@ nsSVGForeignObjectFrame::Reflow(nsPresContext* aPresContext,
"should only get reflow from being reflow root");
NS_ASSERTION(aReflowState.ComputedWidth() == GetSize().width &&
aReflowState.ComputedHeight() == GetSize().height,
"reflow roots should be reflown at existing size and "
"reflow roots should be reflowed at existing size and "
"svg.css should ensure we have no padding/border/margin");
DoReflow();

View file

@ -534,7 +534,7 @@ public:
/**
* To be called on a frame by its parent after setting its size/position and
* calling DidReflow (possibly via FinishReflowChild()). This can also be
* used for child frames which are not being reflown but did have their size
* used for child frames which are not being reflowed but did have their size
* or position changed.
*
* @param aFrame The frame to invalidate

View file

@ -10,7 +10,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=393970
<script type="application/javascript" src="/MochiKit/packed.js" />
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"/>
<!-- test resuls are displayed in the html:body -->
<!-- test results are displayed in the html:body -->
<body xmlns="http://www.w3.org/1999/xhtml">
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=393970"
target="_blank">Mozilla Bug 393970</a>

View file

@ -9,7 +9,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=477754
<script type="application/javascript" src="/MochiKit/packed.js" />
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"/>
<!-- test resuls are displayed in the html:body -->
<!-- test results are displayed in the html:body -->
<body xmlns="http://www.w3.org/1999/xhtml">
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=477754"
target="_blank">Mozilla Bug 477754</a>

View file

@ -10,7 +10,7 @@ XUL <resizer> tests
<script type="application/javascript" src="/MochiKit/packed.js" />
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"/>
<!-- test resuls are displayed in the html:body -->
<!-- test results are displayed in the html:body -->
<body xmlns="http://www.w3.org/1999/xhtml">
</body>

View file

@ -28,7 +28,7 @@ function check_for_exception(spec)
return;
}
do_throw("Succesfully opened invalid URI: '" + spec + "'");
do_throw("Successfully opened invalid URI: '" + spec + "'");
}
function run_test() {

View file

@ -32,7 +32,7 @@ import "oleacc.idl";
This interface provides the AT with the information it needs to differentiate
this application from other applications, from other versions of this
application, or from other versions of this application running on different
versions of an accessibility bridge or accessbility toolkit.
versions of an accessibility bridge or accessibility toolkit.
*/
[object, uuid(D49DED83-5B25-43F4-9B95-93B44595979E)]
interface IAccessibleApplication : IUnknown

View file

@ -80,7 +80,7 @@ const WCHAR *const IA2_RELATION_NODE_CHILD_OF = L"nodeChildOf";
const WCHAR *const IA2_RELATION_PARENT_WINDOW_OF = L"parentWindowOf";
/** This object is a transient component related to the target object.
When this object is activated the target object doesn't loose focus.
When this object is activated the target object doesn't lose focus.
*/
const WCHAR *const IA2_RELATION_POPUP_FOR = L"popupFor";

View file

@ -636,7 +636,7 @@ InMemoryAssertionEnumeratorImpl::GetNext(nsISupports** aResult)
* <tt>nsIRDFArcsOutCursor</tt> and <tt>nsIRDFArcsInCursor</tt> interfaces.
* Because the structure of the in-memory graph is pretty flexible, it's
* fairly easy to parameterize this class. The only funky thing to watch
* out for is the mutliple inheiritance clashes.
* out for is the mutliple inheritance clashes.
*/
class InMemoryArcsEnumeratorImpl : public nsISimpleEnumerator