mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
No issue - Fix mixing of tabs with space-indented code.
This commit is contained in:
parent
17b594b705
commit
552cb8dbcc
1 changed files with 6 additions and 6 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue