serenity/Tests/LibWeb/Ref/outlines.html
Aliaksandr Kalenik 95d91a37d2 LibWeb: Resolve outline CSS property before paint commands recording
Refactor to resolve paint-only properties before painting, aiming to
stop using layout nodes during recording of painting commands.

Also adds a test, as we have not had any for outlines yet.
2024-02-12 13:38:24 +01:00

12 lines
305 B
HTML

<!DOCTYPE html>
<link rel="match" href="reference/outlines-ref.html" />
<style>
.outline {
width: 100px;
height: 100px;
outline: 5px solid black;
}
</style>
<div class="outline">hello from paintable box</div>
<p><span class="outline">hello from inline paintable</span></p>