| Index: LayoutTests/fast/table/display-table-caption-crash.html
 | 
| diff --git a/LayoutTests/fast/table/display-table-caption-crash.html b/LayoutTests/fast/table/display-table-caption-crash.html
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..45aa21192cf50be5a94f8bef13d6d65ce2175491
 | 
| --- /dev/null
 | 
| +++ b/LayoutTests/fast/table/display-table-caption-crash.html
 | 
| @@ -0,0 +1,30 @@
 | 
| +<!DOCTYPE html>
 | 
| +<style>
 | 
| +.caption:after {
 | 
| +  position:absolute;
 | 
| +  content: counter(c, lower-armenian) attr(id);
 | 
| +  counter-increment: c 895;
 | 
| +}
 | 
| +.caption { -webkit-transform:skew(20deg); }
 | 
| +.caption:last-of-type { display: table-caption; }
 | 
| +.option:nth-of-type(2n+1) { counter-increment: c 578; }
 | 
| +</style>
 | 
| +
 | 
| +This test passes if it does not CRASH.
 | 
| +<option>
 | 
| +
 | 
| +<script>
 | 
| +if (window.testRunner)
 | 
| +  testRunner.dumpAsText();
 | 
| +
 | 
| +onload = function() {
 | 
| +  var el = document.createElement('li');
 | 
| +  el.setAttribute('class', 'caption');
 | 
| +  document.body.appendChild(el);
 | 
| +
 | 
| +  document.body.offsetTop;
 | 
| +
 | 
| +  var o = document.querySelector('option');
 | 
| +  o.setAttribute('class', 'option');
 | 
| +}
 | 
| +</script>
 | 
| 
 |