#include #include #include #include void LineBoxFragment::render(RenderingContext& context) { for (auto* ancestor = layout_node().parent(); ancestor; ancestor = ancestor->parent()) { if (!ancestor->is_visible()) return; } if (is(layout_node())) { to(layout_node()).render_fragment(context, *this); } }