Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1607)

Side by Side Diff: LayoutTests/fast/css/value-list-out-of-bounds-crash.html

Issue 689323002: Remove tests which are only testing getPropertyCSSValue, etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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 chang ed 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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698