mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:28:11 +00:00
LibWeb: Do not add CSS transforms into clip rect in PaintableWithLines
Painting command executor already accounts for CSS transforms so clip rect only needs to be adjusted by scroll offset.
This commit is contained in:
parent
7ad0767aa0
commit
36553d4566
3 changed files with 29 additions and 4 deletions
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<link rel="match" href="reference/overflow-hidden-text-inside-translated-container-ref.html" />
|
||||
<style>
|
||||
.text {
|
||||
overflow: hidden;
|
||||
font-size: 50px;
|
||||
}
|
||||
|
||||
.container {
|
||||
transform: translate(0px, -50%);
|
||||
}
|
||||
</style>
|
||||
<div class="container"><div class="text">Verify with something else</div></div>
|
Loading…
Add table
Add a link
Reference in a new issue