Bug 1203472 - [css-grid] Add missing |mIsSubgrid| check. r=simon.sapin@exyr.org

The missing |mIsSubgrid| check caused nsStylePosition::CalcDifference
to return zero even after the property value was changed to 'subgrid'.
See bug 1176782 comment 14 (and the comments leading up to that) for
details.
This commit is contained in:
Mats Palmgren 2015-09-10 21:07:26 +02:00
Родитель 35b96417b6
Коммит 2fee0b7b7e
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -1283,7 +1283,8 @@ struct nsStyleGridTemplate {
}
inline bool operator!=(const nsStyleGridTemplate& aOther) const {
return mLineNameLists != aOther.mLineNameLists ||
return mIsSubgrid != aOther.mIsSubgrid ||
mLineNameLists != aOther.mLineNameLists ||
mMinTrackSizingFunctions != aOther.mMinTrackSizingFunctions ||
mMaxTrackSizingFunctions != aOther.mMaxTrackSizingFunctions;
}