зеркало из https://github.com/mozilla/gecko-dev.git
Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz
This commit is contained in:
Родитель
b0d7599f6b
Коммит
c5107e27bc
|
@ -1139,7 +1139,7 @@ CSSLoaderImpl::InsertSheetInDoc(nsICSSStyleSheet* aSheet,
|
|||
"Why do we still have our old sheet?");
|
||||
|
||||
// Have to compare
|
||||
if (nsContentUtils::PositionBefore(sheetOwnerNode, aLinkingContent)) {
|
||||
if (nsContentUtils::PositionIsBefore(sheetOwnerNode, aLinkingContent)) {
|
||||
// The current sheet comes before us, and it better be the first
|
||||
// such, because now we break
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче