mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:37:45 +00:00
LibWeb: Remove contained_by_inline_node flag in PaintableFragment
No longer used after we made inline paintables own their fragments.
This commit is contained in:
parent
9dddd6b028
commit
dc47d01fdc
2 changed files with 0 additions and 7 deletions
|
@ -627,15 +627,11 @@ void PaintableWithLines::paint(PaintContext& context, PaintPhase phase) const
|
|||
// FIXME: Find a smarter way to do this?
|
||||
if (phase == PaintPhase::Foreground) {
|
||||
for (auto& fragment : fragments()) {
|
||||
if (fragment.contained_by_inline_node())
|
||||
continue;
|
||||
paint_text_shadow(context, fragment, fragment.shadows());
|
||||
}
|
||||
}
|
||||
|
||||
for (auto const& fragment : m_fragments) {
|
||||
if (fragment.contained_by_inline_node())
|
||||
continue;
|
||||
auto fragment_absolute_rect = fragment.absolute_rect();
|
||||
auto fragment_absolute_device_rect = context.enclosing_device_rect(fragment_absolute_rect);
|
||||
if (context.should_show_line_box_borders()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue