mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
LibWeb: Shift button paintable clip rectangle by scroll offset
Rectangles should be recorded using absolute coordinates, including the scroll offset.
This commit is contained in:
parent
d43dbe2842
commit
4a41a65ec5
4 changed files with 54 additions and 4 deletions
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
input[type="submit"] {
|
||||
display: block;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: green;
|
||||
outline: none;
|
||||
border: 5px solid magenta;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
</style>
|
||||
<input type="submit" value="2" />
|
||||
<input type="submit" value="3" />
|
||||
<input type="submit" value="4" />
|
Loading…
Add table
Add a link
Reference in a new issue