diff --git a/mozilla/content/base/public/nsIStyleRuleProcessor.h b/mozilla/content/base/public/nsIStyleRuleProcessor.h index aca01834244..32494874c8b 100644 --- a/mozilla/content/base/public/nsIStyleRuleProcessor.h +++ b/mozilla/content/base/public/nsIStyleRuleProcessor.h @@ -165,7 +165,7 @@ struct AttributeRuleProcessorData : public RuleProcessorData { #define NS_ISTYLE_RULE_PROCESSOR_IID \ {0x015575fe, 0x7b6c, 0x11d3, {0xba, 0x05, 0x00, 0x10, 0x83, 0x02, 0x3c, 0x2b}} -/* The style rule processor interface is a mechanism to seperate the matching +/* The style rule processor interface is a mechanism to separate the matching * of style rules from style sheet instances. * Simple style sheets can and will act as their own processor. * Sheets where rule ordering interlaces between multiple sheets, will need to diff --git a/mozilla/content/base/src/nsPlainTextSerializer.cpp b/mozilla/content/base/src/nsPlainTextSerializer.cpp index 90bcdeac067..be8fec8ad41 100644 --- a/mozilla/content/base/src/nsPlainTextSerializer.cpp +++ b/mozilla/content/base/src/nsPlainTextSerializer.cpp @@ -711,7 +711,7 @@ nsPlainTextSerializer::DoOpenContainer(const nsIParserNode* aNode, PRInt32 aTag) // We must make sure that the content of two table cells get a // space between them. - // To make the seperation between cells most obvious and + // To make the separation between cells most obvious and // importable, we use a TAB. if (GetLastBool(mHasWrittenCellsForRow)) { // Bypass |Write| so that the TAB isn't compressed away. diff --git a/mozilla/docshell/base/nsDefaultURIFixup.cpp b/mozilla/docshell/base/nsDefaultURIFixup.cpp index 672475e87d1..95899bc98c2 100644 --- a/mozilla/docshell/base/nsDefaultURIFixup.cpp +++ b/mozilla/docshell/base/nsDefaultURIFixup.cpp @@ -494,7 +494,7 @@ PRBool nsDefaultURIFixup::PossiblyHostPortUrl(const nsAString &aUrl) // :/ // // Where is a string of alphanumeric characters and dashes - // seperated by dots. + // separated by dots. // and is a 5 or less digits. This actually breaks the rfc2396 // definition of a scheme which allows dots in schemes. // diff --git a/mozilla/docshell/base/nsDocShell.cpp b/mozilla/docshell/base/nsDocShell.cpp index 26cfd119efe..2f86954d794 100644 --- a/mozilla/docshell/base/nsDocShell.cpp +++ b/mozilla/docshell/base/nsDocShell.cpp @@ -3816,7 +3816,7 @@ nsDocShell::SetupRefreshURIFromHeader(nsIURI * aBaseURI, // Refresh immediately using URI as the destination. // // Currently, anything immediately following the URI, if - // seperated by any char in the set "'\"\t\r\n " will be + // separated by any char in the set "'\"\t\r\n " will be // ignored. So "10; url=go.html ; foo=bar" will work, // and so will "10; url='go.html'; foo=bar". However, // "10; url=go.html; foo=bar" will result in the uri diff --git a/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp b/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp index 3509dff587f..7397c5f700d 100644 --- a/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLEditRules.cpp @@ -1338,7 +1338,7 @@ nsHTMLEditRules::WillInsertText(PRInt32 aAction, PRInt32 pos = 0; NS_NAMED_LITERAL_STRING(newlineStr, LFSTR); - // for efficiency, break out the pre case seperately. This is because + // for efficiency, break out the pre case separately. This is because // its a lot cheaper to search the input string for only newlines than // it is to search for both tabs and newlines. if (isPRE || bPlaintext) @@ -5881,7 +5881,7 @@ nsHTMLEditRules::MakeTransitionList(nsCOMArray& inArrayOfNodes, transNode->GetParentNode(getter_AddRefs(curElementParent)); if (curElementParent != prevElementParent) { - // different parents, or seperated by
: transition point + // different parents, or separated by
: transition point inTransitionArray.InsertElementAt((void*)PR_TRUE,i); } else @@ -6763,7 +6763,7 @@ nsHTMLEditRules::JoinNodesSmart( nsIDOMNode *aNodeLeft, res = mHTMLEditor->GetLengthOfDOMNode(aNodeLeft, *((PRUint32*)aOutMergeOffset)); if (NS_FAILED(res)) return res; - // seperate join rules for differing blocks + // separate join rules for differing blocks if (nsHTMLEditUtils::IsParagraph(aNodeLeft)) { // for para's, merge deep & add a
after merging @@ -7361,7 +7361,7 @@ nsHTMLEditRules::RemoveEmptyNodes() if (NS_FAILED(res)) return res; if (bIsEmptyNode) { - if (bIsMailCite) // mailcites go on a seperate list from other empty nodes + if (bIsMailCite) // mailcites go on a separate list from other empty nodes { arrayOfEmptyCites.AppendObject(node); } @@ -7393,7 +7393,7 @@ nsHTMLEditRules::RemoveEmptyNodes() } // now delete the empty mailcites - // this is a seperate step because we want to pull out any br's and preserve them. + // this is a separate step because we want to pull out any br's and preserve them. nodeCount = arrayOfEmptyCites.Count(); for (j = 0; j < nodeCount; j++) { diff --git a/mozilla/editor/libeditor/html/nsHTMLEditor.cpp b/mozilla/editor/libeditor/html/nsHTMLEditor.cpp index 401fa756a78..492c6b3d791 100644 --- a/mozilla/editor/libeditor/html/nsHTMLEditor.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLEditor.cpp @@ -5754,7 +5754,7 @@ nsHTMLEditor::SetCSSBackgroundColor(const nsAString& aColor) } } // first check the start parent of the range to see if it needs to - // be seperately handled (it does if it's a text node, due to how the + // be separately handled (it does if it's a text node, due to how the // subtree iterator works - it will not have reported it). if (IsTextNode(startNode) && IsEditable(startNode)) { @@ -5798,7 +5798,7 @@ nsHTMLEditor::SetCSSBackgroundColor(const nsAString& aColor) arrayOfNodes.Clear(); // last check the end parent of the range to see if it needs to - // be seperately handled (it does if it's a text node, due to how the + // be separately handled (it does if it's a text node, due to how the // subtree iterator works - it will not have reported it). if (IsTextNode(endNode) && IsEditable(endNode)) { diff --git a/mozilla/editor/libeditor/html/nsHTMLEditorStyle.cpp b/mozilla/editor/libeditor/html/nsHTMLEditorStyle.cpp index 130ba02fd9a..cf11ce89a12 100644 --- a/mozilla/editor/libeditor/html/nsHTMLEditorStyle.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLEditorStyle.cpp @@ -207,7 +207,7 @@ NS_IMETHODIMP nsHTMLEditor::SetInlineProperty(nsIAtom *aProperty, } } // first check the start parent of the range to see if it needs to - // be seperately handled (it does if it's a text node, due to how the + // be separately handled (it does if it's a text node, due to how the // subtree iterator works - it will not have reported it). if (IsTextNode(startNode) && IsEditable(startNode)) { @@ -232,7 +232,7 @@ NS_IMETHODIMP nsHTMLEditor::SetInlineProperty(nsIAtom *aProperty, arrayOfNodes.Clear(); // last check the end parent of the range to see if it needs to - // be seperately handled (it does if it's a text node, due to how the + // be separately handled (it does if it's a text node, due to how the // subtree iterator works - it will not have reported it). if (IsTextNode(endNode) && IsEditable(endNode)) { @@ -1518,7 +1518,7 @@ nsHTMLEditor::RelativeFontChange( PRInt32 aSizeChange) arrayOfNodes.Clear(); } // now check the start and end parents of the range to see if they need to - // be seperately handled (they do if they are text nodes, due to how the + // be separately handled (they do if they are text nodes, due to how the // subtree iterator works - it will not have reported them). if (IsTextNode(startNode) && IsEditable(startNode)) { diff --git a/mozilla/editor/libeditor/text/nsTextEditRules.cpp b/mozilla/editor/libeditor/text/nsTextEditRules.cpp index 5c449fa6688..9d0db34d622 100644 --- a/mozilla/editor/libeditor/text/nsTextEditRules.cpp +++ b/mozilla/editor/libeditor/text/nsTextEditRules.cpp @@ -630,7 +630,7 @@ nsTextEditRules::WillInsertText(PRInt32 aAction, nsCOMPtr unused; PRInt32 pos = 0; - // for efficiency, break out the pre case seperately. This is because + // for efficiency, break out the pre case separately. This is because // its a lot cheaper to search the input string for only newlines than // it is to search for both tabs and newlines. if (isPRE) diff --git a/mozilla/embedding/components/printingui/src/mac/nsPrintingPromptServiceX.cpp b/mozilla/embedding/components/printingui/src/mac/nsPrintingPromptServiceX.cpp index e28c8a80492..d7124195e4f 100644 --- a/mozilla/embedding/components/printingui/src/mac/nsPrintingPromptServiceX.cpp +++ b/mozilla/embedding/components/printingui/src/mac/nsPrintingPromptServiceX.cpp @@ -230,7 +230,7 @@ nsPrintingPromptService::ShowPrintDialog(nsIDOMWindow *parent, nsIWebBrowserPrin printSettings->SetPrintFrameType(nsIPrintSettings::kFramesAsIs); if (printData.mPrintSelectedFrame) printSettings->SetPrintFrameType(nsIPrintSettings::kSelectedFrame); - if (printData.mPrintFramesSeperatly) + if (printData.mPrintFramesSeparately) printSettings->SetPrintFrameType(nsIPrintSettings::kEachFrameSep); printSettings->SetShrinkToFit(printData.mShrinkToFit); diff --git a/mozilla/embedding/qa/jstests/accessibility/xul/xulmenubar.xul b/mozilla/embedding/qa/jstests/accessibility/xul/xulmenubar.xul index f5692787c08..5005bbb9fa4 100644 --- a/mozilla/embedding/qa/jstests/accessibility/xul/xulmenubar.xul +++ b/mozilla/embedding/qa/jstests/accessibility/xul/xulmenubar.xul @@ -114,7 +114,7 @@