Add a debug node for CSS outlines

All the other CSS render operations have one, so outlines should, too.

This was found by tracking down a random border node in a rendering.
This commit is contained in:
Benjamin Otte 2023-11-12 12:55:59 +01:00
parent 524d681496
commit 28d38cd730

View File

@ -753,10 +753,12 @@ gtk_css_style_snapshot_outline (GtkCssBoxes *boxes,
border_width[3] = border_width[2] = border_width[1] = border_width[0];
colors[0] = colors[1] = colors[2] = colors[3] = *color;
gtk_snapshot_push_debug (snapshot, "CSS outline");
snapshot_border (snapshot,
gtk_css_boxes_get_outline_box (boxes),
border_width,
colors,
border_style);
gtk_snapshot_pop (snapshot);
}
}