No issue - Fix mixing of tabs with space-indented code.

This commit is contained in:
Francis Dominic Fajardo 2025-06-20 10:33:02 +08:00 committed by roytam1
commit 552cb8dbcc

View file

@ -2938,7 +2938,7 @@ nsRuleNode::SetDefaultOnRoot(const nsStyleStructID aSID, nsStyleContext* aContex
} \
} else { \
data_ = new (mPresContext) nsStyle##type_(mPresContext); \
} \
} \
} \
\
if (!parentdata_) { \
@ -3313,7 +3313,7 @@ nsRuleNode::FindNextSmallerFontSize(nscoord aFontSize, int32_t aBasePointSize,
indexFontSize = CalcFontPointSize(index, aBasePointSize, aPresContext, aFontSizeType);
if (indexFontSize < aFontSize) {
break;
}
}
}
// set up points beyond table for interpolation purposes
if (indexFontSize == smallestIndexFontSize) {
@ -3379,7 +3379,7 @@ nsRuleNode::FindNextLargerFontSize(nscoord aFontSize, int32_t aBasePointSize,
indexFontSize = CalcFontPointSize(index, aBasePointSize, aPresContext, aFontSizeType);
if (indexFontSize > aFontSize) {
break;
}
}
}
// set up points beyond table for interpolation purposes
if (indexFontSize == smallestIndexFontSize) {
@ -7843,7 +7843,7 @@ nsRuleNode::ComputeBorderData(void* aStartStruct,
if (SetColor(list->mValue, unused, mPresContext,
aContext, borderColor, conditions)) {
border->AppendBorderColor(side, borderColor);
} else {
} else {
NS_NOTREACHED("unexpected item in -moz-border-*-colors list");
}
list = list->mNext;
@ -10725,12 +10725,12 @@ nsRuleNode::HasAuthorSpecifiedRules(nsStyleContext* aStyleContext,
for (uint32_t i = 0; i < nValues; ++i) {
if (values[i]->GetUnit() == eCSSUnit_Null) {
values[i]->SetDummyValue();
}
}
}
for (uint32_t i = 0; i < nValues; ++i) {
if (values[i]->GetUnit() == eCSSUnit_DummyInherit) {
values[i]->Reset();
}
}
}
styleContext = styleContext->GetParent();
}