background-attachment-computed.html (763B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Backgrounds and Borders: getComputedStyle().backgroundAttachment</title> 6 <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#background-attachment"> 7 <meta name="assert" content="background-attachment computed value is as specified."> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src="/css/support/computed-testcommon.js"></script> 11 </head> 12 <body> 13 <div id="target"></div> 14 <script> 15 test_computed_value("background-attachment", "fixed"); 16 17 // See background-computed.html for a test with multiple background images. 18 test_computed_value("background-attachment", "scroll, fixed, local", "scroll"); 19 </script> 20 </body> 21 </html>