Index: LayoutTests/fast/css/display-table-caption.html |
diff --git a/LayoutTests/fast/css/display-table-caption.html b/LayoutTests/fast/css/display-table-caption.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0ff02954f9e443fec268d4436698e5a4e38ff7d1 |
--- /dev/null |
+++ b/LayoutTests/fast/css/display-table-caption.html |
@@ -0,0 +1,37 @@ |
+<!DOCTYPE html> |
mstensho (USE GERRIT)
2014/12/16 15:27:01
I think the test would sit better in LayoutTests/f
dsinclair
2014/12/16 15:40:32
Done.
|
+<script src="../../resources/run-after-display.js"></script> |
+<style> |
+.c5:after { |
+ position:absolute; |
+ content: counter(c, lower-armenian) attr(id); |
+ counter-increment: c 895; |
+} |
+.c5 { -webkit-transform:skew(20deg); } |
+.c5:last-of-type { display: table-caption; } |
+.c4:nth-of-type(2n+1) { counter-increment: c 578; } |
+</style> |
+ |
+<option> |
mstensho (USE GERRIT)
2014/12/16 15:27:01
This test can be simplified quite a bit. Like usin
dsinclair
2014/12/16 15:40:32
This is a reduction from a CRASH, so I'd like to k
mstensho (USE GERRIT)
2014/12/16 15:43:31
Acknowledged.
|
+ |
+This test passes if it does not CRASH. |
+ |
+<script> |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+} |
+ |
+onload = function() { |
+ var el = document.createElement('li'); |
+ el.setAttribute('class', 'c5'); |
+ document.body.appendChild(el); |
+ |
+ runAfterDisplay(function() { |
+ var o = document.querySelector('option'); |
+ o.setAttribute('class', 'c4'); |
+ |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }); |
+} |
+</script> |