1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:17:35 +00:00

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.
This commit is contained in:
Aliaksandr Kalenik 2024-02-11 01:56:39 +01:00 committed by Alexander Kalenik
parent f19b17e089
commit 95d91a37d2
7 changed files with 64 additions and 11 deletions

View file

@ -0,0 +1,12 @@
<!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>