Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / StyleSheet / gc-inline-style-cssvalues.html
1 <html>
2 <head>
3 <script src="../../../resources/js-test.js"></script>
4 </head>
5 <body style="color:black">
6 <script>
7     description("Test that custom properties on CSSValues of inline style declarations survive GC");
8
9     var expr = 'document.body.style.getPropertyCSSValue("color")';
10     shouldBe(expr + ".cssText", '"black"');
11     eval(expr).foo = "bar"
12     gc();
13     shouldBe(expr + ".foo", "'bar'");
14
15 </script>
16 </body>
17 </html>