Bug 1731994: part 4) Declare more methods around `ContentPermissionRequestBase` ...
[gecko.git] / layout / reftests / invalidation / background-position-2f.html
blobeb3797038c96f380a261b74cbbd3f1bcc909d6f0
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 fieldsets.</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 padding: 0;
21 margin: 0;
24 </style>
26 <fieldset id="background"><legend></legend></fieldset>
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>