зеркало из https://github.com/mozilla/gecko-dev.git
Don't duplicate frame state bits, so that we can assert about NS_FRAME_IN_REFLOW during painting. (Bug 627842, patch 3.5) r=roc
This commit is contained in:
Родитель
5a12e5a841
Коммит
6ef87a5b92
|
@ -160,9 +160,6 @@ typedef PRUint64 nsFrameState;
|
|||
|
||||
#define NS_FRAME_IN_REFLOW NS_FRAME_STATE_BIT(0)
|
||||
|
||||
// This is only set during painting
|
||||
#define NS_FRAME_FORCE_DISPLAY_LIST_DESCEND_INTO NS_FRAME_STATE_BIT(0)
|
||||
|
||||
// This bit is set when a frame is created. After it has been reflowed
|
||||
// once (during the DidReflow with a finished state) the bit is
|
||||
// cleared.
|
||||
|
@ -297,8 +294,10 @@ typedef PRUint64 nsFrameState;
|
|||
// has no closer ancestor that is overflow:auto or overflow:scroll.
|
||||
#define NS_FRAME_IN_CONSTRAINED_HEIGHT NS_FRAME_STATE_BIT(39)
|
||||
|
||||
// The lower 20 bits and upper 32 bits of the frame state are reserved
|
||||
// by this API.
|
||||
// This is only set during painting
|
||||
#define NS_FRAME_FORCE_DISPLAY_LIST_DESCEND_INTO NS_FRAME_STATE_BIT(40)
|
||||
|
||||
// Bits 0-19 and bits 32-59 of the frame state are reserved by this API.
|
||||
#define NS_FRAME_RESERVED ~NS_FRAME_IMPL_RESERVED
|
||||
|
||||
// Box layout bits
|
||||
|
|
Загрузка…
Ссылка в новой задаче