1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 01:04:58 +00:00
serenity/Tests/LibWeb/Ref/reference/outlines-ref.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
323 B
HTML

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