Bug 921797 - Make nsCSSProps::BuildShorthandsContainingTable support -moz-appearance being a shorthand subproperty. r=bzbarsky

This commit is contained in:
Cameron McCormack 2013-09-30 13:23:43 +10:00
parent 12f83a26b2
commit 65050ca272

View File

@ -197,7 +197,7 @@ nsCSSProps::BuildShorthandsContainingTable()
for (const nsCSSProperty* subprops = SubpropertyEntryFor(shorthand);
*subprops != eCSSProperty_UNKNOWN;
++subprops) {
NS_ABORT_IF_FALSE(0 < *subprops &&
NS_ABORT_IF_FALSE(0 <= *subprops &&
*subprops < eCSSProperty_COUNT_no_shorthands,
"subproperty must be a longhand");
++occurrenceCounts[*subprops];