summaryrefslogtreecommitdiffstats
path: root/layout/style/nsCSSProps.cpp
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2020-09-03 18:55:28 -0500
committerathenian200 <athenian200@outlook.com>2020-09-03 18:55:28 -0500
commit6b2c3b61b1c338ddec723482bd2c83427ef2e431 (patch)
treebd30f18df9a1d98b88a24c5e9482551ec84ff8ec /layout/style/nsCSSProps.cpp
parent0ac50227e22599b62ddfb1e4a889032837925178 (diff)
downloadUXP-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/nsCSSProps.cpp')
-rw-r--r--layout/style/nsCSSProps.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/layout/style/nsCSSProps.cpp b/layout/style/nsCSSProps.cpp
index ac2978c27..24c97cf33 100644
--- a/layout/style/nsCSSProps.cpp
+++ b/layout/style/nsCSSProps.cpp
@@ -1345,6 +1345,9 @@ KTableEntry nsCSSProps::kDisplayKTable[] = {
// The next entry is controlled by the layout.css.display-contents.enabled
// pref.
{ eCSSKeyword_contents, StyleDisplay::Contents },
+ // The next entry is controlled by the layout.css.display-flow-root.enabled
+ // pref.
+ { eCSSKeyword_flow_root, StyleDisplay::FlowRoot },
{ eCSSKeyword_UNKNOWN, -1 }
};