mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 16:37:31 +09:00
Issue #2112 - Part 12: Remove reserved Servo bits from node/element flags and event states
This commit is contained in:
parent
4b44df794b
commit
f5792e6b64
3 changed files with 12 additions and 52 deletions
|
|
@ -202,20 +202,8 @@ enum {
|
|||
|
||||
NODE_IS_ROOT_OF_CHROME_ONLY_ACCESS = NODE_FLAG_BIT(20),
|
||||
|
||||
// These two bits are shared by Gecko's and Servo's restyle systems for
|
||||
// different purposes. They should not be accessed directly, and access to
|
||||
// them should be properly guarded by asserts.
|
||||
NODE_SHARED_RESTYLE_BIT_1 = NODE_FLAG_BIT(21),
|
||||
NODE_SHARED_RESTYLE_BIT_2 = NODE_FLAG_BIT(22),
|
||||
|
||||
// Whether this node is dirty for Servo's style system.
|
||||
NODE_IS_DIRTY_FOR_SERVO = NODE_SHARED_RESTYLE_BIT_1,
|
||||
|
||||
// Whether this node has dirty descendants for Servo's style system.
|
||||
NODE_HAS_DIRTY_DESCENDANTS_FOR_SERVO = NODE_SHARED_RESTYLE_BIT_2,
|
||||
|
||||
// Remaining bits are node type specific.
|
||||
NODE_TYPE_SPECIFIC_BITS_OFFSET = 23
|
||||
NODE_TYPE_SPECIFIC_BITS_OFFSET = 21
|
||||
};
|
||||
|
||||
// Make sure we have space for our bits
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue