Place item clipping_and_scrolling inside closure

A utility function assures that if the clipping and scrolling are changed
for a display item the old value is later restored.
This commit is contained in:
Pyfisch 2018-04-22 19:29:32 +02:00
parent c0be925bed
commit aada975dea
5 changed files with 108 additions and 104 deletions

View file

@ -1,4 +1,6 @@
<!doctype html>
<meta charset="utf-8">
<title>Corner Clipped Background Color</title>
<style>
html {
background-color: green;