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/style/nsStyleStruct.h | |
parent | 0ac50227e22599b62ddfb1e4a889032837925178 (diff) | |
download | UXP-6b2c3b61b1c338ddec723482bd2c83427ef2e431.tar UXP-6b2c3b61b1c338ddec723482bd2c83427ef2e431.tar.gz UXP-6b2c3b61b1c338ddec723482bd2c83427ef2e431.tar.lz UXP-6b2c3b61b1c338ddec723482bd2c83427ef2e431.tar.xz UXP-6b2c3b61b1c338ddec723482bd2c83427ef2e431.zip |
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/style/nsStyleStruct.h')
-rw-r--r-- | layout/style/nsStyleStruct.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/layout/style/nsStyleStruct.h b/layout/style/nsStyleStruct.h index 4bda817dd..f49cdc43e 100644 --- a/layout/style/nsStyleStruct.h +++ b/layout/style/nsStyleStruct.h @@ -2890,7 +2890,8 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleDisplay return mozilla::StyleDisplay::Block == mDisplay || mozilla::StyleDisplay::ListItem == mDisplay || mozilla::StyleDisplay::InlineBlock == mDisplay || - mozilla::StyleDisplay::TableCaption == mDisplay; + mozilla::StyleDisplay::TableCaption == mDisplay || + mozilla::StyleDisplay::FlowRoot == mDisplay; // Should TABLE_CELL be included here? They have // block frames nested inside of them. // (But please audit all callers before changing.) @@ -2902,7 +2903,8 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleDisplay mozilla::StyleDisplay::WebkitBox == mDisplay || mozilla::StyleDisplay::Grid == mDisplay || mozilla::StyleDisplay::ListItem == mDisplay || - mozilla::StyleDisplay::Table == mDisplay; + mozilla::StyleDisplay::Table == mDisplay || + mozilla::StyleDisplay::FlowRoot == mDisplay; } static bool IsDisplayTypeInlineOutside(mozilla::StyleDisplay aDisplay) { |