mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Rewrap long argument lists to CSS_PROP macros. Whitespace changes only. (Bug 504652)
This commit is contained in:
parent
411bbcb6dd
commit
d8e13763a7
@ -568,13 +568,15 @@ nsCSSExpandedDataBlock::~nsCSSExpandedDataBlock()
|
||||
|
||||
const nsCSSExpandedDataBlock::PropertyOffsetInfo
|
||||
nsCSSExpandedDataBlock::kOffsetTable[eCSSProperty_COUNT_no_shorthands] = {
|
||||
#define CSS_PROP_BACKENDONLY(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) \
|
||||
{ offsetof(nsCSSExpandedDataBlock, m##datastruct_.member_), \
|
||||
size_t(-1), \
|
||||
#define CSS_PROP_BACKENDONLY(name_, id_, method_, flags_, datastruct_, \
|
||||
member_, type_, kwtable_) \
|
||||
{ offsetof(nsCSSExpandedDataBlock, m##datastruct_.member_), \
|
||||
size_t(-1), \
|
||||
size_t(-1) },
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
{ offsetof(nsCSSExpandedDataBlock, m##datastruct_.member_), \
|
||||
offsetof(nsRuleData, m##datastruct_##Data), \
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, \
|
||||
kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
{ offsetof(nsCSSExpandedDataBlock, m##datastruct_.member_), \
|
||||
offsetof(nsRuleData, m##datastruct_##Data), \
|
||||
offsetof(nsRuleData##datastruct_, member_) },
|
||||
#include "nsCSSPropList.h"
|
||||
#undef CSS_PROP
|
||||
|
@ -51,7 +51,9 @@
|
||||
enum nsCSSProperty {
|
||||
eCSSProperty_UNKNOWN = -1,
|
||||
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_, stylestruct_, stylestructoffset_, animtype_) eCSSProperty_##id_,
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, \
|
||||
kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
eCSSProperty_##id_,
|
||||
#include "nsCSSPropList.h"
|
||||
#undef CSS_PROP
|
||||
|
||||
|
@ -59,7 +59,9 @@ extern const char* const kCSSRawProperties[];
|
||||
|
||||
// define an array of all CSS properties
|
||||
const char* const kCSSRawProperties[] = {
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_, stylestruct_, stylestructoffset_, animtype_) #name_,
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, \
|
||||
kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
#name_,
|
||||
#include "nsCSSPropList.h"
|
||||
#undef CSS_PROP
|
||||
#define CSS_PROP_SHORTHAND(name_, id_, method_, flags_) #name_,
|
||||
@ -1380,7 +1382,9 @@ nsCSSProps::ValueToKeyword(PRInt32 aValue, const PRInt32 aTable[])
|
||||
|
||||
/* static */ const PRInt32* const
|
||||
nsCSSProps::kKeywordTableTable[eCSSProperty_COUNT_no_shorthands] = {
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_, stylestruct_, stylestructoffset_, animtype_) kwtable_,
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, \
|
||||
kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
kwtable_,
|
||||
#include "nsCSSPropList.h"
|
||||
#undef CSS_PROP
|
||||
};
|
||||
@ -1420,7 +1424,9 @@ PRBool nsCSSProps::GetColorName(PRInt32 aPropValue, nsCString &aStr)
|
||||
|
||||
// define array of all CSS property types
|
||||
const nsCSSType nsCSSProps::kTypeTable[eCSSProperty_COUNT_no_shorthands] = {
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_, stylestruct_, stylestructoffset_, animtype_) type_,
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, \
|
||||
kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
type_,
|
||||
#include "nsCSSPropList.h"
|
||||
#undef CSS_PROP
|
||||
};
|
||||
@ -1429,7 +1435,9 @@ const nsStyleStructID nsCSSProps::kSIDTable[eCSSProperty_COUNT_no_shorthands] =
|
||||
// Note that this uses the special BackendOnly style struct ID
|
||||
// (which does need to be valid for storing in the
|
||||
// nsCSSCompressedDataBlock::mStyleBits bitfield).
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_, stylestruct_, stylestructoffset_, animtype_) eStyleStruct_##stylestruct_,
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, \
|
||||
kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
eStyleStruct_##stylestruct_,
|
||||
|
||||
#include "nsCSSPropList.h"
|
||||
|
||||
@ -1438,7 +1446,8 @@ const nsStyleStructID nsCSSProps::kSIDTable[eCSSProperty_COUNT_no_shorthands] =
|
||||
|
||||
const nsStyleAnimType
|
||||
nsCSSProps::kAnimTypeTable[eCSSProperty_COUNT_no_shorthands] = {
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, \
|
||||
kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
animtype_,
|
||||
#include "nsCSSPropList.h"
|
||||
#undef CSS_PROP
|
||||
@ -1446,14 +1455,17 @@ nsCSSProps::kAnimTypeTable[eCSSProperty_COUNT_no_shorthands] = {
|
||||
|
||||
const ptrdiff_t
|
||||
nsCSSProps::kStyleStructOffsetTable[eCSSProperty_COUNT_no_shorthands] = {
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, \
|
||||
kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
stylestructoffset_,
|
||||
#include "nsCSSPropList.h"
|
||||
#undef CSS_PROP
|
||||
};
|
||||
|
||||
const PRUint32 nsCSSProps::kFlagsTable[eCSSProperty_COUNT] = {
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_, stylestruct_, stylestructoffset_, animtype_) flags_,
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, \
|
||||
kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
flags_,
|
||||
#include "nsCSSPropList.h"
|
||||
#undef CSS_PROP
|
||||
#define CSS_PROP_SHORTHAND(name_, id_, method_, flags_) flags_,
|
||||
|
@ -380,7 +380,8 @@ CSS2PropertiesTearoff::QueryInterface(REFNSIID aIID, void** aInstancePtr)
|
||||
// nsIDOMCSS2Properties
|
||||
// nsIDOMNSCSS2Properties
|
||||
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, \
|
||||
kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
NS_IMETHODIMP \
|
||||
CSS2PropertiesTearoff::Get##method_(nsAString& aValue) \
|
||||
{ \
|
||||
|
@ -48,7 +48,8 @@ struct PropertyInfo {
|
||||
|
||||
const PropertyInfo gLonghandProperties[] = {
|
||||
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, \
|
||||
kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
{ #name_, #method_ },
|
||||
|
||||
#include "nsCSSPropList.h"
|
||||
@ -65,7 +66,8 @@ const PropertyInfo gLonghandProperties[] = {
|
||||
const char* gLonghandPropertiesWithDOMProp[] = {
|
||||
|
||||
#define CSS_PROP_LIST_EXCLUDE_INTERNAL
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
#define CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, \
|
||||
kwtable_, stylestruct_, stylestructoffset_, animtype_) \
|
||||
#name_,
|
||||
|
||||
#include "nsCSSPropList.h"
|
||||
|
Loading…
Reference in New Issue
Block a user