|
@@ -109,6 +109,9 @@ public:
|
|
bool is_absolutely_positioned() const;
|
|
bool is_absolutely_positioned() const;
|
|
bool is_fixed_position() const;
|
|
bool is_fixed_position() const;
|
|
|
|
|
|
|
|
+ bool is_flex_item() const { return m_is_flex_item; }
|
|
|
|
+ void set_flex_item(bool b) { m_is_flex_item = b; }
|
|
|
|
+
|
|
const BlockBox* containing_block() const;
|
|
const BlockBox* containing_block() const;
|
|
BlockBox* containing_block() { return const_cast<BlockBox*>(const_cast<const Node*>(this)->containing_block()); }
|
|
BlockBox* containing_block() { return const_cast<BlockBox*>(const_cast<const Node*>(this)->containing_block()); }
|
|
|
|
|
|
@@ -182,6 +185,8 @@ private:
|
|
bool m_visible { true };
|
|
bool m_visible { true };
|
|
bool m_children_are_inline { false };
|
|
bool m_children_are_inline { false };
|
|
SelectionState m_selection_state { SelectionState::None };
|
|
SelectionState m_selection_state { SelectionState::None };
|
|
|
|
+
|
|
|
|
+ bool m_is_flex_item { false };
|
|
};
|
|
};
|
|
|
|
|
|
class NodeWithStyle : public Node {
|
|
class NodeWithStyle : public Node {
|