Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz

This commit is contained in:
cvshook%sicking.cc 2006-05-16 15:52:45 +00:00
Родитель 78b593ffc9
Коммит e207f41e6f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1139,7 +1139,7 @@ CSSLoaderImpl::InsertSheetInDoc(nsICSSStyleSheet* aSheet,
"Why do we still have our old sheet?"); "Why do we still have our old sheet?");
// Have to compare // 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 // The current sheet comes before us, and it better be the first
// such, because now we break // such, because now we break
break; break;