Class BlockFormattingContextUtil
This class helps to identify whether we are dealing with a renderer that creates a new "Block formatting context" in terms of CSS.
public class BlockFormattingContextUtil
- Inheritance
-
BlockFormattingContextUtil
- Inherited Members
Remarks
This class helps to identify whether we are dealing with a renderer that creates a new "Block formatting context" in terms of CSS. Such renderers adhere to specific rules of floating elements and margins collapse handling.
Constructors
BlockFormattingContextUtil()
public BlockFormattingContextUtil()
Methods
IsRendererCreateBfc(IRenderer)
Defines whether a renderer creates a new "Block formatting context" in terms of CSS.
public static bool IsRendererCreateBfc(IRenderer renderer)
Parameters
Returns
- bool
true if given renderer creates a new "Block formatting context" in terms of CSS, false otherwise.
Remarks
Defines whether a renderer creates a new "Block formatting context" in terms of CSS.
See BlockFormattingContextUtil class description for more info.