Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / css / value-list-out-of-bounds-crash.html
1 <head>
2 <style>
3     #div {
4         width: 200px;
5         height: 200px;
6         background-image:url(resources/bikes.bmp); 
7         -webkit-background-size: 50% 100%;
8     }
9 </style>
10 </head>
11
12 <body>
13
14 <div id='pass'>Failed! This test should not crash, and this text should be changed to a passing message.</div>
15 <div id='div'></div>
16
17 <script>
18     var div = document.getElementById('div');
19     var style = document.defaultView.getComputedStyle(div);
20     var valueList = style.getPropertyCSSValue('-webkit-background-size');
21     var one = valueList.item(100);
22
23     var pass = document.getElementById('pass');
24     pass.innerHTML = 'PASS! This test passes if it does not crash.';
25 </script>
26 </body>