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

@ -483718,7 +483718,7 @@
"support"
],
"css/css-backgrounds/background-rounded-image-clip.html": [
"c22edf865829fea1d69a54e34396b4462250585f",
"1f3a33ee141f0bf0186875d376bc95414db8dd18",
"reftest"
],
"css/css-backgrounds/background-size-001.html": [
@ -485926,7 +485926,7 @@
"support"
],
"css/css-backgrounds/reference/background-rounded-image-clip.html": [
"f5c1af4d9e5b415e762c921c6d93355b2861946c",
"0f98f9c82627977b11cde5f7c8ba536104cccdd2",
"support"
],
"css/css-backgrounds/reference/background-size-002-ref.html": [

View file

@ -28,7 +28,5 @@
border-color: transparent;
}
</style>
<body>
<div id="a"></div>
<div id="b"></div>
</body>
<div id="a"></div>
<div id="b"></div>

View file

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