diff options
author | athenian200 <athenian200@outlook.com> | 2020-09-03 18:55:28 -0500 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2020-09-03 18:55:28 -0500 |
commit | 6b2c3b61b1c338ddec723482bd2c83427ef2e431 (patch) | |
tree | bd30f18df9a1d98b88a24c5e9482551ec84ff8ec /layout/generic/nsFrameStateBits.h | |
parent | 0ac50227e22599b62ddfb1e4a889032837925178 (diff) | |
download | uxp-6b2c3b61b1c338ddec723482bd2c83427ef2e431.tar.gz |
Issue #1641 - Implement CSS flow-root keyword
This is just a clean port of 1322191 and follow-up 1325970. It really seems to add create a new way to access existing code relating to block formatting and floating elements rather than implementing new functionality, and it is mercifully straightforwards.
Diffstat (limited to 'layout/generic/nsFrameStateBits.h')
-rw-r--r-- | layout/generic/nsFrameStateBits.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layout/generic/nsFrameStateBits.h b/layout/generic/nsFrameStateBits.h index f8b1e541c1..ba43e37d45 100644 --- a/layout/generic/nsFrameStateBits.h +++ b/layout/generic/nsFrameStateBits.h @@ -483,6 +483,9 @@ FRAME_STATE_BIT(Block, 22, NS_BLOCK_MARGIN_ROOT) // used to reserve space for the floated frames. FRAME_STATE_BIT(Block, 23, NS_BLOCK_FLOAT_MGR) +// For setting the relevant bits on a block formatting context: +#define NS_BLOCK_FORMATTING_CONTEXT_STATE_BITS (NS_BLOCK_FLOAT_MGR | NS_BLOCK_MARGIN_ROOT) + FRAME_STATE_BIT(Block, 24, NS_BLOCK_HAS_LINE_CURSOR) FRAME_STATE_BIT(Block, 25, NS_BLOCK_HAS_OVERFLOW_LINES) |