Files
ladybird/Tests/LibWeb/Text/input/display_list/fieldset-background-with-legend.html
Jelle Raaijmakers 3ad969fce8 LibWeb: Clip <fieldset>'s background painting to exclude the legend
Although most dimensions include the `<legend>` of a `<fieldset>`, when
a background is defined for a `<fieldset>` we should clip it during
painting as to exclude the background of the `<legend>`.
2026-03-10 19:08:15 +00:00

14 lines
260 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<style>
fieldset {
background: blue;
}
</style>
<fieldset><legend>Legend</legend>Content</fieldset>
<script>
test(() => {
println(internals.dumpDisplayList());
});
</script>