Bug 458588 - remove uses of -moz-outline* and drop the aliases afterwards; remove the aliases; r+sr=dbaron

This commit is contained in:
Daniel 2008-12-06 13:59:26 +01:00
Родитель 18e863efdd
Коммит 9c559a222b
1 изменённых файлов: 1 добавлений и 6 удалений

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

@ -139,16 +139,11 @@ nsCSSProps::ReleaseTable(void)
} }
struct CSSPropertyAlias { struct CSSPropertyAlias {
char name[sizeof("-moz-outline-offset")]; char name[sizeof("")];
nsCSSProperty id; nsCSSProperty id;
}; };
static const CSSPropertyAlias gAliases[] = { static const CSSPropertyAlias gAliases[] = {
{ "-moz-outline", eCSSProperty_outline },
{ "-moz-outline-color", eCSSProperty_outline_color },
{ "-moz-outline-style", eCSSProperty_outline_style },
{ "-moz-outline-width", eCSSProperty_outline_width },
{ "-moz-outline-offset", eCSSProperty_outline_offset }
// Don't forget to update the sizeof in CSSPropertyAlias above with the // Don't forget to update the sizeof in CSSPropertyAlias above with the
// longest string when you add stuff here. // longest string when you add stuff here.
}; };