1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 20:45:00 +00:00
serenity/Tests/LibWeb/Ref/reference/resolve-paint-only-properties-after-layout-ref.html
Aliaksandr Kalenik ff3e454565 LibWeb: Invalidate paint-only property after relayout
Before this change, `set_needs_to_resolve_paint_only_properties()` was
only called after style invalidation. However, since relayout can be
triggered independently from style invalidation, we need to ensure that
paint-only properties are updated in that case too.
2024-02-08 13:08:10 +01:00

11 lines
271 B
HTML

<!DOCTYPE html>
<link rel="match" href="reference/resolve-paint-only-properties-after-layout-ref.html" />
<style>
#box {
width: 100px;
height: 100px;
background-color: red;
border-radius: 50px;
}
</style>
<div id="box">hello</div>