mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 16:14:58 +00:00

Painting command executor already accounts for CSS transforms so clip rect only needs to be adjusted by scroll offset.
11 lines
197 B
HTML
11 lines
197 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
.text {
|
|
font-size: 50px;
|
|
}
|
|
|
|
.container {
|
|
transform: translate(0px, -50%);
|
|
}
|
|
</style>
|
|
<div class="container"><div class="text">Verify with something else</div></div>
|