Summary: A display:flow-root element generates a block container box, and lays out its contents using flow layout. It always establishes a new block formatting context for its contents (per CSS2). This is intended to make "clearfix" hacks unnecessary.
The implementation is fairly trivial: it adds a new keyword to the 'display' property and ties that to existing code for "NS_NewBlockFormattingContext". Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1322191 Link to standard: https://drafts.csswg.org/css-display-3/#valdef-display-flow-root Platform coverage: all platforms Estimated or target release: Fx53 Preference behind which this will be implemented: layout.css.display-flow-root.enabled DevTools bug: no need Do other browser engines implement this? Not that I am aware of, bugs have been filed for WebKit/Blink: https://bugs.webkit.org/show_bug.cgi?id=165603 https://bugs.chromium.org/p/chromium/issues/detail?id=672508 Tests: added as part of the implementation Security & Privacy Concerns: none /Mats _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform