Bug 1731994: part 4) Declare more methods around `ContentPermissionRequestBase` ...
[gecko.git] / layout / reftests / invalidation / background-position-2b.html
blob332595055be5dcd4e8c66bc6596192bd630b3b94
1 <!DOCTYPE html>
2 <html lang="en" class="reftest-wait">
3 <meta charset="utf-8">
4 <title>Changes to background-position should invalidate properly for input type=text.</title>
6 <style>
8 body {
9 margin: 0;
12 #background {
13 width: 100px;
14 height: 100px;
15 background-image: url(image_rgrg-256x256.png);
16 background-repeat: no-repeat;
17 background-position: 0 0;
19 border: 0;
20 border-radius: 0;
21 padding: 0;
24 </style>
26 <input type="text" id="background">
28 <script>
30 function doTest() {
31 document.querySelector("#background").style.backgroundPosition = "-140px 0";
32 document.documentElement.removeAttribute("class");
34 document.addEventListener("MozReftestInvalidate", doTest);
36 </script>