mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 15:54:57 +00:00

Recently, we moved the resolution of CSS properties that do not affect layout to occur within LayoutState::commit(). This decision was a mistake as it breaks invalidation. With this change, we now re-resolve all properties that do not affect layout before each repaint.
12 lines
214 B
HTML
12 lines
214 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
#box {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: red;
|
|
position: relative;
|
|
top: 50px;
|
|
left: 50px;
|
|
}
|
|
</style>
|
|
<div id="box"></div>
|