mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
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:
parent
c0be925bed
commit
aada975dea
5 changed files with 108 additions and 104 deletions
|
@ -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": [
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>Corner Clipped Background Color</title>
|
||||
<style>
|
||||
html {
|
||||
background-color: green;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue