Index: third_party/WebKit/LayoutTests/fast/pagination/modal-dialog-crash.html |
diff --git a/third_party/WebKit/LayoutTests/fast/pagination/modal-dialog-crash.html b/third_party/WebKit/LayoutTests/fast/pagination/modal-dialog-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c63a174bdeac647b241f2f862d8602b8df6a76ad |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/pagination/modal-dialog-crash.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<p>PASS if no crash or assertion failure.</p> |
+<dialog id="dialog"> |
+ <div id="dialogChild"> |
+ <div style="transform:rotatey(0deg);"></div> |
+ <div style="position:absolute;"></div> |
+ </div> |
+</dialog> |
+<script src="../../resources/run-after-layout-and-paint.js"></script> |
+<script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ document.getElementById("dialog").showModal(); |
+ runAfterLayoutAndPaint(function() { |
+ document.body.style.overflowY = "-webkit-paged-x"; |
+ document.getElementById("dialog").style.overflowY = "-webkit-paged-x"; |
+ document.getElementById("dialogChild").style.overflowY = "-webkit-paged-x"; |
+ }, true); |
+</script> |