зеркало из https://github.com/mozilla/pjs.git
Weaken assertions I added yesterday to fix orange on balsa. b=307939
This commit is contained in:
Родитель
d949a85701
Коммит
243f5c06ea
|
@ -682,8 +682,14 @@ nsStyleSet::ProbePseudoStyleFor(nsIContent* aParentContent,
|
||||||
NS_ASSERTION(aParentContent &&
|
NS_ASSERTION(aParentContent &&
|
||||||
aParentContent->IsContentOfType(nsIContent::eELEMENT),
|
aParentContent->IsContentOfType(nsIContent::eELEMENT),
|
||||||
"aParentContent must be element");
|
"aParentContent must be element");
|
||||||
NS_ASSERTION(nsCSSPseudoElements::IsPseudoElement(aPseudoTag),
|
//NS_ASSERTION(nsCSSPseudoElements::IsPseudoElement(aPseudoTag),
|
||||||
"aPseudoTag must be a pseudo-element");
|
// "aPseudoTag must be a pseudo-element");
|
||||||
|
NS_ASSERTION(aParentContent ||
|
||||||
|
nsCSSAnonBoxes::IsAnonBox(aPseudoTag),
|
||||||
|
"null content must correspond to anonymous box");
|
||||||
|
NS_ASSERTION(nsCSSAnonBoxes::IsAnonBox(aPseudoTag) ||
|
||||||
|
nsCSSPseudoElements::IsPseudoElement(aPseudoTag),
|
||||||
|
"aPseudoTag must be pseudo-element or anonymous box");
|
||||||
|
|
||||||
if (aPseudoTag && presContext) {
|
if (aPseudoTag && presContext) {
|
||||||
if (mRuleProcessors[eAgentSheet] ||
|
if (mRuleProcessors[eAgentSheet] ||
|
||||||
|
|
Загрузка…
Ссылка в новой задаче