зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1223282 - Make NS_AUTOMARGIN be a different value than NS_UNCONSTRAINEDSIZE to avoid having clamped huge margin values be interpreted as auto margins. r=roc
This commit is contained in:
Родитель
d376b16387
Коммит
82b3daf6c8
|
@ -143,7 +143,8 @@ typedef uint32_t nsSplittableType;
|
|||
|
||||
#define NS_INTRINSICSIZE NS_UNCONSTRAINEDSIZE
|
||||
#define NS_AUTOHEIGHT NS_UNCONSTRAINEDSIZE
|
||||
#define NS_AUTOMARGIN NS_UNCONSTRAINEDSIZE
|
||||
// +1 is to avoid clamped huge margin values being processed as auto margins
|
||||
#define NS_AUTOMARGIN (NS_UNCONSTRAINEDSIZE + 1)
|
||||
#define NS_AUTOOFFSET NS_UNCONSTRAINEDSIZE
|
||||
// NOTE: there are assumptions all over that these have the same value, namely NS_UNCONSTRAINEDSIZE
|
||||
// if any are changed to be a value other than NS_UNCONSTRAINEDSIZE
|
||||
|
|
Загрузка…
Ссылка в новой задаче