Bug 649142 - Part 1.1: Assert that CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED is not used on logical properties. r=dbaron

This commit is contained in:
Cameron McCormack 2015-01-17 15:16:01 +11:00
Родитель ddf87d6cf6
Коммит 59aad795f0
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -3037,7 +3037,10 @@ nsCSSProps::gPropertyEnabled[eCSSProperty_COUNT_with_aliases] = {
animtype_) \
static_assert((flags_) & CSS_PROPERTY_LOGICAL, \
"properties defined with CSS_PROP_LOGICAL must also use " \
"the CSS_PROPERTY_LOGICAL flag");
"the CSS_PROPERTY_LOGICAL flag"); \
static_assert(!((flags_) & CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED), \
"CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED has no effect " \
"on logical properties");
#include "nsCSSPropList.h"
#undef CSS_PROP_LOGICAL
#undef CSS_PROP